xmodmap settings lost when changing keyboard layout

Jannis Pohlmann jannis at xfce.org
Sat Oct 18 21:11:31 CEST 2008


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? 

  - Jannis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20081018/c611f8e3/attachment.pgp>


More information about the Xfce4-dev mailing list