FedoraThis forum is for the discussion of the Fedora Project.
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.
Once upon a time there was xorg.conf.
Screen resolutions, modes, sync etc. where written there.
Recently it seems to have become somehow useless.
In my FC9 system (virtual machine) the gdm login screen first came out at 1600x1200. Once logged in as root, I changed the screen resolution to 1024x768, which went fine. After reboot, the login screen was at 1600x1200 again; once logged in as root, it switched to 1024x768.
I then tried to login as a std user and the behaviour was exactly the same: 1600 at login, 1600 after first login, changed to 1024...
So ended having the desired resolution with any user AFTER loggin in, BUT the startup login screen kept coming out at 1600x1200.
Well - I thought - that's easy, I just have to edit some configuration file to set the default startup X screen resolution.
I then discovered that I'm not at all able to find out WHERE the hxll those resolution settings (login AND per-user) are stored. They seem to be nowhere! They surely are not in xorg.conf anymore.
Does anyone know exactly which files Fedora uses to save those settings?
Have the days of straight configuration-file-editing ended?
Thanks a lot.
PS. Please do not tell me "xorg.conf"
I myself would have answered that way some days ago, but now I know things have heavily changed. Unfortunately I do not know...
Seems likely that they are in a config file related to your Desktop, such as Gnome or KDE. As such, there is probably a GUI component in said desktop, which can be used to manipulate the resolution. Once you find that, you can probably track down the file in which the resolution is stored by making a change, and then quickly using find to locate any recently modified files.
Code:
find $HOME -mmin -2 -print
finds files in your home directory that were modified in the last two minutes.
yea i know. i borked my resolution and couldn't get back in to save my life.
I finally wacked all the gnome config dirs in my home and it reset back to defaults. I probably deleted more then I needed but I wanted back in. Having found this out, it is probably something in .gconf
if your worried try rm'ing 1 at a time, i would start with .gconf .gnome and .gnome2. The gnome2_private is key info so probably don't need to delete it. compiz doesnt do resolution so probably not there and my .gnomerc is always blank so ...
Or you could do as I had to since the X-server can't properly read the modline information from one of my monitors. Create an /etc/X11/xorg.conf file. That will over-ride the default "Let the X-server do it automatically" that occurs when no xorg.conf file is found. (This is, by the way, the default behavior of the X-server, not of Fedora. Most distributions using the new X-server release are not creating xorg.conf files.)
You can use the su -c 'Xorg -configure' command to create a xorg.conf.new in which you can then edit and move to /etc/X11/xorg.conf when you have it working correctly.
Or you could do as I had to since the X-server can't properly read the modline information from one of my monitors. Create an /etc/X11/xorg.conf file. That will over-ride the default "Let the X-server do it automatically" that occurs when no xorg.conf file is found. (This is, by the way, the default behavior of the X-server, not of Fedora. Most distributions using the new X-server release are not creating xorg.conf files.)
You can use the su -c 'Xorg -configure' command to create a xorg.conf.new in which you can then edit and move to /etc/X11/xorg.conf when you have it working correctly.
Actually there is already an xorg.conf file, but it does not contain any resolution settings.
Anyway, do you know WHERE those settings area actually saved in the recent X-server releases?
DOES a configuration plain text file with those settings actually EXIST or not?
So, if the system default is stored somewhere, it is probably going to be in the /etc/X11 directory hierarchy, so you may be able to use the strategy I mentioned earlier to find it. Change the default setting, using what ever tool you used before, and then quickly use find to locate any recently modified file(s).
--- rod.
Actually there is already an xorg.conf file, but it does not contain any resolution settings.
Anyway, do you know WHERE those settings area actually saved in the recent X-server releases?
DOES a configuration plain text file with those settings actually EXIST or not?
Sure, they are stored in your monitor and read from there when the X-server parses /etc/X11/xorg.conf.
The display managers (gdm, kdm, xdm) don't normally use the X-server settings: They default to using the highest resolution reported by your monitor that's supported by your driver. By the way, if you do set your resolutions in xorg.conf, the first resolution you list is the "default" that will be used. Here's what I have for my LCD TV when I use it as a secondary display for this laptop:
Sure, they are stored in your monitor and read from there when the X-server parses /etc/X11/xorg.conf. The display managers (gdm, kdm, xdm) don't normally use the X-server settings: They default to using the highest resolution reported by your monitor that's supported by your driver. By the way, if you do set your resolutions in xorg.conf, the first resolution you list is the "default" that will be used...
Thanks a lot, now I have the answers I was looking for.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.