You are not logged in.
It's a strange problem...
* All other xmodmap expressions in my xinitrc work. e.g. xmodmap -e "keysym Caps_Lock = F11"
* The expression -e "clear Lock" works after I have started into the window manager, and type it from the terminal emulator
* I tried, to no avail, also (sleep 3; xmodmap -e "clear Lock") &
Help help!
Last edited by jcolinzheng (2008-12-18 16:49:01)
Offline
I've figured it out. Interestingly, (sleep 10; xmodmap -e "clear Lock") & works -_-!
Offline
I don't know how I missed this thread before. This is freakin' brilliant. I had this in my openbox autostart file to remap Caps_Lock to Ctrl. It was working, then just stopped with some upgrade the other day:
xmodmap -e "remove lock = Caps_Lock" &
xmodmap -e "add control = Caps_Lock" &
eval `cat $HOME/.fehbg` &
numlockx &
lxpanel &
Instead of using sleep, I simply rearranged the order. It works now:
xmodmap -e "remove lock = Caps_Lock" &
eval `cat $HOME/.fehbg` &
numlockx &
lxpanel &
xmodmap -e "add control = Caps_Lock" &
I added [SOLVED] to the title.
Offline