Ignore:
Timestamp:
03/21/2020 11:02:56 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:
baac59c
Parents:
bdfc854
Message:

Format the x/installing chapter

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/installing/xinit.xml

    rbdfc854 r71df408  
    3030    <title>Introduction to xinit</title>
    3131
    32     <para>The <application>xinit</application> package contains a usable script
    33     to start the xserver.</para>
     32    <para>
     33      The <application>xinit</application> package contains a usable script
     34      to start the xserver.
     35    </para>
    3436
    3537    &not-katamari;
     
    4042    <itemizedlist spacing="compact">
    4143      <listitem>
    42         <para>Download (HTTP): <ulink url="&xinit-download-http;"/></para>
    43       </listitem>
    44       <listitem>
    45         <para>Download (FTP): <ulink url="&xinit-download-ftp;"/></para>
    46       </listitem>
    47       <listitem>
    48         <para>Download MD5 sum: &xinit-md5sum;</para>
    49       </listitem>
    50       <listitem>
    51         <para>Download size: &xinit-size;</para>
    52       </listitem>
    53       <listitem>
    54         <para>Estimated disk space required: &xinit-buildsize;</para>
    55       </listitem>
    56       <listitem>
    57         <para>Estimated build time: &xinit-time;</para>
     44        <para>
     45          Download (HTTP): <ulink url="&xinit-download-http;"/>
     46        </para>
     47      </listitem>
     48      <listitem>
     49        <para>
     50          Download (FTP): <ulink url="&xinit-download-ftp;"/>
     51        </para>
     52      </listitem>
     53      <listitem>
     54        <para>
     55          Download MD5 sum: &xinit-md5sum;
     56        </para>
     57      </listitem>
     58      <listitem>
     59        <para>
     60          Download size: &xinit-size;
     61        </para>
     62      </listitem>
     63      <listitem>
     64        <para>
     65          Estimated disk space required: &xinit-buildsize;
     66        </para>
     67      </listitem>
     68      <listitem>
     69        <para>
     70          Estimated build time: &xinit-time;
     71        </para>
    5872      </listitem>
    5973    </itemizedlist>
     
    8296    <title>Installation of xinit</title>
    8397
    84     <para>Install <application>xinit</application> by running the
    85     following commands:</para>
     98    <para>
     99      Install <application>xinit</application> by running the
     100      following commands:
     101    </para>
    86102
    87103<screen><userinput>./configure $XORG_CONFIG --with-xinitdir=/etc/X11/app-defaults &amp;&amp;
    88104make</userinput></screen>
    89105
    90     <para>This package does not come with a test suite.</para>
    91 
    92     <para>Now, as the <systemitem class="username">root</systemitem>
    93     user:</para>
     106    <para>
     107      This package does not come with a test suite.
     108    </para>
     109
     110    <para>
     111      Now, as the <systemitem class="username">root</systemitem> user:
     112    </para>
    94113
    95114<screen role="root"><userinput>make install &amp;&amp;
     
    98117    <note revision='sysv'>
    99118
    100       <para>If starting Xorg from the command line, the default instructions
    101       above starts Xorg on the current virtual terminal.  It may be convenient
    102       to see Xorg and associated application messages on the current virtual
    103       terminal, normally tty1, and start the graphical environment on the first
    104       available unused virtual terminal, normally tty7.  To do this, set the suid bit
    105       on the Xorg application as the  <systemitem
    106       class="username">root</systemitem> user:</para>
     119      <para>
     120        If starting Xorg from the command line, the default instructions
     121        above starts Xorg on the current virtual terminal.  It may be
     122        convenient to see Xorg and associated application messages on the
     123        current virtual terminal, normally tty1, and start the graphical
     124        environment on the first available unused virtual terminal, normally
     125        tty7.  To do this, set the suid bit on the Xorg application as the
     126        <systemitem class="username">root</systemitem> user:
     127      </para>
    107128     
    108129<screen role="nodump"><userinput>chmod u+s $XORG_PREFIX/libexec/Xorg</userinput></screen>
    109130
    110       <para>At this point you can start Xorg on virtual terminal 7 with
    111       <command>startx &lt;client arguments&gt; -- vt7</command>.  Now
    112       you can toggle between tty1 and tty7 with the Ctrl-Alt-F1 and
    113       Ctrl-Alt-F7 key combinations.</para>
     131      <para>
     132        At this point you can start Xorg on virtual terminal 7 with
     133        <command>startx &lt;client arguments&gt; -- vt7</command>.  Now
     134        you can toggle between tty1 and tty7 with the Ctrl-Alt-F1 and
     135        Ctrl-Alt-F7 key combinations.
     136      </para>
    114137     
    115       <para>To automatically start Xorg on the first available virtual terminal,
    116       modify the <command>startx</command> script as the  <systemitem
    117       class="username">root</systemitem> user with:</para>
     138      <para>
     139        To automatically start Xorg on the first available virtual terminal,
     140        modify the <command>startx</command> script as the  <systemitem
     141        class="username">root</systemitem> user with:
     142      </para>
    118143     
    119144<screen role="nodump"><userinput>sed -e '/$serverargs $vtarg/ s/serverargs/: #&amp;/' $XORG_PREFIX/bin/startx</userinput></screen>
    120145
    121       <para>After this change, the virtual terminal does not need to be
    122       specified on the startx command line.</para>
     146      <para>
     147        After this change, the virtual terminal does not need to be
     148        specified on the startx command line.
     149      </para>
    123150
    124151    </note>
     
    149176        <term><command>startx</command></term>
    150177        <listitem>
    151           <para>initializes an X session.</para>
     178          <para>
     179            initializes an X session.
     180          </para>
    152181          <indexterm zone="xinit startx">
    153182            <primary sortas="b-startx">startx</primary>
     
    159188        <term><command>xinit</command></term>
    160189        <listitem>
    161           <para>is the X Window System initializer.</para>
     190          <para>
     191            is the X Window System initializer.
     192          </para>
    162193          <indexterm zone="xinit xinit">
    163194            <primary sortas="b-xinit">xinit</primary>
Note: See TracChangeset for help on using the changeset viewer.