Hey,
I’m running OpenPHT on a Debian server, that I use as a media and file server and some other stuff.
I’m wondering if there is a possibility to have it set up in a way, that when I boot up the server it automatically opens OpenPHT in fullscreen.
What I tried was, to create a new user that would automatically login after boot and using the GNOME Tweak Tool I set OpenPHT to auto launch. This works fine, except for the fact that after opening OpenPHT I still see the Gnome menu at the top of the screen. And I have to use a mouse to click into the window that OpenPHT is running in to get it to disappear.
Now, ideally I would like not to have any peripherals like mouse or keyboard connected to the server, because it will be standing in my living room. So OpenPHT should open smoothly on its own.
I was wondering about, if it would be possible to have the Debian user account set up in a way that on login it only opens the essential tools for OpenPHT to run. Maybe something like a kiosk mode, so that the over all experience would be similar to using Rasplex.
What I did on Ubuntu Gnome is I set up a user called “hometheater” with a custom session where, instead of the desktop, OpenPHT is launched directly. In this way you don’t even have the burden of the whole desktop environment, and when you quit OpenPHT it gets out to the login screen. Of course don’t set a password for that user and allow automatic login.
Thanks @zpaolo11x,
This time it strangely worked. The last time I tried this approach, I got a black screen and the computer wasn’t responding.
@zpaolo11x said:
What I did on Ubuntu Gnome is I set up a user called “hometheater” with a custom session where, instead of the desktop, OpenPHT is launched directly. In this way you don’t even have the burden of the whole desktop environment, and when you quit OpenPHT it gets out to the login screen. Of course don’t set a password for that user and allow automatic login.Start ubuntu without a desktop environment but start an X application - Ask Ubuntu
What did you enter in the “exec=” line? I tried “/opt/openpht/bin/openpht”, but it fails to execute.
Thanks!
I just put this:
[Desktop Entry]
Type=Application
Exec=openpht
Name=Plex Home Theater
Comment=Testing
and it works
Just to clarify on some earlier points: there’s other “.desktop” files in the xsessions folder. Use those as templates!