helgeerbe / picframe

Picture frame viewer for raspi, controlled via mqtt and automatticly integrated as mqtt device in homeassistant.
MIT License
98 stars 28 forks source link

Script help to lauch Gnome #345

Open GitRayc opened 10 months ago

GitRayc commented 10 months ago

Sorry all but I am pretty new and afraid to do something that breaks my system cause I then have a hard time trying to sort it out.

First off I understand that Gnome Gui will work with bookworm and wayfire on pi4 Yes?

What I would like to do is have the Gnome GUI start up when I stop picframe.

I am thinking maybe I could write a small script the issues the systemctl command to start picframe and then continue on to launch the Gnome GUI automatically. Would this work?

And if so could anyone help me in creating that script and how to have it run as part of the systemctl stop picframe command.

Thanks Ray

GitRayc commented 10 months ago

All I am trying to do is get the GUI interface back after issuing the stop picframe command. This is what use to happen on my pi3 install using the old OS Now I have a pi4 running bookworm, I tried issuing wayfire -pi as suggested but that doesnt work

GitRayc commented 10 months ago

sudo wayfire-pi makes no difference I am afraid. Lots of errors and segmentation faults.

GitRayc commented 10 months ago

Finally have my picframe running beautifully once again on pi 4 with bookworm The only thing left outstanding for me is to discover how to have the GUI launch automatically once again when I issue the stop picframe command. This is what is used to do on my pi 3 running the old OS.

Ray