diff options
-rw-r--r-- | etc/disable-programs.inc | 3 | ||||
-rw-r--r-- | etc/mypaint-ora-thumbnailer.profile | 5 | ||||
-rw-r--r-- | etc/mypaint.profile | 51 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 2 |
4 files changed, 61 insertions, 0 deletions
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc index 32c3ddb07..39aab61c1 100644 --- a/etc/disable-programs.inc +++ b/etc/disable-programs.inc | |||
@@ -201,6 +201,7 @@ blacklist ${HOME}/.config/mono | |||
201 | blacklist ${HOME}/.config/mpd | 201 | blacklist ${HOME}/.config/mpd |
202 | blacklist ${HOME}/.config/mpv | 202 | blacklist ${HOME}/.config/mpv |
203 | blacklist ${HOME}/.config/mupen64plus | 203 | blacklist ${HOME}/.config/mupen64plus |
204 | blacklist ${HOME}/.config/mypaint | ||
204 | blacklist ${HOME}/.config/nautilus | 205 | blacklist ${HOME}/.config/nautilus |
205 | blacklist ${HOME}/.config/nemo | 206 | blacklist ${HOME}/.config/nemo |
206 | blacklist ${HOME}/.config/netsurf | 207 | blacklist ${HOME}/.config/netsurf |
@@ -450,6 +451,7 @@ blacklist ${HOME}/.local/share/midori | |||
450 | blacklist ${HOME}/.local/share/multimc | 451 | blacklist ${HOME}/.local/share/multimc |
451 | blacklist ${HOME}/.local/share/multimc5 | 452 | blacklist ${HOME}/.local/share/multimc5 |
452 | blacklist ${HOME}/.local/share/mupen64plus | 453 | blacklist ${HOME}/.local/share/mupen64plus |
454 | blacklist ${HOME}/.local/share/mypaint | ||
453 | blacklist ${HOME}/.local/share/nautilus | 455 | blacklist ${HOME}/.local/share/nautilus |
454 | blacklist ${HOME}/.local/share/nautilus-python | 456 | blacklist ${HOME}/.local/share/nautilus-python |
455 | blacklist ${HOME}/.local/share/nemo | 457 | blacklist ${HOME}/.local/share/nemo |
@@ -612,6 +614,7 @@ blacklist ${HOME}/.cache/moonchild productions/basilisk | |||
612 | blacklist ${HOME}/.cache/moonchild productions/pale moon | 614 | blacklist ${HOME}/.cache/moonchild productions/pale moon |
613 | blacklist ${HOME}/.cache/mozilla | 615 | blacklist ${HOME}/.cache/mozilla |
614 | blacklist ${HOME}/.cache/mutt | 616 | blacklist ${HOME}/.cache/mutt |
617 | blacklist ${HOME}/.cache/mypaint | ||
615 | blacklist ${HOME}/.cache/nheko/nheko | 618 | blacklist ${HOME}/.cache/nheko/nheko |
616 | blacklist ${HOME}/.cache/netsurf | 619 | blacklist ${HOME}/.cache/netsurf |
617 | blacklist ${HOME}/.cache/okular | 620 | blacklist ${HOME}/.cache/okular |
diff --git a/etc/mypaint-ora-thumbnailer.profile b/etc/mypaint-ora-thumbnailer.profile new file mode 100644 index 000000000..59b3024ed --- /dev/null +++ b/etc/mypaint-ora-thumbnailer.profile | |||
@@ -0,0 +1,5 @@ | |||
1 | # Firejail profile alias for mypaint-ora-thumbnailer | ||
2 | # This file is overwritten after every install/update | ||
3 | |||
4 | # Redirect | ||
5 | include mypaint.profile | ||
diff --git a/etc/mypaint.profile b/etc/mypaint.profile new file mode 100644 index 000000000..1af6f3026 --- /dev/null +++ b/etc/mypaint.profile | |||
@@ -0,0 +1,51 @@ | |||
1 | # Firejail profile for mypaint | ||
2 | # Description: A fast and easy graphics application for digital painters | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include mypaint.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.cache/mypaint | ||
10 | noblacklist ${HOME}/.config/mypaint | ||
11 | noblacklist ${HOME}/.local/share/mypaint | ||
12 | noblacklist ${PATH}/python2* | ||
13 | noblacklist /usr/lib/python2* | ||
14 | noblacklist ${PICTURES} | ||
15 | |||
16 | include disable-common.inc | ||
17 | include disable-devel.inc | ||
18 | include disable-interpreters.inc | ||
19 | include disable-passwdmgr.inc | ||
20 | include disable-programs.inc | ||
21 | include disable-xdg.inc | ||
22 | |||
23 | apparmor | ||
24 | caps.drop all | ||
25 | machine-id | ||
26 | net none | ||
27 | no3d | ||
28 | nodbus | ||
29 | nodvd | ||
30 | nogroups | ||
31 | nonewprivs | ||
32 | noroot | ||
33 | nosound | ||
34 | notv | ||
35 | nou2f | ||
36 | novideo | ||
37 | protocol unix | ||
38 | seccomp | ||
39 | shell none | ||
40 | tracelog | ||
41 | |||
42 | disable-mnt | ||
43 | private-cache | ||
44 | private-dev | ||
45 | private-etc fonts,gtk-3.0,dconf | ||
46 | private-tmp | ||
47 | |||
48 | noexec ${HOME} | ||
49 | noexec /tmp | ||
50 | |||
51 | # vim:set syntax=sh: | ||
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 041ff1256..47b20006d 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -312,6 +312,8 @@ mupen64plus | |||
312 | musescore | 312 | musescore |
313 | musixmatch | 313 | musixmatch |
314 | mutt | 314 | mutt |
315 | mypaint | ||
316 | mypaint-ora-thumbnailer | ||
315 | natron | 317 | natron |
316 | #nautilus - removed in order to let the application start in a new sandbox when clicking on icons in the file manager | 318 | #nautilus - removed in order to let the application start in a new sandbox when clicking on icons in the file manager |
317 | ncdu | 319 | ncdu |