Skip to contentSkip to conversation

Keyboard Indicator

DISCUSSION Peter 2 participants 3 messages Dec 14, 2005 – Dec 16, 2005

lore
Share & tools
lore

Peter

author
#0 lore raw

Hi,

Since the keyboard indicator applet on the gnome panel does not function properly I put my own custom application launcher to switch to another kb layout including corresponding country flags.

One problem is I sometimes forget to change back to let say US KB. I thought of having an xmessage display when I have switched the kb layout.

In the command line for the applet where I have e.g. "setxkbmap de" I tried to add " xmessage Kb set DE" which does not work.

Is there a way to put 2 commands or more in a command line applet?

The problem with the keyboard indicator applet on the gnome panel is that it will only change when one first gets to properties on the applet. That is in 2 of my distros. Previous applets did work well including showing of country flags.

Thanks & regards
---
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw
Quoted 7 lines · Peter

One problem is I sometimes forget to change back to let say US KB. I thought of having an xmessage display when I have switched the kb layout.

In the command line for the applet where I have e.g. "setxkbmap de" I tried to add " xmessage Kb set DE" which does not work.

Is there a way to put 2 commands or more in a command line applet?

A semi-colon character should work to achieve this:

$ echo "first command"; echo "second command"
first command
second command
$ 

I haven't tried this in the applet, but it should work.

--
Chris Largret <http://daga.dyndns.org>

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

author
#2 lore raw
Quoted 6 lines · On Thu, 15 Dec 2005 20:27:03 -0800 Chris Largret <[email protected]> wrote:
Quoted 4 lines · Peter

One problem is I sometimes forget to change back to let say US KB. I thought of having an xmessage display when I have switched the kb layout.

In the command line for the applet where I have e.g. "setxkbmap de" I

tried to

Quoted 4 lines
Quoted 3 lines

add " xmessage Kb set DE" which does not work.

Is there a way to put 2 commands or more in a command line applet?

Quoted 9 lines

A semi-colon character should work to achieve this:

$ echo "first command"; echo "second command"
first command
second command
$ 

I haven't tried this in the applet, but it should work.

Thanks!

I naturally tried this, ; , and space. It will not set then the kb at all and I get an error message on the terminal: Error loading new keyboard description.

Signature · 6 lines
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs