[Bug 565305] Re: display/monitor settings not persistent

omriasta omriasta at yahoo.com
Mon Apr 26 20:43:29 UTC 2010


Those interested, I posted a workaround on my bug report. I will post here so you can work in the meantime!
using the following script in /etc/X11/Xsession.d/45custom_xrandr_settings:
Code:


EXTERNAL_OUTPUT="VGA1"
INTERNAL_OUTPUT="LVDS1"

xrandr |grep $EXTERNAL_OUTPUT | grep " connected "
if [ $? -eq 0 ]; then
    xrandr --output $INTERNAL_OUTPUT --off --output $EXTERNAL_OUTPUT --auto
else
    xrandr --output $INTERNAL_OUTPUT --auto --output $EXTERNAL_OUTPUT --off
fi


What the script does is disable my LVDS display when I connect the
external monitor.

-- 
display/monitor settings not persistent
https://bugs.launchpad.net/bugs/565305
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list