Skip to content

Commit ac8c219

Browse files
authored
New profile: lettura (#6027)
* disable-programs.inc: add lettura support * Create lettura.profile * firecfg.config: add lettura
1 parent f3fc984 commit ac8c219

File tree

3 files changed

+81
-0
lines changed

3 files changed

+81
-0
lines changed

etc/inc/disable-programs.inc

+4
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ blacklist ${HOME}/.cache/ksplashqml
157157
blacklist ${HOME}/.cache/kube
158158
blacklist ${HOME}/.cache/kwin
159159
blacklist ${HOME}/.cache/lbry-viewer
160+
blacklist ${HOME}/.cache/lettura
160161
blacklist ${HOME}/.cache/libgweather
161162
blacklist ${HOME}/.cache/librewolf
162163
blacklist ${HOME}/.cache/liferea
@@ -406,6 +407,7 @@ blacklist ${HOME}/.config/cliqz
406407
blacklist ${HOME}/.config/cmus
407408
blacklist ${HOME}/.config/cointop
408409
blacklist ${HOME}/.config/com.github.bleakgrey.tootle
410+
blacklist ${HOME}/.config/com.lettura.dev
409411
blacklist ${HOME}/.config/corebird
410412
blacklist ${HOME}/.config/coyim
411413
blacklist ${HOME}/.config/d-feet
@@ -833,6 +835,7 @@ blacklist ${HOME}/.klatexformula
833835
blacklist ${HOME}/.klei
834836
blacklist ${HOME}/.kodi
835837
blacklist ${HOME}/.lastpass
838+
blacklist ${HOME}/.lettura
836839
blacklist ${HOME}/.librewolf
837840
blacklist ${HOME}/.lincity-ng
838841
blacklist ${HOME}/.links
@@ -903,6 +906,7 @@ blacklist ${HOME}/.local/share/cdprojektred
903906
blacklist ${HOME}/.local/share/chatterino
904907
blacklist ${HOME}/.local/share/clipit
905908
blacklist ${HOME}/.local/share/com.github.johnfactotum.Foliate
909+
blacklist ${HOME}/.local/share/com.lettura.dev
906910
blacklist ${HOME}/.local/share/com.vmingueza.journal-viewer
907911
blacklist ${HOME}/.local/share/contacts
908912
blacklist ${HOME}/.local/share/cor-games

etc/profile-a-l/lettura.profile

+76
Original file line numberDiff line numberDiff line change
@@ -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
5+
include lettura.local
6+
# Persistent global definitions
7+
include globals.local
8+
9+
noblacklist ${HOME}/.cache/lettura
10+
noblacklist ${HOME}/.config/com.lettura.dev
11+
noblacklist ${HOME}/.lettura
12+
noblacklist ${HOME}/.local/share/com.lettura.dev
13+
14+
include disable-common.inc
15+
include disable-devel.inc
16+
include disable-exec.inc
17+
include disable-interpreters.inc
18+
include disable-proc.inc
19+
include disable-programs.inc
20+
include disable-shell.inc
21+
include disable-xdg.inc
22+
23+
mkdir ${HOME}/.cache/lettura
24+
mkdir ${HOME}/.config/com.lettura.dev
25+
mkdir ${HOME}/.lettura
26+
mkdir ${HOME}/.local/share/com.lettura.dev
27+
whitelist ${HOME}/.cache/lettura
28+
whitelist ${HOME}/.config/com.lettura.dev
29+
whitelist ${HOME}/.lettura
30+
whitelist ${HOME}/.local/share/com.lettura.dev
31+
whitelist ${DOWNLOADS}
32+
include whitelist-common.inc
33+
include whitelist-run-common.inc
34+
include whitelist-runuser-common.inc
35+
include whitelist-usr-share-common.inc
36+
include 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)
41+
noblacklist ${HOME}/.mozilla
42+
whitelist ${HOME}/.mozilla/firefox/profiles.ini
43+
44+
apparmor
45+
caps.drop all
46+
netfilter
47+
nodvd
48+
nogroups
49+
noinput
50+
nonewprivs
51+
noprinters
52+
noroot
53+
#nosound
54+
notv
55+
nou2f
56+
novideo
57+
protocol unix,inet,inet6
58+
seccomp
59+
seccomp.block-secondary
60+
tracelog
61+
62+
disable-mnt
63+
private-bin lettura
64+
private-cache
65+
private-dev
66+
private-etc @network,@sound,@tls-ca,@x11,mime.types
67+
private-tmp
68+
69+
dbus-user filter
70+
dbus-user.talk org.freedesktop.Notifications
71+
?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher
72+
# allow D-Bus communication with firefox for opening links
73+
dbus-user.talk org.mozilla.*
74+
dbus-system none
75+
76+
restrict-namespaces

src/firecfg/firecfg.config

+1
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@ kwrite
482482
lbry-viewer
483483
leafpad
484484
#less # breaks man
485+
lettura
485486
librecad
486487
libreoffice
487488
librewolf

0 commit comments

Comments
 (0)