Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 27th March 2007, 02:01 AM
jtovet Offline
Registered User
 
Join Date: Mar 2007
Posts: 30
how to change resolution from command line

Hi.. Is there a confg file that I can get to from the command line that will allow me to edit my screen resolution?

Thanks
Jim
Reply With Quote
  #2  
Old 27th March 2007, 02:22 AM
Dies Offline
Registered User
 
Join Date: Oct 2006
Posts: 4,752
Yup, it's called xorg.conf and it lives in /etc/X11/, so:

su -
vi /etc/X11/xorg.conf

or

nano /etc/X11/xorg.conf

But back it up before you make changes that way it's easy to recover.

http://xorg.freedesktop.org/archive/...f.5.html#sect9
Reply With Quote
  #3  
Old 27th March 2007, 02:27 AM
jtovet Offline
Registered User
 
Join Date: Mar 2007
Posts: 30
so far so good....but

Hi..thanks for the help....I am at the config screen but I can't figure out where/how to edit. I am used to Debian and in it's config file there are lines that clearly say the resolution size

ie: 1280 x 1024 or 1024 x 768

Then I can just add the resolution I want.....

I don't see anything like that in this file....

thanks for being patient

Jim
Reply With Quote
  #4  
Old 27th March 2007, 02:38 AM
Dies Offline
Registered User
 
Join Date: Oct 2006
Posts: 4,752
No problem, the new X attempts to autodetect everything so usually you'll find that most sections that you are used to seeing are missing, it usually works great but it's still young so sometimes not.

You can copy over the sections you need from your Debian config and it should pick it up and work just fine, the structure is the same.

If you need a sample config file I can probably find one on my machine, let me know.

BTW if you have an Nvidia or ATI card most of the time installing the drivers fixes these types of issues.
Reply With Quote
  #5  
Old 27th March 2007, 02:39 AM
jtovet Offline
Registered User
 
Join Date: Mar 2007
Posts: 30
Sample

Yeah, if you have a sample that would be fantastic!

Thanks!
Reply With Quote
  #6  
Old 27th March 2007, 02:46 AM
Dies Offline
Registered User
 
Join Date: Oct 2006
Posts: 4,752
Sure, here's an example file, it shows you the structure of the different sections, and it's very well commented.

Only add what you need and avoid changing stuff you don't have to.
The "Screen Section" is what you want.
Attached Files
File Type: txt xorg.conf.example.txt (18.2 KB, 288 views)

Last edited by Dies; 27th March 2007 at 02:48 AM.
Reply With Quote
  #7  
Old 27th March 2007, 11:45 AM
jtovet Offline
Registered User
 
Join Date: Mar 2007
Posts: 30
Thanks!

That is awesome! Looks like exactly what I am looking for!

Thanks again!
Jim
Reply With Quote
Reply

Tags
change, command, line, resolution

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
increasing the screen resolution of the command line. silverblackvoid Using Fedora 10 7th August 2009 08:46 PM
Cannot change services with 'setup' command line in F10 (64-bit). pilotferdi Using Fedora 2 9th July 2009 12:03 AM
Change CPU frequency from command line joe.pelayo Using Fedora 12 13th March 2009 09:16 AM
How to change panel via command line [solved] Dangermouse Using Fedora 2 18th October 2008 01:47 PM
Command line to change screen resolution overule Using Fedora 5 12th December 2007 04:20 AM


Current GMT-time: 20:56 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat