LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Dualhead wants fullscreen on one screen (https://www.linuxquestions.org/questions/linux-general-1/dualhead-wants-fullscreen-on-one-screen-352702/)

firedance 08-12-2005 07:25 PM

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

leonscape 08-12-2005 07:41 PM

Which desktop are we talking about? Gnome, KDE, Xfce?

firedance 08-12-2005 08:19 PM

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?

firedance 08-30-2005 01:32 AM

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.

HappyTux 08-30-2005 07:51 AM

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.

firedance 08-31-2005 04:11 AM

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]

johnson_steve 12-04-2005 12:16 PM

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

bram2000 12-06-2005 08:41 AM

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!


All times are GMT -5. The time now is 09:51 AM.