com.feralinteractive.GameMode.policy.in 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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.0/policyconfig.dtd">
  5. <policyconfig>
  6. <!--
  7. Copyright (c) 2017-2019, Feral Interactive
  8. All rights reserved.
  9. -->
  10. <vendor>Feral GameMode Activation</vendor>
  11. <vendor_url>http://www.feralinteractive.com</vendor_url>
  12. <action id="com.feralinteractive.GameMode.governor-helper">
  13. <description>Modify the CPU governor</description>
  14. <message>Authentication is required to modify the CPU governor</message>
  15. <defaults>
  16. <allow_any>no</allow_any>
  17. <allow_inactive>no</allow_inactive>
  18. <allow_active>yes</allow_active>
  19. </defaults>
  20. <annotate key="org.freedesktop.policykit.exec.path">@LIBEXECDIR@/cpugovctl</annotate>
  21. </action>
  22. <action id="com.feralinteractive.GameMode.gpu-helper">
  23. <description>Modify the GPU clock states</description>
  24. <message>Authentication is required to modify the GPU clock states</message>
  25. <defaults>
  26. <allow_any>no</allow_any>
  27. <allow_inactive>no</allow_inactive>
  28. <allow_active>yes</allow_active>
  29. </defaults>
  30. <annotate key="org.freedesktop.policykit.exec.path">@LIBEXECDIR@/gpuclockctl</annotate>
  31. <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
  32. </action>
  33. </policyconfig>