LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   I don't find in xorg.conf specifications (https://www.linuxquestions.org/questions/debian-26/i-dont-find-in-xorg-conf-specifications-660320/)

abd_bela 08-04-2008 07:23 AM

I don't find in xorg.conf specifications
 
Hi,
In previous release of xorg, debian etch for example , all options of xorg are saved on /etc/X11/xorg.conf,. now with lenny , I don't find in xorg.conf specifications for depth or resolution for example, Where are they stored ?.

On ubuntu, the monitor caracteristics are stored (owned by user ) in /home/user/.gnome2/monitors.xml ???? . If I want to change it for all users ???
thanks
bela

pixellany 08-04-2008 07:49 AM

sometimes the initial installation won't put everything in. Try running xorgconfig.

You can also manually edit the file. The format is available using "man xorg.conf"

abd_bela 08-04-2008 07:58 AM

Quote:

Originally Posted by pixellany (Post 3236158)
sometimes the initial installation won't put everything in. Try running xorgconfig.

You can also manually edit the file. The format is available using "man xorg.conf"

The file just contains something like this


Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

But where are the depth, the resolution and other properties ??

The man xorg.conf is not clear about this !!!

pixellany 08-04-2008 08:08 AM

That looks more like a template. Run xorgconfig and it will put in most things, then you can edit by hand.

If you don't like the man page, try this:
http://www.x.org/docs/man/man.pdf

the trooper 08-04-2008 10:18 AM

Quote:

That looks more like a template. Run xorgconfig and it will put in most things, then you can edit by hand
Sorry to crash this post,but i have exactly the same situation with a fresh install of Lenny Amd64.Should "xorgconf" be run without x running?
When i try to run this from the command line i just get command not found?
I also tried the above command as root,with the same result?

Regards.
The trooper.

pixellany 08-04-2008 02:46 PM

It's "xorgconfig". In my experience it comes with X by default.

I can run xorgconfig on my machines while X is running. Any changes will take effect when X is re-started.

Depending on the distro, you sometimes have to do "su -" to get the root environment, including PATH. I don't know if and how this affects xorgconfig.

the trooper 08-04-2008 04:02 PM

My eyes must be going!:)
Thanks for the reply pixellany

Telemachos 08-05-2008 12:39 PM

Quote:

Originally Posted by pixellany (Post 3236175)
That looks more like a template.

Or it looks like the xorg.conf for newer versions of X. Both the OP and the Trooper say they are in Lenny. In that case, their "blankish" xorg.conf is normal.

Here's mine on a perfectly-functioning Lenny:
Code:

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "kbd"
        Option                "XkbRules"        "xorg"
        Option                "XkbModel"        "pc104"
        Option                "XkbLayout"        "us"
EndSection

Section "InputDevice"
        Identifier        "Configured Mouse"
        Driver                "mouse"
EndSection

Section "Device"
        Identifier        "Configured Video Device"
EndSection

Section "Monitor"
        Identifier        "Configured Monitor"
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Monitor                "Configured Monitor"
EndSection

Look, Ma, no values. The idea seems to be that everything is auto-configured. The problem is what to do when the auto- part doesn't work so well. In some cases, writing values into the xorg.conf in this situation doesn't seem to help, since X ignores those values anyhow.

Also, I never have seen a clear answer to the obvious question: where are the values (the auto-detected, auto-configured ones) being stored? The machine has to have values somewhere, no?

makuyl 08-05-2008 02:46 PM

You wouldn't be running an intel 950 graphics chipset with the "empty" xorg.conf? IIRC xrandr now handles that driver in lenny and sid. You might be able to get the old function back by grabbing xserver-xorg-video-i810 from etch.

abd_bela 08-06-2008 06:13 AM

It is not a template, Here is the content of xorg.conf of a machine running correclty ( on debian lenny ), here is the dump


debian225:/home/bela# cat /etc/X11/xorg.conf
# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
Option "XkbVariant" "latin9"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
EndSection

makuyl 08-06-2008 03:04 PM

Did you google the intel driver thingy I posted for pages like this http://www.thinkwiki.org/wiki/Intel_...ccelerator_950 ?


All times are GMT -5. The time now is 07:28 AM.