Apps :: Keyboard Keys Broke!
Ok here is the deal now....
these commands remap my keys when i enter them into a terminal...
xmodmap -e "keycode 108 = k"
xmodmap -e "keycode 62 = i"
xmodmap -e "keycode 105 = comma"
xmodmap -e "keycode 74 = 8"
now how do i exec these commands when my computer starts....can i put these in
bootlocal.sh , or where is the correct location??
I think you could put them in /opt/bootlocal.sh right after the keymap configuration entry.
Thanks Mikshaw for the idea. So to be clear an .xmodmap file doesn't work with Xvesa (or at leat I think I tried everything), but the command itself does. I didn't try to put the whole content of the file in .xinitrc...
As far as my experience has been xmodmap works the same in Xvesa as it does in Xfree86, with or without a config file:
xmodmap $HOME/.Xmodmap (or whatever the name of your config file is).
The config file is just a way to do multiple actions without running xmodmap multiple times.
If you have the following lines in ~/.whatever_you_want_to_name_it, you can run it with the command "xmodmap $HOME/.whatever_you_want_to_name_it":
keycode 108 = k
keycode 62 = i
keycode 105 = comma
keycode 74 = 8
Doobit: xmodmap won't work from bootlocal. It's an X program that adjusts your keymap only for the current X session. If you want the commands done automatically they should be in .xinitrc, prior to starting the window manager.
Well this is strange. When I was trying to get the French keyboard working in a previous version of DSL I really tried everything, including the xmodmap command in .xserverrc like advised in this old post :
http://damnsmalllinux.org/cgi-bin....06;st=0
After testing and googling wild I came to the conclusion that xmodmap had been removed from Xvesa in DSL for size reasons. Also the xmodmap command for the German keyboard in .xinitrc doesn't seem to change anything on my keyboard in any of the KDrive X server (I tried with a German keymap...)
Anyway I can do with XFree. I guess mi007kes is happy, so are we !
Next Page...
original here.