summaryrefslogtreecommitdiff
path: root/archive/bin/firejail-skype
diff options
context:
space:
mode:
Diffstat (limited to 'archive/bin/firejail-skype')
-rwxr-xr-xarchive/bin/firejail-skype10
1 files changed, 10 insertions, 0 deletions
diff --git a/archive/bin/firejail-skype b/archive/bin/firejail-skype
new file mode 100755
index 00000000..5bf5f55d
--- /dev/null
+++ b/archive/bin/firejail-skype
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# We can't just use propellor property Firejail.jailed ["skype"] because
+# 1. we can't specify --x11=xephyr in a profile file
+# 2. we can't launch openbox and then skype
+
+# So we have this script.
+
+firejail --x11=xephyr --net=eth0 --private --private-tmp openbox
+DISPLAY=$(firemon --x11 | grep "DISPLAY" | sed 's/ DISPLAY //') firejail --net=eth0 --private --private-tmp /usr/bin/skype