I'd like to change the mod key to "AltGr" or "the right Alt key. Furthermore I'd like to disable the new mod key for any other input in Linux. So when I am writing text in my text editor I don't want to get any Greek signs when commanding i3.

1 Answer 1


See xmodmap.

Something like xmodmap -e "remove mod1 = Alt_R"

  • But if the key is removed from xmodmap can I use it for my window manager? Nov 6, 2014 at 18:02
  • You can bind it to another thing with xmodmap.
    – Hack Saw
    Nov 6, 2014 at 20:17
  • It will be very useful to know which command do that. For example, Assign Bloq Mayusc to the Mod Key Oct 30, 2019 at 13:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .