Advertisement
Kimarite

com.ubuntu.screen-resolution-extra.policy (Ubuntu 24.04)

May 18th, 2024
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | Software | 0 0
  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. <vendor>Nvidia Settings</vendor>
  7. <vendor_url>https://wiki.ubuntu.com/NvidiaSettings</vendor_url>
  8. <icon_name>nvidia-settings</icon_name>
  9.  
  10. <action id="com.ubuntu.screen-resolution-extra.root-display">
  11. <description gettext-domain="screen-resolution-extra">Save Display Configuration</description>
  12. <message gettext-domain="screen-resolution-extra">Authentication is required to save the current display configuration</message>
  13. <annotate key="org.freedesktop.policykit.exec.path">/usr/share/screen-resolution-extra/nvidia-polkit</annotate>
  14.  
  15. <defaults>
  16. <allow_any>auth_admin</allow_any>
  17. <allow_inactive>auth_admin</allow_inactive>
  18. <allow_active>auth_admin</allow_active>
  19. </defaults>
  20. </action>
  21.  
  22. <action id="com.ubuntu.screen-resolution-extra.root-prime">
  23. <description gettext-domain="screen-resolution-extra">Enable or disable the NVIDIA GPU with PRIME</description>
  24. <message gettext-domain="screen-resolution-extra">Authentication is required to save the current PRIME configuration</message>
  25. <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/prime-select</annotate>
  26.  
  27. <defaults>
  28. <allow_any>auth_admin</allow_any>
  29. <allow_inactive>auth_admin</allow_inactive>
  30. <allow_active>auth_admin</allow_active>
  31. </defaults>
  32. </action>
  33.  
  34. </policyconfig>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement