diff options
author | 2020-11-02 10:30:41 +0000 | |
---|---|---|
committer | 2020-11-02 10:30:41 +0000 | |
commit | 9377a80fd6aa5f0beca44c58be19225922a53f87 (patch) | |
tree | 9b1145c812f020d9842b2224a39f066c028193d4 | |
parent | README update (diff) | |
download | firejail-9377a80fd6aa5f0beca44c58be19225922a53f87.tar.gz firejail-9377a80fd6aa5f0beca44c58be19225922a53f87.tar.zst firejail-9377a80fd6aa5f0beca44c58be19225922a53f87.zip |
Add spectacle's profile (#3717)
* Update firecfg.config
* Update disable-programs.inc
* Create spectacle.profile
-rw-r--r-- | etc/inc/disable-programs.inc | 1 | ||||
-rw-r--r-- | etc/profile-m-z/spectacle.profile | 64 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 1 |
3 files changed, 66 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 42d690c94..0b5b84e73 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -372,6 +372,7 @@ blacklist ${HOME}/.config/smuxi | |||
372 | blacklist ${HOME}/.config/snox | 372 | blacklist ${HOME}/.config/snox |
373 | blacklist ${HOME}/.config/sound-juicer | 373 | blacklist ${HOME}/.config/sound-juicer |
374 | blacklist ${HOME}/.config/specialmailcollectionsrc | 374 | blacklist ${HOME}/.config/specialmailcollectionsrc |
375 | blacklist ${HOME}/.config/spectaclerc | ||
375 | blacklist ${HOME}/.config/spotify | 376 | blacklist ${HOME}/.config/spotify |
376 | blacklist ${HOME}/.config/sqlitebrowser | 377 | blacklist ${HOME}/.config/sqlitebrowser |
377 | blacklist ${HOME}/.config/stellarium | 378 | blacklist ${HOME}/.config/stellarium |
diff --git a/etc/profile-m-z/spectacle.profile b/etc/profile-m-z/spectacle.profile new file mode 100644 index 000000000..ad39f1071 --- /dev/null +++ b/etc/profile-m-z/spectacle.profile | |||
@@ -0,0 +1,64 @@ | |||
1 | # Firejail profile for spectacle | ||
2 | # Description: Spectacle is a simple application for capturing desktop screenshots. | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include spectacle.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | # Uncomment the following lines to use sharing services. | ||
10 | #netfilter | ||
11 | #ignore net none | ||
12 | #private-etc ca-certificates,crypto-policies,pki,resolv.conf,ssl | ||
13 | #protocol unix,inet,inet6 | ||
14 | |||
15 | noblacklist ${HOME}/.config/spectaclerc | ||
16 | noblacklist ${PICTURES} | ||
17 | |||
18 | include disable-common.inc | ||
19 | include disable-devel.inc | ||
20 | include disable-exec.inc | ||
21 | include disable-interpreters.inc | ||
22 | include disable-passwdmgr.inc | ||
23 | include disable-programs.inc | ||
24 | include disable-xdg.inc | ||
25 | |||
26 | mkfile ${HOME}/.config/spectaclerc | ||
27 | whitelist ${HOME}/.config/spectaclerc | ||
28 | whitelist ${PICTURES} | ||
29 | include whitelist-common.inc | ||
30 | include whitelist-runuser-common.inc | ||
31 | include whitelist-usr-share-common.inc | ||
32 | include whitelist-var-common.inc | ||
33 | |||
34 | apparmor | ||
35 | caps.drop all | ||
36 | machine-id | ||
37 | net none | ||
38 | no3d | ||
39 | nodvd | ||
40 | nogroups | ||
41 | nonewprivs | ||
42 | noroot | ||
43 | nosound | ||
44 | notv | ||
45 | nou2f | ||
46 | novideo | ||
47 | protocol unix | ||
48 | seccomp | ||
49 | shell none | ||
50 | tracelog | ||
51 | |||
52 | disable-mnt | ||
53 | private-bin spectacle | ||
54 | private-cache | ||
55 | private-dev | ||
56 | private-etc alternatives,fonts,ld.so.conf | ||
57 | private-tmp | ||
58 | |||
59 | dbus-user filter | ||
60 | dbus-user.own org.kde.spectacle | ||
61 | dbus-user.talk org.freedesktop.FileManager1 | ||
62 | #dbus-user.talk org.kde.JobViewServer | ||
63 | #dbus-user.talk org.kde.kglobalaccel | ||
64 | dbus-system none | ||
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 906d86484..e41ed32b3 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -668,6 +668,7 @@ soffice | |||
668 | sol | 668 | sol |
669 | sound-juicer | 669 | sound-juicer |
670 | soundconverter | 670 | soundconverter |
671 | spectacle | ||
671 | spectral | 672 | spectral |
672 | spotify | 673 | spotify |
673 | sqlitebrowser | 674 | sqlitebrowser |