mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: Mar. 13 2007,18:59 |
|
You will probably need to configure X to recognize the windows key before you can use it with any applications.
Open an x terminal and type "xev". Make sure the xev window has focus, and then press your windows keys. Look at the output of each key in the original terminal window. You should see "keycode <number>" listed there. This number can be used by the xmodmap command to set an X keysym to the keycode.
As an example, here is my setup in DSL: My left and right Windows keys are keycode 133 and 134 respectively, as seen by xev. I created an X keysym for each by putting the following in a file called .Xmodmap and then running xmodmap $HOME/.Xmodmap from the .xinitrc script:
Code Sample | clear mod3 clear mod4 keycode 133 = Super_L keycode 134 = Super_R Multi_key add mod3 = Super_L add mod4 = Super_R |
After that I can use the Mod3 and Mod4 modifiers for creating keybinds in X.
If xev does not list a keycode for your windows keys, we'll have to address that first, but I don't think that should be needed.
Now here's some info specific to IceWM: This window manager apparently uses hard-coded names for the windows keys, so Mod3 and Mod4 are not recognized. You can, however, use Super and Hyper as modifiers, although I have had issues with Hyper...it's probably due to the terms I used in .Xmodmap, but so far I haven't done much to find out.
Bottom line is that it *is* possible to use the windows keys in Icewm in DSL, without using a custom keymap. So far, though, I have used only one windows key in this window manager.
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|