Re: [dev] Mod Key problem

From: Oliver Heins <>
Date: Mon, 15 Jun 2009 16:55:00 +0200

Hi Arnuld,

arnuld uttre <> writes:

> I have installed the latest wmii and then removed the older
> ~/.wmii-3.5  directory.  I copied the new rc.wmii to ~/.wmii-hg/
> directory and then changed the Mod key to Mod4. 90% of the times when
> I start wmii it does not  respond to the Mod4 key. If I change the key
> back to Alt (Mod1) , it works fine, no problems then.
> Earlier version was working fine with Mod4. Here is the xmodmap and
> rc.wmii of mine. Can anyone tell what is wrong:
> [arnuld_AT_dune ~]$ wmiir ls /
> wmiir: fatal: can't mount: Connection refused
> [arnuld_AT_dune ~]$ wmiir cat /keys
> wmiir: fatal: can't mount: Connection refused
> [arnuld_AT_dune ~]$ xmodmap
> xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):
> shift       Shift_L (0x32),  Shift_R (0x3e)
> lock        Caps_Lock (0x42)
> control     Control_L (0x25),  Control_R (0x6d)
> mod1        Alt_L (0x40),  Alt_L (0x7d),  Meta_L (0x9c)
> mod2        Num_Lock (0x4d)
> mod3
> mod4        Super_L (0x7f),  Hyper_L (0x80)
> mod5        Mode_switch (0x5d),  ISO_Level3_Shift (0x7c)

As I had a similar issue recently, but with dwm:

Which keycode does xev print when you press the Windows key? If it's
not 127 (=0x7f) try something like this:

xmodmap -e "keycode 115 = Super_L"

where 115 is the keycode xev prints.

However, this might be a problem of wmii, so this is just a guess.


Oliver Heins    F27A BA8C 1CFB B905 65A8     2544 0F07 B675 9A00 D827
1024D/9A00D827 2004-09-24 -- gpg --recv-keys 0x9A00D827
Please avoid sending me Word or PowerPoint attachments:
Received on Mon Jun 15 2009 - 14:55:00 UTC

This archive was generated by hypermail 2.2.0 : Mon Jun 15 2009 - 15:36:01 UTC