LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how do I set fedora 10 gnome 800x600 resolution in a rc script for startx (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-set-fedora-10-gnome-800x600-resolution-in-a-rc-script-for-startx-734003/)

100201 06-18-2009 05:06 PM

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,

bigearsbilly 06-18-2009 06:33 PM

what about setting a modes line
in xorg.conf?

bigearsbilly 06-18-2009 06:48 PM

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.


All times are GMT -5. The time now is 03:32 AM.