Control Screen
#1
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
  Reply
#2
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.
  Reply
#3
(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
  Reply
#4
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.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Manjaro Welcome screen landscape JohanB89 2 275 11-12-2021, 01:13 AM
Last Post: acrux
  KDE Plasma Mobile screen scaling Uturn 1 249 10-29-2021, 06:59 AM
Last Post: Uturn
  How to remove Manjaro Phosh lock screen password? Avisando 4 574 10-28-2021, 04:20 AM
Last Post: Avisando
  Music stops playing when screen goes off and session gets suspended jojuma 2 321 10-24-2021, 03:04 AM
Last Post: jojuma
  Pine phone crush after screen connexion matbos 0 178 10-13-2021, 10:03 AM
Last Post: matbos
  Plasma Mobile - How supposed to change screen brightness? KNERD 11 935 10-09-2021, 04:48 AM
Last Post: acrux
  low brightness in KDE makes screen unusably dark cybercow 5 881 09-01-2021, 02:13 AM
Last Post: grump_fiddle_reinstall
  Screen recording on PlaMo ryo 5 1,184 08-19-2021, 07:41 PM
Last Post: ryo
Question Infinite loop: passcode entry -> lock-screen, repeat danimations 3 843 07-12-2021, 08:21 PM
Last Post: danimations
  Won't boot past the KDE splash screen nelstomlinson 5 1,008 07-10-2021, 04:46 PM
Last Post: mouffa

Forum Jump:


Users browsing this thread: 1 Guest(s)