On Monday 08 December 2003 01:04, Tuomo Valkonen wrote: > On Mon, Dec 08, 2003 at 12:40:29AM +0100, Martin Stubenschrott wrote: > > E.g. I tried to map the special key with the keycode 235 to "0" with: > > xmodmap -e "keycode 235 = 0"
> Just map the keycode to some unused keysym from > /usr/X11R6/include/X11/keysymdef.h. There are F-keys up to F35, for > example. Thanks a lot for the quick answer - and it seems to work flawlessly now :) However, today I also updated from the old 20030814 to the 20031121 (i think) developmentment version, and I am encountering a strange bug: When I try to set DEFAULT_MOD from "Mod1+" to "Mod4+" in the ~/.ion-devel/ ioncore.lua file, I get this strange error when I start Ion: >> [334] X_GrabKey (33) 0xaf: BadAccess (attempt to access private resource denied) Well, the thing which makes it really strange is, that I can set DEFAULT_MOD to "Mod2+" oder "Mod3+" without an error, however it won't work like I want it to (using my Windows-keys). Well so, I started Ion with "Mod1+" which worked fine, and then I edited my ioncore.lua file *while* the X server was running and restarted Ion with the F12 menu. This worked fine, and I could use my windows keys. But when I restart the X server I have the same problem again :( Also it works when setting a different variable named e.g. "WIN_MOD" to "Mod4 +" and using WIN_MOD as my modifier for the keybindings. It wouldn't be too much of a work to change all my keybindings, however since it worked pefectly in 20030814, I just want to report this bug - maybe others see this as well. However, thanks again for the quick response to my problem with the multimedia buttons, best regards, Martin
