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.
I'm having immense trouble getting anything other than GNOMEs GUI to work at a usable monitor resolution and am now somewhat confused with the whole issue of the X-Server and how to set up/change monitor settings under KDE, Fluxbox etc. etc.
I'm using an Nvidia graphics card to drive a 19" Iiyama Vision Master Pro 455 monitor which is capable of resolutions up to a maximum of 1600 x 1200 at something like 65 hz (sadly I left the manual at work so I'm guessing that the refresh rate being 65 Hz but it's around that figure)
Anyway I wish to use it at a resolution of 1280 x 1024 at 85 hz which is my preferred setup.
Now setting this up in GNOME was no problem as there's the handy Applications > Desktop Preferences > Screen Resolution applet which lets me select both the resolution and refresh rate. Excellent ! I'm happy and my X server and GUI look truly beautiful.
However.... when I tried using KDE/XFCE etc. it's apparent that the X server is being started using the maximum 1600 x 1200, minimum refresh rate setting and the desktop is unusable due to everything being too small to see (even after some tweaking of icon sizes and fonts etc.)
My next step was then to try using the KDE Control Centre > Peripherals dialogue to select a different resolution and refresh rate but this was a disaster..... My xf86config file was overwritten and startx resulted in a black screen.
I therefore ran xfree86setup, did a quick vi to map my uk keyboard and wheel mouse, and I'm now back in GNOME at the desired resolution etc. etc. A quick xwmconfig and I tried KDE again but it's back to using the maximum 1600 x 1200 resolution.. Boo !
So I'm wondering if my understanding of the X server/GUI part of GNU/Linux is correct ?
My understanding is that the xf86config file contains details of the capabilities of the attached devices. As far as the monitor settings go I would then expect each window manager (GNOME/KDE/XFCE etc.) to be able to select a suitable combination of resolution and refresh rate and for each Window Manager to potentially use a different combination. Is this correct ?
If anyone can tell me how to adjust my monitor settings in KDE/XFCE/Fluxbox etc. I'd be most grateful as I'd like to try all the available window managers (I'm on a Linux learning curve here !) but the only one I can set up to my satisfaction is GNOME.
P.S. I have also tried using Ctrl&Alt&+/Ctrl&Alt&- in KDE and XFCE but this doesn't really help. I suspect that the problem may be that I have to add some more detail to my xf86config file to describe my desired monitor mode so, in case it's of use, here's my xf86config file:
i choose only 1 SubSection and delete the rest , because i just want the Xserver use the true color ( Depth 24 ) and the maximum resolution is "1024x768", if it fails the Xserver will try using 800x600 and so on.
If u configured those properly u'll get ur desire resolution, optimal refresh rate. My monitor tells me that the frequency is 85Hz since it's the optimal frequency for 1024x768.
I also used a "Virtual 1280 1024 " setting in my display subsection and this along with your advice seems to have done the trick.
Still, I do think it would be nice if you could set up the XF86Config file so that all available modes are listed, and that each window manager would then feature an applet in which you could select your chosen combination for that window manager (and that window manager only). I'm definitely in favour of the GNOME applets behaviour here.
Thanks anyway as I can now see the KDE and XFCE desktops in a usable form !
I had problems with configuring my monitor. In the end I used the 'xf86config' command. You have to do this before starting x whilst logged in as root. This allows you to set up your monitor & video card from a simple text dialog.
This is what I love about slackware. The easy looking way (the gui) is hard because it causes problems but the hard looking way is easy in the end becuase it works & gets the job done.
After getting a new monitor about a month after installing Slackware I'd already tried using xf86config and XF86Setup but in both cases the /etc/XF86Config file it created didn't work properly - which is why I was having all the trouble in the first place. The problem being that it set up the monitor to be used at its maximum resolution and minimum refresh rate which isn't quie what I wanted.
As I'd said in a previous post GNOME gives you an applet which allows you to to select your desired resolution and refresh rate from the list of supported modes and I was expecting the other window managers (KDE/XFCE/Fluxbox etc.) to have similar applets.
But after a lot of head scratching I worked out that they'll actually use the maximum available setting from your config file so having worked that out I then edited my /etc/X11/XF86Config file by hand and it all works well.
So at least I;ve learnt something and I'll not have the same problems again
But I still don't know why using KDEs > Settings > Control Panel > Preferences applet to set my desired resolution and refresh rate should cause KDE to write an unusable XF86Config file ? Oh well.....
Yours glad he's taken the Slackware path to Linux knowledge and learning more every day
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.