Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm using gnome+xmonad, and I'm trying to set the mod key to the windows key. I set my .xmonad.hs file to:

import XMonad
import XMonad.Config.Gnome

main = xmonad gnomeConfig
myModMask = mod4Mask

I tried to reload the file with alt+q, but no change seems to have occurred. Any suggestions? I'm far from a power user.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Close but not quite. It should be:

import XMonad
import XMonad.Config.Gnome

main = xmonad gnomeConfig
    { modMask = mod4Mask }
share|improve this answer

Your Answer

 
discard

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.