1 |
nightmorph 10/12/24 08:39:52 |
2 |
|
3 |
Modified: openbox.xml |
4 |
Log: |
5 |
add policykit stuff, bug 349480 |
6 |
|
7 |
Revision Changes Path |
8 |
1.11 xml/htdocs/doc/en/openbox.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/openbox.xml?rev=1.11&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/openbox.xml?rev=1.11&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/openbox.xml?r1=1.10&r2=1.11 |
13 |
|
14 |
Index: openbox.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/openbox.xml,v |
17 |
retrieving revision 1.10 |
18 |
retrieving revision 1.11 |
19 |
diff -u -r1.10 -r1.11 |
20 |
--- openbox.xml 2 Sep 2010 08:20:43 -0000 1.10 |
21 |
+++ openbox.xml 24 Dec 2010 08:39:51 -0000 1.11 |
22 |
@@ -1,6 +1,6 @@ |
23 |
<?xml version="1.0" encoding="UTF-8"?> |
24 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
25 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openbox.xml,v 1.10 2010/09/02 08:20:43 nightmorph Exp $ --> |
26 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openbox.xml,v 1.11 2010/12/24 08:39:51 nightmorph Exp $ --> |
27 |
|
28 |
<guide> |
29 |
<title>The Openbox Configuration HOWTO</title> |
30 |
@@ -21,8 +21,8 @@ |
31 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
32 |
<license/> |
33 |
|
34 |
-<version>3</version> |
35 |
-<date>2010-09-02</date> |
36 |
+<version>4</version> |
37 |
+<date>2010-12-24</date> |
38 |
|
39 |
<chapter> |
40 |
<title>Introduction</title> |
41 |
@@ -100,8 +100,9 @@ |
42 |
|
43 |
<note> |
44 |
If you experience problems with automounting, or if you use dbus and ConsoleKit, |
45 |
-you may want to put <c>exec ck-launch-session dbus-launch openbox-session</c> in |
46 |
-your <path>.xinitrc</path> instead of the default mentioned above. |
47 |
+you may want to put <c>exec ck-launch-session dbus-launch --sh-syntax |
48 |
+--exit-with-session openbox-session</c> in your <path>.xinitrc</path> instead of |
49 |
+the default mentioned above. |
50 |
</note> |
51 |
|
52 |
<note> |
53 |
@@ -371,6 +372,37 @@ |
54 |
</body> |
55 |
</section> |
56 |
<section> |
57 |
+<title>Configuring PolicyKit</title> |
58 |
+<body> |
59 |
+ |
60 |
+<p> |
61 |
+Many applications depend on the <uri |
62 |
+link="http://hal.freedesktop.org/docs/PolicyKit">PolicyKit</uri> authentication |
63 |
+framework. You may need a PolicyKit agent, such as <c>polkit-gnome</c>, running |
64 |
+in your Openbox session. |
65 |
+</p> |
66 |
+ |
67 |
+<p> |
68 |
+First, install the agent: |
69 |
+</p> |
70 |
+ |
71 |
+<pre caption="Installing PolicyKit"> |
72 |
+# <i>emerge polkit-gnome</i> |
73 |
+</pre> |
74 |
+ |
75 |
+<p> |
76 |
+Now configure PolicyKit to start automatically when you login to Openbox. Add |
77 |
+the following line to <path>~/.config/openbox/autostart</path> (for a single |
78 |
+user) or <path>/etc/xdg/openbox/autostart.sh</path> (for all users): |
79 |
+</p> |
80 |
+ |
81 |
+<pre caption="Start PolicyKit automatically"> |
82 |
+sleep 1 && /usr/libexec/polkit-gnome-authentication-agent-1 & |
83 |
+</pre> |
84 |
+ |
85 |
+</body> |
86 |
+</section> |
87 |
+<section> |
88 |
<title>Setting the background</title> |
89 |
<body> |