2021-07-20 13:32:28 +02:00
|
|
|
# Multimedia Device
|
|
|
|
|
|
|
|
## Base
|
|
|
|
Arch base
|
|
|
|
Install AUR helper
|
2021-07-20 19:22:14 +02:00
|
|
|
`$ paru -S kitty dolphin plasma-bigscreen-git libcec`
|
2021-07-20 13:32:28 +02:00
|
|
|
|
|
|
|
## Autologin
|
2021-07-20 19:22:14 +02:00
|
|
|
`# mkdir -p /etc/systemd/system/getty@tty1.service.d`
|
2021-07-20 13:32:28 +02:00
|
|
|
|
|
|
|
`# vim /etc/systemd/system/getty@tty1.service.d/override.conf`
|
|
|
|
```
|
|
|
|
[Service]
|
|
|
|
ExecStart=
|
|
|
|
ExecStart=-/usr/bin/agetty --autologin (username) --noclear %I $TERM
|
|
|
|
Type=simple
|
|
|
|
```
|
|
|
|
|
2021-07-20 19:22:14 +02:00
|
|
|
`# systemctl daemon-reload`
|
2021-07-20 13:32:28 +02:00
|
|
|
`# systemctl enable getty@tty1`
|
|
|
|
|
|
|
|
## Plasma Bigscreen
|
|
|
|
Plasma Bigscreen has issues when started directly, so we're launching a normal plasma session first
|
|
|
|
`$ dbus-run-session startplasma-wayland`
|
|
|
|
Then we can replace that with the bigscreen session
|
|
|
|
`$ plasmashell --replace -p org.kde.plasma.mycroft.bigscreen`
|
|
|
|
|
|
|
|
## Launching Plasma and Bigscreen
|
|
|
|
Put this in `.bash_profile`
|
|
|
|
```
|
|
|
|
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
|
|
|
|
dbus-run-session startplasma-wayland
|
|
|
|
fi
|
|
|
|
```
|
|
|
|
|
|
|
|
Create a script that launches bigscreen
|
|
|
|
```
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
plasmashell --replace -p org.kde.plasma.mycroft.bigscreen
|
|
|
|
```
|
2021-07-20 14:02:11 +02:00
|
|
|
Add the script to "autostart" in the settings. Make sure executable is set
|