Bug 164579

Summary: Windows opened in a random xinerama screen
Product: [I don't know] kde Reporter: Ismael Barros <razielmine>
Component: xineramaAssignee: Lubos Lunak <l.lunak>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ismael Barros 2008-06-21 10:57:47 UTC
Version:           unknown (using 3.5.9, Arch Linux)
Compiler:          Target: i686-pc-linux-gnu
OS:                Linux (i686) release 2.6.25-ARCH

I've configured a dualhead setup with xinerama and independent X screens on nvidia-settings. On the KDE desktop configuration, "show unmanaged windows on" is set to "display containing the pointer", but I've experienced the same problem with the "display 1" and "display 2" options as well.

Now, when I open any application, for example konqueror or firefox, they are randomly opened in one of the monitors, not always in the same monitor, or the monitor that contains the pointer.

This is quite annoying, specially because in one of the screens I use to have a fullscreen application, and applications opened in that screen are hidden behing that application, and I have to exit fullscreen mode, move the application I just opened to the other screen, and enter fullscreen mode again in the oter application.

This behaviour, I think, should follow the "show unmanaged windows" option, even if Ii don't really understand what "unmanaged windows" means.
Comment 1 Ismael Barros 2008-06-21 10:58:22 UTC
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder63)  Mon May 19 00:34:28 PDT 2008


Section "ServerLayout"

#       Option          "AIGLX"         "true"
    Identifier     "Xorg Configured"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Touchpad" "SendCoreEvents"
    InputDevice    "USB Mouse" "SendCoreEvents"
EndSection

Section "Files"

# Additional fonts: Locale, Gimp, TTF...
#       FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
#       FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    RgbPath         "/usr/share/X11/rgb"
    ModulePath      "/usr/lib/xorg/modules"
    FontPath        "/usr/share/fonts/misc:unscaled"
    FontPath        "/usr/share/fonts/misc"
    FontPath        "/usr/share/fonts/75dpi:unscaled"
    FontPath        "/usr/share/fonts/75dpi"
    FontPath        "/usr/share/fonts/100dpi:unscaled"
    FontPath        "/usr/share/fonts/100dpi"
    FontPath        "/usr/share/fonts/PEX"
    FontPath        "/usr/share/fonts/cyrillic"
    FontPath        "/usr/share/fonts/Type1"
    FontPath        "/usr/share/fonts/ttf/western"
    FontPath        "/usr/share/fonts/ttf/decoratives"
    FontPath        "/usr/share/fonts/truetype"
    FontPath        "/usr/share/fonts/truetype/openoffice"
    FontPath        "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath        "/usr/share/fonts/latex-ttf-fonts"
    FontPath        "/usr/share/fonts/defoma/CID"
    FontPath        "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
    Load           "ddc"  # ddc probing of monitor
    Load           "dbe"
    Load           "extmod"
    Load           "glx"
    Load           "bitmap" # bitmap-fonts
    Load           "type1"
    Load           "freetype"
    Load           "record"
EndSection

Section "ServerFlags"
    Option         "AllowMouseOpenFail" "true"
    Option         "Xinerama" "1"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "keyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "es"
EndSection

Section "InputDevice"

        #Option         "ZAxisMapping"          "4 5 6 7"
    Identifier     "Touchpad"
    Driver         "evdev"
    Option         "Name" "ImPS/2 Logitech Wheel Mouse"
        #Option         "Protocol"              "auto"
    Option         "Emulate3Buttons" "true"
    Option         "Emulate3Timeout" "70"
EndSection

Section "InputDevice"
    Identifier     "USB Mouse"
    Driver         "evdev"
    Option         "Name" "Logitech USB Optical Mouse"
        #Option         "Device"                "/dev/input/mice"
    Option         "Protocol" "IMPS/2"
    Option         "HWHEELRelativeAxisButtons" "7 6"
    Option         "ZAxisMapping" "4 5 6 7"
    Option         "Buttons" "7"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "BenQ FP91G+"
    HorizSync       31.0 - 83.0
    VertRefresh     56.0 - 76.0
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LPL"
    HorizSync       30.0 - 75.0
    VertRefresh     60.0
    Option         "DPMS" "true"
EndSection

Section "Device"

#       Option          "noLogo"                "true"
#       Option          "TVOutFormat" "SVIDEO"
#       Option          "TVOverScan" "0.6"
#       Option          "ConnectedMonitor" "TV" # Add this if you're having problems
#       Option          "TwinView"
#       Option          "SecondMonitorHorizSync"     "30-50"
#       Option          "SecondMonitorVertRefresh"   "60"
#       Option          "MetaModes" "1280x800, 1280x800; 1280x800, 1024x768;"
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "All"
    BoardName      "All"
    Option         "LogoPath" "/opt/kde/share/apps/kdm/themes/login-scan-fusion/Background.png"
    Option         "CursorShadow" "true"
    Option         "Display" "BIOS"
    Option         "RenderAccel" "true"
    Option         "EnablePageFlip" "true"
    Option         "AGPFastWrite" "true"
    Option         "XAANoOffscreenPixmaps" "true"
    Option         "AddARGBGLXVisuals" "true"
    Option         "DisableGLXRootClipping" "true"
    Option         "DamageEvents" "true"
    Option         "UseEvents" "false"
#       Option          "TVStandard" "PAL-B"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8600M GT"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8600M GT"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Videocard1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "CRT: nvidia-auto-select +0+0; CRT: 1024x768 +0+0; CRT: 800x600 +0+0; CRT: 800x512 +0+0; CRT: 720x450 +0+0; CRT: 700x525 +0+0; CRT: 640x480 @640x512 +0+0; CRT: 640x480 +0+0; CRT: 512x384 @640x400 +0+0; CRT: 512x384 @640x384 +0+0; CRT: 512x384 +0+0; CRT: 400x300 +0+0; CRT: 320x240 +0+0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "TwinView" "0"
    Option         "metamodes" "DFP: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "enable"
EndSection
Comment 2 Lubos Lunak 2008-06-23 10:42:28 UTC

*** This bug has been marked as a duplicate of 160099 ***