Author: randy
Date: 2010-12-05 11:45:16 -0700 (Sun, 05 Dec 2010)
New Revision: 8731
Modified:
trunk/BOOK/gnome/core/gconf.xml
trunk/BOOK/introduction/welcome/changelog.xml
Log:
Added commands and explanations to the GConf package for installations when
/opt/gnome is not /usr
Modified: trunk/BOOK/gnome/core/gconf.xml
===================================================================
--- trunk/BOOK/gnome/core/gconf.xml 2010-12-05 15:04:21 UTC (rev 8730)
+++ trunk/BOOK/gnome/core/gconf.xml 2010-12-05 18:45:16 UTC (rev 8731)
@@ -109,9 +109,13 @@
<para>Still as the <systemitem class="username">root</systemitem> user,
configure <application>D-Bus</application> so that it can search for
- <application>GNOME</application> installed .conf files (This is assuming
- that system-local.conf does not exist yet. If it does, then you will need
- to merge in the changes):</para>
+ <application>GNOME</application> installed
+ <filename class='extension'>.conf</filename> files (This is assuming
+ that <filename>/etc/dbus-1/system-local.conf</filename> does not exist yet.
+ If it does, then you will need to merge in the changes). If
+ <envar>$GNOME_PREFIX</envar> is not
+ <filename class='directory'>/usr</filename>, you should uncomment the
+ <quote>servicedir</quote> line:</para>
<screen role="root"><userinput>cat > /etc/dbus-1/system-local.conf <<
"EOF"
<literal><!DOCTYPE busconfig PUBLIC
@@ -122,10 +126,42 @@
<!-- Search for .conf files in &gnome-etc-dir;/dbus-1/system.d -->
<includedir>&gnome-etc-dir;/dbus-1/system.d</includedir>
+ <!-- Search for .service files in
$GNOME_PREFIX/share/dbus-1/system-services -->
+ <!--
<servicedir>$GNOME_PREFIX/share/dbus-1/system-services</servicedir>
-->
+
</busconfig>
EOF</literal>
</userinput></screen>
+ <para>If <envar>$GNOME_PREFIX</envar> is not
+ <filename class='directory'>/usr</filename>, you also need to configure
+ <application>D-Bus</application> so that it can search for
+ <application>GNOME</application> installed <quote>session</quote>
+ <filename class='extension'>.service</filename> files (This is assuming
+ that <filename>/etc/dbus-1/session-local.conf</filename> does not exist
+ yet. If it does, then you will need to merge in the changes). Additionally,
+ if <application>polkit</application> is installed, create a symbolic link
+ in <filename class='directory'>/usr/share/polkit-1/actions</filename> to
+ the <quote>action</quote> file installed by
+ <application>GConf</application>. Issue the following commands as the
+ <systemitem class="username">root</systemitem> user:</para>
+
+<screen role="root"><userinput>cat > /etc/dbus-1/session-local.conf
<< "EOF"
+<literal><!DOCTYPE busconfig PUBLIC
+ "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+
+ <!-- Search for .service files in
$GNOME_PREFIX/share/dbus-1/session-services -->
+
<servicedir>$GNOME_PREFIX/share/dbus-1/session-services</servicedir>
+
+</busconfig>
+EOF</literal>
+
+ln -s -v
<envar>$GNOME_PREFIX</envar>/share/polkit-1/actions/org.gnome.gconf.defaults.policy
\
+ /usr/share/polkit-1/actions
+</userinput></screen>
+
</sect2>
<sect2 role="commands">
Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml 2010-12-05 15:04:21 UTC
(rev 8730)
+++ trunk/BOOK/introduction/welcome/changelog.xml 2010-12-05 18:45:16 UTC
(rev 8731)
@@ -45,6 +45,10 @@
<para>December 5th, 2010</para>
<itemizedlist>
<listitem>
+ <para>[randy] - Added commands and explanations to the GConf package
+ for installations when $GNOME_PREFIX is not /usr.</para>
+ </listitem>
+ <listitem>
<para>[ken] - Corrected typo in ghostscript instructions (fixes
ticket
<ulink url="&blfs-ticket-root;3211">#3211</ulink>).</para>
</listitem>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page