Contents
Why is xmonad not responding to my keys?
XMonad is frozen! XMonad stops but the current window still responds to keys. Usually this is because a dynamicLog is writing to a pipe handle that’s not being read. For example the xmonad.hs writes to some status bar in the logHook, but the status bar is not installed, not in $PATH, not set up to read its stdin, or just plain not running.
What is xmonad and what does it do?
XMonad is a minimal window manager, meaning it doesn’t set a background, start a status bar, display a splash screen or play a soothing sound effect when it starts up. Once xmonad has started, the only thing it does is listen for your first command.
How to compile setup.hs with xmonad?
To compile Setup.hs simply type: Now you can: If during the build process ghc complains about the “impossible happening”, and mentions that you should change something to “-fvia-C”, just edit the *.cabal file replacing the line that sets the arguments for ghc, changing “-fasm” to “-fvia-C”. How do I uninstall xmonad?
How to set the path to xmonad in GHC?
Alternatively, you can use the full path to xmonad and set ghc’s path systemwide. If you do this, you’ll also have to change the mod-q binding to use /path/to/xmonad and restart X to have xmonad use the new mod-q (first time only) since the mod-q binding calls xmonad to recompile itself.
How can I check if xmonad has a xterm?
Try pressing mod-shift-enter (that is Alt, Shift, and Enter pressed at the same time) to bring up an xterm. Once the xterm appears, use it to read xmonad’s man page or point a web browser at http://xmonad.org/tour.html. If no xterm appears, see if any other advice on this page applies. What build dependencies does xmonad have?
Is it possible to have multiple monitors on xmonad?
XMonad’s defaults with multiple monitors may seem confusing and chaotic until explained and illustrated. First we’ll look at how things work by default, then at common workspace keybinding customizations. To focus visible workspaces rather than swapping their screens modify your keybindings as shown in the next section below.
How can I read the xmonad man page?
Once xmonad has started, the only thing it does is listen for your first command. Try pressing mod-shift-enter (that is Alt, Shift, and Enter pressed at the same time) to bring up an xterm. Once the xterm appears, use it to read xmonad’s man page or point a web browser at http://xmonad.org/tour.html.
Can a Haskell library be installed in xmonad?
Yes, the Haskell libraries that xmonad depends on can all by installed in the user package database. Simply append –user to the install phase: The library will be registered in your ~/.ghc/ database. The simplest way is to create or modify your ~/.xsession file to run xmonad. If you don’t already have a .xsession, the minimal example looks like: