Skip to content

A hardened Linux desktop, rebuilt from scratch, with your Windows apps built in. Free and open source.

2.1 KB
Raw Blame
<?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>
  <vendor>Wild OS</vendor>
  <vendor_url>https://wildos.io</vendor_url>
  <!-- The person at the PC opens Windows apps without a password: starting,
       pausing and saving Windows mode is what opening an app does. Remote
       and inactive sessions need the administrator. -->
  <action id="org.wildos.winmode.use">
    <description>Use Windows mode</description>
    <message>Opening Windows apps from here needs the administrator password.</message>
    <icon_name>wildos-windows-app</icon_name>
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>
  <!-- Settings' "Use in Windows" switch on a USB device. Windows gets the
       device itself, not just its files, so it takes an administrator.
       Giving one back and the remembered devices going to Windows on
       their own afterwards need nothing. -->
  <action id="org.wildos.winmode.usb">
    <description>Give a USB device to Windows</description>
    <message>Let Windows use this USB device? It goes to Windows whenever Windows mode is running.</message>
    <icon_name>wildos-windows-app</icon_name>
    <defaults>
      <allow_any>no</allow_any>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
  </action>
  <!-- Settings' "Remove Windows mode": deletes Windows and everything
       installed in it, so it takes an administrator every time. -->
  <action id="org.wildos.winmode.remove">
    <description>Remove Windows mode</description>
    <message>Remove Windows mode? Windows and the programs in it are deleted.</message>
    <icon_name>wildos-windows-app</icon_name>
    <defaults>
      <allow_any>no</allow_any>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin</allow_active>
    </defaults>
  </action>
</policyconfig>