added scripts
This commit is contained in:
parent
a7d719c547
commit
cdd6efa501
4 changed files with 34 additions and 0 deletions
7
mate/usr/bin/exo-open
Executable file
7
mate/usr/bin/exo-open
Executable file
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ "${2}" == "WebBrowser" ]; then
|
||||||
|
/usr/bin/dex-autostart /usr/share/applications/chromium-browser.desktop
|
||||||
|
else
|
||||||
|
/usr/bin/exo-open-real "$@"
|
||||||
|
fi
|
||||||
10
mate/usr/local/bin/wrapped-chromium
Executable file
10
mate/usr/local/bin/wrapped-chromium
Executable file
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
BIN=/usr/bin/chromium-browser
|
||||||
|
|
||||||
|
# Run normally on privved containers or modified un non priv
|
||||||
|
if grep -q 'Seccomp: 0' /proc/1/status; then
|
||||||
|
${BIN} --password-store=basic "$@"
|
||||||
|
else
|
||||||
|
${BIN} --password-store=basic --no-sandbox --test-type "$@"
|
||||||
|
fi
|
||||||
7
xfce/usr/bin/exo-open
Executable file
7
xfce/usr/bin/exo-open
Executable file
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ "${2}" == "WebBrowser" ]; then
|
||||||
|
/usr/bin/dex-autostart /usr/share/applications/chromium-browser.desktop
|
||||||
|
else
|
||||||
|
/usr/bin/exo-open-real "$@"
|
||||||
|
fi
|
||||||
10
xfce/usr/local/bin/wrapped-chromium
Executable file
10
xfce/usr/local/bin/wrapped-chromium
Executable file
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
BIN=/usr/bin/chromium-browser
|
||||||
|
|
||||||
|
# Run normally on privved containers or modified un non priv
|
||||||
|
if grep -q 'Seccomp: 0' /proc/1/status; then
|
||||||
|
${BIN} --password-store=basic "$@"
|
||||||
|
else
|
||||||
|
${BIN} --password-store=basic --no-sandbox --test-type "$@"
|
||||||
|
fi
|
||||||
Loading…
Add table
Add a link
Reference in a new issue