← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 502929] Re: screen resolution not renewed after switching on display

 

Dear all,

I would like to report that the screen resolution is not set up properly in Kubuntu Lucid.
I have 2 setups : one laptop and one notebook with an external screen, all 3 of different brands.
It used to be set up properly automatically after login by krandrtray in Jaunty.
krandrtray does not do this any more in Lucid.

I do not know who of xorg, kdm or krandrtray should be responsible for setting up the optimum screen resolution.
I fixed it by adding the following line at the end of /etc/kde4/kdm/Xsetup,
which the manpage of kdm says is the "script to run as root before the login dialog appears" :

for d in `xrandr | sed -re '/ connected/! d;s/ .*//'`;do xrandr --output
$d --auto;done

See the following pages with konqueror for quick references:
man:/kdm
man:/xrandr
info:/sed/Addresses
info:/sed/Common Commands
info:/sed/The "s" Command

-- 
screen resolution not renewed after switching on display
https://bugs.launchpad.net/bugs/502929
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in ubuntu.