base desktop

This commit is contained in:
vieta 2025-12-27 15:18:10 +01:00
commit 4cf6e46a7b
13 changed files with 345 additions and 3 deletions

View file

@ -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