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
31 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
0 answers
13 views

Changing login shell when xmonad is installed from cabal results in being locked out of xmonad session

I installed xmonad via cabal-install as shown here: https://xmonad.org/INSTALL.html It ran fine, and accepted pretty advanced configurations without a problem. However, changing login shells into zsh ...
0 votes
1 answer
10 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 ...
  • 811
0 votes
0 answers
46 views

Mod-Shift-Q Not working in xmonad

I'm just setting up Xmonad, and finding that Mod+Shift+q isn't working. xmonad.hs: import XMonad import XMonad.Config.Gnome import XMonad.Util.EZConfig main = xmonad $ gnomeConfig { terminal=&...
  • 811
0 votes
0 answers
9 views

Define Emacs command by mode

Fairly simple thing... don't know how to do it: I'd like to bind C-c C-c in Haskell-mode to "xmonad --recompile". How would I go about doing that? If somehow the command could further be ...
0 votes
0 answers
873 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, ...
  • 249
0 votes
0 answers
359 views

Isues with starting polybar with xmonad startup hook

I have installed Polybar and it runs when I manually execute the command bash ~/.config/polybar/launch.sh --hack. However I would like to have it start automatically on startup. I am using xmonad, and ...
1 vote
0 answers
37 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 ...
1 vote
1 answer
471 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 ...
0 votes
1 answer
706 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....
  • 1
0 votes
1 answer
88 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 ...
0 votes
1 answer
569 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 ...
1 vote
0 answers
36 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 ...
  • 133
2 votes
1 answer
937 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, ...
0 votes
1 answer
300 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 ...
3 votes
1 answer
1k 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 -...
2 votes
3 answers
3k 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 ...
2 votes
0 answers
244 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 ...
1 vote
1 answer
196 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 | | | |------------| | ...
1 vote
0 answers
178 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, ...
3 votes
1 answer
751 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 ...
  • 31
1 vote
1 answer
856 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 ...
  • 125
4 votes
1 answer
623 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 = ...
2 votes
0 answers
307 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 ...
  • 264
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 ...
  • 957
0 votes
1 answer
127 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 ...
  • 217
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 ...
  • 21
2 votes
0 answers
54 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
508 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 ...
  • 163
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-...
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 ...
  • 257
0 votes
2 answers
698 views

Xmonad refuses to recompile

Recently I've installed Xmonad on mint. It works nicely. Then I create an ".xmonad" directory within my home, and a "xmonad.hs" within that ( ~/.xmonad/xmonad.hs ). I use the basic example on the ...
0 votes
1 answer
267 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 ...
  • 403
0 votes
1 answer
3k views

Xmonad can't find module XMonad

Whenever xmonad starts, restarts, or is recompiled, I get an xmessage: xmonad.hs:1:8: Could not find module `XMonad' Perhaps you meant Monad (needs flag -package haskell98-2.0.0.2) ...
3 votes
1 answer
2k views

XMonad + Synergy: System tray is unavailable, quitting

I'm trying to use synergy with my xmonad setup. When I try to start synergy it pops up an error message saying: System tray is unavailable, quitting I'm on Ubuntu server 13.10 I don't have any ...
8 votes
2 answers
7k 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 ...
  • 1,828
2 votes
1 answer
380 views

Execute wmctrl commands in xinitrc

I'm using XMonad configured to accept commands through wmctrl and would like to start up a few applications through xinitrc and move them to a certain workspace. Those commands work, when I use the ...
  • 131
1 vote
1 answer
826 views

Different keycodes for F3 and F4 on external keyboard vs laptop keyboard

I'm using a Debian derivative with xmonad on my laptop (Lenovo X230). I have a docking station and an external keyboard and trackball connected to it. The keyboard is the Kinesis Advantage. ...
  • 1,069
0 votes
0 answers
378 views

Is there something like a sub-desktop, or a set of windows in XMonad?

When working on different tasks on a project, I have a very similar setup for each task: On a free desktop I Open a terminal window, an editor and a debugging window. Can I manage such a set as one ...
  • 2,829
0 votes
0 answers
107 views

How to perform actions on current window in keybindings?

In the ManageHook I can define what should happen to windows that have specific xprops etc. For example, I can call doShift or doFloat. How can I do the same to the currently focused window with a ...
1 vote
1 answer
2k views

Xmonad GUI on debian

I followed this guide to install Xmonad GUI on my debian 7.1. Installation completed successfully after executing: aptitude install xmonad libghc6-xmonad-dev libghc6-xmonad-contrib-dev After ...
  • 139
3 votes
1 answer
3k views

When I quit xmonad, how can I make it shut down applications nicely?

When I quit xmonad (Shift-Mod-Q), it kills all my running applications. This results in me losing my recent terminal history in gnome-terminal and in Chromium complaining on the next start up that it ...
0 votes
1 answer
118 views

Xmonad terminal creates three processes

I'm configuring xmonad. I changed the terminal to terminal="urxvt" but I don't like that it spawn three processes per each terminal I open: ~$ ps -fea --forest fake 16042 12136 0 11:22 ? 00:...
  • 833
4 votes
1 answer
609 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,...
  • 213
0 votes
1 answer
116 views

Pause video when switching to some other desktop in xmonad

Assume that I am running vlc on desktop 5. I want to pause it when I switch to some other desktop and resume when I switch back to desktop 5. How to achieve this effect in xmonad?
  • 225
0 votes
1 answer
205 views

Google Music Manager doesn't displayed

How can I configure my Xmonad config that Google music manager is displayed? I cannot open the options window from the context menu. Has anybody any idea why it does not display?
  • 294
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 ...
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 ...
  • 81
4 votes
2 answers
3k 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?...
  • 294
0 votes
1 answer
279 views

Layout Specfic Keybinds in Xmonad/Dwm

Does anyone know if its possible to have a different set of keybinds for different layouts. For instance, in Tall mode, i would like h and l to switch between the master and stack, with k and l ...
  • 233