Compare commits
3 commits
e894dc97c2
...
502e332180
| Author | SHA1 | Date | |
|---|---|---|---|
|
502e332180 |
|||
|
8538c63c45 |
|||
|
1974d0b9a9 |
2 changed files with 24 additions and 16 deletions
|
|
@ -54,21 +54,27 @@ tee /usr/lib/firefox-esr/distribution/policies.json > /dev/null <<'EOF'
|
|||
}
|
||||
EOF
|
||||
chown -R kiosk:kiosk /home/kiosk/.config
|
||||
tee /etc/systemd/system/firefox-kiosk.service > /dev/null <<'EOF'
|
||||
[Unit]
|
||||
Description=Firefox Kiosk
|
||||
After=graphical.target
|
||||
Wants=graphical.target
|
||||
# tee /etc/systemd/system/firefox-kiosk.service > /dev/null <<'EOF'
|
||||
# [Unit]
|
||||
# Description=Firefox Kiosk
|
||||
# After=graphical.target
|
||||
# Wants=graphical.target
|
||||
|
||||
[Service]
|
||||
User=kiosk
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/firefox --kiosk https://mahn.ke
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
Environment=DISPLAY=:0
|
||||
# [Service]
|
||||
# User=kiosk
|
||||
# Type=simple
|
||||
# ExecStart=/usr/bin/firefox --kiosk https://c3nav.ke
|
||||
# Restart=always
|
||||
# RestartSec=5
|
||||
# Environment=DISPLAY=:0
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical.target
|
||||
EOF
|
||||
systemctl enable firefox-kiosk.service
|
||||
# [Install]
|
||||
# WantedBy=graphical.target
|
||||
# EOF
|
||||
# systemctl enable firefox-kiosk.service
|
||||
|
||||
tee /home/kiosk/.bash_profile > /dev/null <<'EOF'
|
||||
if [ -z "$WAYLAND_DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
|
||||
exec cage firefox --kiosk https://c3nav.de
|
||||
fi
|
||||
EOF
|
||||
|
|
@ -51,6 +51,8 @@ d-i pkgsel/include string \
|
|||
openbox \
|
||||
chromium \
|
||||
sudo \
|
||||
cage \
|
||||
firefox-esr \
|
||||
curl
|
||||
|
||||
d-i pkgsel/exclude string gnome-software
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue