Google
  Web www.spinics.net

Re: Remapping the AltGr key to Control

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


> This file is located in "/home/quidh4/.xkb/symbols/test"
> 
> How can I load that configuration without loosing other keys?
> 
> I tried this command "setxkbmap -I$HOME/.xkb test -option test:test_mapping"
> but I had to reboot my system because I lost the gb layout for other keys,
> and they became dead keys.

I believe to use 'option test:test_mapping', you have to enter your new
option into the rules/base file.  To do without touching the rules, you
can use the notation 'test(test_mapping)'.

Also, after some experimentation, I am under the impression that
setxkbmap does not pass the -I argument to xkbcomp.  A workaround is to
use the -print option and to invoke xkbcomp explicitly.

To test, you can run something like this:

  setxkbmap 'gb+test(test_mapping)' -print | xkbcomp -I$HOME/.xkb -xkb - -

and check the output.  Then, to verify that the keymap compiles:

  setxkbmap 'gb+test(test_mapping)' -print | xkbcomp -I$HOME/.xkb - test.xkm

To really load the map to the server (assuming the display is :0):

  setxkbmap 'gb+test(test_mapping)' -print | xkbcomp -I$HOME/.xkb - :0

Of course, you can skip the first two steps, but they will help to
reduce the number of times you have to reboot.

Andreas
_______________________________________________
xorg@xxxxxxxxxxx: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: list-xorg@xxxxxxxxxxx


[X Forum]     [Nouveau Driver]     [Devices]     [XFree86]     [XFree86 Newbie]     [Site Home]     [IETF Annouce]     [Security]     [Fontconfig]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Video for Linux]     [Linux RAID]     [Linux Resources]

Powered by Linux