3

In previous versions of Ubuntu, one could allow the keyboard option to map the Ctrl key on the ⌘ Win key. This is very useful for users who constantly have to switch between OS X and Ubuntu. Is there any clean way to do it through the Ubuntu interface?

I have also tried using an .Xmodmap configuration (see How do I remap command key to be the control key on a Macbook 4,1?).

It works when I run manually xmodmap on the file, but I seem to be unable to make it the default option (e.g.: I need to run the script every time I log in).

Any ideas on how to solve this? Has this option vanished forever?

2 Answers2

1

The gnome-tweak-tool provides an option "Left Alt is swapped with Left Win". You may install gnome-tweak-tool with sudo apt install gnome-tweak-tool and the option can be found in the "Typing" menu.

Schlueter
  • 151
  • 5
0

Had the issue too. The problem with the xmodmap is it needs to know what environment to run under. So the solution I used is to put it in a script file and make the script executable:

#!/bin/bash
xmodmap /home/jed/.xmodmaprc

For more info, see:

Jed
  • 1