Keyboard Indicator
am 14.12.2005 03:38:54 von heisspf
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: Keyboard Indicator
am 16.12.2005 05:27:03 von Chris Largret
On Wed, 2005-12-14 at 10:38 +0800, Peter wrote:
> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: Keyboard Indicator
am 16.12.2005 10:43:20 von heisspf
On Thu, 15 Dec 2005 20:27:03 -0800
Chris Largret wrote:
> On Wed, 2005-12-14 at 10:38 +0800, Peter wrote:
>
> > 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.
>
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.
--
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs