xorg.conf

Alex Kelly aekelly at gmail.com
Thu Nov 10 20:49:17 GMT 2005


On 11/10/05, Garrett Cooper <youshi10 at u.washington.edu> wrote:
> On Nov 10, 2005, at 12:06 PM, Alex Kelly wrote:
>
>
> > On 11/10/05, Alex Zbyslaw <xfb52 at dial.pipex.com> wrote:
> >
> >> Alex Kelly wrote:
> >>
> >>
> >>> if you're just interested in seeing if it's there, try this:
> >>>
> >>> find / -name "xorg.conf"
> >>>
> >>>
> >>>
> >> Try:
> >>
> >>    locate xorg.conf
> >>
> >> first.  Much quicker.  If that doesn't find anything then try
> >> find, but
> >> with huge disks searching everywhere would take, well, a while.
> >>
> >> --Alex
> >>
> >
> > this is true and a good tip. it is quicker. however, xorg.conf could
> > have been created before his locate database was recomputed to include
> > it. figured i'd cover all his bases.
> >
>
>        Even quicker method (as compared to refreshing a locate database)
> for searching for a .conf file...
>
> find /usr/local/etc /etc -name "BLAH.conf"
>
>        One should know that almost all conf files are located in /usr/local/
> etc or /etc in FreeBSD.
> -Garrett

one should also know that after executing "Xorg -configure", the
generated conf file is in /root and not in either /usr/local/etc or
/etc - it is manually copied to /etc/X11 later.

so find /usr/local/etc /etc -name "BLAH.conf" is quicker, but will miss the file


More information about the freebsd-questions mailing list