Problems with Super key

Vebjorn Ljosa ljosa-lists-xfce at ljosa.com
Mon Jul 5 21:24:54 CEST 2004


* Vebjorn Ljosa <ljosa-lists-xfce at ljosa.com>
| I run Debian unstable, and after I restarted my X server today,
| strange things started happening.
| 
| The Windows keys on my keyboard are mapped to Super_L and Super_R, and
| I have set up xfwm4 to use the Super key for various things.  For
| instance, Super+Tab cycles through windows, Super+F-keys switch
| between desktops, Super+x starts xterm, and so on.
| 
| All of a sudden the "Super" part of the keybindings were being
| ignored.  Just pressing Tab cycled through windows, just pressing x
| started an xterm, and so on.  Switching to the default keymap made it
| possible to type again, but now I can't use my beloved Windows key.

I finally figured out what the problem was: My modifier map was messed
up.  Putting the following in my .xsession solved the problem:

        xmodmap -e 'clear mod4'
        xmodmap -e 'add mod4 = Super_L'
        xmodmap -e 'add mod4 = Super_R'

Perhaps it would make sense for xfwm4 to show a warning if you use
modifiers the masks of which (as determined by keyboard.c) are zero?

Vebjorn



More information about the Xfce mailing list