This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!

.policy file for using Bleachbit with pkexec

By: msx on Jan 30th, 2013  |  syntax: None  |  size: 0.71 KB  |  views: 82  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE policyconfig PUBLIC
  3.  "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
  4.  "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
  5. <policyconfig>
  6.  
  7.   <action id="org.archlinux.pkexec.bleachbit">
  8.     <message>Authentication is required to run Bleachbit</message>
  9.     <icon_name>bleachbit</icon_name>
  10.     <defaults>
  11.       <allow_any>auth_admin</allow_any>
  12.       <allow_inactive>auth_admin</allow_inactive>
  13.       <allow_active>auth_admin</allow_active>
  14.     </defaults>
  15.     <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/bleachbit</annotate>
  16.     <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
  17.   </action>
  18.  
  19. </policyconfig>
clone this paste RAW Paste Data