com.feralinteractive.GameMode.policy.in 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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-2025, Feral Interactive and the GameMode contributors
  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>no</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>no</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. <action id="com.feralinteractive.GameMode.cpu-helper">
  34. <description>Modify the CPU core states</description>
  35. <message>Authentication is required to modify the CPU core states</message>
  36. <defaults>
  37. <allow_any>no</allow_any>
  38. <allow_inactive>no</allow_inactive>
  39. <allow_active>no</allow_active>
  40. </defaults>
  41. <annotate key="org.freedesktop.policykit.exec.path">@LIBEXECDIR@/cpucorectl</annotate>
  42. <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
  43. </action>
  44. <action id="com.feralinteractive.GameMode.procsys-helper">
  45. <description>Modify the /proc/sys values</description>
  46. <message>Authentication is required to modify the /proc/sys/ values</message>
  47. <defaults>
  48. <allow_any>no</allow_any>
  49. <allow_inactive>no</allow_inactive>
  50. <allow_active>no</allow_active>
  51. </defaults>
  52. <annotate key="org.freedesktop.policykit.exec.path">@LIBEXECDIR@/procsysctl</annotate>
  53. <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
  54. </action>
  55. <action id="com.feralinteractive.GameMode.profile-helper">
  56. <description>Modify the platform profile</description>
  57. <message>Authentication is required to modify platform profile</message>
  58. <defaults>
  59. <allow_any>no</allow_any>
  60. <allow_inactive>no</allow_inactive>
  61. <allow_active>no</allow_active>
  62. </defaults>
  63. <annotate key="org.freedesktop.policykit.exec.path">@LIBEXECDIR@/platprofctl</annotate>
  64. <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
  65. </action>
  66. </policyconfig>