11

I use xmonad + emacs. Both use ALT key heavily. So there are conflicts sometimes.

My keyboard has WINDOWS key on it. I would like xmonad to use that key instead of ALT.

My current ~/.xmonad/xmonad.hs file looks like this

import XMonad
import XMonad.Config.Gnome

main = xmonad gnomeConfig

How should I change it so that xmonad starts using the WINDOWS key?

e.g. WINDOWS + 3 will switch to workspace 3 instead of ALT+3.

I want xmoand and emacs to live happily together.

1 Answer 1

15
import XMonad

main = xmonad defaultConfig
        { modMask = mod4Mask -- Use Super instead of Alt
        -- more changes
        }

And then press mod+q. Thats all.

copied shamelessly from

1
  • 1
    How would one tweak a Fedora-provided xmonad.hs to accomplish this? Commented Feb 25, 2013 at 16:06

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.