On Thu, Apr 16, 2009 at 10:24 AM, Will Stephenson
On Wednesday 15 April 2009 19:55:56 Greg Freemyer wrote:
When I connect up to the projector, X / KDE is not auto-detecting the extra screen until I logout.
Thus I would like to have a way to force X and/or KDE to detect the projector and reconfig itself.
Is this possible:
from KDM login screen?
after being logged into KDE 4.2.2?
As I said, currently it only autodetects on logout from KDE. So if I'm sitting at the KDM, I have to connect up the projector, login, then logout, and login a second time. At which point I have a dual screen capability.
Yes, it's definitely possible (even with 4.1.3 on 11.1). A KDED module (kephal) watches for XRANDR events indicating that a monitor or projector was hotplugged and pops up a dialog shortly after the cable was connected asking if your desktop should be extended onto the new screen.
The catch is that driver support for XRANDR events is patchy at best. nvidia binary is probably the worst since it only supports xrandr 1.1. I know it works nicely on intel 945GM on 11.1 because I presented in exactly this way with 11.1 at FOSDEM in February (satisfyingly, a GNOME colleague uttered a surprised "KDE can do /that/?!).
I have a Intel 965GM, so hopefully we can make it work.
Does 'xrandr' show the projector after hotplug (but before logout)?
Yes Running xrandr with the projector Disconnected Screen 0: minimum 320 x 200, current 1024 x 768, maximum 3840 x 1200 VGA disconnected (normal left inverted right x axis y axis) LVDS connected 1024x768+0+0 (normal left inverted right x axis y axis) 331mm x 207mm 1024x768 60.0*+ 1280x800 60.0 + 800x600 60.3 56.2 640x480 59.9 TMDS-1 disconnected (normal left inverted right x axis y axis) TV disconnected (normal left inverted right x axis y axis) Running xrandr with the projector Connected Screen 0: minimum 320 x 200, current 1024 x 768, maximum 3840 x 1200 VGA connected (normal left inverted right x axis y axis) 1280x800 60.0 + 58.9 1280x960 60.0 1280x768 60.0 58.9 1280x720 60.0 58.8 1024x768 60.0 60.0 58.8 1280x600 60.0 58.9 1024x600 60.0 58.7 800x600 60.3 60.0 56.2 58.7 768x576 60.0 58.6 640x480 59.9 LVDS connected 1024x768+0+0 (normal left inverted right x axis y axis) 331mm x 207mm 1024x768 60.0*+ 1280x800 60.0 + 800x600 60.3 56.2 640x480 59.9 TMDS-1 disconnected (normal left inverted right x axis y axis) TV disconnected (normal left inverted right x axis y axis)
Does 'qdbus org.kde.kded /modules/kephal/Screens org.kde.Kephal.Screens.numScreens' reflect the number of connected displays?
As root from a console I tried: qdbus org.kde.kded /modules/kephal/Screens org.kde.Kephal.Screens.numScreens It never came back. dmesg | tail did not show anything interesting. cntrl-C did kill it.
HTH
Will
Greg -- Greg Freemyer Head of EDD Tape Extraction and Processing team Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer First 99 Days Litigation White Paper - http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf The Norcross Group The Intersection of Evidence & Technology http://www.norcrossgroup.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org