Skip to content

keymapping with xmodmap

Kurt Hepler edited this page Aug 26, 2016 · 3 revisions

Remap super and left control

Chromebooks have a "search" super key in place of a caps lock key. I prefer to use that key as left control. Here's what worked on the Toshiba CB 2 (2015) running GalliumOS:

xmodmap -e "clear Mod4"
xmodmap -e "keycode 133 = Control_L"
xmodmap -e "keycode 37 = Super_L"
xmodmap -e "add control = Control_L"
xmodmap -e "remove control = Super_L"
xmodmap -e "add Mod4 = Super_L"

Modified from: https://bbs.archlinux.org/viewtopic.php?id=147823 and https://www.reddit.com/r/GalliumOS/comments/3w2v4y/ and http://askubuntu.com/questions/137172

Clone this wiki locally