Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2005 15:49:15 -0500
From:      Alex Kelly <aekelly@gmail.com>
To:        Garrett Cooper <youshi10@u.washington.edu>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: xorg.conf
Message-ID:  <31a749ec0511101249s6062da57ibb9e3562328e264@mail.gmail.com>
In-Reply-To: <5541566F-7999-4AB2-9761-CF85878CF4A8@u.washington.edu>
References:  <5541566F-7999-4AB2-9761-CF85878CF4A8@u.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/10/05, Garrett Cooper <youshi10@u.washington.edu> wrote:
> On Nov 10, 2005, at 12:06 PM, Alex Kelly wrote:
>
>
> > On 11/10/05, Alex Zbyslaw <xfb52@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/loc=
al/
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31a749ec0511101249s6062da57ibb9e3562328e264>