Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can you change successfully Ion3's command key to Mod3+ that is the Windows key at the left-hand-side?

I put META="Mod3+" at the beginning of my /etc/X11/Ion/cfg_ion.lua, but Meta remains to be my command key. I use Emacs which is the reason I want to change the location of the command key.

The following is my current unsuccessful solution.

The script which I run:

#filename: which I put to gnome-session-properties


/bin/sh /usr/local/sbin/session.bash

The .xmodmap -code

#filename: session.bash
! make left-window key another meta
remove Super_L
keycode 133 = Control_R

remove Lock = Caps_Lock
keycode 66 = Control_R
share|improve this question
up vote 0 down vote accepted

I think xmodmap is what you need. It has explicit support for Meta keys, it's cross-platform and "window" manager independent.

Consider also mapping CTRL to CAPS LOCK, I'm sure you'll appreciate it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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