base desktop
This commit is contained in:
parent
2d771638b4
commit
4cf6e46a7b
13 changed files with 345 additions and 3 deletions
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bassh
|
||||
printf "[daemon]\nAutomaticLoginEnable=true\nAutomaticLogin=kiosk\n\n[security]\n\n[xdmcp]\n\n[chooser]\n\n[debug]\n" > /etc/gdm3/daemon.conf
|
||||
mkdir -p /usr/lib/firefox-esr/distribution
|
||||
tee /usr/lib/firefox-esr/distribution/policies.json > /dev/null <<'EOF'
|
||||
|
|
@ -6,7 +7,7 @@ tee /usr/lib/firefox-esr/distribution/policies.json > /dev/null <<'EOF'
|
|||
"DisableDeveloperTools": true,
|
||||
"BlockAboutAddons": true,
|
||||
"BlockAboutConfig": true,
|
||||
"BlockAboutProfiles": true,
|
||||
"BlockAboutProf#!/usr/bin/env basshiles": true,
|
||||
"BlockAboutSupport": true,
|
||||
"DisableFirefoxAccounts": true,
|
||||
"DisablePrivateBrowsing": true,
|
||||
|
|
@ -57,6 +58,6 @@ chown -R kiosk:kiosk /home/kiosk/.config
|
|||
|
||||
tee /home/kiosk/.bash_profile > /dev/null <<'EOF'
|
||||
if [ -z "$WAYLAND_DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
|
||||
exec cage firefox --kiosk https://c3nav.de
|
||||
exec cage firefox --kiosk mahn.ke/kiosk
|
||||
fi
|
||||
EOF
|
||||
EOF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue