Changeset 97ee53d for x/wm/fluxbox.xml


Ignore:
Timestamp:
03/22/2020 08:34:34 AM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
dcee7a56
Parents:
1b70960
Message:

Finish formatting the x chapter, and small updates

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/wm/fluxbox.xml

    r1b70960 r97ee53d  
    3434    <title>Introduction to Fluxbox</title>
    3535
    36     <para>The <application>Fluxbox</application> package contains a window
    37     manager.</para>
     36    <para>
     37      The <application>Fluxbox</application> package contains a window
     38      manager.
     39    </para>
    3840
    3941    &lfs91_checked;
     
    4244    <itemizedlist spacing="compact">
    4345      <listitem>
    44         <para>Download (HTTP): <ulink url="&fluxbox-download-http;"/></para>
    45       </listitem>
    46       <listitem>
    47         <para>Download (FTP): <ulink url="&fluxbox-download-ftp;"/></para>
    48       </listitem>
    49       <listitem>
    50         <para>Download MD5 sum: &fluxbox-md5sum;</para>
    51       </listitem>
    52       <listitem>
    53         <para>Download size: &fluxbox-size;</para>
    54       </listitem>
    55       <listitem>
    56         <para>Estimated disk space required: &fluxbox-buildsize;</para>
    57       </listitem>
    58       <listitem>
    59         <para>Estimated build time: &fluxbox-time;</para>
     46        <para>
     47          Download (HTTP): <ulink url="&fluxbox-download-http;"/>
     48        </para>
     49      </listitem>
     50      <listitem>
     51        <para>
     52          Download (FTP): <ulink url="&fluxbox-download-ftp;"/>
     53        </para>
     54      </listitem>
     55      <listitem>
     56        <para>
     57          Download MD5 sum: &fluxbox-md5sum;
     58        </para>
     59      </listitem>
     60      <listitem>
     61        <para>
     62          Download size: &fluxbox-size;
     63        </para>
     64      </listitem>
     65      <listitem>
     66        <para>
     67          Estimated disk space required: &fluxbox-buildsize;
     68        </para>
     69      </listitem>
     70      <listitem>
     71        <para>
     72          Estimated build time: &fluxbox-time;
     73        </para>
    6074      </listitem>
    6175    </itemizedlist>
     
    6478
    6579    <bridgehead renderas="sect4">Required</bridgehead>
    66     <para role="required"><xref linkend="x-window-system"/></para>
     80    <para role="required">
     81      <xref linkend="x-window-system"/>
     82    </para>
    6783
    6884    <bridgehead renderas="sect4">Optional</bridgehead>
     
    7086      <xref role="runtime" linkend="dbus"/> (runtime),
    7187      <xref linkend="fribidi"/>, and
    72       <xref linkend="imlib2"/> (if you wish to use other image formats in addition to XPM)
     88      <xref linkend="imlib2"/> (if you wish to use other image formats in
     89      addition to XPM)
    7390    </para>
    7491
     
    8198    <title>Installation of Fluxbox</title>
    8299
    83     <para>Install <application>Fluxbox</application> by running the following
    84     commands:</para>
     100    <para>
     101      Install <application>Fluxbox</application> by running the following
     102      commands:
     103    </para>
    85104
    86105<screen><userinput>./configure --prefix=/usr &amp;&amp;
    87106make</userinput></screen>
    88107
    89     <para>This package does not have a working testsuite.</para>
    90 
    91     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     108    <para>
     109      This package does not have a working testsuite.
     110    </para>
     111
     112    <para>
     113      Now, as the <systemitem class="username">root</systemitem> user:
     114    </para>
    92115
    93116<screen role="root"><userinput>make install</userinput></screen>
     
    101124      <title>Config Files</title>
    102125
    103       <para><filename>~/.fluxbox/init</filename>,
    104       <filename>~/.fluxbox/keys</filename>, and
    105       <filename>~/.fluxbox/menu</filename></para>
     126      <para>
     127        <filename>~/.fluxbox/init</filename>,
     128        <filename>~/.fluxbox/keys</filename>, and
     129        <filename>~/.fluxbox/menu</filename>
     130      </para>
    106131
    107132      <indexterm zone="fluxbox fluxbox-config">
     
    122147      <title>Configuration Information</title>
    123148
    124       <para>If <application>Fluxbox</application> is the only Window Manager
    125       you want to use, you can start it with an <filename>.xinitrc</filename>
    126       file in your home folder. Be sure to backup your
    127       current <filename>.xinitrc</filename> before proceeding.</para>
     149      <para>
     150        If <application>Fluxbox</application> is the only Window Manager
     151        you want to use, you can start it with an <filename>.xinitrc</filename>
     152        file in your home folder. Be sure to backup your
     153        current <filename>.xinitrc</filename> before proceeding.
     154      </para>
    128155
    129156      <indexterm zone="fluxbox fluxbox-config">
     
    133160<screen><userinput>echo startfluxbox &gt; ~/.xinitrc</userinput></screen>
    134161
    135       <para>Or alternatively, if you use a login manager like
    136       <application>GDM</application> or <application>LightDM</application> and would
    137       like to be able to choose <application>Fluxbox</application> at the login
    138       prompt, create a <filename>fluxbox.desktop</filename> file like this.</para>
    139 
    140       <para>As <systemitem class="username">root</systemitem>:</para>
     162      <para>
     163        Or alternatively, if you use a login manager like
     164        <xref linkend="gdm"/> or <xref linkend="lightdm"/>,
     165        and would like to be able to choose <application>Fluxbox</application>
     166        at the login prompt, create a <filename>fluxbox.desktop</filename>
     167        file. As <systemitem class="username">root</systemitem>:
     168      </para>
    141169
    142170<screen role="root"><userinput>mkdir -pv /usr/share/xsessions &amp;&amp;
     
    150178EOF</userinput></screen>
    151179
    152       <para>If you didn't install <application>GDM</application>,
    153       <application>SDDM</application>, or <application>LightDM</application>
    154       in <filename class='directory'>/usr</filename>,
    155       then change that command to fit the prefix you chose.</para>
    156 
    157       <para>Now create the <application>Fluxbox</application> configuration
    158       files:</para>
     180      <para>
     181        If you didn't install <xref linkend="gdm"/> or <xref
     182        linkend="lightdm"/> in <filename class='directory'>/usr</filename>,
     183        then change that command to fit the prefix you chose.
     184      </para>
     185
     186      <para>
     187        Now create the <application>Fluxbox</application> configuration files:
     188      </para>
    159189
    160190<screen><userinput>mkdir -v ~/.fluxbox &amp;&amp;
     
    162192cp -v /usr/share/fluxbox/keys ~/.fluxbox/keys</userinput></screen>
    163193
    164       <para>To generate the application menu, first you may wish to run
    165       <command>fluxbox-generate_menu -h</command>, in order to choose any
    166       <replaceable>&lt;user_options&gt;</replaceable>, then issue:</para>
    167 
    168 <screen><userinput>cd ~/.fluxbox &amp;&amp;
     194      <para>
     195        To generate the application menu, first you may wish to run
     196        <command>fluxbox-generate_menu -h</command>, in order to choose any
     197        <replaceable>&lt;user_options&gt;</replaceable>, then issue:
     198      </para>
     199
     200<screen role="nodump"><userinput>cd ~/.fluxbox &amp;&amp;
    169201fluxbox-generate_menu <replaceable>&lt;user_options&gt;</replaceable></userinput></screen>
    170202
    171       <para>Alternately, copy a pregenerated menu:</para>
     203      <para>
     204        Alternately, copy a pregenerated menu:
     205      </para>
    172206
    173207<screen><userinput>cp -v /usr/share/fluxbox/menu ~/.fluxbox/menu</userinput></screen>
    174208
    175       <para>Menu items are added by editing <filename>~/.fluxbox/menu</filename>.
    176       The syntax is explained on the <command>fluxbox</command> man page.</para>
    177 
    178       <para>If you want to use an image as your desktop background, copy the
    179       theme you like into <filename class='directory'>~/.fluxbox</filename>.
    180       Then add a line to make it use the correct image. In the following
    181       command, change <replaceable>&lt;theme&gt;</replaceable> for the name of
    182       the theme you want and change
    183       <replaceable>&lt;/path/to/nice/image.ext&gt;</replaceable> to point to
    184       the actual image you want to use, where <replaceable>ext</replaceable>
    185       must be <quote>xpm</quote>, if <xref linkend="imlib2"/> is not installed
    186       to allow other image formats.</para>
    187 
    188 <screen><userinput>cp /usr/share/fluxbox/styles/&lt;theme&gt; ~/.fluxbox/theme &amp;&amp;
     209      <para>
     210        Menu items are added by editing <filename>~/.fluxbox/menu</filename>.
     211        The syntax is explained on the <command>fluxbox</command> man page.
     212      </para>
     213
     214      <para>
     215        If you want to use an image as your desktop background, copy the
     216        theme you like into <filename class='directory'>~/.fluxbox</filename>.
     217        Then add a line to make it use the correct image. In the following
     218        command, change <replaceable>&lt;theme&gt;</replaceable> for the name
     219        of the theme you want and change
     220        <replaceable>&lt;/path/to/nice/image.ext&gt;</replaceable> to point to
     221        the actual image you want to use, where <replaceable>ext</replaceable>
     222        must be <quote>xpm</quote>, if <xref linkend="imlib2"/> is not installed
     223        to allow other image formats.
     224      </para>
     225
     226<screen role="nodump"><userinput>cp /usr/share/fluxbox/styles/&lt;theme&gt; ~/.fluxbox/theme &amp;&amp;
    189227
    190228sed -i 's,\(session.styleFile:\).*,\1 ~/.fluxbox/theme,' ~/.fluxbox/init &amp;&amp;
     
    195233echo "background.pixmap: &lt;/path/to/nice/image.ext&gt;" >> ~/.fluxbox/theme/theme.cfg</userinput></screen>
    196234
    197       <para>In some locales the font specified in the theme may not contain the
    198       needed characters. This results in menus with blank items. You can fix
    199       this by editing <filename>~/.fluxbox/theme</filename> with a text editor
    200       and altering it so that it names a suitable font.</para>
     235      <para>
     236        In some locales the font specified in the theme may not contain the
     237        needed characters. This results in menus with blank items. You can fix
     238        this by editing <filename>~/.fluxbox/theme</filename> with a text
     239        editor and altering it so that it names a suitable font.
     240      </para>
    201241
    202242    </sect3>
     
    228268        <term><command>fluxbox</command></term>
    229269        <listitem>
    230           <para>is a window manager for <application>X11</application> based
    231           on <application>Blackbox</application> 0.61.0.</para>
     270          <para>
     271            is a window manager for <application>X11</application> based
     272            on <application>Blackbox</application> 0.61.0.
     273          </para>
    232274          <indexterm zone="fluxbox fluxbox-prog">
    233275            <primary sortas="b-fluxbox">fluxbox</primary>
     
    239281        <term><command>fbsetbg</command></term>
    240282        <listitem>
    241           <para>is a utility that sets the background image. It requires one
    242           of the following at runtime:
    243           <command>Esetroot</command>, <command>wmsetbg</command>,
    244           <xref linkend="feh-prog"/>, <command>hsetroot</command>,
    245           <command>chbg</command>, <xref linkend="display"/>,
    246           <command>qiv</command>, <command>xv</command>,
    247           <command>xsri</command>, <command>xli</command>, or <command>xsetbg</command>.
    248           It also requires <xref linkend="which-prog"/> if <command>Esetroot</command> is
    249           found.</para>
     283          <para>
     284            is a utility that sets the background image. It requires one
     285            of the following at runtime:
     286            <command>Esetroot</command>, <command>wmsetbg</command>,
     287            <xref linkend="feh-prog"/>, <command>hsetroot</command>,
     288            <command>chbg</command>, <xref linkend="display"/>,
     289            <command>qiv</command>, <command>xv</command>,
     290            <command>xsri</command>, <command>xli</command>, or
     291            <command>xsetbg</command>. It also requires <xref
     292            linkend="which-prog"/> if <command>Esetroot</command> is found.
     293          </para>
    250294          <indexterm zone="fluxbox fbsetbg">
    251295            <primary sortas="b-fbsetbg">fbsetbg</primary>
     
    257301        <term><command>fbsetroot</command></term>
    258302        <listitem>
    259           <para>is a utility to change root window appearance based on the
    260           <application>Blackbox</application> application bsetroot.</para>
     303          <para>
     304            is a utility to change root window appearance based on the
     305            <application>Blackbox</application> application bsetroot.
     306          </para>
    261307          <indexterm zone="fluxbox fbsetroot">
    262308            <primary sortas="b-fbsetroot">fbsetroot</primary>
     
    268314        <term><command>fluxbox-generate_menu</command></term>
    269315        <listitem>
    270           <para>is a utility that generates a menu by scanning your
    271           <envar>PATH</envar>.</para>
     316          <para>
     317            is a utility that generates a menu by scanning your
     318            <envar>PATH</envar>.
     319          </para>
    272320          <indexterm zone="fluxbox fluxbox-generate_menu">
    273321            <primary sortas="b-fluxbox-generate_menu">fluxbox-generate_menu</primary>
     
    279327        <term><command>startfluxbox</command></term>
    280328        <listitem>
    281           <para>is a session startup script that allows for command
    282           executions prior to <command>fluxbox</command> starting.</para>
     329          <para>
     330            is a session startup script that allows for command
     331            executions prior to <command>fluxbox</command> starting.
     332          </para>
    283333          <indexterm zone="fluxbox startfluxbox">
    284334            <primary sortas="b-startfluxbox">startfluxbox</primary>
     
    290340        <term><command>fbrun</command></term>
    291341        <listitem>
    292           <para>displays a run dialog window.</para>
     342          <para>
     343            displays a run dialog window.
     344          </para>
    293345          <indexterm zone="fluxbox fbrun">
    294346            <primary sortas="b-fbrun">fbrun</primary>
     
    300352        <term><command>fluxbox-remote</command></term>
    301353        <listitem>
    302           <para>provides command line access to key commands for
    303           <application>Fluxbox</application>.</para>
     354          <para>
     355            provides command line access to key commands for
     356            <application>Fluxbox</application>.
     357          </para>
    304358          <indexterm zone="fluxbox fluxbox-remote">
    305359            <primary sortas="b-fluxbox-remote">fluxbox-remote</primary>
Note: See TracChangeset for help on using the changeset viewer.