~ubuntu-branches/ubuntu/utopic/screen-resolution-extra/utopic

« back to all changes in this revision

Viewing changes to screenresolution-mechanism.policy.in

  • Committer: Package Import Robot
  • Author(s): Alberto Milone
  • Date: 2013-11-08 18:03:51 UTC
  • mfrom: (22.1.1)
  • Revision ID: package-import@ubuntu.com-20131108180351-xh1zpolmn8pudiru
Tags: 0.16
* nvidia-prime.py, screenresolution-mechanism.py,
  screenresolution-mechanism.policy.in, setup.py:
  - Add action and mechanism for Nvidia PRIME.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
    </defaults>
30
30
  </action>
31
31
 
 
32
  <action id="com.ubuntu.screenresolution.mechanism.prime">
 
33
    <_description>Enable or disable the NVIDIA GPU with PRIME</_description>
 
34
    <_message>Enabling or disabling the NVIDIA GPU requires privileges.</_message>
 
35
    <defaults>
 
36
      <allow_inactive>no</allow_inactive>
 
37
      <allow_active>auth_admin_keep</allow_active>
 
38
    </defaults>
 
39
  </action>
 
40
 
32
41
</policyconfig>