SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Fine tuning my first install of Salix/Slackware 13.37/KDE, 32 bit. Great and easy install ! I can't get the system to accept and hold a different screen resolution than the max of 1280x1024. I need to use 1024x768 because I'm old. I change the settings in the KDE System Settings app but the system will not keep the 1024x768 settings when I shut down and restart. Any simple fixes ? While researching this glitch, I've read horror stories about how to fix, but I don't need a new career.
Thanks in advance
You will need to create an xorg.conf under /etc/X11/xorg.conf.d to specify your defaults and override autodetection. You don't need a full balls to the wall definitions, just, say, the bits you need to override.
Thats the easiest way...but then I am old school. Bah, Kids these days - can't even whip up a proper X config file...
You'll need to know some specifics about you GPU and monitor. For example, something like a "/etc/X11/xorg.conf.d/monitors.conf" (modify as required, this is for one of my boxes):
xrandr will list the resolutions that your monitor is capable of and mark the preferred resolution with a plus sign. If your goal is to have larger fonts you may find a better solution might be to change the size of the system fonts or the default font in the web browser.
Thanks kingbeowulf, I understand, I think, on what you're doing. I've found all the files. 2 questions, then I'll try it.
1. The monitors.conf file you use did you copy this info from another file ?
2. If I remove the 1280 x 1024 from my monitors.conf file will the 1280 x 1024 be available in the Systems Settings app ?
I'm 57 years old and had a stroke 5 years ago that left my right arm/hand very difficult to use. In my better days, I've probably written 1000s of lines of DOS script using primarily D.R. DOS. I've written 100s of lines of C to connect Windows PCs to UNIX boxes worldwide. I just don't want to buy a "plug and play" PC with a buggy full of shrink wrapped "Donkey Kong" software at Walmart.
See if that works. This method has problems with the nvidia driver (I don't know whether the same problems exist on other drivers), which leads me to the second method (it may also be simpler).
2. Add a xrandr line into the appropriate startup script.
If you login at the console you change xinitrc.
If you login via the KDE login manager I think you change /etc/kde4/kdm/Xsetup (I don't use KDE, so I may be wrong)
Add the following line into the appropriate file:
Code:
xrandr --output output_name --mode 1024x768
Replace output_name for whatever it is called on your system, if you don't know what it's called run xrandr. One of the lines it outputs in my system is
Code:
DVI-I-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
In my case, output_name is DVI-I-1.
This worked for me using the nvidia driver and should also work fine with other drivers as well, so I would probably recommend this method first.
Last edited by turtleli; 08-30-2012 at 04:23 PM.
Reason: Typos
If the real issue here is making fonts bigger and easier to read in all applications than changing from the default monitor resolution may not be what you want to do. I've had LCD monitors what were harder to read since the resolution was lower -- 800x600 simple has fewer pixels to display that 1280x900. Leaving the resolution at the default swetting and then adjusting the font sizes in the KDE System Settings/Application Appearance might work better for you. The default font settings are 8 and 9 points. Changing to 11 or 12 might make all the difference for you. You can also define the minimum font size that Firefox uses under the Firefox menu Edit/Preferences/Content/Fonts & Colors. Be sure to check the options under the Advanced button "Allow pages to choose their own fonts."
Cara25 has dexterity problems and has not mentioned vision problems. Maybe the lower resolution is helpful for some reason. The only other thing I can suggest is to look at the KDE accessibility options to see whether anything would be useful, such as mouseless operation.
Everyone, Thanks for all the help. I'm trying option number 1 suggested by turtleli and earlier by kingbeowulf. I'll modify a monitors.conf file and insert it. Let everyone know tomorrow. BTW, I don't have a vision problem, just limited use of my right hand. Makes a lot of typing slow just using 1 hand. Then again, I might be lazy.
If the real issue here is making fonts bigger and easier to read in all applications than changing from the default monitor resolution may not be what you want to do. I've had LCD monitors what were harder to read since the resolution was lower -- 800x600 simple has fewer pixels to display that 1280x900.
I agree (though its not just due to number of pixels, for example using a 4:3 setting on modern 16:9, 16:10 etc. monitor causes display skewing). If Cara25 was using a LCD/LED monitor it would be a much better idea to play with font sizes/DPI setting. But the DELL P780 being used is a CRT.
*Edit- I feel like an idiot, the P780 was kingbeowulf.
@Cara25: You got about 5 years on me, and I'm glad you are a happy linux user.
Just make sure you don't forget to set the HorizSync, VertRefresh frequencies correctly for your monitor. The DisplaySize is to correct aspect ratio since X guesses wrong sometimes (as does xrandr). In the example I gave, the monitor is Dell's version of a 17" Sony Trinitron.
The only reason I didn't mention xrandr is...just not used to it: always tweaked single and multimonitor setups with Slackware via X configuration files. xrandr is handy since it is somewhat driver agnostic.
BTW, to test a config file, at the CLI (not the GUI login), you can
Code:
X -config /path/to/config/your.conf
to test to make sure it works. back out with <Ctrl>-<Alt>-<Backspace> (if this is not disabled in your distro).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.