DualScreen Problem
DualScreen Problem
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
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
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:
Might be related? Should i file a bug for this at the sourceforge tracker or are there known ways to fix it?
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
-
- Posts: 8
- Joined: Fri May 15, 2009 2:45 am
Re: DualScreen Problem
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?
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?
-
- Posts: 148
- Joined: Sun Jan 11, 2009 6:57 pm
Re: DualScreen Problem
How have you all configured your monitors? (xorg.conf, hal other things)
And are you using Xinemera?
And are you using Xinemera?
-
- Posts: 8
- Joined: Fri May 15, 2009 2:45 am
Re: DualScreen Problem
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
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
-
- Posts: 148
- Joined: Sun Jan 11, 2009 6:57 pm
Re: DualScreen Problem
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.
-
- Posts: 8
- Joined: Fri May 15, 2009 2:45 am
Re: DualScreen Problem
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.
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.
-
- Posts: 148
- Joined: Sun Jan 11, 2009 6:57 pm
Re: DualScreen Problem
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
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
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:
and see how the screens named. and
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...
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
Code: Select all
xrandr --output VGA1 --auto --pos 0x0 --refresh 75.0 --output LVDS1 --auto --pos 1280x224
one more target left is to make this xrandr cmd autostart with lxde...