Next we need to make a map. From within your home directory:
Code: Select all
sudo nano .Xmodmap
ctl+okeycode 74 = Right
keycode 73 = Left
keycode 72 = Down
keycode 71 = Up
keycode 70 = Return
keycode 69 = F14
keycode 68 = F15
keycode 67 = F16
to save and
ctl+x
to exit nano
Code: Select all
sudo chmod u+x .Xmodmap
Code: Select all
sudo nano /etc/X11/Xsession
ctl+oif [ -f $HOME/.Xmodmap ]; then
/usr/bin/xmodmap $HOME/.Xmodmap
fi
to save
ctl+x to exit
Upon reboot your hardbuttons should follow the instructions layed out in the .Xmodmap file we made in the home directory. Well, as long as its executable with the chmod we used.
From there its a matter of setting the keybindings. Look at the next post for keyboard toggle to see how to do this in e17. If your on LXDE look back a page or so at the debian-lxde image post on page 3. Down the page is a example of how to set up the xml and where the needed file is to do it on.