Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-11-2001, 03:20 PM
|
#1
|
Member
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510
Rep:
|
Change screen resolution
Why does Linux make basic simple things so complicated and hard to get done?
I just want to change my screen resolution. In Windows all I have to do is right-click on the Desktop, go to the Settings tab, and click the desired resolution.
How do I do this in Red Hat 7.2 with KDE?
Thanks...
|
|
|
12-11-2001, 03:32 PM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
you can make it easy depending on how you set it up..
in redhat you can run Xconfigurator or setup to set the resolution of your choice.. or you can edit your XFree86Config file and you should find in there under the screens section:
Code:
Subsection "Display"
Depth 8
Modes "1024x768" "800x600"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768"
ViewPort 0 0
EndSubsection
This is where you would add your resolutions you want configured to work in the Modes section as you see the resolutions sizes. If you have more than one there in either 8 bit or 16 bit and even 24 which i didn't type in.. you can easily change resolutions between them by typing ctrl-alt-(-) or (+) signs
|
|
|
12-11-2001, 03:40 PM
|
#3
|
Member
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510
Original Poster
Rep:
|
I did a
Quote:
find / -name 'Xconfigurator' -print
|
and nothing came up. I want to be able to test the setting before I apply it permanently. Can this be done without running Setup all over again?
|
|
|
12-11-2001, 03:40 PM
|
#4
|
Member
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986
Rep:
|
Quote:
Originally posted by trickykid
you can easily change resolutions between them by typing ctrl-alt-(-) or (+) signs
|
Just be sure to use the "+" and "-" keys on the numeric keypad. The + and - (hyphen) keys on the main keyboard won't work.
|
|
|
12-11-2001, 03:42 PM
|
#5
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Xconfigurator will take you thru setting up the whole X again.. I would suggest running it, if the resolution doesn't turn out how you like, then run it again.. or you can try adding the resolutions you want in your XF86Config.. i mistakenly typed out XFree86Config in my previous post..
good point DMR.. the + and - ( minus ) keys on main board won't work.
Last edited by trickykid; 12-11-2001 at 03:44 PM.
|
|
|
12-11-2001, 03:50 PM
|
#6
|
Member
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510
Original Poster
Rep:
|
Ok I found it and ran it. I logged out and restarted the X-server and my resolution changed.
They should make it easier to understand how to change resolutions and color depths and refresh rates.
For example, why do I have to log out and restart the X-server just to change my resolution? In Windows all I have to do is hit the "Apply" button...
Another thing, it's not easy to tell which mode I am in. What if I want to find out what particular resolution/color depth/refresh rate I am currently in? In Windows I can easily find that info, but where is that info stored in Linux? There should be a "Wizard" that I can run that takes care of all of these concerns...it shouldn't be such an esoteric process.
Thanks for the help by the way guys! I've been learning Linux for the past 8 months and it's been a hard process coming from the Windows world.
|
|
|
12-12-2001, 05:43 PM
|
#7
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
You can use kcontrol
goto Information and select X-Server
This will tell you pretty much everything you could possibly need to know about the windows x-server
also in the Information section is info about everything else

|
|
|
01-14-2002, 05:33 PM
|
#8
|
LQ Newbie
Registered: Jan 2002
Posts: 3
Rep:
|
Not quite sure what this means though
I followed this thread cause I have a similar issue. I want 800x600 with no virtual space but I get 1024x768 with virtual space. So something is in 800x600 but X is in 1024x768. I have multiple listings for *SCREENS* and X says it is using screen 0 (the default). How do I control/change this? What listing is 'screen 0'?
I really HATE virtual space! And I have rerun the configurator 4 times and don't seem to be able to control the outcome at all.
I have a ViewSonic 17GS and a Diamond Stealth 64 with 2 meg.
|
|
|
01-14-2002, 08:21 PM
|
#9
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Screen"
Identifier "Screen0"
Device "ATI Rage 128 Mobility"
Monitor "My Monitor"
DefaultDepth 16
Subsection "Display"
Depth 16
Modes "1024x768" "800x600"
EndSubSection
EndSection
|
|
|
01-14-2002, 11:54 PM
|
#10
|
Member
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986
Rep:
|
In David's example above, note that on the "Modes" line, 1024x768 is listed before 800x600. The first resolution listed will be the default res. used when you boot into the GUI. If you want to alter that, edit the values on that line so that your desired res comes first. I posted the keystrokes to change resolutions without restarting X in my previous post.
|
|
|
01-15-2002, 09:50 AM
|
#11
|
LQ Newbie
Registered: Jan 2002
Posts: 3
Rep:
|
I understand the layout of the line. In fact I edited all depths 8,16,24,32. But I do not have an "Identifier" value in any of these entries. So to rephrase my question: When the X server starts, how does it select the values to use when there are multiple entries in a specific section of the XF86Config file?
BTW if I try to change the resolution using keystrokes, the next resolution does not work (it looks like I loose vertical hold) and since I cannot determine what values the X server is using, I am unable to fix it.
|
|
|
01-16-2002, 09:10 PM
|
#12
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
In the server section I have screen0 which is my screen so it uses that definition in the screen section,
I don't know of a way to change the depth while the server is running, I am pretty sure it is not possible.
you can close the server and restart it passing the option -bpp 32 or whatever you want it to be. this way you only put the default in the config file.
try the modes one at a time to find the bad one.
|
|
|
All times are GMT -5. The time now is 07:49 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|