My goal was for the 22 inch desktop monitor to display a resolution setting of 1280x800 75Hz at system startup. This is what worked for me:
First select Configure Your Computer and use the PCLinuxOs Control Center to configure the video card: PCC> Hardware> Configure Video Card
- Graphic Card: Intel 810 and later
Monitor: Dell E228WFP
Resolution: 1280x800 24bpp
Reboot to save the settings
Open the Konsole Terminal and run the following commands:
Enter this command:
$ xrandr
This will display the allowed resolutions including minimum and maximum. It is important to stay within the specified minimum and maximum range. Monitor damage may result if you do not stay within the range. It may be possible to use a resolution not listed here.
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 4096 x 4096
VGA1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 473mm x 296mm
1680x1050 60.0*+ 60.0
1280x1024 75.0 60.0
1280x800_75 75.0
1280x800_60 60.0
1152x864 75.0
1024x768 75.1 60.0
800x600 75.0 60.3
640x480 75.0 60.0
720x400 70.1
Enter this command:
$ cvt 1280 800 75
Be sure to enter the 75 to get the proper refresh rate
This gives you the following output:
# 1280x800 74.93 Hz (CVT 1.02MA) hsync: 62.79 kHz; pclk: 106.50 MHz
Modeline "1280x800_75.00" 106.50 1280 1360 1488 1696 800 803 809 838 -hsync +vsync
Now you need to create a newmode:
$ xrandr --newmode <Modeline>
Copy everything following Modeline from the previous output and place it in <Modeline> to form and enter a command:
$ xrandr --newmode "1280x800_75.00" 106.50 1280 1360 1488 1696 800 803 809 838 -hsync +vsync
Now enter this command:
$ xrandr --addmode VGA1 "1280x800_75.00"
And enter this command:
$ xrandr --output VGA1 --mode "1280x800_75.00"
Running these 3 commands will change the monitor resolution to the desired setting of 1280x800 75Hz
Next you need to place these 3 commands in the Xsetup_0 file to make the desired screen resolution a permanent setting.
xrandr --newmode "1280x800_75" 106.50 1280 1360 1488 1696 800 803 809 838 -hsync +vsync
xrandr --addmode VGA1 "1280x800_75"
xrandr --output VGA1 --mode "1280x800_75"
A tip here: Change the 75.00 to 75 on all 3 commands or the final result will be a refresh rate of 74.9. Probably insignificant but I wanted to be exact. This must be done on all 3 commands.
Open Dolphin File Manager
Navigate to Root> etc> X11> xdm> Xsetup_0
Right click on the Xsetup_0 file
Select Root menu> Edit as root
Enter your root password
Now add the 3 commands to the file to make it look like this:
#!/bin/sh
# (C) MandrakeSoft
# Chmouel Boudjnah <chmouel@mandrakesoft.com>
#
# $Id: Xsetup_0,v 1.12 2005/06/12 14:35:57 flepied Exp $
if [ -f /etc/profile.d/kde.sh ];then
. /etc/profile.d/kde3.sh
fi
if [ -x /etc/X11/xinit/fixkeyboard ]; then
/etc/X11/xinit/fixkeyboard
fi
if [ -x /etc/X11/xinit.d/numlock ]; then
/etc/X11/xinit.d/numlock &
fi
xrandr --newmode "1280x800_75" 106.50 1280 1360 1488 1696 800 803 809 838 -hsync +vsync
xrandr --addmode VGA1 "1280x800_75"
xrandr --output VGA1 --mode "1280x800_75"
for i in /etc/X11/xsetup.d/*.xsetup ; do
[ -d $i ] && continue
if [ -x $i ]; then
if grep -q "# to be sourced" $i; then
. $i
else
$i &
fi
fi
done
# Xsetup_0 ends here
Save the file and close the file
Close Dolphin File Manager
The screen resolution will now stay set to the desired setting on system startup