summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2022-08-16 16:02:44 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2022-08-16 16:02:44 -0700
commit5da38373eb22101c41d21d56e6f891e211b83926 (patch)
tree9ada8486478acc793d000fb09035a394f9bb9e7c /profiles
parentAdd profile for CrossCode (diff)
downloadfirejail-profiles-5da38373eb22101c41d21d56e6f891e211b83926.tar.xz
Fix ppsspp audio
Add profile for pxsc2-qt
Diffstat (limited to 'profiles')
-rw-r--r--profiles/pcsx2-qt.profile15
-rw-r--r--profiles/ppsspp.local4
2 files changed, 19 insertions, 0 deletions
diff --git a/profiles/pcsx2-qt.profile b/profiles/pcsx2-qt.profile
new file mode 100644
index 0000000..afc58ed
--- /dev/null
+++ b/profiles/pcsx2-qt.profile
@@ -0,0 +1,15 @@
+include pcsx2-qt.local
+
+whitelist-ro ${HOME}/games/Emulators/PS2GAMES
+whitelist-ro /usr/share/PCSX2/resources
+
+ignore ipc-namespace
+ignore netfilter
+nodvd
+
+private-bin PCSX2,pcsx2-qt
+ignore private-etc alsa,alternatives,asound.conf,bumblebee,ca-certificates,crypto-policies,dconf,drirc,fonts,gconf,glvnd,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,machine-id,mime.types,nsswitch.conf,nvidia,pango,pki,protocols,pulse,resolv.conf,rpc,services,ssl,X11,xdg
+# alsa requires /etc/group
+private-etc asound.conf,group,localtime,machine-id,pulse
+
+include PCSX2.profile
diff --git a/profiles/ppsspp.local b/profiles/ppsspp.local
index fa51b53..aef1625 100644
--- a/profiles/ppsspp.local
+++ b/profiles/ppsspp.local
@@ -3,6 +3,10 @@ whitelist-ro ${HOME}/games/Emulators/PSPGAMES
# machine-id, obs, and alsa don't get along
#ignore machine-id
+# # alsa audio will work with ipc-namespace,
+# # but it hogs the alsa device from other applications
+ignore ipc-namespace
+
net none
# # seccomp breaks integrated file manager on qt applications