Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fluxbox, Multiple Monitors, and Workspaces
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
[FU] bEtA
n00b
n00b


Joined: 14 Feb 2003
Posts: 5
Location: Huber Heights, OH, USA

PostPosted: Wed Sep 03, 2003 4:32 am    Post subject: Fluxbox, Multiple Monitors, and Workspaces Reply with quote

I have Fluxbox running on two monitors through my Nvidia Ti4200 as non-panning independent screens. So each screen looks like a separate Fluxbox session. My XF86Config ServerLayout section looks like so:

Code:
Section "ServerLayout"
    Identifier  "non-panning"
    Screen 0   "Screen 0"
    Screen 1   "Screen 1" RightOf "Screen 0"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection


This works fine except when I want to use the "Send to..." command to place the application window in an alternate workspace. Fluxbox seems ignorant of the workspace(s) on the other display and I am limited to leaving apps on the monitor the where they were started.

My ~/.fluxbox/init file looks like this:
Code:
session.titlebar.left:   Stick
session.titlebar.right:   Minimize Maximize Close
session.screen1.toolbar.widthPercent:   65
session.screen1.toolbar.autoHide:   false
session.screen1.toolbar.placement:   BottomCenter
session.screen1.toolbar.onhead:   0
session.screen1.toolbar.onTop:   false
session.screen1.tab.width:   64
session.screen1.tab.rotatevertical:   true
session.screen1.tab.height:   16
session.screen1.tab.placement:   Top
session.screen1.tab.alignment:   Left
session.screen1.slit.placement:   TopRight
session.screen1.slit.direction:   Vertical
session.screen1.slit.onTop:   False
session.screen1.slit.autoHide:   False
session.screen1.focusNewWindows:   true
session.screen1.focusLastWindow:   true
session.screen1.workspaceNames:   two,
session.screen1.workspaces:   1
session.screen1.focusModel:   SloppyFocus
session.screen1.colPlacementDirection:   TopToBottom
session.screen1.sloppywindowgrouping:   true
session.screen1.showwindowposition:   true
session.screen1.strftimeFormat:   %I:%M %p
session.screen1.antialias:   false
session.screen1.maxOverSlit:   true
session.screen1.imageDither:   false
session.screen1.workspacewarping:   false
session.screen1.fullMaximization:   true
session.screen1.rootCommand:   bsetbg -f /home/jgibson/.fluxbox/backgrounds/sangre2x_right.jpg
session.screen1.desktopwheeling:   true
session.screen1.windowPlacement:   RowSmartPlacement
session.screen1.rowPlacementDirection:   LeftToRight
session.screen1.edgeSnapThreshold:   0
session.screen0.slit.placement:   TopRight
session.screen0.slit.direction:   Vertical
session.screen0.slit.onTop:   False
session.screen0.slit.autoHide:   False
session.screen0.tab.width:   64
session.screen0.tab.rotatevertical:   true
session.screen0.tab.height:   16
session.screen0.tab.placement:   Top
session.screen0.tab.alignment:   Left
session.screen0.toolbar.widthPercent:   66
session.screen0.toolbar.autoHide:   false
session.screen0.toolbar.placement:   BottomCenter
session.screen0.toolbar.onhead:   0
session.screen0.toolbar.onTop:   true
session.screen0.focusNewWindows:   true
session.screen0.focusLastWindow:   true
session.screen0.workspaceNames:   one,
session.screen0.workspaces:   1
session.screen0.focusModel:   ClickToFocus
session.screen0.colPlacementDirection:   TopToBottom
session.screen0.sloppywindowgrouping:   true
session.screen0.showwindowposition:   true
session.screen0.strftimeFormat:   %l:%M %P %a
session.screen0.antialias:   false
session.screen0.maxOverSlit:   true
session.screen0.imageDither:   false
session.screen0.workspacewarping:   true
session.screen0.fullMaximization:   false
session.screen0.rootCommand:   bsetbg -f /home/jgibson/.fluxbox/backgrounds/sangre2x_left.jpg
session.screen0.desktopwheeling:   true
session.screen0.windowPlacement:   RowSmartPlacement
session.screen0.rowPlacementDirection:   LeftToRight
session.screen0.edgeSnapThreshold:   0
session.doubleClickInterval:   250
session.menuFile:   /home/jgibson/.fluxbox/menu
session.autoRaiseDelay:   250
session.tabs:   true
session.iconbar:   true
session.imageDither:   True
session.keyFile:   ~/.fluxbox/keys
session.slitlistFile:   /home/jgibson/.fluxbox/slitlist
session.cacheMax:   200l
session.colorsPerChannel:   4
session.cacheLife:   5l
session.styleFile:   /usr/share/commonbox/styles/Paper
session.opaqueMove:   false
session.groupFile:   


Is there a way to make Fluxbox aware of the other screens' workspace(s)? Or is there at least a link to more documentation about the ~/.fluxbox/init file and its' options? I looked on the Fluxbox website and didn't find much, but maybe I wasn't looking in the right place.

Thanks in advance,

bEtA
Back to top
View user's profile Send private message
meowsqueak
Veteran
Veteran


Joined: 26 Aug 2003
Posts: 1549
Location: New Zealand

PostPosted: Wed Sep 17, 2003 2:21 am    Post subject: Reply with quote

Each screen is independant - there's no way to move a window from one to another that I am aware of, and I've been using dual head for almost two years.

The closest you can get is to use Xinerama, which turns the two screens into a single double-size desktop. Xinerama has it's own set of pros and cons. You can turn on Xinerama in your XF86Config-4 - check the XF86Config manpage.
Back to top
View user's profile Send private message
ryan83vt
Guru
Guru


Joined: 28 Oct 2002
Posts: 370
Location: Blacksburg, VA

PostPosted: Sun May 02, 2004 8:12 pm    Post subject: Reply with quote

You can use twinview with an nvidia card and it works great. As this is an old thread I won't post my xorg.conf (XF86Config) file because you probably have this resolved by now, but if not, let me know and I'll post it.
Back to top
View user's profile Send private message
meowsqueak
Veteran
Veteran


Joined: 26 Aug 2003
Posts: 1549
Location: New Zealand

PostPosted: Mon May 03, 2004 10:32 am    Post subject: Reply with quote

You can also start a window on another display by setting the DISPLAY variable in it's environment. E.g. for starting an app on the other display when the current display is :0.0 :

Code:
$ DISPLAY=:0.1 <program>


So you could write a script that takes a program as an argument, checks the DISPLAY variable, and uses the alternative display to start the program. I'm sure this can be integrated into the KDE menu somehow...
Back to top
View user's profile Send private message
endtransmission
n00b
n00b


Joined: 16 Nov 2003
Posts: 48

PostPosted: Tue May 11, 2004 8:49 pm    Post subject: Reply with quote

meowsqueak wrote:
Each screen is independant - there's no way to move a window from one to another that I am aware of, and I've been using dual head for almost two years.

The closest you can get is to use Xinerama, which turns the two screens into a single double-size desktop. Xinerama has it's own set of pros and cons. You can turn on Xinerama in your XF86Config-4 - check the XF86Config manpage.


https://sourceforge.net/tracker/?func=detail&atid=413960&aid=911537&group_id=35398

Hey guys, I've got good news for you
I actually bugged this awhile back and got the response. Putting xinerama in the use flags of the make.conf isn't good enough - you have to emerge fluxbox with the
Code:
#USE="xinerama" emerge fluxbox.


It will span monitors and recognize heads just fine but you have to pass the options to it in the CLI.

Sorry to hear you've been using it for two years without this functionality. Would have driven me insane personally. Hope you find ths helpful.
Back to top
View user's profile Send private message
Sugarat
Guru
Guru


Joined: 24 Jul 2002
Posts: 348

PostPosted: Tue May 11, 2004 9:23 pm    Post subject: Reply with quote

I will soon be running a gentoo box with three lovely Sun 21" monitors connected to it.

I'll give flux a whirl then and see how I get on..
_________________
--[ UltraSPARC ]--
Accept no imitations
Back to top
View user's profile Send private message
meowsqueak
Veteran
Veteran


Joined: 26 Aug 2003
Posts: 1549
Location: New Zealand

PostPosted: Tue May 11, 2004 10:56 pm    Post subject: Reply with quote

endtransmission wrote:
Sorry to hear you've been using it for two years without this functionality. Would have driven me insane personally. Hope you find ths helpful.


I should say, I was using it for two years *and* I knew about this functionality but chose not to use it. Xinerama has it's own set of problems. I still use independent screens for my dual head. The downside is, I can't move windows between screens. This is fine for me, since I don't tend to move things around much anyway (I have distinct workspaces for certain tasks).
Back to top
View user's profile Send private message
endtransmission
n00b
n00b


Joined: 16 Nov 2003
Posts: 48

PostPosted: Wed May 12, 2004 5:27 pm    Post subject: Reply with quote

meowsqueak wrote:
endtransmission wrote:
Sorry to hear you've been using it for two years without this functionality. Would have driven me insane personally. Hope you find ths helpful.


I should say, I was using it for two years *and* I knew about this functionality but chose not to use it. Xinerama has it's own set of problems. I still use independent screens for my dual head. The downside is, I can't move windows between screens. This is fine for me, since I don't tend to move things around much anyway (I have distinct workspaces for certain tasks).


Ah yes, well... I wondered but one never knows. Sometimes we accept silly things out of hand and then forget about them. Didn't know if that was the case in this instance or not.

cheers
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1409
Location: Adelaide/Australia

PostPosted: Fri Mar 31, 2017 2:18 pm    Post subject: Reply with quote

Definitely build with xinerama use flag.
Windows drag between monitors, you can place the tool bar on either or both heads.
_________________
...Lyall
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum