3

I know the easy ways to remap caps lock, etc, but I haven't found out how to change my Menu key to be an additional Ctrl key. Anyone know how to do this? Thanks.

snoop
  • 4,110
  • 9
  • 41
  • 58
K Poole
  • 286

2 Answers2

4

Finally got it!

Maco was close. The solution is (in .Xmodmap):

remove Control = Control_R
keycode 135 = Control_R Control_R Control_R Control_R
add Control = Control_R
A.B.
  • 92,125
K Poole
  • 286
3

I'm kinda guessing based on how I've remapped Caps Lock before, but...

Create a ~/.Xmodmap file containing:

clear 135
keycode 135 = Control_R

I'm using 135 because that's the keycode xev told me on my keyboard when I hit menu. Yours may vary. Log out & back in to take effect.

setxkbmap -option ctrl:menu may work if this doesn't.

A.B.
  • 92,125
maco
  • 16,132