[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rereading/reloading keyboard layout files without relogging in?



On Wed, Feb 04, 2009 at 14:45:10 -0500, H.S. wrote:
> H.S. wrote:
> > Hello,
> > 
> > If I change a key map definition in a file in /etc/X11/xkb directory, is
> > there is a way I can re-read that file for the new keyboard layout to be
> > effective without having to relogin?
> > 
> > I know xrdb can be used to reread .Xdefaults. Hopefully something
> > similar can be done for the keyboard definition files.
> > 
> > Thanks.
> 
> Anybody?

I don't understand which file(s) you want to modify and in what way. The
only file that I have in /etc/X11/xkb is called "base.xml"; it does not
contain any keymap definitions, only an XML list of known names.

Both xmodmap and xkbcomp can be used to modify the keymap of a running X
server, but I am not sure if they accept the kind of input file(s) that
you have in mind. However, both these commands can dump the current
keymap configuration in formats that can be modified and then reloaded.
Is that close enough to what you want to do?

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |


Reply to: