import XMonad.Hooks.EwmhDesktops main = do xmonad $ ewmh defaultConfig ... , handleEventHook = fullscreenEventHook <+> handleEventHook defaultConfig
Tuesday, February 23, 2016
setxkbmap -option "ctrl:nocaps"
xmodmap -e "remove Lock = Caps_Lock" xmodmap -e "keysym Caps_Lock = Control_L" xmodmap -e "add Control = Control_L"
Where to place the codeThe code is to be placed in ~/.xsession. If a login manager is used, it should call XSession. For example,
$ cat /usr/share/xsessions/xmonad.desktop [Desktop Entry] Name=XMonad Comment=Lightweight tiling window manager Exec=/etc/X11/Xsession Icon= Type=XSession