Mentalblaze 9 Posted February 27, 2022 Posted February 27, 2022 I have installed the Emby server on a Raspberry Pi 4 using R pi OS x64 (debian Bullseye). Then I realized that I wanted to use it as a client too (is that too much for it??) so I installed Emby Theater. But, as stated in the instructions, I need to start it from Applications. But I do not have mouse or keyboard connected to it, only a CEC remote. So I need to add it to Autostart. Found a guide that said should add a file in pi/.config/autostart. So I followed the guide and created a file with this: [Desktop Entry] Type=Application Name=Emby Theater Exec=sh -c '/usr/bin/emby-theater.sh' StartupNotify=false Terminal=false The exec part is a plain guess, and it does not work. Am I on the right track and just need to configure the 'Exec=' part? Or is this totally wrong and I need to do something completly different?
Luke 42077 Posted February 28, 2022 Posted February 28, 2022 Hi, yes we've recently reworked our Theater packages and we'll need to update the autostart instructions, so stay tuned for that. 1
Solution alucryd 315 Posted March 1, 2022 Solution Posted March 1, 2022 Hi there, can you try to create the file `~/.config/lxsession/LXDE-pi/autostart` with the following content: @xset s off @xset -dpms @xset s noblank @emby-theater This should launch an LXDE session with just emby-theater. 1
Mentalblaze 9 Posted March 1, 2022 Author Posted March 1, 2022 Thanks. I did not have such a file, so I created it and that worked perfectly. 1
Mentalblaze 9 Posted March 3, 2022 Author Posted March 3, 2022 I had problems getting the audio to work on Bullseye. And I read that a lot of people had this problem with that version and that Buster was a lot better. So after a couple of days of trying to fix it I gave up and installed Buster instead. But that means that I need this command in Buster instead... "LXsession" is not present in this distro. But lxpanel is. So I added ~/.config/lxpanel/LXDE-pi/autostart with the same settings as above. But that failed. So I hope that @alucryd know whats wrong... (I keep it as "solved", as it was the solution for the version stated in the first post)
Mentalblaze 9 Posted March 3, 2022 Author Posted March 3, 2022 That was easy. Just create the folder structure and file `~/.config/lxsession/LXDE-pi/autostart` and it works. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now