Ticket #2227: xfce-sysconfdir.diff

File xfce-sysconfdir.diff, 3.5 KB (added by dnicholson@…, 17 years ago)

Configure libxfce4util with --sysconfdir=/etc

  • x/wm/xfce.xml

     
    123123      </listitem>
    124124    </itemizedlist>
    125125
    126     <para>Install <application>libxfce4util</application>, <application>dbh</application>,
    127     <application>libxfcegui4</application>, <application>libxfce4mcs</application>,
    128     <application>xfce-mcs-manager</application>, and <application>xfwm4</application>
    129     by issuing the following commands:</para>
     126    <para>Install the minimum applications by issuing the following
     127    commands:</para>
    130128
    131 <screen><userinput>./configure --prefix=/usr &amp;&amp;
    132 make</userinput></screen>
    133 
    134     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    135 
    136 <screen role="root"><userinput>make install</userinput></screen>
    137 
    138     <para><application>xfce4-panel</application>, <application>xfdesktop</application>
    139     and <application>xfce-utils</application> require a parameter so that the
    140     configuration files are installed in
    141     <filename class='directory'>/etc/xdg</filename>. Configure them by issuing the
    142     following commands:</para>
    143 
    144129<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
    145130make</userinput></screen>
    146131
     
    202187      </listitem>
    203188    </itemizedlist>
    204189
    205     <para>Configure all but the <application>xfce4-session</application> package
    206     using the following commands:</para>
    207 
    208 <screen><userinput>./configure --prefix=/usr &amp;&amp;
    209 make</userinput></screen>
    210 
    211     <para><application>xfce4-session</application> requires the following
     190    <para>Install the remaining applications using the following
    212191    commands:</para>
    213192
    214193<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \
     
    232211
    233212  </sect2>
    234213
     214  <sect2 role="commands">
     215    <title>Command Explanations</title>
     216
     217    <para><parameter>--sysconfdir=/etc</parameter>:
     218    <application>libxfce4util</application>,
     219    <application>xfce4-panel</application>,
     220    <application>xfdesktop</application>,
     221    <application>xfce-utils</application> and
     222    <application>xfce4-session</application> require this parameter
     223    because the path is built into the library or they install
     224    configuration files in <filename class="directory">/etc/xdg</filename>.</para>
     225
     226    <para><parameter>--libexecdir=/usr/lib/xfce4</parameter>:
     227    <application>xfce4-session</application> requires this parameter to
     228    install some utility programs to the correct location.</para>
     229
     230  </sect2>
     231
    235232  <sect2 role="configuration">
    236233    <title>Configuring XFce</title>
    237234
    238235    <sect3 id='xfce-config'>
    239236      <title>Configuration Information</title>
    240237
    241       <para><application>XFCE</application> will look for the theme index from
     238      <para><application>XFce</application> will look for the theme index from
    242239      <xref linkend="hicolor-icon-theme"/> at run-time. Ensure you install the
    243       package before launching <application>XFCE</application>.</para>
     240      package before launching <application>XFce</application>.</para>
    244241
    245242      <para>Issue the command below to create an <filename>.xinitrc</filename>
    246243      file which will automatically run the appropriate
    247       <application>XFCE</application> programs when the
     244      <application>XFce</application> programs when the
    248245      <application>X</application> Window system is launched. Be sure to backup
    249246      your existing <filename>.xinitrc</filename> file before
    250247      proceeding.</para>