Re: rereading/reloading keyboard layout files without relogging in?
- To: firstname.lastname@example.org
- Subject: Re: rereading/reloading keyboard layout files without relogging in?
- From: Florian Kulzer <email@example.com>
- Date: Thu, 5 Feb 2009 20:43:09 +0100
- Message-id: <20090205194309.GA16316@pc0197>
- Mail-followup-to: firstname.lastname@example.org
- In-reply-to: <email@example.com>
- References: <firstname.lastname@example.org> <email@example.com> <20090204211137.GA6387@pc0197> <firstname.lastname@example.org>
On Wed, Feb 04, 2009 at 23:07:08 -0500, H.S. wrote:
> Florian Kulzer wrote:
> > I don't understand which file(s) you want to modify and in what way.
> Consider the file /etc/X11/xkb/symbols/fr. I am looking for a way to
> reload this files after I modify it in some way. In other words, if I
> modify the file, I want to avoid logging out and then loggin in again to
> have the modifications take effect.
Now I understand; I forgot that these files used to be in that
directory. (They are in /usr/share/X11/xkb/symbols on my computer.)
I can switch layouts with setxkbmap while the X server is running,
therefore I would expect that it is possible to reload a symbols file
setxkbmap -layout fr
It may be necessary that you also have to specify "-variant ..." and
"-options ..." at the same time. If that does not work then I would try
to switch to another layout briefly and then back to the French one.
If you only have to change a few key definitions then it might be more
convenient to use xmodmap from the command line or ~/.xmodmaprc at every
startup of X.
Regards, | http://users.icfo.es/Florian.Kulzer