Author: bdubbs
Date: 2012-05-30 13:25:32 -0600 (Wed, 30 May 2012)
New Revision: 10253

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/multimedia/libdriv/pulseaudio.xml
   trunk/BOOK/postlfs/config/users.xml
   trunk/BOOK/postlfs/security/sudo.xml
   trunk/BOOK/xfce/core/core.xml
   trunk/BOOK/xfce/core/xfce4-session.xml
Log:
Reordered xfce core packages. 
Added dbus instructions to xfce4-session.

Added a pulse user to pulseaudio instructions
for dbus communications.


Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       2012-05-30 18:27:15 UTC 
(rev 10252)
+++ trunk/BOOK/introduction/welcome/changelog.xml       2012-05-30 19:25:32 UTC 
(rev 10253)
@@ -45,6 +45,15 @@
       <para>May 30th, 2012</para>
       <itemizedlist>
         <listitem>
+          <para>[bdubbs] - Reordered xfce core packages. Added 
+          dbus instructions to xfce4-session.  Fixes
+          <ulink url="&blfs-ticket-root;3384">#3384</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Added a pulse user to pulseaudio instructions
+          for dbus communications.</para>
+        </listitem>
+        <listitem>
           <para>[abenton] - Updated LibXML2 to 2.8.0.</para>
         </listitem>
         <listitem>

Modified: trunk/BOOK/multimedia/libdriv/pulseaudio.xml
===================================================================
--- trunk/BOOK/multimedia/libdriv/pulseaudio.xml        2012-05-30 18:27:15 UTC 
(rev 10252)
+++ trunk/BOOK/multimedia/libdriv/pulseaudio.xml        2012-05-30 19:25:32 UTC 
(rev 10253)
@@ -30,6 +30,17 @@
     <title>Introduction to PulseAudio</title>
 
     <para>
+      In order for <application>PulseAudio</application> to communicate
+      properly with D-BUS, create a unique user.  As the <systemitem 
+      class="username">root</systemitem> user, run:
+    </para> 
+
+<screen role="root"><userinput>
+groupadd -g 58 pulse &amp;&amp;
+useradd -c 'Pulseaudio User' -d /dev/null -g pulse \
+   -s /bin/false -u 58 pulse</userinput></screen>
+
+    <para>
       <application>PulseAudio</application> is a sound system for POSIX OSes, 
       meaning that it is a proxy for sound applications. It allows you to do 
       advanced operations on your sound data as it passes between your 
application 

Modified: trunk/BOOK/postlfs/config/users.xml
===================================================================
--- trunk/BOOK/postlfs/config/users.xml 2012-05-30 18:27:15 UTC (rev 10252)
+++ trunk/BOOK/postlfs/config/users.xml 2012-05-30 19:25:32 UTC (rev 10253)
@@ -98,6 +98,7 @@
         <row><entry>stunnel </entry><entry>51</entry><entry>51</entry></row>
         <row><entry>svn     </entry><entry>56</entry><entry>56</entry></row>
         <row><entry>svntest </entry><entry>  </entry><entry>57</entry></row>
+        <row><entry>pulse   </entry><entry>58</entry><entry>58</entry></row>
         <row><entry>games   </entry><entry>60</entry><entry>60</entry></row>
         <row><entry>kvm     </entry><entry>  </entry><entry>61</entry></row>
         <row><entry>wireshark</entry><entry> </entry><entry>62</entry></row>

Modified: trunk/BOOK/postlfs/security/sudo.xml
===================================================================
--- trunk/BOOK/postlfs/security/sudo.xml        2012-05-30 18:27:15 UTC (rev 
10252)
+++ trunk/BOOK/postlfs/security/sudo.xml        2012-05-30 19:25:32 UTC (rev 
10253)
@@ -83,8 +83,7 @@
     <para>Install <application>sudo</application> by running
     the following commands:</para>
 
-<screen><userinput>
-./configure --prefix=/usr                   \
+<screen><userinput>./configure --prefix=/usr                   \
             --libexecdir=/usr/lib/sudo      \
             --docdir=/usr/share/doc/sudo-&sudo-version; \
             --with-all-insults              \

Modified: trunk/BOOK/xfce/core/core.xml
===================================================================
--- trunk/BOOK/xfce/core/core.xml       2012-05-30 18:27:15 UTC (rev 10252)
+++ trunk/BOOK/xfce/core/core.xml       2012-05-30 19:25:32 UTC (rev 10253)
@@ -28,12 +28,19 @@
     the optimal personal working environment.
   </para>
 
+  <para>
+    Build Xfce core packages in the order prsented in the book for the
+    easiest resolution of dependencies.
+  </para>
+
+
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="libxfce4util.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="xfconf.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="libxfce4ui.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="exo.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="garcon.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="gtk-xfce-engine.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="libwnck2.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="libxfce4ui.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="libxfce4util.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="libxfcegui4.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="thunar.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="thunar-volman.xml"/>
@@ -41,10 +48,9 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="xfce4-appfinder.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="xfce4-panel.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="xfce4-power-manager.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="xfce4-session.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="xfce4-settings.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="xfconf.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="xfdesktop.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="xfwm4.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="xfce4-session.xml"/>
 
 </chapter>

Modified: trunk/BOOK/xfce/core/xfce4-session.xml
===================================================================
--- trunk/BOOK/xfce/core/xfce4-session.xml      2012-05-30 18:27:15 UTC (rev 
10252)
+++ trunk/BOOK/xfce/core/xfce4-session.xml      2012-05-30 19:25:32 UTC (rev 
10253)
@@ -128,6 +128,14 @@
 <screen><userinput>echo exec xfce4-session &gt; ~/.xinitrc</userinput></screen>
 
     <para>
+      If you have installed <xref linkend='dbus'/> and want to use it within
+      <application>Xfce4</application>, ensure the D-BUS daemon is started and
+      change the <filename>~/.xinitrc</filename> to read:
+    </para>
+
+<screen><userinput>echo "exec dbus-launch --exit-with-session xfce4-session" 
&gt; ~/.xinitrc</userinput></screen>
+    
+    <para>
       To determine who can shut down or reboot your computer,
       <application>Xfce4 Session</application> has a run time dependency on
       <xref linkend="sudo"/>. To configure <application>Sudo</application> so

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to