LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 12-11-2001, 03:20 PM   #1
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Rep: Reputation: 32
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...
 
Old 12-11-2001, 03:32 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
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
 
Old 12-11-2001, 03:40 PM   #3
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Original Poster
Rep: Reputation: 32
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?
 
Old 12-11-2001, 03:40 PM   #4
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
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.
 
Old 12-11-2001, 03:42 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
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.
 
Old 12-11-2001, 03:50 PM   #6
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Original Poster
Rep: Reputation: 32
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.
 
Old 12-12-2001, 05:43 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
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





 
Old 01-14-2002, 05:33 PM   #8
CraigTFogg
LQ Newbie
 
Registered: Jan 2002
Posts: 3

Rep: Reputation: 0
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.
 
Old 01-14-2002, 08:21 PM   #9
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
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
 
Old 01-14-2002, 11:54 PM   #10
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
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.
 
Old 01-15-2002, 09:50 AM   #11
CraigTFogg
LQ Newbie
 
Registered: Jan 2002
Posts: 3

Rep: Reputation: 0
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.
 
Old 01-16-2002, 09:10 PM   #12
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot change screen resolution codeman9 Fedora - Installation 1 11-18-2005 11:42 PM
Change screen resolution? Brian Knoblauch Solaris / OpenSolaris 2 11-18-2005 02:08 PM
Cannot change screen resolution HiOctane21 Linux - General 10 05-23-2005 01:37 AM
How to Change Screen Resolution eats85 Slackware 4 10-05-2003 04:06 PM
Change Screen Resolution? Darrin Linux - Newbie 3 06-27-2003 09:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration