Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Where is the xorg.conf
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
cenobita33
n00b
n00b


Joined: 28 Nov 2003
Posts: 65
Location: Braunschweig, Germany

PostPosted: Wed May 31, 2006 10:42 am    Post subject: Where is the xorg.conf Reply with quote

hello,
i installaled my gentoo-system with the 2006.0 live-cd (gtk-install).
everything went good, and my x-server starts, too.
but, where ist the xorg.conf? it is not in /etc/X11.
but X needs the xorg.conf, but m i thinking the wrong way.
shortly: which file uses X, when no xorg.conf is there in X11?

ah, i scanned the system to find the xorg.conf, but nowhere there.

plz help me....
_________________
windows - 1 day 10 new viruses - linux - ... ?
Back to top
View user's profile Send private message
lxg
Veteran
Veteran


Joined: 12 Nov 2005
Posts: 1019
Location: Aachen, Germany

PostPosted: Wed May 31, 2006 10:55 am    Post subject: Reply with quote

Sounds strange. but maybe X uses a compiled-in config.

How did you search? Have you done one of those:

Code:

updatedb && locate xorg.conf
find / -iname "xorg.conf"


You can create a new xorg.conf with tools like xorgconfig.
_________________
lxg.de – codebits and tech talk
Back to top
View user's profile Send private message
cenobita33
n00b
n00b


Joined: 28 Nov 2003
Posts: 65
Location: Braunschweig, Germany

PostPosted: Wed May 31, 2006 11:05 am    Post subject: Reply with quote

both, but no result.
only

/usr/share/man/man5/xorg.conf.5x.gz
/etc/X11/xorg.conf.example
_________________
windows - 1 day 10 new viruses - linux - ... ?
Back to top
View user's profile Send private message
TempTux
n00b
n00b


Joined: 21 Nov 2005
Posts: 23

PostPosted: Wed May 31, 2006 11:33 am    Post subject: Reply with quote

cenobita33 wrote:
both, but no result.
only
/usr/share/man/man5/xorg.conf.5x.gz
/etc/X11/xorg.conf.example
if there is no xorg.conf, it uses the /etc/X11/XF86Config
m.
Back to top
View user's profile Send private message
cenobita33
n00b
n00b


Joined: 28 Nov 2003
Posts: 65
Location: Braunschweig, Germany

PostPosted: Wed May 31, 2006 11:37 am    Post subject: Reply with quote

there ist no XF86conf, too :roll:
_________________
windows - 1 day 10 new viruses - linux - ... ?
Back to top
View user's profile Send private message
lxg
Veteran
Veteran


Joined: 12 Nov 2005
Posts: 1019
Location: Aachen, Germany

PostPosted: Wed May 31, 2006 11:50 am    Post subject: Reply with quote

cenobita33 wrote:
there ist no XF86conf, too :roll:


Right, that's because Gentoo doesn't use XFree86.

Ok, so you have no xorg.conf. How about create one by running xorgconfig or copying and editing xorg.conf.example?
_________________
lxg.de – codebits and tech talk
Back to top
View user's profile Send private message
JeliJami
Veteran
Veteran


Joined: 17 Jan 2006
Posts: 1086
Location: Belgium

PostPosted: Wed May 31, 2006 11:57 am    Post subject: Re: Where is the xorg.conf Reply with quote

cenobita33 wrote:
hello,
i installaled my gentoo-system with the 2006.0 live-cd (gtk-install).
everything went good, and my x-server starts, too.
but, where ist the xorg.conf? it is not in /etc/X11.
but X needs the xorg.conf, but m i thinking the wrong way.
shortly: which file uses X, when no xorg.conf is there in X11?

Code:
# man xorg.conf
...
DESCRIPTION
       Xorg uses a configuration file called xorg.conf for its initial  setup.
       This  configuration  file  is searched for in the following places when
       the server is started as a normal user:

           /etc/X11/<cmdline>
           /usr/X11R6/etc/X11/<cmdline>
           /etc/X11/$XORGCONFIG
           /usr/X11R6/etc/X11/$XORGCONFIG
           /etc/X11/xorg.conf-4
           /etc/X11/xorg.conf
           /etc/xorg.conf
           /usr/X11R6/etc/X11/xorg.conf.<hostname>
           /usr/X11R6/etc/X11/xorg.conf-4
           /usr/X11R6/etc/X11/xorg.conf
           /usr/X11R6/lib/X11/xorg.conf.<hostname>
           /usr/X11R6/lib/X11/xorg.conf-4
           /usr/X11R6/lib/X11/xorg.conf

       where <cmdline> is a relative path (with no ".." components)  specified
       with  the -config command line option, $XORGCONFIG is the relative path
       (with no ".." components) specified by that environment  variable,  and
       <hostname> is the machine's hostname as reported by gethostname(3).

       When  the  Xorg  server  is started by the "root" user, the config file
       search locations are as follows:

           <cmdline>
           /etc/X11/<cmdline>
           /usr/X11R6/etc/X11/<cmdline>
           $XORGCONFIG
           /etc/X11/$XORGCONFIG
           /usr/X11R6/etc/X11/$XORGCONFIG
           $HOME/xorg.conf
           /etc/X11/xorg.conf-4
           /etc/X11/xorg.conf
           /etc/xorg.conf
           /usr/X11R6/etc/X11/xorg.conf.<hostname>
           /usr/X11R6/etc/X11/xorg.conf-4
           /usr/X11R6/etc/X11/xorg.conf
           /usr/X11R6/lib/X11/xorg.conf.<hostname>
           /usr/X11R6/lib/X11/xorg.conf-4
           /usr/X11R6/lib/X11/xorg.conf

       where <cmdline> is the path specified with  the  -config  command  line
       option  (which  may  be  absolute or relative), $XORGCONFIG is the path
       specified by that environment variable (absolute or relative), $HOME is
       the  path  specified  by  that  environment  variable (usually the home
       directory), and <hostname> is the machine's  hostname  as  reported  by
       gethostname(3).
...

Quote:


ah, i scanned the system to find the xorg.conf, but nowhere there.

plz help me....


Code:
# man Xorg
...
CONFIGURATION
       Xorg typically uses a configuration file called xorg.conf for its  ini-
       tial  setup.   Refer  to  the xorg.conf(5x) manual page for information
       about the format of this file.

       Starting with version 4.4, Xorg has a mechanism for automatically  gen-
       erating  a built-in configuration at run-time when no xorg.conf file is
       present.  The current version of this automatic configuration mechanism
       works in three ways.

       The  first  is  via  enhancements that have made many components of the
       xorg.conf file optional.  This  means  that  information  that  can  be
       probed  or  reasonably deduced doesn't need to be specified explicitly,
       greatly reducing the amount of built-in configuration information  that
       needs to be generated at run-time.

       The  second  is  to  use  an external utility called getconfig(1), when
       available, to use meta-configuration information to generate a suitable
       configuration  for  the  primary  video device.  The meta-configuration
       information can be updated to allow an existing installation to get the
       best  out  of  new hardware or to work around bugs that are found post-
       release.

       The third is to have "safe" fallbacks for most  configuration  informa-
       tion.  This maximises the likelihood that the Xorg server will start up
       in some usable configuration even when information about  the  specific
       hardware is not available.

       The  automatic  configuration support for Xorg is work in progress.  It
       is currently aimed at the most popular hardware and software  platforms
       supported by Xorg.  Enhancements are planned for future releases.
...

_________________
Unanswered Post Initiative | Search | FAQ
Former username: davjel
Back to top
View user's profile Send private message
cenobita33
n00b
n00b


Joined: 28 Nov 2003
Posts: 65
Location: Braunschweig, Germany

PostPosted: Wed May 31, 2006 12:03 pm    Post subject: Reply with quote

the system is running very good without the .conf, i m happy with it, but i want to change the mouse-settings....
but where?

if its possible, i won't create an new xorg.conf with the xorgconfig...

isn't there a command-switch, like "X --give-me-your-using-conf" or else?
_________________
windows - 1 day 10 new viruses - linux - ... ?
Back to top
View user's profile Send private message
TempTux
n00b
n00b


Joined: 21 Nov 2005
Posts: 23

PostPosted: Wed May 31, 2006 12:06 pm    Post subject: Reply with quote

lx0 wrote:
cenobita33 wrote:
there ist no XF86conf, too :roll:

Right, that's because Gentoo doesn't use XFree86.
Just for the record:
xorg-X11 uses /etc/X11/XF86Config if no xorg.conf file exists.
Code:
markus @ beta-cygni markus $ grep -i config /var/log/Xorg.0.log
Markers: (--) probed, (**) from config file, (==) default setting,
(==) Using config file: "/etc/X11/XF86Config"
(II) RADEON(0): [dri] Visual configs initialized


Markus, klugscheissend ;-)
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Wed May 31, 2006 12:07 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Desktop Environments.

By default there will be no xorg.conf. If you wish to create one, read http://www.gentoo.org/doc/en/xorg-config.xml
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum