xorg.conf

Garrett Cooper youshi10 at u.washington.edu
Thu Nov 10 20:59:48 GMT 2005


On Nov 10, 2005, at 12:49 PM, Alex Kelly wrote:

> 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

Ah... I see. Well, the files are almost always placed in /root or ~/  
it seems when configuring items. Just make sure to search for hidden  
files.
-Garrett


More information about the freebsd-questions mailing list