PINE64

Full Version: Control Screen
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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.
(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
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.