Changeset c3b84a72 for x/installing


Ignore:
Timestamp:
05/01/2008 05:30:42 AM (16 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 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:
d101924b
Parents:
d4b83073
Message:

Xorg config files fixed for FHS

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

Location:
x/installing
Files:
2 edited

Legend:

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

    rd4b83073 rc3b84a72  
    167167<screen role="root"><userinput>install -v -m644 -D ~/XF86Config.new /etc/X11/XF86Config</userinput></screen>
    168168
    169     <para>As a convenience, Xorg-&xorg7-version; users should populate the
    170     <filename class="directory">/etc/X11</filename> directory with symlinks
    171     to various configuration directories that were located in
    172     <filename class="directory">/etc/X11</filename> with previous
    173     versions of <application>Xorg</application>.  This step is not needed
    174     for <application>XFree86</application> users.  Execute the following
    175     commands as the <systemitem class="username">root</systemitem>
    176     user:</para>
    177 
    178 <screen><userinput role="root">mkdir $XORG_PREFIX/share/X11/twm &amp;&amp;
    179 ln -svt /etc/X11 \
    180     $XORG_PREFIX/lib/X11/{fs,lbxproxy,proxymngr,rstart} \
    181     $XORG_PREFIX/lib/X11/{xdm,xinit,xserver,xsm} \
    182     $XORG_PREFIX/share/X11/{app-defaults,twm,xkb}</userinput></screen>
    183 
    184169    <para>As the <systemitem class="username">root</systemitem> user, create
    185170    <filename>.xinitrc</filename>:</para>
  • x/installing/xorg7.xml

    rd4b83073 rc3b84a72  
    161161    a MANDATORY_MANPATH in <filename>/etc/man_db.conf</filename>.</para>
    162162
     163    <para>Packages in Xorg store their configuration files in
     164    <filename class="directory">$XORG_PREFIX/lib/X11</filename> by default.
     165    This is strictly against FHS guidelines.  To simplify installation,
     166    create the proper installation directories in
     167    <filename class="directory">/etc/X11</filename> and create symlinks
     168    in <filename class="directory">$XORG_PREFIX/lib/X11</filename> to
     169    satisfy the installation.  Execute the following commands as the
     170    <systemitem class="username">root</systemitem> user:</para>
     171
     172<screen role="root"><userinput>
     173install -v -m755 -d \
     174    /etc/X11/{app-defaults,fs,twm,xdm,xinit,xkb,xsm} &amp;&amp;
     175
     176install -v -m755 -d $XORG_PREFIX/lib/X11 &amp;&amp;
     177
     178for link in \
     179    /etc/X11/{app-defaults,fs,twm,xdm,xinit,xkb,xsm}
     180do
     181    ln -sv $link $XORG_PREFIX/lib/X11
     182done
     183</userinput></screen>
     184
    163185  </sect2>
    164186
Note: See TracChangeset for help on using the changeset viewer.