LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   screen resolution (https://www.linuxquestions.org/questions/linux-general-1/screen-resolution-9072/)

gui10 11-22-2001 02:46 AM

screen resolution
 
how do i change my graphical desktop screen resolution?
eg. from 800x600 to 1024x768

thanks in advance...

Thymox 11-22-2001 05:27 AM

Try:

CTRL + ALT + '+' (on the numerical keypad).
CTRL + ALT + '-' (again, ^^^^)

It might be CTRL SHIFT +/-

Not at my Linux box at the moment, so not sure.

taz.devil 11-22-2001 02:22 PM

Quote:

Originally posted by Thymox
Try:

CTRL + ALT + '+' (on the numerical keypad).
CTRL + ALT + '-' (again, ^^^^)

It might be CTRL SHIFT +/-

Not at my Linux box at the moment, so not sure.

Yup CTRL+ALT+ "+/-" is right...

gui10 11-30-2001 10:05 AM

hm...
 
hi... well i tried the crtl+alt+ - or + but it didn't work...

i found out what worked was to go to console and use Xconfigurator to change the resolution...

i think the function you described was to adjust monitor brightness with powerstrip???

if i'm wrong, be patient with me... i'm new ;)... and still learning...

DMR 11-30-2001 08:06 PM

What taz and Thymox described does change resolutions, but your /etc/X11/XF86Config files must first contain multiple res entries to be able to do it.That is, you must have chosen more than one res when you first configured X.

When configured with multiple resolutions, the Screens sub-section of XF86Config (XF86Config-4 for v4.x.x) will look similar to this:
Code:

# **********************************************************************
 # Screen sections
 # **********************************************************************

 # The Colour SVGA server

 Section "Screen"
    Driver      "svga"
    # Use Device "Generic VGA" for Standard VGA 320x200x256
    #Device      "Generic VGA"
    Device      "My Video Card"
    Monitor        "Vision Master 17"
    DefaultColorDepth 16
    SubSection "Display"
      Depth        8
      Modes        "1024x768" "1152x864" "1280x1024"
    EndSubSection
    SubSection "Display"
      Depth        15
      Modes        "1024x768" "1152x864" "1280x1024"
    EndSubSection
    SubSection "Display"
      Depth        16
      Modes        "1024x768" "1152x864" "1280x1024"
    EndSubSection
    SubSection "Display"
      Depth        32
      Modes        "1280x1024" "1152x864" "1024x768"
    EndSubSection
 EndSection

The first resolution listed will be the default, and can be changed by editing the order of the list

gui10 11-30-2001 11:13 PM

i see what u mean! thanks a lot!

wow i'm so happy... i learn new things everyday... :p

sad thing is... my monitor supports only up to 1024x768 resolution... any higher, it crashes... ho ho ho... :cry:

unwrittenLaww 04-07-2004 04:52 PM

I'm having trouble setting desktop resolution. So I searched and found this thread.

I added the the resolution I wanted (1280x1024) into XF86Config, but when I use Ctrl+Alt+ +/-, the desktops resolution doesn't seem to change, but it becomes larger than the screen and you have to scroll around to view the whole desktop.

Any suggestions?

Thanks

kc8tbe 04-07-2004 06:56 PM

Just a refresher of the necessary lines:
Code:

Section "Screen"
        # skip some stuff
       
        DefaultDepth 16
        #Note: this could also be DefaultColorDepth if you prefer. also,
        #          you may wish to change 16 to 24 for more colors.

        Subsection "Display"
                Depth        16        # make this 16 a 24 if you did so above
                Modes        "1280x1024" "1024x768" "800x600" #etc, etc
                ViewPort        0 0        # I'm not sure what it does, but I find this line helpful
        EndSubSection
EndSection

If the weird scrolling thing persists, or any other weird stuff happens, you could consider using a modline. Modelines vary from monitor to monitor; Google your monitor's vendor name & model number to get your monitors specs. Then go to http://xtiming.sourceforge.net and use those specs to generate a modeline. The modeline goes here:
Code:

Section "Monitor"
        Identifier                "Monitor0"
        # should match the monitor name in the screen section
        VendorName        "Monitors R Us"
        ModelName        "12345ABC"
        HorizSync                30-70
        VertRefresh        50-150
        # HorizSync and VertRefresh come right out of the manufacturer's specs.
        Modeline "1280x1024" 114.98 1280 1312 1744 1776 1024 1045 1055 1076
        # This gets generated at xtiming.sourceforge.net
        # Note: you need at least one modeline for every screen resolution
EndSection

Good luck!


All times are GMT -5. The time now is 04:25 AM.