I have my Pinephone with Arch+Phosh installed set to turn off the display after one minute, the problem is that instead of turning off the display it will switch to the lock screen and stay powered on indefinitely. This is remedied when I restart Phosh with
then it will behave as expected and power off the screen after one minute and the problem is gone until I reboot.
I've re-installed Arch+Phosh but the problem persists. It's a custom build so it could be one of a hundred things causing this to happen.
I looked to see if anyone else was having this problem but I couldn't find anything about it. I played around with the phosh.service file thinking the problem had something to do with the order Phosh is started but I haven't gotten anything to work. Anyone have this problem?
Edit: I solved the problem, it was caused by
running at boot causing conflict with the screen turning off. I renamed org.gnome.ScreenSaver to org.gnome.ScreenSaver.bak effectively disabling it and the problem went away.
Code:
# systemctl restart phosh.service
I've re-installed Arch+Phosh but the problem persists. It's a custom build so it could be one of a hundred things causing this to happen.
I looked to see if anyone else was having this problem but I couldn't find anything about it. I played around with the phosh.service file thinking the problem had something to do with the order Phosh is started but I haven't gotten anything to work. Anyone have this problem?
Edit: I solved the problem, it was caused by
Code:
/usr/bin/gjs /usr/share/gnome-shell/org.gnome.ScreenSaver