Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
hi,
i tried to do the xf86config
well it worked , i got 1024x768 resolution IN CONSOLE
but when i go into kde , window maker , gnome ,etc
i got the resolution 640 x something
well obviously that resolution sucks the windows are as big as my whole screen, my question is, how can i change my resolution in xfree 86 ?
(kde, gnome ,etc )
i have been asking everywhere and looking all over the net, didn't find my awnser.. so you guys are the last hope!
Look through or post the monitor and video section of your /etc/X11/XF86Config file, you will see the sections there for screen resolution. Might want to try setting "DefaultDepth 16" instead of the default "DefaultDepth 24", also, check to make sure your "HorizSync" and "VertRefresh" numbers are correct for your monitor (this is all in the /etc/X11/XF86Config file. If this doesn't help, post up these sections of your XF86Config file, or, run xf86config from the shell. Good luck!
There is a section like this for each depth, or resolution you card can handle. Here it's 16.
Under modes, is the screen resolutions in the order which X to try to initialize them. In my case, X will try to initialize with 16 bit color at a resolution of 800x600.
If you want, you can try KDE's graphical X configuration program, kxconfig, before messing with the config files, but you'll probobly still want to tweak them after the fact.
I had the same exact problem. Thanks to the two replies to this post, I was able to figure it out. First, I ran the xfree86setup in console. This is what made it go to 640x480. I ran kxconfig and found that xfree86setup had thought that both my video card and monitor were something other than what they really were. So I chose the correct models (luckily my monitor and video card are pretty generic so they were both listed). But kxconfig screwed up my mouse settings for some reason. So when I started X Windows it would be in 1024x768, yay, but my mouse wouldn't work. So I ran xfree86setup again, made a backup of /etc/x11/XF86Config, and ran kxconfig again. But this time, after running it, before restarting X Windows, I opened up XF86Config and XF86ConfigBackup. Anything pertaining to my mouse that was in XF86Config, I deleted and then added everything pertaining to my mouse in XF86ConfigBackup back into XF86Config. Now, to get the wheel on my mouse working. Heh.
I had the same exact problem. Thanks to the two replies to this post, I was able to figure it out. First, I ran the xfree86setup in console. This is what made it go to 640x480. I ran kxconfig and found that xfree86setup had thought that both my video card and monitor were something other than what they really were. So I chose the correct models (luckily my monitor and video card are pretty generic so they were both listed). But kxconfig screwed up my mouse settings for some reason. So when I started X Windows it would be in 1024x768, yay, but my mouse wouldn't work. So I ran xfree86setup again, made a backup of /etc/x11/XF86Config, and ran kxconfig again. But this time, after running it, before restarting X Windows, I opened up XF86Config and XF86ConfigBackup. Anything pertaining to my mouse that was in XF86Config, I deleted and then added everything pertaining to my mouse in XF86ConfigBackup back into XF86Config. Now, to get the wheel on my mouse working. Heh.
It turned out that the method I posted above didn't completely work for me. I thought the resolution looked kind of weird, so I opened up a terminal and typed "xdpyinfo" to see what it really was. It turned out it wasn't 1024x768, like I had configured in kxconfig. I forgot what it was set to, as I have already since fixed it. I quit my Xserver session, and ran xf86config instead of xf86setup (or is it xfree86config / xfree86setup?). If you do this, make sure that you know your monitor specifications (like horizontal sync frequency and vertical refresh rate) as well as what video card you have and how much memory it has. Please note that it took me a couple of times to get everything in this correct, and its harder to do than the kxconfig fix I posted.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.