firejail/etc/ardour5.profile
Tad 3c2a7e4c91 Sound fixes
- Adds machine-id to all profiles with 'private-etc *pulse*'
- This fixes sound under many profiles

- This is related to #2037, except this adds etc machine-id not spoofed machine-id
- Spoofed machine-id seems to break pulseaudio on some systems
- We already do this in profiles like firefox-common (see the note in it)

- pulseaudio's enable-shm set to yes or no doesn't fix this issue on systems where it occurs
- We can revert this in the future if we find a fix

- Command used:
grep -e music -e videos -e audio -e pulse -e asound -il $(grep "machine-id" -iL $(grep "private-etc" . -Rl))
2018-07-31 00:54:55 -04:00

42 lines
1,011 B
Text

# Firejail profile for ardour5
# This file is overwritten after every install/update
# Persistent local customizations
include /etc/firejail/ardour5.local
# Persistent global definitions
include /etc/firejail/globals.local
noblacklist ${HOME}/.config/ardour4
noblacklist ${HOME}/.config/ardour5
noblacklist ${HOME}/.lv2
noblacklist ${HOME}/.vst
noblacklist ${DOCUMENTS}
noblacklist ${MUSIC}
include /etc/firejail/disable-common.inc
include /etc/firejail/disable-devel.inc
include /etc/firejail/disable-interpreters.inc
include /etc/firejail/disable-passwdmgr.inc
include /etc/firejail/disable-programs.inc
include /etc/firejail/disable-xdg.inc
caps.drop all
ipc-namespace
net none
nodbus
nodvd
nogroups
nonewprivs
noroot
notv
protocol unix
seccomp
shell none
#private-bin sh,ardour4,ardour5,ardour5-copy-mixer,ardour5-export,ardour5-fix_bbtppq,grep,sed,ldd,nm
private-cache
private-dev
#private-etc pulse,X11,alternatives,ardour4,ardour5,fonts,machine-id,asound.conf
private-tmp
noexec ${HOME}
noexec /tmp