How to map Shift_R to slash (/) using xmodmap?
Asked
Active
Viewed 1,137 times
1 Answers
3
You can use the following command:
xmodmap -e "keycode 62 = slash question slash question" #this will make Shift_R to act as slash
To get this change for every session, after you have run the previous command, create a file called .xmodmap with the new keymaps, using the following command:
xmodmap -pke > .xmodmap
Then, create a file called .xinitrc in your home directory, containing the following line/command:
xmodmap .xmodmap
Radu Rădeanu
- 169,590
.xinitrcpart didn't work. By now I'm going to adxmodmap .xmodmapto session applications list. If you know the issue please updade. Thanks. – oblitum Dec 07 '13 at 17:08chmod 755 ~/.xinitrcand see if the problem persists. – Radu Rădeanu Dec 07 '13 at 17:48