mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-29 22:20:21 +00:00
fix: Remove SteamVR polkit waiting more proper solution
This commit is contained in:
parent
82390e3d1b
commit
b61a2c48b8
@ -1,10 +0,0 @@
|
||||
/* Allow members of the wheel group to execute the defined actions
|
||||
* without password authentication, similar to "sudo NOPASSWD:"
|
||||
*/
|
||||
polkit.addRule(function(action, subject) {
|
||||
if ((action.id == "org.chimeraos.steamvr.pkexec") &&
|
||||
subject.isInGroup("wheel"))
|
||||
{
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE policyconfig PUBLIC
|
||||
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
|
||||
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
|
||||
<policyconfig>
|
||||
<action id="org.chimeraos.steamvr.pkexec">
|
||||
<message>Authentication is required to change steamvr compositor capabilities</message>
|
||||
<defaults>
|
||||
<allow_any>no</allow_any>
|
||||
<allow_inactive>no</allow_inactive>
|
||||
<allow_active>yes</allow_active>
|
||||
</defaults>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/setcap</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.argv1">CAP_SYS_NICE=eip</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.argv2">/home/gamer/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrcompositor-launcher</annotate>
|
||||
</action>
|
||||
</policyconfig>
|
Loading…
x
Reference in New Issue
Block a user