[Bug 380498] New: After resume the new connected external display should be enabled
https://bugzilla.novell.com/show_bug.cgi?id=380498 Summary: After resume the new connected external display should be enabled Product: openSUSE 11.0 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Mobile Devices AssignedTo: zoz@novell.com ReportedBy: jblunck@novell.com QAContact: qa@suse.de Found By: --- Following usecase: - boot laptop without dock - suspend laptop - put laptop in the dock - resume laptop The external display isn't enabled on resume and the internal LCD is not visible since the LID is closed. My proposal is to enable all connected displays during resume. Here is a bash script which is doing exactly that with the help of xrandr: #!/bin/bash PATH=${PATH}:/usr/X11R6/bin WTTYHX="/usr/lib/powersave/wttyhx" get_x_user() { [ -n "$X_USER" -a -n "$X_DISP" ] && return 0 local DUMMY read DUMMY X_USER X_DISP DUMMY < <(/usr/lib/powersave/wttyhx -v) return 0 } get_x_user if [ "$X_USER" = root -a "$X_DISP" = ":0" ] ; then X_AUTHORITY="XAUTHORITY=/var/lib/gdm/$X_DISP.Xauth" fi if [ -n "$X_USER" -a -n "$X_DISP" ] ; then su - $X_USER -c "DISPLAY=\"$X_DISP\" $X_AUTHORITY xrandr -q" su - $X_USER -c "DISPLAY=\"$X_DISP\" $X_AUTHORITY xrandr --auto" fi -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=380498
Christian Zoz
https://bugzilla.novell.com/show_bug.cgi?id=380498
User hmacht@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=380498#c1
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=380498
User jblunck@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=380498#c2
--- Comment #2 from Jan Blunck
https://bugzilla.novell.com/show_bug.cgi?id=380498
User hmacht@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=380498#c3
--- Comment #3 from Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=380498
User jblunck@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=380498#c4
--- Comment #4 from Jan Blunck
https://bugzilla.novell.com/show_bug.cgi?id=380498
User hmacht@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=380498#c5
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=380498
User hmacht@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=380498#c6
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=380498
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=380498
User aj@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=380498#c7
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=380498
User hmacht@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=380498#c8
Holger Macht
participants (1)
-
bugzilla_noreply@novell.com