LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Where is my xorg.conf? (http://www.linuxquestions.org/questions/slackware-14/where-is-my-xorg-conf-4175447467/)

narke 01-27-2013 08:05 PM

Where is my xorg.conf?
 
I am wondering where is my xorg.conf located? My X runs normally, but today I want to change the screen resolution to 800x600 in order to work with a projector, but I then found there is not a xorg.conf under /etc/X11. I can find a file /etc/X11/xorg.conf-vesa, but it has no effects on my system. Can anyone please tell me where is the default xorg.conf? And, if possible, is there another better way to change screen resolution temporarily?

My slack is 14.0.

Thanks in advance.

- woody

knudfl 01-27-2013 08:14 PM

*

The resolution can be changed in "System Settings" > 'Display and Monitor'.

mastemmer 01-27-2013 08:27 PM

I am not shore where the effective xorg.conf is. May be under
/usr/share/X11/

From KDE4 there is a user screen setup under the menus
System Settings -> Display and Monitor
This setting is saved in
$(HOME)/.kde/share/config/systemsettingsrc

jlinkels 01-27-2013 08:35 PM

Check xrandr. It is a command line utility to change X-settings on the fly, including the VGA output for connecting projectors.

jlinkels

frankbell 01-27-2013 09:11 PM

X no longer uses an xorg.conf file by default, but you can create one:

http://www.cyberciti.biz/tips/create...conf-file.html

Didier Spaier 01-28-2013 02:40 AM

No need for xorg.conf. To change resolution, I use krandrtray (works on fluxbox as well). Very handy and easy to use.

narke 01-28-2013 07:06 PM

[QUOTE=frankbell;4878729]X no longer uses an xorg.conf file by default, but you can create one:

What's the reason behind that? If no a default xorg.conf, how xorg know the properties for the X environment, for example, how does it know the x font path and many more?

Thanks.

narke 01-28-2013 07:08 PM

Quote:

Originally Posted by Didier Spaier (Post 4878829)
No need for xorg.conf. To change resolution, I use krandrtray (works on fluxbox as well). Very handy and easy to use.

Thank you for you still remember that I am using fluxbox :) Now I am download lxrandr from slackbuilds.org. I will be having it a try. Thanks!

frankbell 01-28-2013 07:51 PM

Quote:

What's the reason behind that? If no a default xorg.conf, how xorg know the properties for the X environment, . . . .
X probes the machine for configuration information upon startup. The maintainers of X have become so confident in its ability to do that they have eliminated the default xorg.conf, but you can create one if you wish to experiment with or debug something.

narke 01-29-2013 12:37 AM

Understood, thank. And, how about those font-path stuffs originally in the xorg.conf? These also auto-probed?

ponce 01-29-2013 12:56 AM

I suggest you to have a look at
Code:

man xorg.conf
Slackware uses /usr/share/X11/xorg.conf.d for defaults, with overrides/additions by eventual /etc/X11/xorg.conf.d/* files.

Quote:

Originally Posted by manpage
FontPath "path"
When this entry is not specified in the config file, the server falls back to the compiled-in default font path, which contains the following font path elements (which can be set inside a catalogue directory):

/usr/share/fonts/X11/misc/
/usr/share/fonts/X11/TTF/
/usr/share/fonts/X11/OTF/
/usr/share/fonts/X11/Type1/
/usr/share/fonts/X11/100dpi/
/usr/share/fonts/X11/75dpi/

Font path elements that are found to be invalid are removed from the font path when the server starts up.

http://slackware.osuosl.org/slackwar...re/xorg-server

narke 01-29-2013 07:23 PM

Thanks!

Quote:

Originally Posted by ponce (Post 4879616)
I suggest you to have a look at
Code:

man xorg.conf
Slackware uses /usr/share/X11/xorg.conf.d for defaults, with overrides/additions by eventual /etc/X11/xorg.conf.d/* files.


http://slackware.osuosl.org/slackwar...re/xorg-server



All times are GMT -5. The time now is 02:08 AM.