[blfs-support] Xorg

DJ Lucas dj at linuxfromscratch.org
Sun Feb 12 08:13:43 PST 2012


On 02/12/2012 08:57 AM, Fernando de Oliveira wrote:
> Hi,
>
> I have been able to run Xorg in LFS SVN-20111210, using /etc/X11/xorg.conf.d instead of /etc/X11/xorg.conf.
>
> For the first time the server successfully run in my first attempt, at about Feb 10 22:50 BRT!!!
>
> I had delayed it for some time, until I decided to create the xorg.conf.d files, as did not know how to name them and how to adapt from xorg.conf. One line in "Xorg-7.6-2 Testing and Configuration" with comparison of deprecated xorg.conf and how to make the adaptation could help., or may be I have missed it.
>
> []s,
> Fernando

Few actually need xorg.conf.d files now days. The only things that make 
sense now days are keyboard configurations for non-US English keyboard 
layouts, and driver configurations for proprietary video drivers or 
multi-monitor setups where hardware does not match logical layout,  and 
those only when the DE does not have tools to control the keyboard or 
video layout, or if you use graphical login tools (xdm, kdm, gdm, etc.). 
There are examples for two of the three at the bottom of the 
configuration page here: 
http://www.linuxfromscratch.org/blfs/view/svn/x/xorg-config.html I would 
like to add one for nVidia cards as well, but don't have the hardware 
currently.

For the most part, the /etc/X11/xorg.conf.d directory should be empty 
save for the default 10-evdev.conf and 50-synaptics.conf files that ship 
with those drivers. Most things just work out of the box. Another thing 
that was common in the past was to set default resolution in the 
xorg.conf. The Xorg log file contains the available modelines, but 
likely all you will need is an xrandr statement in .xinitrc, and again, 
only if your choice of desktop does not include a tool to control it or 
you use graphical login.

-- DJ Lucas




More information about the blfs-support mailing list