Skip to content

Commit

Permalink
profiles: add loupe
Browse files Browse the repository at this point in the history
Signed-off-by: Tavi <tavi@divested.dev>
  • Loading branch information
SkewedZeppelin committed May 1, 2024
1 parent e11949a commit 9a0db13
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
50 changes: 50 additions & 0 deletions etc/profile-a-l/loupe.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Firejail profile for loupe
# Description: GNOME's modern Image Viewer program
# This file is overwritten after every install/update
# Persistent local customizations
include loupe.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.local/share/Trash
noblacklist ${HOME}/.Steam
noblacklist ${HOME}/.steam

#include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-programs.inc
include disable-write-mnt.inc

#whitelist /usr/share/glycin-loaders
include whitelist-runuser-common.inc
#include whitelist-usr-share-common.inc
include whitelist-var-common.inc

apparmor
caps.drop all
ipc-namespace
machine-id
net none
nodvd
nogroups
noinput
nonewprivs
noprinters
noroot
nosound
notv
nou2f
novideo
protocol unix,netlink
#loupe decodes all images in their own sandbox via glycin
#https://gitlab.gnome.org/sophie-h/glycin#sandboxing-and-inner-workings
#seccomp
seccomp.block-secondary
tracelog

private-cache
private-dev
private-etc @x11
private-tmp
1 change: 1 addition & 0 deletions src/firecfg/firecfg.config
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,7 @@ lofromtemplate
loimpress
lollypop
lomath
loupe
loweb
lowriter
#lrunzip # disable until we fix CLI archivers for makepkg on Arch (see discussion in #3095)
Expand Down

0 comments on commit 9a0db13

Please sign in to comment.