[xmonad] xinerama and workspaces

wagnerdm at seas.upenn.edu wagnerdm at seas.upenn.edu
Sun Oct 28 20:28:42 CET 2012


Quoting timothyhobbs at seznam.cz:

> Hello,
> I have tried both greedy and non greedy workspace switching.  Neither is to
> my taste.  Has anyone found a way to bind workspaces to monitors?  I would
> like to have workspaces 1-4 on monitor 1 and 5-8 on monitor 2.  So that if I
> press mod-1 I would switch focus to monitor 1 and monitor 1 would switch to
> workspace 1.  And then if I pressed mod-6 focus would switch to monitor 2
> (leaving monitor 1 at workspace 1) and then monitor 2 would switch to
> workspace 6.

Seems like this shouldn't be too hard. Change your mod-{1,2,3,4}  
keybinding to view the workspace that's currently visible on the left  
monitor, then shift to workspace {1,2,3,4}; change your mod-{5,6,7,8}  
keybinding to view the workspace that's currently on the right  
monitor, then shift to workspace {5,6,7,8}. This is a slight  
modification of the idea behind X.L.IndependentScreens, which you may  
also like.

~d



More information about the xmonad mailing list