Re: Dual taskbars on dual monitors?
Jj <[email protected]>
| Newsgroups | gmane.comp.window-managers.fluxbox.user |
|---|---|
| Message-ID | <[email protected]> |
I get that "for free" running dual screen without xinerama. I run two X sessions. What I can't do is drag windows across screens, but I get two taskbars and independent workspace switching between screens. It actually works better for me this way. On 04/21/2010 11:03 PM, Chris Bennett wrote: > Hi there, > >> I am wondering if it's possible to have two taskbars, when using a >> dual monitor setup... >> >> So all the windows on the left screen would minimize to a taskbar on >> the left screen and all the windows on the right screen would >> minimize to the taskbar on the right. >> >> Or to have one taskbar over both the screens, when the windows would >> just be organized to the left and right would work too.... >> >> >> If the fluxbox taskbar doesn't support this, a third party taskbar >> would also be ok. > > Hopefully there's a ready-to-go solution for you (I can't help you > with that). > > But I can suggest a custom script using wmctrl may achieve what you > want. > > With wmctrl you can get: > - list of windows, workspace, xy pos and width,height. > > You can then iterate though the list of windows, finding those that > are on the current workspace, in the current screen (based on the > workspace dimensions, and x,y pos of each window). Then you can use > wmctrl to set their property to hidden. > > wmctrl -b toggle,hidden -i -r 0x<WINID> > > This won't give you taskbar per monitor, but it might get you the > desired behaviour. > > It sounds a bit hacky, but I've implemented a number of useful > functions using wmctrl to perform complex window management actions > and then bind them to keys.. e.g. the 'ArrangeWindows' function in > fluxbox will put 2 windows horizontally rather than vertical. I've > written a simple script to set the window size and x,y so that 2 > windows are split vertically in the available space. > > I've done a lame implementation of Compiz& OSX's Expose feature that > allows you to 'zoom' out, choose a window, restore dimensions of all > windows and bring to front/set focus to the chosen window. It's lame > because it's not quite finished, and it doesn't have any smoothness to > window size changes :) > > Anyway, good luck with your ideas and let me know if you implement > something like the above. > > Regards, > > Chris Bennett > cgb > > ------------------------------------------------------------------------------ > _______________________________________________ > Fluxbox-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fluxbox-users -- Jj http://isgeek.net/ ------------------------------------------------------------------------------