How to map Shift_R to slash (/) using xmodmap?
Asked
Active
Viewed 1,188 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
- 174,089
- 51
- 332
- 407