I don't understand scripts or how to make them or how to run them. All I want to do is run the command xmodmap -e "keycode 112 = Delete" when my computer starts. When I run this command in terminal, it remaps the PgDn key to be a second Delete key. But then I have to run it again every time I start the computer. How can I do this? I've tried adding it as a line in the rc.local file but it doesn't work.
|
|
||||
|
You can make it run at boot by adding it in startup applications. Open startup applications from the dash. Click 'Add' and put
|
||||
|
|
|
Seth's solution is a high-level solution that works fine as long as you don't change the desktop environment to something more exotic. To be on the secure side you might want to choose a method that acts at a lower level: Open up a terminal (CTRL + ALT + T) and execute the following command:
This appends Edit: As Mik pointed out this might not be the best way of setting |
|||||||
|


xmodmapcommands there is another way of doing it: see my answer here, but placing it in startup applications is fine as well, as has been suggested. – Mik Jan 8 at 14:02