On Wed, Dec 08, 2004 at 02:48:55PM -0600, Alex Malinovich wrote:
> I'm having an issue with my Windows key. I'm trying to set up my
> keyboard shortcuts in Gnome using the Keyboard Shortcuts tool. I already
> have Windows+D set to show desktop. In the shortcut tool this shows up
> as Mod4+D.
> 
> However, when I try to do another mapping (such as Windows+L for lock
> screen) the Windows key is reported as Super_L which is treated as a
> regular key instead of a modifier and therefore can't be combined with
> another key into a single keypress. Any suggestions?

See what the x mappings are, outside of GNOME. Use 'xev' and 'xmodmap' -
see what xev sees for your keypress. I get (for example)

        ...keycode 115 (keysym 0xffeb, Super_L)...

Normally the bracket would be (keysym 0x0, NoSymbol). But I've used
xmodmap to define my modkeys. A sample of my ~/.xmodmap

        keycode 115 = Super_L
        keycode 116 = Super_R
        add Mod3 = Super_L
        add Mod3 = Super_R

I call xmodmap at X startup via ~/.xsession. Note: I'd highly recommend
reading some GNOME docs on how it handles keymapping. I think trying to
use both GNOME and a raw X approach will result in trouble.

-- 
Jon Dowland


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to