xorg.conf

On Thu, 06 Dec 2007 14:00:14 -0600, Moe Trin wrote:

> On Wed, 5 Dec 2007, in the Usenet newsgroup alt.os.linux.ubuntu, in article
> <1f3k5r.9k4.19.7@news.alt.net>, Meat Plow wrote:
>
>>Mark South wrote:

>
>>> find /etc -iname xorg.conf

>>
>>~$ slocate xorg.conf works too

>
> slocate (and the original 'locate') consult a database of files usually
> created as a nightly cron-job. If your system isn't running at the
> scheduled time, and you are not running a part-time cron daemon like
> anacron or fcron, then the database won't be up to date. Thus it will
> report about files you have deleted, and won't know about files that
> have been created or moved since that database update. The 'find'
> command looks to see what is "there" now, and tends to be much slower
> than reading a pre-existing database (that was created by running
> find as part of that cron-job).
>
> Find can be made to run faster by (as here) limiting the area of the
> filesystem that is searched. This implies that you are somewhat familiar
> with the way files are located. See http://tldp.org/guides.html and
> look through the 'Linux Filesystem Hierarchy' guide, which is a more
> user-friendly translation of the 'Filesystem Hierarchy Standard' which
> is available from http://www.pathname.com/fhs/.
>
> Old guy


That's fine and dandy if all your assumptions are correct.
 


On Thu, 06 Dec 2007 14:00:14 -0600, Moe Trin wrote:

> On Wed, 5 Dec 2007, in the Usenet newsgroup alt.os.linux.ubuntu, in article
> <1f3k5r.9k4.19.7@news.alt.net>, Meat Plow wrote:
>
>>Mark South wrote:

>
>>> find /etc -iname xorg.conf

>>
>>~$ slocate xorg.conf works too

>
> slocate (and the original 'locate') consult a database of files usually
> created as a nightly cron-job. If your system isn't running at the
> scheduled time, and you are not running a part-time cron daemon like
> anacron or fcron, then the database won't be up to date. Thus it will
> report about files you have deleted, and won't know about files that
> have been created or moved since that database update. The 'find'
> command looks to see what is "there" now, and tends to be much slower
> than reading a pre-existing database (that was created by running
> find as part of that cron-job).
>
> Find can be made to run faster by (as here) limiting the area of the
> filesystem that is searched. This implies that you are somewhat familiar
> with the way files are located. See http://tldp.org/guides.html and
> look through the 'Linux Filesystem Hierarchy' guide, which is a more
> user-friendly translation of the 'Filesystem Hierarchy Standard' which
> is available from http://www.pathname.com/fhs/.
>
> Old guy


That's fine and dandy if all your assumptions are correct.
 
In article <5rof8sF15lcgcU2@mid.individual.net>,
Derek Turner <frderek@cesmail.net> wrote:

> Meat Plow wrote:
> Do I need to
> >> start my file manager as root? I seem to remember other distros having a
> >> regular file manager and then one with root privileges. I wonder if that
> >> could be the difference.
> >>

> when you find it (see above) use sudo gedit xorg.conf in a terminal to
> launch the editor in root mode.
> >

Interesting thing is when I sudo gedit xorg.conf it opens it up and is
blank! If I just start gedit (sudo gedit) then go to file>open>xorg.conf
it opens as expected with all of the text. Strange.
 
brian wrote on Thu, 06 Dec 2007 13:20:21 -0500:

> Interesting thing is when I sudo gedit xorg.conf it opens it up and is
> blank!


Yeah, I suppose so if you really type sudo gedit xorg.conf (because then,
gedit searches for the file xorg.conf in the *current* directory).
It should open the correct file if you type sudo gedit /etc/X11/xorg.conf

> If I just start gedit (sudo gedit) then go to file>open>xorg.conf
> it opens as expected with all of the text. Strange.


Not really, see above.

--
Simon Gerber
simugerber@student.ethz.ch
 
On Wed, 5 Dec 2007, in the Usenet newsgroup alt.os.linux.ubuntu, in article
<1f3k5r.9k4.19.7@news.alt.net>, Meat Plow wrote:

>Mark South wrote:


>> find /etc -iname xorg.conf

>
>~$ slocate xorg.conf works too


slocate (and the original 'locate') consult a database of files usually
created as a nightly cron-job. If your system isn't running at the
scheduled time, and you are not running a part-time cron daemon like
anacron or fcron, then the database won't be up to date. Thus it will
report about files you have deleted, and won't know about files that
have been created or moved since that database update. The 'find'
command looks to see what is "there" now, and tends to be much slower
than reading a pre-existing database (that was created by running
find as part of that cron-job).

Find can be made to run faster by (as here) limiting the area of the
filesystem that is searched. This implies that you are somewhat familiar
with the way files are located. See http://tldp.org/guides.html and
look through the 'Linux Filesystem Hierarchy' guide, which is a more
user-friendly translation of the 'Filesystem Hierarchy Standard' which
is available from http://www.pathname.com/fhs/.

Old guy
 
On Thu, 06 Dec 2007 14:00:14 -0600, Moe Trin wrote:

> On Wed, 5 Dec 2007, in the Usenet newsgroup alt.os.linux.ubuntu, in article
> <1f3k5r.9k4.19.7@news.alt.net>, Meat Plow wrote:
>
>>Mark South wrote:

>
>>> find /etc -iname xorg.conf

>>
>>~$ slocate xorg.conf works too

>
> slocate (and the original 'locate') consult a database of files usually
> created as a nightly cron-job. If your system isn't running at the
> scheduled time, and you are not running a part-time cron daemon like
> anacron or fcron, then the database won't be up to date. Thus it will
> report about files you have deleted, and won't know about files that
> have been created or moved since that database update. The 'find'
> command looks to see what is "there" now, and tends to be much slower
> than reading a pre-existing database (that was created by running
> find as part of that cron-job).
>
> Find can be made to run faster by (as here) limiting the area of the
> filesystem that is searched. This implies that you are somewhat familiar
> with the way files are located. See http://tldp.org/guides.html and
> look through the 'Linux Filesystem Hierarchy' guide, which is a more
> user-friendly translation of the 'Filesystem Hierarchy Standard' which
> is available from http://www.pathname.com/fhs/.
>
> Old guy


That's fine and dandy if all your assumptions are correct.
 
brian wrote:
> okay, I've hit google and a couple of linux (ubuntu) sites and for the
> life of me I cannot find xorg.conf file. It should be in the ~/etc/X11/
> folder but it's not (I did a search for it also). I need to edit it to
> use the Gsynaptics touchpad program. I'm using Ubuntu 7.10 with gnome
> (haven't change anything from a clean install from the livecd. Does
> anyone know where I might find it?
>
> tia

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

An excerpt from /etc/X11/xorg.conf on Ubuntu 6.06 LTS
 
brian wrote:
> okay, I've hit google and a couple of linux (ubuntu) sites and for the
> life of me I cannot find xorg.conf file. It should be in the ~/etc/X11/
> folder but it's not (I did a search for it also). I need to edit it to
> use the Gsynaptics touchpad program. I'm using Ubuntu 7.10 with gnome
> (haven't change anything from a clean install from the livecd. Does
> anyone know where I might find it?
>
> tia

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

An excerpt from /etc/X11/xorg.conf on Ubuntu 6.06 LTS
 
brian wrote:
> okay, I've hit google and a couple of linux (ubuntu) sites and for the
> life of me I cannot find xorg.conf file. It should be in the ~/etc/X11/
> folder but it's not (I did a search for it also). I need to edit it to
> use the Gsynaptics touchpad program. I'm using Ubuntu 7.10 with gnome
> (haven't change anything from a clean install from the livecd. Does
> anyone know where I might find it?
>
> tia

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

An excerpt from /etc/X11/xorg.conf on Ubuntu 6.06 LTS
 
brian wrote:
> okay, I've hit google and a couple of linux (ubuntu) sites and for the
> life of me I cannot find xorg.conf file. It should be in the ~/etc/X11/
> folder but it's not (I did a search for it also). I need to edit it to
> use the Gsynaptics touchpad program. I'm using Ubuntu 7.10 with gnome
> (haven't change anything from a clean install from the livecd. Does
> anyone know where I might find it?
>
> tia

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

An excerpt from /etc/X11/xorg.conf on Ubuntu 6.06 LTS
 

Back
Top