Config file location?

Pete Wright pete at nomadlogic.org
Wed Jun 5 19:13:07 UTC 2019



On 6/5/19 7:47 AM, Kevin Oberman wrote:
> X looks for xorg.conf in a bunch of places, but the traditional /etc/X11
> still works and I use it.

just wanted to add a little color to this discussion (and i should not 
that use /etc/X11/xorg.conf frequently out of habit as well) but you no 
longer need to supply a fully Xorg configuration.  X will look under 
/usr/local/etc/X11/xorg.conf.d/ for config snippets.  for example here's 
a snippet to enable amdgpu on a system:

Section "OutputClass"
     Identifier "AMDgpu"
     MatchDriver "amdgpu"
     Driver "amdgpu"


from an admin perspective this is pretty sweet as now i only have to 
deploy overrides for the default configuration as autodetection works 
pretty well these days.  also, when you install additional xf86 packages 
(like xf86-video-amdgpu or xf86-input-libinput) example configs are 
dropped here for reference:

/usr/local/share/X11/xorg.conf.d/

cheers,
-p

-- 
Pete Wright
pete at nomadlogic.org
@nomadlogicLA



More information about the freebsd-x11 mailing list