Laptop: HP 510
Code: Select all
Intel Celeron M 1.5Ghz, 1GB DDR2 RAM, Intel Mobile 915GM/GMS/910GML Express Graphics Controller.
Fedora 12 LXDE Spin (uses OpenBox)
15.4" screen, 1280x800, on the left.
Code: Select all
19", 1280x1024, on the right
Code: Select all
#!/bin/sh
xrandr --newmode "1280x1024" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync
xrandr --addmode VGA1 1280x1024
xrandr --output VGA1 --mode 1280x1024 --right-of LVDS1
Code: Select all
[luke@localhost ~]$ xrandr
Screen 0: minimum 320 x 200, current 2560 x 1024, maximum 4096 x 4096
LVDS1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
1280x800 60.0*+
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 connected 1280x1024+1280+0 (normal left inverted right x axis y axis) 0mm x 0mm
800x600 60.3 56.2
640x480 59.9
1280x1024 60.0*
Problems:
1. The desktop settings currently has no background image, and black background set. The parts with the blue image background seem to be outside the desktop boundaries, and the settings for it cannot be changed from the GUI. Ideally I would like the desktop settings to control the entire area. This black area helps identify the laptop screen and hopefully diagnose several problems.
2. When right clicking in the black area on the desktop, a LXDE context menu appears. When right clicking in the blue area on the desktop, a OpenBox context menu appears.
3. I have set the Taskbar Panel to be on the width of one screen on the bottom right, and made sure maximised windows don't cover or hide underneath the panel. Originally I was hoping to display it only on the laptop screen, but it isn't visible as the external monitor has a taller resolution. I have also tried setting xrandr to make the laptop screen be the bottom left of the virtual area but this screws more things than it solves. Strange how it duplicates on both screens on the screenshot, but I can't see it on the laptop screen. You will also notice when applications are maximised on the laptop screen a black bar the height of the panel cannot not be used, quite annoying.
4. When applications are open on the external monitor, right clicking in the application or using the File toolbar at the top, results in the context menu showing within the black area of the laptop screen, so as soon as I move the mouse over to it, it disappears! Really frustrating this one... it seems to do it in some applications but not others. It does it in all LXDE applications, and Netbeans, but not Firefox.
I have never had much luck in the past when writing xorg.conf files, especially as I sometimes use the laptop without the external screen, but it seems that this could be a solution to these problems. Unless I need to configure OpenBox/LXDE somehow too? I have tried using the LXDE xrandr GUI (lxrandr?) but that doesn't solve anything, and has very limited options (just allows turning screens on and off, and changing to a auto-detected resolution).