LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   setup a specific video resolution by default (https://www.linuxquestions.org/questions/linux-newbie-8/setup-a-specific-video-resolution-by-default-650107/)

htamayo 06-18-2008 12:16 PM

setup a specific video resolution by default
 
hi, when I start the X-server the screen resolution is the highest that the video card accept, but this resolution is a little uncomfortable for me. So, every time I have to setup the better resolution, so my question is:

how can i set up my resolution (1024x768) by default?
I know that i have to modified the xorg.conf but I don't know in what line

watcher69b 06-18-2008 12:22 PM

edit the /etc/X11/xorg.conf

under the Screen Sections add something that says Modes (shown below)

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768"
EndSubSection

farslayer 06-18-2008 01:01 PM

the first mode listed will be the default resolution. so if you have multiple modes in the section referenced in the previous post, move 1024x768 to the beginning of that list..
Code:

        SubSection "Display"
                Depth                24
                Modes                "1024x768" "1280x1024" "800x600"
        EndSubSection



All times are GMT -5. The time now is 09:49 PM.