Author: igor
Date: Sun Jun 2 09:33:41 2013
New Revision: 11254
Log:
Openbox: formatting, mention autostart used by openbox-session
Modified:
trunk/BOOK/postlfs/security/sudo.xml
trunk/BOOK/x/wm/openbox.xml
Modified: trunk/BOOK/postlfs/security/sudo.xml
==============================================================================
--- trunk/BOOK/postlfs/security/sudo.xml Sun Jun 2 07:30:53 2013
(r11253)
+++ trunk/BOOK/postlfs/security/sudo.xml Sun Jun 2 09:33:41 2013
(r11254)
@@ -135,13 +135,13 @@
<!--
<para>
- <option>- -without-pam</option>: This switch disables the use of
+ <option>--without-pam</option>: This switch disables the use of
<application>PAM</application> authentication. Omit if you have
<application>Linux PAM</application> installed.
</para>
<para>
- <option>- -without-sendmail</option>: This switch disables the use of
+ <option>--without-sendmail</option>: This switch disables the use of
sendmail. Remove if you have a sendmail compatible MTA.
</para>
Modified: trunk/BOOK/x/wm/openbox.xml
==============================================================================
--- trunk/BOOK/x/wm/openbox.xml Sun Jun 2 07:30:53 2013 (r11253)
+++ trunk/BOOK/x/wm/openbox.xml Sun Jun 2 09:33:41 2013 (r11254)
@@ -71,12 +71,13 @@
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="x-window-system"/> and
- <xref linkend="pango"/> (compiled with support for libXft).
+ <xref linkend="pango"/> (compiled with support for libXft)
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
- <xref linkend="imlib2"/> (to enable icons in the right click menu).
+ <xref linkend="imlib2"/> (to enable icons in the right click menu) and
+ <ulink url="http://freedesktop.org/wiki/Software/pyxdg">PyXDG</ulink>
</para>
<para condition="html" role="usernotes">
@@ -98,8 +99,11 @@
commands:
</para>
-<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc
--disable-static \
- --docdir=/usr/share/doc/openbox-&openbox-version; &&
+<screen><userinput>./configure --prefix=/usr /
+ --libexecdir=/usr/lib/openbox /
+ --sysconfdir=/etc /
+ --docdir=/usr/share/doc/openbox-&openbox-version; /
+ --disable-static &&
make</userinput></screen>
<para>
@@ -117,21 +121,20 @@
<title>Command Explanations</title>
<para>
- <option>--sysconfdir=/etc</option>: This option puts
+ <option>--sysconfdir=/etc</option>: This option puts
<application>Openbox</application>'s configuration files in
/etc/xdg/openbox instead of /usr/etc/xdg/openbox.
</para>
<para>
- <option>--disable-static</option>: This option stops it compiling
- static versions of the libraries.
- </para>
-
- <para>
- <option>--docdir=/usr/share/doc/openbox-&openbox-version;</option>:
+ <option>--docdir=/usr/share/doc/openbox-&openbox-version;</option>:
this puts a few files in a versioned directory in
<filename class="directory">/usr/share/doc</filename>.
</para>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../../xincludes/static-libraries.xml"/>
+
</sect2>
<sect2 role="configuration">
@@ -141,11 +144,15 @@
<title>Config Files</title>
<para>
- /etc/xdg/openbox/menu.xml, /etc/xdg/openbox/rc.xml,
- ~/.config/openbox/menu.xml and ~/.config/openbox/rc.xml
+ /etc/xdg/openbox/autostart, /etc/xdg/openbox/menu.xml,
/etc/xdg/openbox/rc.xml,
+ ~/.config/openbox/autostart, ~/.config/openbox/menu.xml and
~/.config/openbox/rc.xml
</para>
<indexterm zone="openbox openbox-config">
+ <primary sortas="e-AA.autostart">~/.config/openbox/autostart</primary>
+ </indexterm>
+
+ <indexterm zone="openbox openbox-config">
<primary sortas="e-AA.menu">~/.config/openbox/menu.xml</primary>
</indexterm>
@@ -154,6 +161,10 @@
</indexterm>
<indexterm zone="openbox openbox-config">
+ <primary
sortas="e-etc-path-autostart">/etc/xdg/openbox/autostart</primary>
+ </indexterm>
+
+ <indexterm zone="openbox openbox-config">
<primary sortas="e-etc-path-menu">/etc/xdg/openbox/menu.xml</primary>
</indexterm>
@@ -226,10 +237,10 @@
openbox:
</para>
-<screen role="user"><userinput>cat > ~/.xinitrc << "HERE_DOC"
-display -backdrop -window root /path/to/beautiful/picture.jpeg
-exec openbox
-HERE_DOC</userinput></screen>
+<screen role="user"><userinput>cat > ~/.xinitrc << "EOF"
+<literal>display -backdrop -window root /path/to/beautiful/picture.jpeg
+exec openbox</literal>
+EOF</userinput></screen>
<para>
Or if you like a bit of variety, put a selection of images in a folder
@@ -237,15 +248,15 @@
random each time you <command>xinit</command>:
</para>
-<screen role="user"><userinput>cat > ~/.xinitrc << "HERE_DOC"
-# make an array which lists the pictures:
+<screen role="user"><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:
random_number=$(( ${RANDOM} % ${#picture_list[@]} ))
# display the chosen picture:
display -backdrop -window root "${picture_list[${random_number}]}"
-exec openbox
-HERE_DOC</userinput></screen>
+exec openbox</literal>
+EOF</userinput></screen>
<para>
If you like to have the numlock key set whan you start Xorg, install
@@ -254,16 +265,16 @@
<xref linkend="dbus"/>
</para>
-<screen role="user"><userinput>cat > ~/.xinitrc << "HERE_DOC"
-. /etc/profile
+<screen role="user"><userinput>cat > ~/.xinitrc << "EOF"
+<literal>. /etc/profile
picture_list=(~/.config/backgrounds/*)
random_number=$(( ${RANDOM} % ${#picture_list[*]} ))
display -backdrop -window root "${picture_list[${random_number}]}"
numlockx
eval $(dbus-launch --auto-syntax --exit-with-session)
lxpanel &
-exec openbox
-HERE_DOC</userinput></screen>
+exec openbox</literal>
+EOF</userinput></screen>
</sect3>
</sect2>
@@ -277,8 +288,9 @@
<seglistitem>
<seg>
- gdm-control, gnome-panel-control, obxprop, openbox,
- openbox-gnome-session, openbox-kde-session and openbox-session
+ gdm-control, gnome-panel-control, obxprop, openbox,
openbox-autostart,
+ openbox-gnome-session, openbox-kde-session, openbox-session and
+ openbox-xdg-autostart
</seg>
<seg>
libobrender.so and libobt.so
@@ -348,13 +360,37 @@
</listitem>
</varlistentry>
+ <varlistentry id="openbox-autostart">
+ <term><command>openbox-autostart</command></term>
+ <listitem>
+ <para>
+ is a script that runs commands and applications at Openbox startup.
+ </para>
+ <indexterm zone="openbox openbox-autostart">
+ <primary sortas="b-openbox-autostart">openbox-autostart</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="openbox-xdg-autostart">
+ <term><command>openbox-xdg-autostart</command></term>
+ <listitem>
+ <para>
+ is a script that runs xdg autostart .desktop files.
+ </para>
+ <indexterm zone="openbox openbox-xdg-autostart">
+ <primary
sortas="b-openbox-xdg-autostart">openbox-xdg-autostart</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="openbox-gnome-session">
<term><command>openbox-gnome-session</command></term>
<listitem>
<para>
is a script to launch an <application>Gnome</application> session
- with openbox as your window manager from your
- <filename>~/.xinitrc</filename>.
+ with <application>Openbox</application> as your window manager from
+ your <filename>~/.xinitrc</filename>.
</para>
<indexterm zone="openbox openbox-gnome-session">
<primary
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page