sudo systemctl set-default graphical
sudo systemctl isolate graphical
Snap firefox doesn't run on raspberry pi.
sudo snap remove firefox
sudo add-apt-repository ppa:mozillateam/ppa
echo '
Package: *
Pin: release o=LP-PPA-mozillateam
Pin-Priority: 1001
' | sudo tee /etc/apt/preferences.d/mozilla-firefox
sudo apt install firefox-esr
- Add .xsession and .xsessionrc in the home directory of user
- Copy startwm.sh to /etc/xrdp
# sudo nano /etc/gdm3/custom.conf
AutomaticLoginEnable=True
AutomaticLogin=<specify login user id for eg. pi>
# sudo service xrdp restart
Rest of the details are optional.
We can use fstab but it creates problem in the startup if harddisk is not connected
For eg. # cat /etc/rc.local
#!/bin/sh -e
/home/pi/script/mountdisk.sh
exit 0
User haproxy xfg if need to manage raspberry pi at port 80
- Host jellyfin
- Host plex if needed
Change image path for logo and jellyfin will look like netflix
@import url("https://cdn.jsdelivr.net/gh/prayag17/JellyFlix@latest/default.css");
@import url("https://cdn.jsdelivr.net/gh/prayag17/JellyFlix@latest/addons/Logo.css");
.adminDrawerLogo img {
content: url(<image path>) !important;
}
imgLogoIcon {
content: url(<image path>) !important;
}
.pageTitleWithLogo {
background-image: url(<image path>) !important;
}
To remove the Firefox package, open terminal (Ctrl+Alt+T) and run command:
sudo apt remove --autoremove firefox-esr
And run command to remove the Ubuntu PPA:
sudo add-apt-repository --remove ppa:mozillateam/ppa
Create service
sudo nano /etc/systemd/system/mount-jellyfin.service
Add this
[Unit]
After=mount-jellyfin-hdd.service
Requires=mount-jellyfin-hdd.service
Now execute theses commands
sudo systemctl daemon-reload
sudo systemctl enable mount-jellyfin
sudo systemctl enable docker