linux:ubuntu_22.04:kodi
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:ubuntu_22.04:kodi [2024/02/23 20:07] – [Geluid Configureren] excyle | linux:ubuntu_22.04:kodi [2024/05/22 14:37] (current) – excyle | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| Installeer Ubuntu met de **minimal 22.04 ISO**, maak een gebruiker **kodi** aan met als wachtwoord **kodi** en selecteer bij de installatie alleen **SSH server** | Installeer Ubuntu met de **minimal 22.04 ISO**, maak een gebruiker **kodi** aan met als wachtwoord **kodi** en selecteer bij de installatie alleen **SSH server** | ||
| - | ====== tools voor repository management ====== | ||
| + | ====== Tools voor repository management ====== | ||
| < | < | ||
| apt install software-properties-common | apt install software-properties-common | ||
| Line 26: | Line 26: | ||
| apt update | apt update | ||
| apt upgrade | apt upgrade | ||
| - | apt install kodi openbox lightdm samba wsdd lm-sensors mc binutils build-essential subversion git unzip xterm dkms | + | apt install kodi openbox lightdm samba wsdd lm-sensors mc binutils build-essential subversion git unzip xterm dkms cec-utils ntpdate |
| - | + | ||
| </ | </ | ||
| Select lightdm as default display manager | Select lightdm as default display manager | ||
| + | |||
| + | |||
| + | ====== Tijd/ | ||
| + | <code bash> | ||
| + | apt install ntpsec-ntpdate | ||
| + | timedatectl set-local-rtc 1 | ||
| + | ntpdate nl.pool.ntp.org | ||
| + | timedatectl set-timezone Europe/ | ||
| + | </ | ||
| Line 101: | Line 108: | ||
| maak vervolgens een SMB user aan en zet een wachtwoord | maak vervolgens een SMB user aan en zet een wachtwoord | ||
| <code bash> | <code bash> | ||
| - | smbpsswd | + | smbpasswd |
| </ | </ | ||
| Line 122: | Line 129: | ||
| De lirc in 22.04 is niet helemaal goed, hierom gaar we lirc installeren vanaf de 18.04 repo. | De lirc in 22.04 is niet helemaal goed, hierom gaar we lirc installeren vanaf de 18.04 repo. | ||
| - | voeg onderaan "/ | + | voeg de keyserverinfo |
| <code bash> | <code bash> | ||
| curl -fsSL " | curl -fsSL " | ||
| + | </ | ||
| + | voeg vervolgens de sources toe aan apt, zet de volgende inhoud in "/ | ||
| + | <code bash ubuntu-xenial.list> | ||
| + | deb [signed-by=/ | ||
| + | </ | ||
| + | |||
| + | en installeer lirc | ||
| + | |||
| + | <code bash> | ||
| apt update | apt update | ||
| apt install lirc/xenial | apt install lirc/xenial | ||
| apt-mark hold lirc | apt-mark hold lirc | ||
| - | |||
| - | |||
| </ | </ | ||
| - | verwijder de repo weer uit "/ | + | verwijder de repo weer door in de ubuntu-xenial.list de regel te commenten met een # en update de sources list weer |
| <code bash> | <code bash> | ||
| apt update | apt update | ||
| - | |||
| - | |||
| </ | </ | ||
| Line 156: | Line 167: | ||
| #Chosen Remote Control | #Chosen Remote Control | ||
| REMOTE=" | REMOTE=" | ||
| - | REMOTE_MODULES=" | + | REMOTE_MODULES="" |
| REMOTE_DRIVER="" | REMOTE_DRIVER="" | ||
| REMOTE_DEVICE="/ | REMOTE_DEVICE="/ | ||
| Line 585: | Line 596: | ||
| printf ' | printf ' | ||
| + | </ | ||
| + | |||
| + | ====== Workaround voor cec startup loop ====== | ||
| + | maak een / | ||
| + | <code bash> | ||
| + | mcedit / | ||
| + | </ | ||
| + | |||
| + | en zet hier het volgende in | ||
| + | <code conf shutdowncec.sh> | ||
| + | #!/bin/bash | ||
| + | /bin/echo " | ||
| + | </ | ||
| + | |||
| + | en maak deze uitvoerbaar | ||
| + | <code bash> | ||
| + | chmod +x / | ||
| + | </ | ||
| + | |||
| + | Maak een / | ||
| + | |||
| + | <code bash> | ||
| + | mcedit / | ||
| + | </ | ||
| + | |||
| + | en zet hier het volgende in | ||
| + | |||
| + | <code conf shutdowncec.service> | ||
| + | [Unit] | ||
| + | Description=Shutdown TV before shutdown | ||
| + | Requires=network-online.target | ||
| + | After=network-online.target | ||
| + | |||
| + | [Service] | ||
| + | Type=oneshot | ||
| + | RemainAfterExit=true | ||
| + | ExecStart=/ | ||
| + | ExecStop=/ | ||
| + | |||
| + | [Install] | ||
| + | WantedBy=multi-user.target | ||
| + | |||
| + | </ | ||
| + | |||
| + | en laat deze automatisch starten | ||
| + | <code bash> | ||
| + | systemctl daemon-reload | ||
| + | systemctl enable shutdowncec.service --now | ||
| </ | </ | ||
linux/ubuntu_22.04/kodi.1708715276.txt.gz · Last modified: by excyle
