[Xmonad] Xinerama & switching workspaces

Dave Harrison dave at nullcube.com
Sun Jun 10 02:13:39 EDT 2007

Donald Bruce Stewart wrote:
> dave:
>> Donald Bruce Stewart wrote:
>>>> So now I come to a question, I have a xinerama setup for my laptop
>>>> that means I can plug into a monitor and have two screens.  My usual
>>>> usage involves me having to go hunting through workspaces to find
>>>> where I left a particular client window open (a terminal, web browser
>>>> window etc).  What I'm finding at the moment is that as I move through
>>>> the workspaces, at some point I select a workspace that's on the other
>>>> screen to the one I'm working on, and by selecting that workspace I
>>>> move to that other screen.  Then as I continue looking through my
>>>> workspaces, I pull them to that screen instead (I flick fast ;-) ).
>>>> So the question is, how do other people solve this problem (ie. how do
>>>> you cycle workspaces to find something you want in xinerama without
>>>> getting thrown around between screens) ?
>>>> And, is there a better way to find something on another workspace ?
>>> I use the state logging facility, and xmonad-status.c to display a
>>> little status bar showing the current workspace, and those others with
>>> clients on them -- I'm actually addicted to this script now.
>>> It takes the logging output, and prints it as:
>>>     1 2 [3] 5 8
>>> giving the indices of non-empty workspaces, and the focused one.
>>> Pipe that into dzen, and off you go. Examples in XMonadContrib/scripts/
>>> I the darcs version, you enable this by setting logging = True,
>>> and having xmonad-status.c built and in your path. 
>>> We're just about to move this printing stuff into Config.hs too, so you
>>> can print your own formats to stdout.
>>> -- Don
>> Hi Don,
>> I recall the output feature not being in 0.2, at least definitely
>> can't see any ouput flowing through the pipe that is setup on startup.
> Correct. Its in the darcs branch. *But* I'm actively working on it now,
> if you want to hold off for 30 mins or so.

lol, I'll try and resist ;-)

>> So since I have a recollection of needing the latest src from the
>> head, I tried to build the latest xmonad from darcs and hit this error,
> Yep, you need to update X11-extras first..

ah, will do

More information about the Xmonad mailing list