Page 1 of 1

DualScreen Problem

Posted: Mon Nov 10, 2008 1:10 pm
by petreu
Hi together,

i'm just new to lxde but i really like its performance and so on.
The only thing i noticed is, that lxde got problems with handling dual screen.
I got a laptop + external monitor, lxde handels only the primary screen - the other one is handled by (afaik) openbox. So no background image - config menĂ¼ by lxde

Is there anything i can do about this?

regards
Peter

Re: DualScreen Problem

Posted: Sun Nov 16, 2008 10:54 am
by litemotiv
Similar problem for me (no topic hijack intended ;))

I'm using Nvidia Twinview, lxrandr 0.1 says no monitors are detected. I can use both monitors properly to drag windows back and forth though, but only as a single big screen so Lxpanel stretches over both monitors and wallpaper setting is erratic.

Lxpanel throws this error in a terminal:

Code: Select all

lxpanel : X error: BadDrawable (invalid Pixmap or Window parameter)
XGetGeometry failed for 1 pixmap
Might be related? Should i file a bug for this at the sourceforge tracker or are there known ways to fix it?

Re: DualScreen Problem

Posted: Mon Sep 14, 2009 12:11 pm
by bricedebrignaisplage
Hi Petreu

did you get a solution? I am having something similar here. Also running twin screen on nvidia, under Ubuntu 9.04. My desktop is stretched over the 2 monitors.

Another annoying thing is that the right click context menu on windows icon in the taskbar does not show a move item. Which is annoying because when a window opens in the other monitor (TV) I can get it back to the good side.

Any solution? Is there a bug report?

Re: DualScreen Problem

Posted: Wed Sep 16, 2009 5:06 pm
by archibald haddock
How have you all configured your monitors? (xorg.conf, hal other things)
And are you using Xinemera?

Re: DualScreen Problem

Posted: Fri Sep 18, 2009 2:18 pm
by bricedebrignaisplage
I configured the desktops with nvidia-settings. With KDE it works all right. And I am using xinerama.
I resized the task bar so that it covers only half of the desktop (i.e. my main screen). However, whenever I launch an application, it opens on the other screen (TV). So if my TV is off, I'm in trouble. In KDE, windows sometime open on the TV side, but not too often, and at least I can right click on the icon in the task bar and move it.

Is there a way to tell LXDE that one screen is the main one, and that it should not use the other one unless I'm dragging windows there?

Also, the home and trash icons of the desktop are on the TV side, and they refuse to be dragged to the main screen.


Here is my xorg.conf

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "1"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
# HorizSync source: builtin, VertRefresh source: builtin
Identifier "Monitor1"
VendorName "Unknown"
ModelName "TV-0"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Acer AL512"
HorizSync 30.0 - 60.0
VertRefresh 50.0 - 75.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce4 MX 440 with AGP8X"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce4 MX 440 with AGP8X"
BusID "PCI:1:0:0"
Screen 0
EndSection

Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "TV: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "CRT: nvidia-auto-select +0+0; CRT: 1024x768 +0+0; CRT: 1024x768_70 +0+0; CRT: 832x624 +0+0; CRT: 800x600 +0+0; CRT: 800x600_72 +0+0; CRT: 800x600_60 +0+0; CRT: 800x600_56 +0+0; CRT: 720x450 +0+0; CRT: 680x384 +0+0; CRT: 680x384d60_0 +0+0; CRT: 640x480 +0+0; CRT: 640x480_73 +0+0; CRT: 640x480d60 +0+0; CRT: 640x480_60 +0+0; CRT: 576x432 +0+0; CRT: 512x384 +0+0; CRT: 512x384d70 +0+0; CRT: 512x384d60 +0+0; CRT: 416x312 +0+0; CRT: 400x300 +0+0; CRT: 400x300d72 +0+0; CRT: 400x300d60 +0+0; CRT: 400x300d56 +0+0; CRT: 320x240 +0+0; CRT: 320x240d73 +0+0; CRT: 320x240d60 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Re: DualScreen Problem

Posted: Sat Sep 19, 2009 11:19 am
by archibald haddock
I would try HAL one time. Some move your xorg.conf files somewhere and run hal (if not autostarted) (/etc/init.d/hald start) and look what happens. Nowadays autodetect is nearly capable of catching all situations right.

Re: DualScreen Problem

Posted: Tue Sep 22, 2009 12:46 am
by bricedebrignaisplage
hald is running.
You mean to remove xorg.conf so as to force the system to autoconfigure?
I've tried that before, but it does not detect the TV-out
Anyway, how would I set the monitor configuration in that case? i.e. clone or twin screen, left or right, etc.

Re: DualScreen Problem

Posted: Sat Sep 26, 2009 10:46 am
by archibald haddock
I dont know, but Monitor Settings in the main menu could provide dual monitor configuration. But I never tested that, because I dont have 2 monitors.
I the GUI is not working you could try xrander.
xrandr --output VGA|TMDS-1(for DVI) --mode RESxRES --output TV --mode RESxRES --left-of|--right-of|--above|--below|--same-as VGA|TMDS-1

Re: DualScreen Problem

Posted: Fri Jan 15, 2010 4:17 pm
by dimas000
got problems with 2 monitors too.
i have notebook display (1280x800) and vga-monitor (1280x1024). i don't use xorg.conf as i have new version of X and i use HAL. both screen works, but when i try to setup thru "monitor settings", i can set resolution for both screens, both of them is enabled... but it just duplicates picture on two screens, as i want one wide desktop. and when i logout and start again, settings revert to default (1024x768 for both screens).
in what config can i set resolution? i grep'ed my home folder by "1280", "1024", "768" and found nothing except firefox configs. in ~/.config i found nothing similar...
PS. tried on Arch and on Ubuntu with the same results

UPD: it works for me:

Code: Select all

xrandr
and see how the screens named. and

Code: Select all

xrandr --output VGA1 --auto --pos 0x0 --refresh 75.0 --output LVDS1 --auto --pos 1280x224
hails Odin, it's ok! thanks for tip about xrandr! but background (color or wallpaper, the same) fills only 1024x768 field with any options... but windows move and bottom panel is 2560 wide... mb i'll just need to set 2560 wallpaper.
one more target left is to make this xrandr cmd autostart with lxde...