Questions tagged [xmonad]

xmonad is a tiling window manager for the X Window System, written in the functional programming language Haskell.

Begun in March 2007, it is similar to dwm, larswm, StumpWM and other members of the tiling window manager family, in that it arranges windows in a nonoverlapping tiled pattern and strives to make it possible for the user to productively manage windows without the use of the mouse. Xmonad is packaged and distributed on a wide range of Unix-like operating systems, such as Arch Linux, Debian, Ubuntu, Gentoo, Source Mage, NixOS, FreeBSD, NetBSD, OpenBSD, and Mac OS X.

Useful links

333 questions
4
votes
1 answer

How can I bind a key to switch to a specific workspace in XMonad?

I'm running a two headed setup, and I'd very much like to bind like M-i to switch the left monitor's workspace to workspace 5, and the right monitor's workspace to workspace 6. I've taken a look through Xmonad.Actions, but I couldn't see what I was…
Squidly
  • 2,707
  • 19
  • 43
3
votes
1 answer

In gnome w/ xmonad, how can I call a script when a monitor is plugged in OR when docking my laptop?

Problem: I have an extra set of top and bottom gnome-panels for a second monitor. When I undock my lenovo Thinkpad (T510), the extra top and bottom panels remain, so I have two on top and two on the bottom. I am currently running a RHEL6/Fedora…
Ben Rose
  • 43
  • 1
  • 10
3
votes
1 answer

Xmonad: How do I reset the number of windows in the master pane?

It sometimes happens that when I mod-L or mod-H in Xmonad my windows don't resize. I believe this is a result of my having accidentally changed the number of windows in my master pane. Sometimes I'm lucky to hit just the right amount of mod-, or…
troutwine
  • 3,721
  • 3
  • 28
  • 62
3
votes
1 answer

How do I keep window in focus when moving it to another monitor?

I'm using xmonad with 2 monitors and XMonad.Layout.IndependentScreens. It works mostly fine, but one problem I have is that when I move a window to another monitor, it looses focus The code that is responsible for the placement is here: [((m…
Arsen Zahray
  • 24,367
  • 48
  • 131
  • 224
3
votes
3 answers

xmonad help. Which is my Mod key?

I'm using this config file https://github.com/artificialbeing/xmonad-conf/blob/master/xmonad.hs I've recompiled haskell by doing xmonad --recompile then I did M-q (where M is ALT) to restart xmonad. There are no errors and I'm pretty sure the…
BinRoot
  • 694
  • 2
  • 8
  • 21
3
votes
1 answer

Why is XMonad's Prompt not working for me?

So my MWE xmonad.hs is as follows: import XMonad import XMonad.Prompt import XMonad.Prompt.Shell import XMonad.Util.EZConfig myKeys = [ ("M-s", shellPrompt def) , ("M-", spawn "/usr/bin/alacritty") , ("M-q", kill) , ("M1-r", spawn…
jns-v
  • 73
  • 4
3
votes
1 answer

Haskell Variable not in scope

I am configuring my xmonad file to send the Stdout to a SpawnPipe per the documentation at https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Hooks-DynamicLog.html#v:ppOutput Here is the code that I have so far... I am sure I am…
Nick McLean
  • 601
  • 1
  • 9
  • 23
3
votes
1 answer

Xmonad shift window to another screen and focus on it with one keybinding

how to make this key binding so that it also focuses on the moved window? [((m .|. modm, key), screenWorkspace sc >>= flip whenJust (windows . f)) | (key, sc) <- zip [xK_h, xK_l] [0..] , (f, m) <- [(W.view, 0), (W.shift,…
Andrius Solopovas
  • 967
  • 11
  • 41
3
votes
0 answers

How Do I Make a Program Wait In Haskell

I have a pretty small laptop screen, and I normally use my applications in a fullscreen/monocle layout. However this makes it difficult to remember where exactly my applications are in the stack, since I cant see them. To solve this problem, I would…
user2350374
  • 85
  • 2
  • 6
3
votes
1 answer

Lots of broken haskell packages

(Arch linux) I have been having a lot of problems lately with haskell packages. Normally I would fix them fairly easily by updating some packages, but there is probably a root cause to all of them that I cannot figure out. I currently think the most…
3
votes
1 answer

XMonad Logs | How to check if a key binding did fire or not?

I am using Xmonad for a while and it is working fine but some of the key bindings are not working and I want to see the log to diagnose the problem. BUT I am not able to find the log files for this? Any idea where these are located? UPDATE : I have…
harsh atal
  • 411
  • 6
  • 16
3
votes
1 answer

Could not find module `XMonad` when attempting to compile

I see a couple other people with the same issue however none of the solutions worked for me. The following commands+outputs are mainly what I have tried. I am posting 1) because I have been stuck on this for some time and 2) I wanted to leave a…
t-wilkinson
  • 33
  • 2
  • 5
3
votes
3 answers

How great is xmonad if I still want my "old" graphical IDE?

I've heard excellent reports of xmonad, but how good is it for everyday use and for development? For various reasons I don't use vim/emacs (though I don't suffer from terminal-phobia!). All the screenshots/videos I've seen show xmonad being used…
Jonathan Ford
  • 317
  • 2
  • 5
  • 12
3
votes
2 answers

Using color inside separator | fixed width of xmobar command field

I have some xmobarrc config Config { lowerOnStart = False, font = "xft:Terminus-12" , bgColor = "#000000" , fgColor = "#8080A1" , position = Top , commands = [ Run Network "eth0"…
3
votes
2 answers

Vague 'Couldn't match expected type' error when trying to use ManagerDocks in Xmonad

I am trying to add the docks command to my .xmonad config, but adding it results in a somewhat confusing type error: Error detected while loading xmonad configuration file: /home/dan/.xmonad/xmonad.hs xmonad.hs:11:11: error: • Couldn't match…
danbroooks
  • 2,712
  • 5
  • 21
  • 43