PDA

View Full Version : How to make 1024 x 768 my default screen resolution?



meansbeans
06-14-2004, 03:57 PM
Hiya!
I have recently installed Knoppix 3.4 (2.6 kernel) on my old HP Pavilion 6638 desktop. It has the corresponding HP M50 monitor. After days of Googling, and trying many things, I have been unable to figure out how to make 1024 x 768 my default screen resolution.

Control Alt + or - only toggles between the lesser resolutions, even though my etc/x11/xf86Config-4 file shows 1024 x 768 as one of the available modes.

I don't have the option of using a cheatcode at startup, as I never see a boot prompt at startup... it just boots up to the Debian Sid LILO screen, giving me the choices:
Linux
Linux 2.4 kernel
Linux 2.6 kernel and
Windows 98

I have tried the lilo-config application in the KDE menu (trying to see if there was a way to insert a "screen=1024 x 768" cheatcode), and it appears to run some script, but it goes by so fast and then immediately disappears, so I don't really know what it did, but I do know what it didn't do...fix the problem!

If anyone can steer me in the right direction, I'd be grateful! No, I already am grateful! Knoppix is a great distro! Thanks to all who have made it so!


:shock: [/u][/i][/b]

mzilikazi
06-14-2004, 06:15 PM
In my experience the KDE resolution selection tool thing is a bit lacking in that it simply doesn't work but instead it magnifies the screen. That's a loser.

If you put 1024x768 as the first available resolution in /etc/X11/XF86Config-4 it should use it. Of course you can remove the other resolutions if you don't intend on using them.


EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"

meansbeans
06-14-2004, 06:57 PM
Thanks, I shall give that a try after reboot (currently in that "other" OS)

pulsar
06-14-2004, 07:15 PM
Another way to save monitor settings is to type as root from a shell: '/usr/bin/kxconfig'

meansbeans
06-14-2004, 07:21 PM
PROBLEM SOLVED!
I edited the etc/X11/Xf86Config file by:
changing default color depth from 16 to 24 and
removing all references to the lower resolutions.

then I rebooted, and there she was in 1024 x 768

Thanks so much! I should have asked sooner!

God's blessings on you!