Questions tagged [xmonad]

xmonad is a dynamically tiling X11 window manager that is written and configured in Haskell

Filter by
Sorted by
Tagged with
0 votes
1 answer
6k views

How to turn off / disable "CTRL LOCK"?

I have a ThinkPad T520 with NixOS 21.09 installed with Xmonad. Locked the screen with slock, went to have lunch, and when I got back the cat was peacefully asleep on the keyboard. When unlocked, ...
5 votes
2 answers
1k views

Prevent xfce4-notifyd in Xmonad from taking focus

How to prevent notifyd notifications from taking focus in Xmonad and XFCE?
1 vote
1 answer
366 views

rdesktop failing with BadWindow (invalid Window parameter)

$ rdesktop localhost -u username Autoselecting keyboard map 'en-us' from locale X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 20 (X_GetProperty) ...
7 votes
2 answers
4k views

How can I set my Caps Lock key to toggle Fullscreen mode in Xmonad?

I'm using xmonad with the following layouts: globalLayout = avoidStruts (tiled ||| Mirror tiled ||| Full ||| threeColMid ||| combine) ||| Full and I have set my mod + space key to switch between the ...
42 votes
5 answers
27k views

Set background image in xmonad

I have just switched from Fluxbox to giving xmonad a go, and I am definitely liking it. However, the one thing I haven't managed to do is to change my desktop background. I am using Ubuntu 8 (uh, can'...
5 votes
2 answers
3k views

How to trigger an action on double-tap of a keyboard button?

I'd like to learn how to trigger something in my debian box on double-tap of a key (let's say l-shift). My setup is X11 based. Should I look into doing in my MW (xmonad) or on a lower level? Forgive ...
0 votes
1 answer
291 views

Move window to workspace and focus that workspace (shiftAndView) on XMonad WM

I have XMonad for a while and I have been working on this for the last couple of days, and still no solution. Let me give you an example of what I'm trying to do: VLC is open, move it to workspace 2 ...
0 votes
1 answer
63 views

Get gmrun to float

With my current config (below), gmrun pops up as a regular window, so it takes up the full screen if I invoke it in an empty workspace (and 1/2 the screen if there is already 1 window). How do I ...
1 vote
0 answers
51 views

Graphic application opening in the workspace it was first used instead of the current workspace

I am using the image viewer geeqie under xmonad. When I open geeqie for the first time, say in workspace 1, everything goes well. Now, if I quit geeqie on workspace 1, go to another workspace, and ...
4 votes
1 answer
741 views

XMonad remap caps lock to escape

I was using Gnome but when I switched to XMonad the escape to caps lock remapping I created does not work. I am not sure how to configure XMonad to do this swap. I tried xmodmap -e "keycode 66 = ...
0 votes
1 answer
172 views

How to change the default Xmonad configuration off all users?

The canonical way to configure Xmonad is by creating the file ~/.xmonad/xmonad.hs However, I would like to change the default Xmonad configuration for all users, and not just for myself. I have ...
2 votes
3 answers
4k views

Reload config of xmobar

I'm happily using xmobar with xmonad as my window manager. When changing the configuration of xmonad, I use mod + q to make the new configuration effective. This works fine for xmonad but I noticed ...
0 votes
1 answer
994 views

Cannot run XMonad on Voidlinux properly

It runs but I get this error everytime $ cabal install xmonad xmonad-contrib Resolving dependencies... Up to date Symlinking 'xmonad' $ cat ~/.xinitrc exec ~/.cabal/bin/xmonad $ cat ~/.xmonad/xmonad....
13 votes
3 answers
7k views

Start applications on specific workspaces in xmonad

I know how to associate specific applications with specific workspaces using manageHook and composeAll. What I'm looking for is a way to spawn applications on specific workspaces, i.e. a function with ...
1 vote
1 answer
1k views

How to spawn a program on a specific workspace at startup using XMonad?

Like, many, others, I am trying to spawn a program on a specific Xmonad workspace at startup. Here is my xmonad.hs that should start Firefox on workspace 4: import XMonad import XMonad.Actions.SpawnOn ...
30 votes
4 answers
21k views

How do you make volume keys and mute key work in Xmonad

I am new to Xmonad (just installed it yesterday), and since I have never used haskell before, I found configuration a little bit confusing for me. I got somewhat made xmobar and trayer work, but I ...
2 votes
1 answer
1k views

XMonad, spawn mutliple terminals on startup on different workspaces

Is it possible to spawn multiple terminals on startup on different workspaces? I have a bunch of terminals and Firefox which I would like to have running on startup. XMonad places Firefox correctly, ...
3 votes
1 answer
2k views

Attempting to install Xmonad - package hidden

Probably just a big case of PICNIC, but when I tried to install Xmonad, I get errors stating Could not load module ‘XMonad’ It is a member of the hidden package ‘xmonad-0.15’. You can run ‘:set -...
7 votes
5 answers
4k views

how to make xmonad use two mod keys

I find lots of examples on how to set the mod key in xmonad, but how do I add a second mod key?
0 votes
1 answer
742 views

Xmonad change keybinds based on keyboard layout

Is there there a way to define different keybindings in Xmonad depending on the current keyboard layout? For example, if I switch between standard US and Dvorak keyboard layouts, is there a way to ...
4 votes
2 answers
4k views

Disable screen turn off

I want to watch a movie with my laptop how I can disable with xmonad that it turn off the screen if vlc or some other app is running is running. Is there some functions what I can used to prevent this?...
0 votes
1 answer
425 views

Xmonad, How to set up a grid of workspaces?

I want to have 9 workspaces as a grid. And to navigate them using the arrow-keys. So far I can navigate with the arrow-keys, but I want to get rid of the "wrap-around". For example, if workspace 9 is ...
1 vote
0 answers
55 views

How to edit with imagemagick with tiling window manager?

In my mostly default xmonad configuration, editing images is almost impossible because all tool windows (like crop or filetype selection) are spawned too small and at random places and are difficult ...
2 votes
0 answers
327 views

xmonad: mouse hover hook

I'm trying to make xmonad focus the window underneath the pointer when the mouse is moved, regardless of which window is focused. This was addressed in this question; however, the provided solution ...
8 votes
2 answers
9k views

How to transmit locally entered modifier keys or shortcuts to the remote desktop via VNC? Mask or escape them somehow?

I am connected to a xmonad desktop but am only able to use the first workspace. How can I change to other workspaces? Furthermore: If the last terminal is closed, I can’t do anything. How can I open ...
8 votes
1 answer
2k views

Quickly navigate to application by typing name of application in XMonad

I often have several applications open across several workspaces in XMonad. I'd like to be able to switch between them without hunting; specifically, I'd like to be able to type something that ...
6 votes
5 answers
1k views

Xmonad open terminal in same directory

Is it possible to have Xmonad open a new terminal in the same directory as the active terminal (if the active window is a terminal or a program like vim running in one)? As it is, all my terminals ...
4 votes
2 answers
4k views

How to show window title bars in XMonad?

I'd like to use a tiling window manager like xmonad. However, I want my windows to have titles. How can I configure xmonad in such a way that my windows always have titles?
2 votes
1 answer
1k views

Stuck in xmonad with mod key not working - how to recover?

I am trying NixOS, and have a problem with fairly basic configuration. Basically, I experimented with xkboptions in configuration.nix, and lost the xmonad mod key when I tried to switch alt and win ...
3 votes
1 answer
950 views

xmonad: focus window when mouse is moved

In my xmonad config, I have set focusFollowsMouse=true so that a window is focused when the mouse pointer is moved onto it. However, I would also like a window to become focused when the mouse pointer ...
1 vote
1 answer
221 views

Xmonad Layout with vertically stacked secondary tiles

I'm looking for a layout for use on a portrait oriented monitor that would look roughly like this (warning bad ascii art): |------------| | | | master | | | |------------| | ...
5 votes
3 answers
2k views

How can I configure GIMP 2.8 to be a single window in XMonad?

I'm trying to get GIMP to display as a single window in XMonad. Currently, it's floating strangely in front of every other display and I can't use it. I have tried reading this: http://www.haskell....
5 votes
1 answer
2k views

Ignore monitor hotplugging events using x11 and an AMD card

I have a triple monitor setup (xorg.conf generated with amdcccle: http://pastebin.com/gWSVEyLa) running on Arch Linux with Xmonad as my window manager. Physically, there is an HDTV off to the left, a ...
2 votes
1 answer
1k views

xmonad: rotate one screen on dual monitor setup

On Fedora 22 I want to use XMonad as Window-Manager on a dual monitor setup. I want to rotate one of the monitors but I'm trying to not configure xorg.conf manually like described here. (because in my ...
6 votes
1 answer
2k views

Changing font of dmenu in xmonad

I am using xmonad and dmenu and by default the modMask-p combination launches dmenu. However, the font is too small for me, and I cannot figure out how to change it. I can run dmenu_run -fn "-misc-...
1 vote
0 answers
199 views

XMonad + Synergy - change window border state when the pointer leaves the computer

My current XMonad setup happily highlights the currently focused window with a nice green border. import XMonad.Layout.NoBorders ... defaults = defaultConfig { focusFollowsMouse = True, ...
6 votes
2 answers
6k views

xmonad on debian: how to change screen resolution

I've installed xmonad in a debian vmware vm on osx. In Gnome I changed the screen resolution to 1440/900 using the GUI menu but this change did not affect the resolution I get when I'm logged in with ...
2 votes
2 answers
1k views

How to define a shortcut to show desktop in XMonad?

I am using XMonad in a Gnome environment. How do I define a shortcut to minimize all windows and show the desktop?
6 votes
1 answer
2k views

xmonad + urxvt issue: text disappears after resizing

I'm using Arch Linux + xmonad + urxvt bundle and trying to resolve the conflict between xmonad and urxvt. Better to explain with shots: Firstly, open the terminal and get some full-length output. ...
8 votes
2 answers
4k views

How can I make Virtualbox ignore specific keys?

I use Virtualbox with Windows on Ubuntu host. I keep it on separate workspace (I use Xmonad). Xmonad uses Windows key as modifier. The problem is: when I press it, Windows machine opens start menu. ...
1 vote
1 answer
1k views

xdotool: typing transactionally

My overall goal is to get something like auto-hot-key for windows working for me. I've tried a few different solutions (and I'm still open to retrying or trying new ones) and what I've settled on ...
1 vote
3 answers
3k views

xmonad same application is appearing on both monitors

I started using xmonad on an Ubuntu box with two monitors attached. When I start xmonad the same layout is duplicated on both monitors. For example: if I have a layout where Chrome and emacs are tiled ...
2 votes
0 answers
360 views

Precisely resizing master pane in xmonad

In the default layout in xmonad, I know I can resize windows horizontally with mod-l and mod-h but these actions resize by too much. I want to make very small adjustments to window sizes. I played ...
0 votes
1 answer
140 views

Focus window after changing workspace

After i switch workspaces in xmonad with e.g. Alt+3 no window in workspace 3 has focus. I'd like xmonad to automatically give focus to the top window in the workspace i'm switching to. Update: this ...
2 votes
0 answers
85 views

Options when auto-recompiling xmonad

Is there a way to pass options to xmonad --recompile? I'm interested in the following: Produce a dynamically linked executable Change the path / name of the generated executable or, in general, pass ...
2 votes
1 answer
569 views

How to get horizontal scrolling in XMonad

I've recently started using XMonad. While I can use the trackpad to scroll through a web page vertically (top-to-bottom) I cannot use it to scroll horizontally (side-to-side). How can I set XMonad ...
7 votes
1 answer
3k views

How to wake up / enter system after slock?

I'm using xmonad as my window manager. There's no default hibernate/lock app by default. I tried slock, it locked my screen; however, I don't know how to re-enter the system: there's just a black ...
0 votes
1 answer
393 views

Move window to Master in XMonad without swapping

mod-return currently swaps the focused window with the master window. What I want is to move the focused window to the master and have the rest move over one place. So the end result is as if I had ...
4 votes
1 answer
701 views

Find a window in current workspace and apply some action to it

I think this should be really easy for someone who's good at Haskell but I just couldn't figure it out as I'm bad at it. Basically I want to search through the list of windows in the current workspace,...
8 votes
3 answers
1k views

How can I set mouse as left handed on xmonad?

I had the mouse buttons inverted on Gnome, and I wanted to do the same on xmonad but I don't know how to do it. Does anyone knows what is the adequate configuration?