scripts: add splashscreen to xinit service

This commit is contained in:
Markus Küffner
2022-03-22 23:28:42 +01:00
parent b46b69b163
commit aa85c2bacf
2 changed files with 5 additions and 4 deletions

View File

@@ -81,13 +81,14 @@ docker compose --profile mainsail up -d
KlipperScreen can be run from within a Docker Container.
It requires you to set up a X11 Server on your machine that the Container can connect to.
Locate the setup Script for X11 within `scripts/` and run it as root.
Locate the setup Script for X11 within `scripts/` and run it from the root directory of this repository as user root.
It creates a User, installs and configures X11 and creates a Systemd Service for xinit.
```
cd prind/
./scripts/setup-X11.sh
```
Xterm should now be displayed on your screen.
The Prid Logo should now be displayed on your screen.
If this is not the case, check the scripts output for errors.
Otherwise, proceed to start/update the Stack.

View File

@@ -15,7 +15,7 @@ usermod -a -G tty ${USER}
## Install Packages
apt update
apt install -y xterm xinit xinput xserver-xorg x11-xserver-utils xserver-xorg-video-fbdev
apt install -y feh xterm xinit xinput xserver-xorg x11-xserver-utils xserver-xorg-video-fbdev
## Allow any User to start X
sed -i 's/allowed_users=console/allowed_users=anybody/g' /etc/X11/Xwrapper.config || true
@@ -28,7 +28,7 @@ After=systemd-user-sessions.service
[Service]
User=${USER}
ExecStart=/usr/bin/xinit /usr/bin/xterm -maximized
ExecStart=/usr/bin/xinit /usr/bin/feh -FZY $(pwd)/img/splashscreen-1080p-dark.png
[Install]
WantedBy=multi-user.target