LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-12-2005, 07:25 PM   #1
firedance
Member
 
Registered: Dec 2003
Location: Sweden
Distribution: Arch Linux
Posts: 65

Rep: Reputation: 15
Dualhead wants fullscreen on one screen - fluxbox


Well as the topic says, I have dualscreen and fullscreen makes programs fullscreen the whole desktop (fills both screens) but I want fullscreen to make them only fill up one screen.

here's the part of my xorg.conf that I think might be helpful.

Code:
Section "ServerLayout"
Identifier     "X.org Configured"
Screen       "Screen0"
Option "Xinerama" "on"
Screen      "Screen1" RightOf "Screen0"
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
-edit-
seems like it only fullscreens one screen on icewm, so whats needed is to change the fluxbox config somehow

Last edited by firedance; 08-13-2005 at 04:05 AM.
 
Old 08-12-2005, 07:41 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Which desktop are we talking about? Gnome, KDE, Xfce?
 
Old 08-12-2005, 08:19 PM   #3
firedance
Member
 
Registered: Dec 2003
Location: Sweden
Distribution: Arch Linux
Posts: 65

Original Poster
Rep: Reputation: 15
I'm using fluxbox

when you asked that i went looking in the .fluxbox/init and found
session.screen0.fullMaximization: false

but this seems to be as it should be, right?
 
Old 08-30-2005, 01:32 AM   #4
firedance
Member
 
Registered: Dec 2003
Location: Sweden
Distribution: Arch Linux
Posts: 65

Original Poster
Rep: Reputation: 15
Uhm, When I changed to archlinux fluxbox gave fullscreen on only one monitor, but now I changed to gentoo, and using the same xorg,conf , .fluxbox/init and menu it still gives me fullscreen on both monitors.

One other problem is that when I start warcraft3 with cedega, it puts it on the wrong monitor, this didn't either happen in archlinux.
 
Old 08-30-2005, 07:51 AM   #5
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by firedance
Uhm, When I changed to archlinux fluxbox gave fullscreen on only one monitor, but now I changed to gentoo, and using the same xorg,conf , .fluxbox/init and menu it still gives me fullscreen on both monitors.

One other problem is that when I start warcraft3 with cedega, it puts it on the wrong monitor, this didn't either happen in archlinux.
You want to comment out the Option "Xinerama" "on" line in the config file and make sure that you have Load "xtrap" in the modules section in the file. If this does not do what you want can you post the config file so we can see it.
 
Old 08-31-2005, 04:11 AM   #6
firedance
Member
 
Registered: Dec 2003
Location: Sweden
Distribution: Arch Linux
Posts: 65

Original Poster
Rep: Reputation: 15
This gives me two workspaces, and what I want is one big but with apps that maximizes on one of the monitors.

heres my xorg.conf
-Agh it was to big! I'll put in the most important parts...

Code:
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"  	# Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the Type1 and FreeType font modules
    Load        "type1"
    Load        "freetype"

# This loads the GLX module
    Load        "glx"   # libglx.a
 #   Load        "dri"   # libdri.a
#	Load "xtrap"
EndSection

Section "Monitor"
    Identifier  "Monitor0"
    HorizSync   31.5 - 80.5
    VertRefresh 60 - 85
    Option "DPMS"
EndSection


Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Driver      "vga"

EndSection

Section "Device"
    Identifier                          "ATI Graphics Adapter connector 0"
    Driver                              "nvidia"
    BusID "PCI:1:0:0"    # no device found at config time
    Screen 0
EndSection

Section "Device"
    Identifier                          "ATI Graphics Adapter connector 1"
    Driver                              "nvidia"
    BusID "PCI:1:0:0"    # no device found at config time
    Screen 1
EndSection

Section "Screen"
    Identifier  "Screen0"
    Device      "ATI Graphics Adapter connector 0"
    Monitor     "Monitor0"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth       24
        Modes       "1280x1024" # "1280x960" "1152x864" "1024x768" "800x600" "640x480"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
#        Virtual     1280 1024
    EndSubsection
EndSection

Section "Screen"
    Identifier  "Screen1"
    Device      "ATI Graphics Adapter connector 1"
    Monitor     "Monitor1"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth       24
        Modes       "1280x1024" # "1280x960" "1152x864" "1024x768" "800x600" "640x480"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
#        Virtual     1280 1024
    EndSubsection
EndSection

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Server Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.
Screen "Screen1"
	Screen "Screen0" RightOf "Screen1"
#    Screen "Screen0"
#    Screen "Screen1" RightOf "Screen0"
Option "Xinerama" "on"
# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection
and the .fluxbox/init

Code:
session.screen0.overlay.lineWidth:	1
session.screen0.overlay.lineStyle:	LineSolid
session.screen0.overlay.joinStyle:	JoinMiter
session.screen0.overlay.capStyle:	CapNotLast
session.screen0.iconbar.iconTextPadding:	10l
session.screen0.iconbar.wheelMode:	Screen
session.screen0.iconbar.alignment:	Relative
session.screen0.iconbar.usePixmap:	false
session.screen0.iconbar.deiconifyMode:	Follow
session.screen0.iconbar.iconWidth:	70
session.screen0.iconbar.mode:	Workspace
session.screen0.slit.placement:	BottomRight
session.screen0.slit.onTop:	False
session.screen0.slit.maxOver:	false
session.screen0.slit.alpha:	255
session.screen0.slit.layer:	Dock
session.screen0.slit.onhead:	0
session.screen0.slit.direction:	Vertical
session.screen0.slit.autoHide:	false
session.screen0.window.focus.alpha:	255
session.screen0.window.unfocus.alpha:	255
session.screen0.menu.alpha:	255
session.screen0.toolbar.height:	0
session.screen0.toolbar.placement:	TopRight
session.screen0.toolbar.tools:	workspacename, prevworkspace, nextworkspace, iconbar, systemtray, prevwindow, nextwindow, clock
session.screen0.toolbar.widthPercent:	38
session.screen0.toolbar.onhead:	0
session.screen0.toolbar.maxOver:	false
session.screen0.toolbar.visible:	true
session.screen0.toolbar.onTop:	False
session.screen0.toolbar.layer:	Desktop
session.screen0.toolbar.alpha:	255
session.screen0.toolbar.autoHide:	false
session.screen0.tab.height:	16
session.screen0.tab.alignment:	Left
session.screen0.tab.placement:	Top
session.screen0.tab.rotatevertical:	True
session.screen0.tab.width:	64
session.screen0.decorateTransient:	false
session.screen0.focusNewWindows:	true
session.screen0.showwindowposition:	true
session.screen0.edgeSnapThreshold:	0
session.screen0.workspaceNames:	one,two,three,four,
session.screen0.windowPlacement:	RowSmartPlacement
session.screen0.focusModel:	ClickToFocus
session.screen0.windowMenu:	
session.screen0.resizeMode:	Bottom
session.screen0.menuDelay:	0
session.screen0.antialias:	true
session.screen0.workspaces:	4
session.screen0.workspacewarping:	true
session.screen0.autoRaise:	false
session.screen0.desktopwheeling:	true
session.screen0.rootCommand:	
session.screen0.opaqueMove:	false
session.screen0.clickRaises:	true
session.screen0.rowPlacementDirection:	LeftToRight
session.screen0.sloppywindowgrouping:	true
session.screen0.menuMode:	Delay
session.screen0.imageDither:	false
session.screen0.menuDelayClose:	0
session.screen0.focusLastWindow:	true
session.screen0.colPlacementDirection:	TopToBottom
session.screen0.strftimeFormat:	%k:%M
session.screen0.fullMaximization:	false
session.screen0.followModel:	Ignore
session.titlebar.left:	Stick 
session.titlebar.right:	Minimize Maximize Close 
session.tabsAttachArea:	Window
session.focusTabMinWidth:	0
session.autoRaiseDelay:	250
session.groupFile:	~/.fluxbox/groups
session.iconbar:	true
session.cacheLife:	5l
session.ignoreBorder:	false
session.forcePseudoTransparency:	false
session.slitlistFile:	~/.fluxbox/slitlist
session.opaqueMove:	False
session.appsFile:	~/.fluxbox/apps
session.menuFile:	~/.fluxbox/menu
session.keyFile:	~/.fluxbox/keys
session.imageDither:	True
session.doubleClickInterval:	250
session.colorsPerChannel:	4
session.cacheMax:	200l
session.styleFile:	/usr/X11R6/share/fluxbox/styles/Nyz
session.numLayers:	13
session.tabPadding:	0
session.tabs:	true
session.useMod1:	true
[/CODE]
 
Old 12-04-2005, 12:16 PM   #7
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
I had this same problem with gentoo, xfce and 3 monitors the problem is the xinerama use flag isn't set in gentoo by default so while xorg supports xinerama your apps don't add xinerama to your use flags in /etc/make.conf mine looks like this:

Code:
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"

USE="-gnome -kde gtk gtk2 dvd alsa jack cdr xinerama"

PORTAGE_NICENESS=6
then do a:

Code:
emerge --update --deep --newuse world
this fixed the problem for me
 
Old 12-06-2005, 08:41 AM   #8
bram2000
LQ Newbie
 
Registered: Jan 2005
Posts: 25

Rep: Reputation: 15
This problem has little to do with your xorg.conf. As long as you can load fluxbox and move windows between the two screens then Xinerama is working correctly. The problem lies with fluxbox. Go to a terminal and type:

Code:
fluxbox -info
This will list options that are compiled into fluxbox. If one of the lines is "-XINERAMA" then you do NOT have xinerama support. You need to re-compile fluxbox with the --enable-xinerama configuration argument.

Good luck!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
G550 dualhead Gerard_2009 Linux - Hardware 10 05-25-2007 05:42 PM
MPlayer: Black Screen in Fullscreen Mode/Real Playback Error Geoffrey_Firmin Linux - Software 1 08-12-2006 02:23 PM
Intel 855GME dualhead, again.. maltsi Linux - Newbie 1 08-01-2005 02:17 PM
A problem with dualhead X. vash_stewy Linux - General 1 10-13-2004 07:06 PM
G550 Dualhead Mdk 9.1 MaxPioneer Linux - Hardware 3 05-20-2003 01:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration