https://bugzilla.novell.com/show_bug.cgi?id=623250 https://bugzilla.novell.com/show_bug.cgi?id=623250#c4 --- Comment #4 from Carlos Mafra <crmafra@gmail.com> 2010-08-23 17:40:10 UTC --- Following the hint from comment #2 I made the following patch which fixed the issue for me. Instead of relying in the list of predefined outputs (which got my VGA1 wrong!) the patch makes the list be based on what is actually reported by xrandr, and runs xrandr on them selecting their preferred modes. So it completely ignores the DISPLAYMANAGER_RANDR_MODE_* stuff and I think it simplified the script a bit :-) I will also attach the patch in the bugzilla. --- /etc/X11/xdm/Xsetup 2010-03-17 11:59:56.000000000 +0100 +++ xsetup.sh 2010-08-23 19:22:30.019510398 +0200 @@ -76,29 +76,9 @@ if xrandr | grep -q "^default connected" ; then echo "Driver not XRANDR 1.2 capable, ignoring DISPLAYMANAGER_RANDR_MODE_* settings" else - if $halporp --key system.formfactor --string laptop ; then - mode_auto="$DISPLAYMANAGER_RANDR_MODE_auto" - else - mode_auto="" - fi - for ext in VGA DVI-I DVI-D DVI-A Composite S-Video Component LFP Proprietary ; do - var="DISPLAYMANAGER_RANDR_MODE_${ext//-/_}" - line="${!var}" - test "x$line" = xauto && line="$mode_auto" - mode="${line%% *}" - case "x$line" in - x) ;; - x*\ *) - echo "xrandr for $ext: new mode $line" - xrandr --newmode $line - xrandr --addmode $ext $mode - xrandr --output $ext --mode $mode - ;; - x*) - echo "xrandr for $ext: known mode $line" - xrandr --output $ext --mode $mode - ;; - esac + for ext in `xrandr|grep " connected"| awk {'print $1'}` ; do + xrandr --output $ext --preferred done 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.