aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/meld.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-m-z/meld.profile')
-rw-r--r--etc/profile-m-z/meld.profile74
1 files changed, 74 insertions, 0 deletions
diff --git a/etc/profile-m-z/meld.profile b/etc/profile-m-z/meld.profile
new file mode 100644
index 000000000..be13e9643
--- /dev/null
+++ b/etc/profile-m-z/meld.profile
@@ -0,0 +1,74 @@
1# Firejail profile for meld
2# Description: Graphical tool to diff and merge files
3# This file is overwritten after every install/update
4# Persistent local customizations
5include meld.local
6# Persistent global definitions
7include globals.local
8
9# If you want to use meld as git-mergetool (and maybe some other VCS integrations) you need
10# to bypass firejail, you can do this by removing the symlink or calling it by its absolute path
11# Removing the symlink:
12# sudo rm /usr/local/bin/meld
13# Calling by its absolute path (example for git-mergetool):
14# git config --global mergetool.meld.cmd /usr/bin/meld
15
16noblacklist ${HOME}/.config/meld
17noblacklist ${HOME}/.config/git
18noblacklist ${HOME}/.gitconfig
19noblacklist ${HOME}/.git-credentials
20noblacklist ${HOME}/.local/share/meld
21noblacklist ${HOME}/.ssh
22noblacklist ${HOME}/.subversion
23
24# Allow python (blacklisted by disable-interpreters.inc)
25include allow-python3.inc
26
27# Python 2 is EOL (see #3164). Uncomment the next line (or put it into your meld.local) if you understand the risks but want python 2 support for older meld versions.
28#include allow-python2.inc
29
30# Uncomment the next line (or put it into your meld.local) if you don't need to compare files in disable-common.inc.
31#include disable-common.inc
32include disable-devel.inc
33include disable-exec.inc
34include disable-interpreters.inc
35include disable-passwdmgr.inc
36# Uncomment the next line (or put it into your meld.local) if you don't need to compare files in disable-programs.inc.
37#include disable-programs.inc
38
39include whitelist-runuser-common.inc
40
41# Uncomment the next lines (or put it into your meld.local) if you don't need to compare files in /usr/share.
42#whitelist /usr/share/meld
43#include whitelist-usr-share-common.inc
44
45# Uncomment the next line (or put it into your meld.local) if you don't need to compare files in /var.
46#include whitelist-var-common.inc
47
48apparmor
49caps.drop all
50ipc-namespace
51machine-id
52netfilter
53no3d
54nodvd
55nogroups
56nonewprivs
57noroot
58nosound
59notv
60nou2f
61novideo
62protocol unix,inet,inet6
63seccomp
64shell none
65tracelog
66
67private-bin bzr,cvs,git,hg,meld,python*,svn
68private-cache
69private-dev
70# Uncomment the next line (or put it into your meld.local) if you don't need to compare in /etc.
71#private-etc alternatives,ca-certificates,crypto-policies,fonts,hostname,hosts,pki,resolv.conf,ssl,subversion
72private-tmp
73
74read-only ${HOME}/.ssh