You are not logged in.
I'm having the strangest issue with my ~.Xmodmap. Here is my file
remove control = Control_R
keycode 105 = Alt_R
keycode 135 = Control_R
add control = Control_RMy ~.xinitrc looks like
exec icewm
sleep 5s
xmodmap .XmodmapThis doesn't switch the right MENU and CTRL keys. When I run
xmodmap .Xmodmapmanually in a terminal though. It works just as I want it to.
How do I get the ~.Xmodmap file to autoload?
Last edited by ravster (2012-11-30 01:03:21)
Offline
Put the xmodmap call before the "exec icewm" in your .xinitrc (exec icewm should be the last thing in .xinitrc).
(edit):
http://linux.die.net/man/3/exec
"exec" replaces the currently running process, so the way you have it, once you call "exec icewm" the rest of your .xinitrc is not run.
Last edited by 2ManyDogs (2012-11-30 01:04:37)
Offline
Offline
You're welcome. See my edit for an explanation of why this works.
Offline