Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.