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
0
votes
1 answer

Xmonad how to prevent floating window from staying always on top?

This is my layout config: mySpacing :: Integer -> l a -> XMonad.Layout.LayoutModifier.ModifiedLayout Spacing l a mySpacing i = spacingRaw False (Border i i i i) True (Border i i i i) True tiled = renamed [Replace "tiled"] $…
Andrius Solopovas
  • 967
  • 11
  • 41
0
votes
0 answers

How to set default workspaces at boot when using spawnOn for startup apps?

Hi Everyone, I have dual monitor setup and I use spawnOn to start some messenger apps on the dedicated workspace lets say it will be 7th. The problem is when I do that Xmonad starts 7th workspace by default on one of my monitors, how to start…
Andrius Solopovas
  • 967
  • 11
  • 41
0
votes
1 answer

In xmonad some keybindings work and some don’t?

I'm trying out Xmonad and am building a config file. However I have an issue with the keybindings. Some of my keybindings are working and some aren't. It makes no sense to me why. It compiles just fine, no errors. And to me either all should work or…
Silvio
  • 151
  • 9
0
votes
1 answer

Bind a single key in xmonad without using a ModMask

I would like to bind single key presses to certain actions in my xmonad.hs. I'm setting up a security system and will have each workspace on xmonad running a camera view. I want to bind single keys, such as left or right, to the switching of the…
OB7DEV
  • 143
  • 1
  • 9
0
votes
0 answers

How to float a DoesNotAcceptFocus window on top that over another fullscreen application in xmonad enviroment

My problem : A project , inlcude tow excution application that run in xmonad enviroment on debian10 . One( name App_A ) is a full screen exe . The other one ( name App_B , build by Qt ) is hide normally , and only show out by user iput like a…
cyberpunker
  • 49
  • 1
  • 1
  • 7
0
votes
1 answer

How to join those two config parts together?

In my xmonad config I have the following: main = do xmproc <- spawnPipe "xmobar -x 0 ~.config/xmobar/xmobar.config" xmonad $ docks defaults But having problems with chrome, I need to add this: import XMonad import…
Adam
  • 3,415
  • 4
  • 30
  • 49
0
votes
1 answer

Shift/send individual chrome tabs to different workspaces

In my xmonad.hs on xfce4, when eg emacs starts, it goes to my first workspace with a manageHook like so: className =? "emacs" --> doF(W.shift(myWorkspaces !! 1)). That's dandy, and I can similarly send "google-chrome" to a single workspace. But,…
EdwardG
  • 2,029
  • 2
  • 15
  • 15
0
votes
1 answer

Where is XMonad state saved

I have a setup with 3 monitors. Lately I have decreased the selectable workspaces in my xmonad config to three (1,2 and 3) however xmonad has somehow remembered my previous layout and still displays workspace 5 on one of the monitors on statup, so I…
Konrad Eisele
  • 3,088
  • 20
  • 35
0
votes
1 answer

How to send the current workspace instead of the current window to a different screen?

Sometimes I want to send the whole current workspace to another screen instead of just the current window. I know that greedyView would get the designated workspace onto the current screen. However, what if I Don't want to go to the target screen…
xji
  • 7,341
  • 4
  • 40
  • 61
0
votes
1 answer

How can I detect a key press / button down event in XMonad?

I've tried to detect this manually by: myHook :: Event -> X All myHook e = do liftIO $ logToTmpFile $ show e pure $ All True However on the keypress of modm (hyper/windows) it just shows: PropertyEvent {ev_event_type = 28, ev_serial = 12080,…
Chris Stryczynski
  • 30,145
  • 48
  • 175
  • 286
0
votes
1 answer

XMonad: How can I again re-insert a window back into the tiling layout after having it made floating?

I use the below binding to make a window floating and draggable: myMouseBindings (XConfig {XMonad.modMask = modMask}) = M.fromList $ [ -- mod-button1, Set the window to floating mode and move by dragging ((modMask, button1), (\w ->…
Konrad Eisele
  • 3,088
  • 20
  • 35
0
votes
1 answer

Xmonad: brightness and file permissions

I'm trying to setup my Xmonad to change the back-light intensity on my laptop. However, to do so, I have to be able to write to the file /sys/class/backlight/intel_backlight/brightness, which requires the application performing the update to be…
0
votes
1 answer

xmonad and read it later

I am using xmonad and the read it later extension for firefox. Now, if I want to tag an entry in the read it later list, the list disappears (instead of giving simply focus to to tag textfield) and a very small empty window occurs. (Using gnome…
student
  • 1,636
  • 3
  • 29
  • 53
0
votes
1 answer

XMonad network or command line api?

I would like XMonad to switch workspaces in response to a network event (or, alternatively, a command line event since I can write another program to handle the network) rather than a keyboard event. Is this possible?
Maciek
  • 5
  • 3
0
votes
1 answer

XMonad: How to use manageHook?

I'm following the instructions Here to make a program (wicd-gtk) always run in a floating window. Here are the relevant sections from my xmonad.hs: myManageHook = composeAll [ className =? "wicd-gtk" --> doFloat , className =?…
Solomon Bothwell
  • 1,004
  • 2
  • 12
  • 21