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.
This might be a silly question, but I have to ask because it's driving me crazy.
I set my screen resolution to 1024x768 @ 75hz using the XFCE display manager. In addition I have all of my available screen resolutions set up in my xorg.conf file using modelines.
For some reason, when I type startx XFCE briefly starts up in 1280x860 or something before quickly changing to my chosen 1024x768 while the splash screen is displayed.
I am under the assumption that XFCE pulls the available modelines from xorg.conf but I may be wrong. I even tried making the 1024x768 the first choice under the relevant modeline in xorg.conf but that didn't help.
I would double-check the xorg.conf file. According to the manpage:
Code:
Modes "mode-name" ...
This optional entry specifies the list of video modes to use.
Each mode-name specified must be in double quotes. They must
correspond to those specified or referenced in the appropriate
Monitor section (including implicitly referenced built-in VESA
standard -modes). The server will delete modes from this list
which don't satisfy various requirements. The first valid mode
in this list will be the default display mode for startup. The
list of valid modes is converted internally into a circular
list. It is possible to switch to the next mode with
Ctrl+Alt+Keypad-Plus and to the previous mode with Ctrl+Alt+Key‐
pad-Minus. When this entry is omitted, the valid modes refer‐
enced by the appropriate Monitor section will be used. If the
Monitor section contains no modes, then the selection will be
taken from the built-in VESA standard modes.
So X should start with the first valid resolution in the Modes line. Maybe you are editing the wrong line? There may be more than one.
After that, the desktop manager may change the resolution using the Randr X extension to something else. See the manpage for xrandr.
Last edited by rg3; 04-01-2009 at 01:00 PM.
Reason: [code] instead of [quote]
If you have xrandr installed (and working), you can put xrandr -s 1024x768 in your .xintrc file (somewhere on the top of the file). That should do the trick.
Ok I installed the xrandr package and added the line suggested to my .xinitrc and it worked.
This still seems like a workaround to me rather than a solution. Thanks to you adriv for solving the problem for me, but if anyone in the know can explain why this is necessary I would like to know for my own sanity.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.