nightmorph 10/12/24 08:39:52 Modified: openbox.xml Log: add policykit stuff, bug 349480
Revision Changes Path 1.11 xml/htdocs/doc/en/openbox.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/openbox.xml?rev=1.11&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/openbox.xml?rev=1.11&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/openbox.xml?r1=1.10&r2=1.11 Index: openbox.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/openbox.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- openbox.xml 2 Sep 2010 08:20:43 -0000 1.10 +++ openbox.xml 24 Dec 2010 08:39:51 -0000 1.11 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openbox.xml,v 1.10 2010/09/02 08:20:43 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openbox.xml,v 1.11 2010/12/24 08:39:51 nightmorph Exp $ --> <guide> <title>The Openbox Configuration HOWTO</title> @@ -21,8 +21,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>3</version> -<date>2010-09-02</date> +<version>4</version> +<date>2010-12-24</date> <chapter> <title>Introduction</title> @@ -100,8 +100,9 @@ <note> If you experience problems with automounting, or if you use dbus and ConsoleKit, -you may want to put <c>exec ck-launch-session dbus-launch openbox-session</c> in -your <path>.xinitrc</path> instead of the default mentioned above. +you may want to put <c>exec ck-launch-session dbus-launch --sh-syntax +--exit-with-session openbox-session</c> in your <path>.xinitrc</path> instead of +the default mentioned above. </note> <note> @@ -371,6 +372,37 @@ </body> </section> <section> +<title>Configuring PolicyKit</title> +<body> + +<p> +Many applications depend on the <uri +link="http://hal.freedesktop.org/docs/PolicyKit">PolicyKit</uri> authentication +framework. You may need a PolicyKit agent, such as <c>polkit-gnome</c>, running +in your Openbox session. +</p> + +<p> +First, install the agent: +</p> + +<pre caption="Installing PolicyKit"> +# <i>emerge polkit-gnome</i> +</pre> + +<p> +Now configure PolicyKit to start automatically when you login to Openbox. Add +the following line to <path>~/.config/openbox/autostart</path> (for a single +user) or <path>/etc/xdg/openbox/autostart.sh</path> (for all users): +</p> + +<pre caption="Start PolicyKit automatically"> +sleep 1 && /usr/libexec/polkit-gnome-authentication-agent-1 & +</pre> + +</body> +</section> +<section> <title>Setting the background</title> <body>
