LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   desktop area larger than screen resolution (something wrong with X config?) (https://www.linuxquestions.org/questions/linux-general-1/desktop-area-larger-than-screen-resolution-something-wrong-with-x-config-425311/)

amon 03-16-2006 03:49 AM

desktop area larger than screen resolution (something wrong with X config?)
 
When i installed linux i selected the largest resolution my screen can handle (for gaiming) which is 1600x1200.

This is obviously useless for general work stuff so i tried cutting this down to 1024x768 by altering the order in the XF86Config file. The config file now looks like this:

Code:

Section "Screen"
        Identifier        "Default Screen"
        Device                "Generic Video Card"
        Monitor                "Generic Monitor"
        DefaultDepth        24
        SubSection "Display"
                Depth                1
                Modes                "1024x768" "1600x1200" "1400x1050" "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1024x768" "1600x1200" "1400x1050" "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1024x768" "1600x1200" "1400x1050" "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1024x768" "1600x1200" "1400x1050" "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1024x768" "1600x1200" "1400x1050" "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1024x768" "1600x1200" "1400x1050" "1280x1024"
        EndSubSection
EndSection

With the rest as normal.

When GDM and Gnome load the desktop area is larger than the screen resolution. It is liek I am zoomed in and when i drag the mouse to (and beyound) the edge of the screen it scroles acros the screen.

When i get into Gnome i can use the tool in there to change the resolution and it is then fine to work with, but as you can imagin this is annoying. Any ideas?

bathory 03-16-2006 03:59 AM

You need to add:
Code:

Virtual  1024 768
inside every: SubSection "Display" ... EndSubSection

amon 03-16-2006 04:35 AM

Works a charm but...
 
That works a charm however. is there an easy way to alter things for if i want to play a game at 1600x1200 as i have a card for it?

towy71 03-16-2006 05:34 AM

try pressing Ctrl Alt and + or - this should scroll you through all your available screen resolutions ;-)

amon 03-16-2006 01:30 PM

ah
 
Thanks. OK you learn something new each day

amon 03-16-2006 01:47 PM

Quote:

Originally Posted by towy71
try pressing Ctrl Alt and + or - this should scroll you through all your available screen resolutions ;-)

Seems to work on one distro Ive got installed and not annother on the same computer. The "Virtual 1024 768" stops it working tho.

Am i stuck altering my XF86config file every time i want to play games then or is there annother way?


All times are GMT -5. The time now is 05:44 AM.