main #5
5 changed files with 14 additions and 9 deletions
base desktop + preseed v01
commit
b29e81fe29
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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.
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
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