mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 15:12:11 +08:00
remove weird role="user" attributes in openbox, and add a remap attribute to
LVM2 git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21906 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
e915fecbfc
commit
7e5a3eca94
@ -159,7 +159,7 @@ unset SAVEPATH</userinput></screen>
|
||||
as the <systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>make -C tools install_tools_dynamic &&
|
||||
<screen role="root" remap="test"><userinput>make -C tools install_tools_dynamic &&
|
||||
make -C udev install &&
|
||||
make -C libdm install</userinput></screen>
|
||||
|
||||
|
@ -194,7 +194,7 @@ make</userinput></screen>
|
||||
edit it:
|
||||
</para>
|
||||
|
||||
<screen role="user"><userinput>cp -rf /etc/xdg/openbox ~/.config</userinput></screen>
|
||||
<screen><userinput>cp -rf /etc/xdg/openbox ~/.config</userinput></screen>
|
||||
<para>
|
||||
|
||||
<filename>~/.config/openbox/menu.xml</filename> can be edited with a
|
||||
@ -228,7 +228,7 @@ make</userinput></screen>
|
||||
available themes with the command:
|
||||
</para>
|
||||
|
||||
<screen role="user"><userinput>ls -d /usr/share/themes/*/openbox-3 | sed 's#.*es/##;s#/o.*##'</userinput></screen>
|
||||
<screen role="nodump"><userinput>ls -d /usr/share/themes/*/openbox-3 | sed 's#.*es/##;s#/o.*##'</userinput></screen>
|
||||
</sect3>
|
||||
|
||||
<sect3 id="openbox-init">
|
||||
@ -239,7 +239,7 @@ make</userinput></screen>
|
||||
<application>Xorg</application>:
|
||||
</para>
|
||||
|
||||
<screen role="user"><userinput>echo openbox > ~/.xinitrc</userinput></screen>
|
||||
<screen><userinput>echo openbox > ~/.xinitrc</userinput></screen>
|
||||
|
||||
<para>
|
||||
If you want to set a background image to your desktop you can use
|
||||
@ -247,7 +247,7 @@ make</userinput></screen>
|
||||
openbox:
|
||||
</para>
|
||||
|
||||
<screen role="user"><userinput>cat > ~/.xinitrc << "EOF"
|
||||
<screen role="nodump"><userinput>cat > ~/.xinitrc << "EOF"
|
||||
<literal>display -backdrop -window root /path/to/beautiful/picture.jpeg
|
||||
exec openbox</literal>
|
||||
EOF</userinput></screen>
|
||||
@ -258,7 +258,7 @@ EOF</userinput></screen>
|
||||
random each time you <command>xinit</command>:
|
||||
</para>
|
||||
|
||||
<screen role="user"><userinput>cat > ~/.xinitrc << "EOF"
|
||||
<screen role="nodump"><userinput>cat > ~/.xinitrc << "EOF"
|
||||
<literal># make an array which lists the pictures:
|
||||
picture_list=(~/.config/backgrounds/*)
|
||||
# create a random integer between 0 and the number of pictures:
|
||||
@ -276,7 +276,7 @@ EOF</userinput></screen>
|
||||
<xref linkend="dbus"/>:
|
||||
</para>
|
||||
|
||||
<screen role="user"><userinput>cat > ~/.xinitrc << "EOF"
|
||||
<screen role="nodump"><userinput>cat > ~/.xinitrc << "EOF"
|
||||
<literal>. /etc/profile
|
||||
picture_list=(~/.config/backgrounds/*)
|
||||
random_number=$(( ${RANDOM} % ${#picture_list[*]} ))
|
||||
|
Loading…
Reference in New Issue
Block a user