LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-18-2009, 05:06 PM   #1
100201
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
how do I set fedora 10 gnome 800x600 resolution in a rc script for startx


I can find no rc config file in either /etc or $HOME that deals with setting the gnome resolution. The default is way to high to be readable.
I need a file (NOT someting I click on every time I start gnome).
Any help is greatly apprciated in advance.

Floyd,
As I mentioned above there is NO /etc rc file such as xorg.conf or a modes file that actaully applies for newer fedora gnome systems. So, to find a solution I manually chged the resolution with selection of preferences system hardware screen resolution. I looked for what files chged. It looks like:
/home/u/.config/monitors.xml
<monitors version="1">
<configuration>
<clone>no</clone>
<output name="VGA">
<vendor>PTS</vendor>
<product>0x0309</product>
<serial>0x00000559</serial>
<width>1024</width>
<height>768</height>
<rate>60</rate>
<x>0</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
</output>
</configuration>
</monitors>
is the file I was looking for. So, saved in it in a special partition and then I "cp" it in the %post section of kickstart file so when I install, the resolution is (124x768 in this case) is permantly set - no more having to go into the gui for each boot.
Floyd,

Last edited by 100201; 06-30-2009 at 05:25 PM. Reason: have solution
 
Old 06-18-2009, 06:33 PM   #2
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
what about setting a modes line
in xorg.conf?
 
Old 06-18-2009, 06:48 PM   #3
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
try editing your xorg.conf (man xorg.conf)
and add a Modes directive
like so:
(
Code:
  

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes     "800x600"
        EndSubSection
EndSection
It works for me.
You will need to add it to the correct Display as in here
the depth of 24 probably the same for you.
 
  


Reply

Tags
gnome, resolution, screen



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Core 2: Screen Resolution can not change from "800X600" to "1024X 768" suhaimi_sj Fedora - Installation 18 12-17-2009 03:29 AM
Can't go beyond 800x600 resolution when running Fedora 10 on Virtual box. zeezulander Linux - Newbie 4 12-22-2008 11:46 AM
resolution only in 800x600 in pc linux ryan944299 Linux - Newbie 11 01-01-2007 02:41 AM
Can't get a better resolution than 800X600 on debian bharath144 Linux - General 4 03-12-2006 10:23 AM
Fedora 3 - Compaq Presario Laptop - Resolution only 800x600 knackerboy Linux - Laptop and Netbook 5 01-04-2005 07:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:24 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