3

How to map Shift_R to slash (/) using xmodmap?

Radu Rădeanu
  • 174,089
  • 51
  • 332
  • 407
oblitum
  • 1,727

1 Answers1

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