aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/disable-programs.inc4
-rw-r--r--etc/profile-a-l/lettura.profile76
-rw-r--r--src/firecfg/firecfg.config1
3 files changed, 81 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc
index 36033224a..7bc708623 100644
--- a/etc/inc/disable-programs.inc
+++ b/etc/inc/disable-programs.inc
@@ -157,6 +157,7 @@ blacklist ${HOME}/.cache/ksplashqml
157blacklist ${HOME}/.cache/kube 157blacklist ${HOME}/.cache/kube
158blacklist ${HOME}/.cache/kwin 158blacklist ${HOME}/.cache/kwin
159blacklist ${HOME}/.cache/lbry-viewer 159blacklist ${HOME}/.cache/lbry-viewer
160blacklist ${HOME}/.cache/lettura
160blacklist ${HOME}/.cache/libgweather 161blacklist ${HOME}/.cache/libgweather
161blacklist ${HOME}/.cache/librewolf 162blacklist ${HOME}/.cache/librewolf
162blacklist ${HOME}/.cache/liferea 163blacklist ${HOME}/.cache/liferea
@@ -406,6 +407,7 @@ blacklist ${HOME}/.config/cliqz
406blacklist ${HOME}/.config/cmus 407blacklist ${HOME}/.config/cmus
407blacklist ${HOME}/.config/cointop 408blacklist ${HOME}/.config/cointop
408blacklist ${HOME}/.config/com.github.bleakgrey.tootle 409blacklist ${HOME}/.config/com.github.bleakgrey.tootle
410blacklist ${HOME}/.config/com.lettura.dev
409blacklist ${HOME}/.config/corebird 411blacklist ${HOME}/.config/corebird
410blacklist ${HOME}/.config/coyim 412blacklist ${HOME}/.config/coyim
411blacklist ${HOME}/.config/d-feet 413blacklist ${HOME}/.config/d-feet
@@ -833,6 +835,7 @@ blacklist ${HOME}/.klatexformula
833blacklist ${HOME}/.klei 835blacklist ${HOME}/.klei
834blacklist ${HOME}/.kodi 836blacklist ${HOME}/.kodi
835blacklist ${HOME}/.lastpass 837blacklist ${HOME}/.lastpass
838blacklist ${HOME}/.lettura
836blacklist ${HOME}/.librewolf 839blacklist ${HOME}/.librewolf
837blacklist ${HOME}/.lincity-ng 840blacklist ${HOME}/.lincity-ng
838blacklist ${HOME}/.links 841blacklist ${HOME}/.links
@@ -903,6 +906,7 @@ blacklist ${HOME}/.local/share/cdprojektred
903blacklist ${HOME}/.local/share/chatterino 906blacklist ${HOME}/.local/share/chatterino
904blacklist ${HOME}/.local/share/clipit 907blacklist ${HOME}/.local/share/clipit
905blacklist ${HOME}/.local/share/com.github.johnfactotum.Foliate 908blacklist ${HOME}/.local/share/com.github.johnfactotum.Foliate
909blacklist ${HOME}/.local/share/com.lettura.dev
906blacklist ${HOME}/.local/share/com.vmingueza.journal-viewer 910blacklist ${HOME}/.local/share/com.vmingueza.journal-viewer
907blacklist ${HOME}/.local/share/contacts 911blacklist ${HOME}/.local/share/contacts
908blacklist ${HOME}/.local/share/cor-games 912blacklist ${HOME}/.local/share/cor-games
diff --git a/etc/profile-a-l/lettura.profile b/etc/profile-a-l/lettura.profile
new file mode 100644
index 000000000..94a455355
--- /dev/null
+++ b/etc/profile-a-l/lettura.profile
@@ -0,0 +1,76 @@
1# Firejail profile for lettura
2# Description: Another free and open-source feed reader
3# This file is overwritten after every install/update
4# Persistent local customizations
5include lettura.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.cache/lettura
10noblacklist ${HOME}/.config/com.lettura.dev
11noblacklist ${HOME}/.lettura
12noblacklist ${HOME}/.local/share/com.lettura.dev
13
14include disable-common.inc
15include disable-devel.inc
16include disable-exec.inc
17include disable-interpreters.inc
18include disable-proc.inc
19include disable-programs.inc
20include disable-shell.inc
21include disable-xdg.inc
22
23mkdir ${HOME}/.cache/lettura
24mkdir ${HOME}/.config/com.lettura.dev
25mkdir ${HOME}/.lettura
26mkdir ${HOME}/.local/share/com.lettura.dev
27whitelist ${HOME}/.cache/lettura
28whitelist ${HOME}/.config/com.lettura.dev
29whitelist ${HOME}/.lettura
30whitelist ${HOME}/.local/share/com.lettura.dev
31whitelist ${DOWNLOADS}
32include whitelist-common.inc
33include whitelist-run-common.inc
34include whitelist-runuser-common.inc
35include whitelist-usr-share-common.inc
36include whitelist-var-common.inc
37
38# The lines below are needed to find the default Firefox profile name, to allow
39# opening links in an existing instance of Firefox (note that it still fails if
40# there isn't a Firefox instance running with the default profile; see #5352)
41noblacklist ${HOME}/.mozilla
42whitelist ${HOME}/.mozilla/firefox/profiles.ini
43
44apparmor
45caps.drop all
46netfilter
47nodvd
48nogroups
49noinput
50nonewprivs
51noprinters
52noroot
53#nosound
54notv
55nou2f
56novideo
57protocol unix,inet,inet6
58seccomp
59seccomp.block-secondary
60tracelog
61
62disable-mnt
63private-bin lettura
64private-cache
65private-dev
66private-etc @network,@sound,@tls-ca,@x11,mime.types
67private-tmp
68
69dbus-user filter
70dbus-user.talk org.freedesktop.Notifications
71?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher
72# allow D-Bus communication with firefox for opening links
73dbus-user.talk org.mozilla.*
74dbus-system none
75
76restrict-namespaces
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index ce606efc3..2fff32f4b 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -482,6 +482,7 @@ kwrite
482lbry-viewer 482lbry-viewer
483leafpad 483leafpad
484#less # breaks man 484#less # breaks man
485lettura
485librecad 486librecad
486libreoffice 487libreoffice
487librewolf 488librewolf