What is the equivalent of this in Debian XFCE?:

Go into System -> Preferences -> Keyboard

Click on the "Layouts" tab and then click the "Layout Options" button.

Click on "Alt/Win key behavior"

Select "Control is mapped to Win keys (and the usual ctrl key).

This will make your Apple command keys act like control, and keep your ctrl key as control as well. However, this will leave you without a Super key. I haven't found this a problem. I hope that's what you're looking for!

I have tried the .Xmodmap method, but that doesn't work either.

Also, would I be able to use the ctrl key to right click again like it does on mac?

  • 1
    setxkbmap -option altwin:ctrl_win. The GUI should have an equal setting with an identical description. – hhaamu Dec 30 '11 at 12:37

setxkbmap -option altwin:left_meta_win

Run echo -option altwin:left_meta_win >> ~/.Xkbmap to make it permanent.


If you try running man xkeyboard-config, you'll get tons of options for switching behaviors. My favorite is ctrl:swap_rwin_rctl, which makes (only) the right Command (a.k.a. Meta, Super, Win) work as a second Ctrl. So this is what you should run to make the switch:

setxkbmap -option ctrl:swap_rwin_rctl

If you also want to switch the left-side Ctrl and Meta keys, just run setxkbmap again with ctrl:swap_lwin_lctl.

Running this on terminal will make the changes only last until you log off, but you can have this command run on startup to make the change persistent.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.