dot/xinitrc: Start policykit authentication agent if present.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 12 Jan 2010 11:20:20 +0000 (11:20 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 12 Jan 2010 11:20:20 +0000 (11:20 +0000)
This will, with luck, be more convenient than without.  Maybe this is
the wrong approach and I ought to actually run the Gnome session manager
(which might start this agent automatically).

dot/xinitrc

index da8c51c..9dc1954 100755 (executable)
@@ -122,6 +122,10 @@ start-clients () {
   ## Mail notification.
   run bginit mail-notification
 
+  ## Policykit authentication agent.
+  agent=/usr/lib/policykit-1-gnome/polkit/gnome-authentication-agent-1
+  if [ -x $agent ]; then run bginit $agent; fi
+
   ## System monitor.
   case $vnc in no) run bginit gkrellm ;; esac