You are not logged in.
Pages: 1
Hi,
I got a MacBook Pro. To make Linux feel a bit more like OS X, I tried to invert the cmd and ctrl keys. Here's the script I'm using:
xmodmap -e "keycode 133 = Control_L"
xmodmap -e "keycode 134 = Control_R"
xmodmap -e "keycode 37 = Super_L"
However, this is not working. As a matter of fact, this changes nothing at all. What am I missing?
Cheers,
Allan
Offline
Offline
Did you read through the xmodmap wiki entry?
Yes.
Offline
I don't know why it doesn't work for you, it works on my MBP...
Did you enter them in a console and then check the results with xev?
ᶘ ᵒᴥᵒᶅ
Offline
I don't know why it doesn't work for you, it works on my MBP...
Did you enter them in a console and then check the results with xev?
Yup, checked it with xev. It does reports Control_R / Control_L when I hit the cmd keys and Super_L when I hit the ctrl key, just like I want it. But if I use a program, like Mousepad and try to select the whole text with cmd+a, it doesn't work; I still have to use ctrl+a.
EDIT: It now works. I hadn't followed the wiki exactly...
Last edited by MrAllan (2010-11-07 17:01:34)
Offline
Pages: 1