firejail/etc/profile-a-l/guvcview.profile
Kelvin M. Klann fda7560c49 profiles: standardize on just "GTK" on comments
For consistency and to reduce confusion.

The toolkit has been renamed from "GTK+" to just "GTK" in 2019[1].

Note: This also fixes some adjacent typos.

Commands used to search and replace:

    $ git grep -lz 'G[Tt][Kk]' -- etc | xargs -0 -I '{}' sh -c \
      "printf '%s\n' \"\$(sed -E \
        -e 's/G[Tt][Kk]\+?/GTK/g' \
        -e 's/GTK-.\.0/GTK/g' \
        -e 's/GTK base/GTK-base/g' \
        -e 's/GTK-base /GTK-based /g' \
        -e 's/Light weight/Lightweight/g' \
        -e 's/client with GTK/client made with GTK/g' '{}')\" >'{}'"

Misc: I noticed this on #5722.

[1] https://mail.gnome.org/archives/gtk-devel-list/2019-February/msg00000.html
2023-04-19 17:17:35 -03:00

56 lines
1 KiB
Text

# Firejail profile for guvcview
# Description: GTK-based UVC Viewer
# This file is overwritten after every install/update
# Persistent local customizations
include guvcview.local
# Persistent global definitions
include globals.local
noblacklist ${HOME}/.config/guvcview2
noblacklist ${PICTURES}
noblacklist ${VIDEOS}
include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-programs.inc
include disable-shell.inc
include disable-xdg.inc
mkdir ${HOME}/.config/guvcview2
whitelist ${HOME}/.config/guvcview2
whitelist ${PICTURES}
whitelist ${VIDEOS}
include whitelist-common.inc
include whitelist-runuser-common.inc
include whitelist-usr-share-common.inc
include whitelist-var-common.inc
apparmor
caps.drop all
net none
nodvd
nogroups
noinput
nonewprivs
noroot
notv
nou2f
protocol unix,netlink
seccomp
seccomp.block-secondary
tracelog
disable-mnt
private-bin guvcview
private-cache
private-dev
private-etc @x11,bumblebee,glvnd
private-tmp
dbus-user none
dbus-system none
restrict-namespaces