PINE64
Control Screen - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Manjaro on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=130)
+---- Thread: Control Screen (/showthread.php?tid=15117)



Control Screen - m80 - 10-17-2021

I have a couple of questions:

Is there a way to turn the screen on and off from the command line (over an ssh connection)?

Is there a config file somewhere that I can edit to keep the screen on all the time (I want to be able to use the phone as a clock)?  The settings in Plasma Mobile itself don't seem to do what I want them to...

Matthew


RE: Control Screen - Merc - 10-17-2021

I use wlr-randr to turn the screen on and off over SSH.
Code:
wlr-randr --output DSI-1 --on --scale 2
And a .desktop file that creates an icon on my home screen that runs
Code:
gnome-session-inhibit --inhibit idle --reason 'Keep-Awake application is open' --inhibit-only
to keep the display on until I close the window.


RE: Control Screen - m80 - 10-19-2021

(10-17-2021, 08:06 AM)Merc Wrote: I use wlr-randr to turn the screen on and off over SSH.
Code:
wlr-randr --output DSI-1 --on --scale 2
And a .desktop file that creates an icon on my home screen that runs
Code:
gnome-session-inhibit --inhibit idle --reason 'Keep-Awake application is open' --inhibit-only
to keep the display on until I close the window.

Thanks for the reply, but I'm afraid that I'm using Plasma Mobile and wlr-randr doesn't seem to work with it, however, it KDE seems to have it's own solution:

Code:
kscreen-doctor -d on/off

Now what I would like is for the screen to stay on while it's on the lock screen.

Matthew


RE: Control Screen - Merc - 10-19-2021

I can't help with that, sorry. I used Plasma Mobile for about ten minutes when I first got my phone, saw the state of it then switched to Phosh ever since LOL.