xmodmap settings lost when changing keyboard layout
Brian J. Tarricone
bjt23 at cornell.edu
Sat Oct 18 21:41:07 CEST 2008
On Sat, 18 Oct 2008 21:11:31 +0200 Jannis Pohlmann wrote:
> Hey Olivier,
>
> I have some multimedia keys defined in ~/.Xmodmap. Right now I'm
> working on properly handling MappingNotify events in the keyboard
> shortcuts code. It works nicely and except for one issue: Whenever I
> change the keyboard layout, the multimedia key definitions such as
>
> keycode 162 = XF86AudioPause
>
> are lost. They work again after running 'xmodmap ~/.Xmodmap'. Is it
> possible that there are some bits missing in the code for changing the
> layout?
There's another thread about this ("don't touch keyboard setup"). I'd
think at least a work around would be to re-merge ~/.Xmodmap (if it
exists) after changing keyboard layouts. Assuming xmodmap settings are
generally "cross-keymap".
-b
More information about the Xfce4-dev
mailing list