ThinkPad T60, Window Maker, and special Fn-keys
On my ThinkPad T60 so far I used Slackware 12.1 and now I try to configure Slackware 12.2. The problem I'd like to describe here concerns some special keys on my machine: so called ``multimedia keys'', ``browser's keys'', as well as ``Windows'' and ``Menu'' keys.
Slackware 12.1 With Slackware 12.1 I was able to use these keys with Window Maker thanks to the configuration of the system. 1. In ~/.Xmodmap I put a few keyboard modifiers: .Xmodmap Code:
keycode 162 = XF86AudioPlay 3. I prepared key associations for ``multimedia keys'', ``Windows'' and ``Menu'' keys in ~/GNUstep/Defaults/WMRootMenu: WMRootMenu Code:
( WindowMaker Code:
. Slackware 12.2 With Slackware 12.2 it doesn't work. Window Maker doesn't see these keys. During start procedures it displays messages: Code:
/usr/bin/wmaker warning: NextWorkspaceKey:invalid key in shortcut "F20" So I tried another method. 1. In ~/.Xmodmap I put the same keyboard modifiers: .Xmodmap Code:
keycode 162 = XF86AudioPlay 3. In ~/.xbindkeysrc I put a few commands: .xbindkeysrc Code:
"remoot playpause" .xinitrc Code:
xbindkeys In result when I run Window Maker it doesn't see any shortcut keys. For some reason xbindkeys forbids Window Maker to use shortcuts stored in WMRootMenu and WindowMaker files. 6. So I changed ~/.xinitrc to run KDE: .xinitrc Code:
xbindkeys Summary Because usually I don't use KDE but Window Maker in the present situation I'm unable to use all these special keys as I did it with Slackware 12.1. I tried associate them to the desired actions using Window Maker configuration files as well as xbindkeys configuration file. Both these methods failed with the present version of Window Maker. I tried to downgrade Window Maker but the result was the same. I can't guess what should I do to make these keys usable with Window Maker. Any help will be welcomed. |
Code:
keycode 144 = XF86AudioPrev edit: i use ratpoison. but these should work with any WM |
Quote:
|
Other than the .Xmodmap i posted above, i just source it in .xinitrc with
Code:
xmodmap ~/.Xmodmap |
I added xmodmap ~/.Xmodmap command to ~/.xinitrc file...
.xinitrc Code:
xmodmap ~/.Xmodmap Thank you very much, sahko! *** There is still question why xbindkeys disables all shortcuts in Window Maker. |
I dont know about xbindkeys, I've never used it TBH, since xev+xmodmap work great.
|
It really works great. I'm just curious. My problem is solved.
|
All times are GMT -5. The time now is 10:25 AM. |