
Thanks for your recommendations. I was at first happy to try out a prepackaged solution in X.L.IndependentScreens (http://X.L.IndependentScreens) however I found that it loses my windows when I switch between single screen mode and xinerama(laptop here, so that's multiple times a day). I guess I'll move on to your second suggestion. Timothy ---------- Původní zpráva ---------- Od: wagnerdm@seas.upenn.edu Datum: 28. 10. 2012 Předmět: Re: [xmonad] xinerama and workspaces "Quoting timothyhobbs@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 (http://X.L.IndependentScreens), which you may also like. ~d _______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad (http://www.haskell.org/mailman/listinfo/xmonad)"