Ignore:
Timestamp:
11/26/2008 09:16:36 PM (16 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
759586e
Parents:
335975f
Message:

Moved /etc/X11 sysmlinks to x-setup page.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7617 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/installing/x-setup.xml

    r335975f r6940e5e  
    5151
    5252<screen role="root"><userinput>ln -vsf <replaceable>&lt;$XORG_PREFIX&gt;</replaceable> /usr/X11R6</userinput></screen>
     53
     54    <para>Packages in Xorg store their configuration files in
     55    <filename class="directory">$XORG_PREFIX/lib/X11</filename> by default.
     56    This is strictly against FHS guidelines.  Correct the installation
     57    <filename class="directory">/etc/X11</filename> and create symlinks
     58    in the original location with the commands as the
     59    <systemitem class="username">root</systemitem> user:</para>
     60
     61<screen role="root"><userinput>for file in $XORG_PREFIX/{lib/X11/xinit,share/X11/{app-defaults,twm,xkb}}
     62do
     63     mv -v $file /etc/X11/ 2&gt; /dev/null &amp;&amp;
     64     ln -v -s /etc/X11/$(basename $file) $file
     65done
     66</userinput></screen>
    5367
    5468  </sect2>
Note: See TracChangeset for help on using the changeset viewer.