From 6c3a7cc06f77420a71a891fb3d5626d6b6b43be2 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 30 May 2012 19:25:32 +0000 Subject: [PATCH] Reordered xfce core packages. Added dbus instructions to xfce4-session. Added a pulse user to pulseaudio instructions for dbus communications. git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10253 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- introduction/welcome/changelog.xml | 9 +++++++++ multimedia/libdriv/pulseaudio.xml | 11 +++++++++++ postlfs/config/users.xml | 1 + postlfs/security/sudo.xml | 3 +-- xfce/core/core.xml | 14 ++++++++++---- xfce/core/xfce4-session.xml | 8 ++++++++ 6 files changed, 40 insertions(+), 6 deletions(-) diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index a1fd59fdc9..572e4c4a1a 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -44,6 +44,15 @@ May 30th, 2012 + + [bdubbs] - Reordered xfce core packages. Added + dbus instructions to xfce4-session. Fixes + #3384. + + + [bdubbs] - Added a pulse user to pulseaudio instructions + for dbus communications. + [abenton] - Updated LibXML2 to 2.8.0. diff --git a/multimedia/libdriv/pulseaudio.xml b/multimedia/libdriv/pulseaudio.xml index 5400b6ec82..b0f1e88443 100644 --- a/multimedia/libdriv/pulseaudio.xml +++ b/multimedia/libdriv/pulseaudio.xml @@ -29,6 +29,17 @@ Introduction to PulseAudio + + In order for PulseAudio to communicate + properly with D-BUS, create a unique user. As the root user, run: + + + +groupadd -g 58 pulse && +useradd -c 'Pulseaudio User' -d /dev/null -g pulse \ + -s /bin/false -u 58 pulse + PulseAudio is a sound system for POSIX OSes, meaning that it is a proxy for sound applications. It allows you to do diff --git a/postlfs/config/users.xml b/postlfs/config/users.xml index f99f3bb2f4..bdec264870 100644 --- a/postlfs/config/users.xml +++ b/postlfs/config/users.xml @@ -98,6 +98,7 @@ stunnel 5151 svn 5656 svntest 57 + pulse 5858 games 6060 kvm 61 wireshark 62 diff --git a/postlfs/security/sudo.xml b/postlfs/security/sudo.xml index 703f3d2fcc..c2ba5a3d70 100644 --- a/postlfs/security/sudo.xml +++ b/postlfs/security/sudo.xml @@ -83,8 +83,7 @@ Install sudo by running the following commands: - -./configure --prefix=/usr \ +./configure --prefix=/usr \ --libexecdir=/usr/lib/sudo \ --docdir=/usr/share/doc/sudo-&sudo-version; \ --with-all-insults \ diff --git a/xfce/core/core.xml b/xfce/core/core.xml index ca2961d974..6d8c422220 100644 --- a/xfce/core/core.xml +++ b/xfce/core/core.xml @@ -28,12 +28,19 @@ $Date$ the optimal personal working environment. + + Build Xfce core packages in the order prsented in the book for the + easiest resolution of dependencies. + + + + + + - - @@ -41,10 +48,9 @@ $Date$ - - + diff --git a/xfce/core/xfce4-session.xml b/xfce/core/xfce4-session.xml index 6ee3433917..21c1f42145 100644 --- a/xfce/core/xfce4-session.xml +++ b/xfce/core/xfce4-session.xml @@ -127,6 +127,14 @@ make echo exec xfce4-session > ~/.xinitrc + + If you have installed and want to use it within + Xfce4, ensure the D-BUS daemon is started and + change the ~/.xinitrc to read: + + +echo "exec dbus-launch --exit-with-session xfce4-session" > ~/.xinitrc + To determine who can shut down or reboot your computer, Xfce4 Session has a run time dependency on