LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-27-2013, 08:05 PM   #1
narke
Member
 
Registered: Apr 2010
Posts: 70

Rep: Reputation: 0
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
 
Old 01-27-2013, 08:14 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,621

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
*

The resolution can be changed in "System Settings" > 'Display and Monitor'.
 
Old 01-27-2013, 08:27 PM   #3
mastemmer
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 34

Rep: Reputation: 16
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
 
Old 01-27-2013, 08:35 PM   #4
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 4,086

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

jlinkels
 
2 members found this post helpful.
Old 01-27-2013, 09:11 PM   #5
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,701

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

http://www.cyberciti.biz/tips/create...conf-file.html
 
Old 01-28-2013, 02:40 AM   #6
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,234

Rep: Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040
No need for xorg.conf. To change resolution, I use krandrtray (works on fluxbox as well). Very handy and easy to use.
 
Old 01-28-2013, 07:06 PM   #7
narke
Member
 
Registered: Apr 2010
Posts: 70

Original Poster
Rep: Reputation: 0
[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.
 
Old 01-28-2013, 07:08 PM   #8
narke
Member
 
Registered: Apr 2010
Posts: 70

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Didier Spaier View Post
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!
 
Old 01-28-2013, 07:51 PM   #9
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,701

Rep: Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458
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.
 
Old 01-29-2013, 12:37 AM   #10
narke
Member
 
Registered: Apr 2010
Posts: 70

Original Poster
Rep: Reputation: 0
Understood, thank. And, how about those font-path stuffs originally in the xorg.conf? These also auto-probed?
 
Old 01-29-2013, 12:56 AM   #11
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,447

Rep: Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875
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

Last edited by ponce; 01-29-2013 at 02:33 PM. Reason: added xorg-server's configure
 
Old 01-29-2013, 07:23 PM   #12
narke
Member
 
Registered: Apr 2010
Posts: 70

Original Poster
Rep: Reputation: 0
Thanks!

Quote:
Originally Posted by ponce View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
X starts without xorg.conf, however with aticonfig, resultant xorg.conf hangs linuxbird Linux - Desktop 3 08-23-2012 05:28 AM
Changing GUI screen resolution in /etc/XOrg.config (aka xorg.conf) stf92 Linux - General 0 07-10-2012 03:48 AM
My xorg.conf is replaced with a default xorg.conf after reboot rrrssssss Linux - Hardware 9 04-11-2010 04:45 PM
nvidia xorg.conf OR X windows xorg.conf? machines Slackware 3 04-06-2008 02:10 PM


All times are GMT -5. The time now is 10:27 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration