base desktop + preseed v01
This commit is contained in:
parent
4cf6e46a7b
commit
b29e81fe29
5 changed files with 14 additions and 9 deletions
|
|
@ -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
|
||||
# on the greeter. A graphical greeter may for example require the user to be
|
||||
# in the `video` group.
|
||||
user = "kiosk1"
|
||||
user = "kiosk"
|
||||
|
||||
[initial_session]
|
||||
command = "sway'"
|
||||
user = "kiosk1"
|
||||
user = "kiosk"
|
||||
|
||||
|
|
|
|||
|
|
@ -3,9 +3,7 @@
|
|||
# Copy this to ~/.config/sway/config and edit it to your liking.
|
||||
#
|
||||
# Read `man 5 sway` for a complete reference.
|
||||
exec firefox kiosk mahn.ke/kiosk
|
||||
|
||||
|
||||
#exec firefox kiosk mahn.ke/kiosk
|
||||
### Variables
|
||||
#
|
||||
# Logo key. Use Mod1 for Alt.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
#!/bin/sh
|
||||
sudo cp -r kiosk-setting /etc/ && \
|
||||
sudo cp firefox.sh /usr/bin/firefox.sh && \
|
||||
sudo apt install greetd sway && \
|
||||
sudo cp -r desktop/kiosk-setting/ /etc/ && \
|
||||
sudo cp config.toml /etc/greetd/config.toml && \
|
||||
sudo reboot
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
#!/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
|
||||
#!/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
|
||||
|
||||
mkdir -p /usr/lib/firefox-esr/distribution
|
||||
tee /usr/lib/firefox-esr/distribution/policies.json > /dev/null <<'EOF'
|
||||
{
|
||||
|
|
|
|||
7
setup.sh
Executable file
7
setup.sh
Executable 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue