Comment 48 for bug 712075

Revision history for this message
Matus Harvan (mharvan29) wrote :

For my external Dell display I'm also stuck with 1024x768. As a work-around, the script below forces the 1600x1200 resolution. I have put the script in ~/.kde/Autostart/xres_fix.sh and done chmod +x ~/.kde/Autostart/xres_fix.sh to make it execute after KDE starts. I guess it could be executed also earlier if put into the right .Xsomething file.

------------------------------------------
#!/bin/sh
# add 1600x1200 resolution for VGA1

# generate modeline with
# cvt 1600 1200 60

# modify resolution only if VGA1 is connected
if xrandr | grep -q "VGA1 connected"
then
    xrandr --newmode 1600x1200 161.00 1600 1712 1880 2160 1200 1203 1207 1245 -hsync +vsync
    xrandr --addmode VGA1 1600x1200
    xrandr --output VGA1 --mode 1600x1200
fi
------------------------------------------