Skip to content

Commit

Permalink
adding new qubes.LockScreen and cooresponding policy file for issue:
Browse files Browse the repository at this point in the history
  • Loading branch information
maltfield committed Jun 15, 2020
1 parent a230a72 commit 3c623cc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
11 changes: 11 additions & 0 deletions qubes-rpc-policy/qubes.LockScreen.policy
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Note that policy parsing stops at the first match,
## so adding anything below "$anyvm $anyvm action" line will have no effect

## Please use a single # to start your custom comments

# WARNING: The qubes.ConnectTCP service is dangerous and allows any
# qube to access any other qube TCP port. It should be restricted
# only to restricted qubes. This is why the default policy is 'deny'

# Example of policy: mytcp-client @default allow,target=mytcp-server
sys-usb dom0 allow
2 changes: 2 additions & 0 deletions qubes-rpc/qubes.LockScreen
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
DISPLAY=:0 xscreensaver-command -lock

0 comments on commit 3c623cc

Please sign in to comment.