main #5

Merged
vieta merged 2 commits from vieta/preseed:main into main 2025-12-28 15:49:58 +01:00
5 changed files with 14 additions and 9 deletions
Showing only changes of commit b29e81fe29 - Show all commits

base desktop + preseed v01

vieta 2025-12-27 15:25:20 +01:00

View file

@ -12,9 +12,9 @@ command = "sway --config /etc/kiosk-setting/sway/config"
# The user to run the command as. The privileges this user must have depends # The user to run the command as. The privileges this user must have depends
# on the greeter. A graphical greeter may for example require the user to be # on the greeter. A graphical greeter may for example require the user to be
# in the `video` group. # in the `video` group.
user = "kiosk1" user = "kiosk"
[initial_session] [initial_session]
command = "sway'" command = "sway'"
user = "kiosk1" user = "kiosk"

View file

@ -3,9 +3,7 @@
# Copy this to ~/.config/sway/config and edit it to your liking. # Copy this to ~/.config/sway/config and edit it to your liking.
# #
# Read `man 5 sway` for a complete reference. # Read `man 5 sway` for a complete reference.
exec firefox kiosk mahn.ke/kiosk #exec firefox kiosk mahn.ke/kiosk
### Variables ### Variables
# #
# Logo key. Use Mod1 for Alt. # Logo key. Use Mod1 for Alt.

View file

@ -1,7 +1,6 @@
#!/bin/sh #!/bin/sh
sudo cp -r kiosk-setting /etc/ && \
sudo cp firefox.sh /usr/bin/firefox.sh && \
sudo apt install greetd sway && \ sudo apt install greetd sway && \
sudo cp -r desktop/kiosk-setting/ /etc/ && \
sudo cp config.toml /etc/greetd/config.toml && \ sudo cp config.toml /etc/greetd/config.toml && \
sudo reboot sudo reboot

View file

@ -1,5 +1,6 @@
#!/usr/bin/env bassh #!/usr/bin/env bash
printf "[daemon]\nAutomaticLoginEnable=true\nAutomaticLogin=kiosk\n\n[security]\n\n[xdmcp]\n\n[chooser]\n\n[debug]\n" > /etc/gdm3/daemon.conf #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 mkdir -p /usr/lib/firefox-esr/distribution
tee /usr/lib/firefox-esr/distribution/policies.json > /dev/null <<'EOF' tee /usr/lib/firefox-esr/distribution/policies.json > /dev/null <<'EOF'
{ {

7
setup.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
sudo apt install greetd sway && \
sudo cp -r desktop/kiosk-setting/ /etc/ && \
sudo cp config.toml /etc/greetd/config.toml && \
./post_install.sh
sudo reboot