You are not logged in.
Hey folks,
So I was reading about nvidia graphics options and I noticed that often it references xorg.conf file existing. Of course in our B.L world, we don't have this one big Xorg file, we have our split up into multiple files in /etc/X11/xorg.conf.d/ with all of them having the two digit prefixes that are read in order of number.
So me questions be thus... Is there a reason for this and not using the one big mono file of xorg.conf? And I don't just mean specifically for this case. In general is it better practice to have multiple configuration files, or one big conf. file? Why is it that the poor xorg.conf has been abandoned?
As always, thanks ahead of time...
"I have not failed, I have found 10,000 ways that will not work" -Edison
Offline
My understanding is that it is easier to manage multiple small files (which are equivalent to individual `xorg.conf` entries): vendor and user settings can go in the various `xorg.conf.d/` locations. The sections are strung together depending on their precedence.
As always, checkout the manpages:
man xorg.conf
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
This was a change that xorg made a while ago. (not BL particularly)
It will still read xorg.conf if there is one, but doesn't make one by default.
Multiple small files in a something.d directory are handy if different packages want to tweak the settings of something without having to overwrite a file belonging to some other package.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
From what I've read at the Debian wiki about proprietary Nvidia and AMD video drivers, the separate xorg.conf.d/ files is considered "The Debian Way" now. Makes sense to me if you have multiple pieces of hardware from different vendors that might need special handling from Xorg.
Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009
Offline
The old xorg.conf was used back in the Good Old Days before the X server autoconfigured and all the ancillaries (keyboard, screen, mouse, etc) had to be specifically and exactly configured by the user.
Now that the X server will set everything up by itself in most cases, the preference is to place override files in /etc/xorg.conf.d
As damo & johnraff say, the separate files are easier to manage without opening $EDITOR
The traditional /etc/xorg.conf file will still be parsed, see xorg.conf(5)
Offline
(Also Debian packages are not allowed to mess with each other's files.)
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline