PDA

View Full Version : Changing Screen Resolution



Rambunctious.Amoeba
08-18-2006, 09:20 AM
Hello,

I'm very new when it comes to linux, in general, and this is probably a noob question. How would I change my screen resolution from 1024x768 to 1280x1024 (what my monitor natively supports) from within Knoppix. When clicking on the "screen size & rotate" 1024x768 is the highest resolution supported. When running knoppix from a CD I just used a cheat code (screen=1280x1024) at the screen before bootup, but I am using Knoppix off of a USB Flash Drive now, and it skips that boot screen. I imagine it would be a command in the shell of some sort, but haven't the slightest idea what that might be.

Thanks in advance.

ockham23
08-18-2006, 09:41 AM
but I am using Knoppix off of a USB Flash Drive now, and it skips that boot screen.
Is this a hd install as opposed to a poor man's install that would boot off an iso file on the thumb drive?
If so, please post "Section 'Screen'" from /etc/X11/xorg.conf

Rambunctious.Amoeba
08-18-2006, 09:49 AM
Here's what it shows:

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 16
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
EndSubSection

Would it be a matter of changing it to also show "1280x1024" in each of these?

ockham23
08-18-2006, 10:45 AM
You now have 16bit color resolution (=16k=65535). Set "DefaultColorDepth 16" to "24" to enable real color, and edit the corresponding line of available screen resolutions:
Depth 24
Modes "1280*1024" "1024x768" "800x600" "640x480"
But back up your current xorg.conf first, so you can return to it if the changes don't work.

By the way: If you're looking for a Knoppix-like distro that you can install to a hard drive or thumb drive without breaking apt-get, take a look at Kanotix. It also has several tools to make tweaks such as changing screen resolution as easy as possible. http://kanotix.com