Xorg FHS violation in X Window System Components

DJ Lucas dj at linuxfromscratch.org
Mon Oct 11 20:16:14 PDT 2010

On 10/07/2010 09:07 AM, linux fan wrote:
> Instead of making symlinks as per the note regarding FHS guidelines
> violation in "X Window System Components", the following can
> effectively put system.twmrc, app-defaults, and xinit under /etc/X11
> directly:
> case $(basename "$PWD") in #lib
>   # ...
>   libXt-[0-9]*)
>     ./configure $XORG_CONFIG --with-appdefaultdir=/etc/X11/app-defaults
>   ;;
> esac
> case $(basename "$PWD") in #app
>   twm-[0-9]*)
>     sed -i -e '/^rcdir =/s,^\(rcdir = \).*,\1/etc/X11,' src/Makefile.in
>   ;;
>   xinit-[0-9]*)
>     sed -i -e '/^XINITDIR =/s,$(libdir),/etc,' Makefile.in
>   ;;
> esac

While I'll probably do as you suggest in the update, the reason those
instructions were not used previously is that we were trying to maintain
the installation as close to the old monolithic XFree86/Xorg tree as
possible. 4 years is good, I hadn't realized it had been that long.

-- DJ Lucas

This message has been scanned for viruses and
dangerous content, and is believed to be clean.

More information about the blfs-dev mailing list