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
  screen brightness Uturn 1 895 10-09-2023, 04:38 AM
Last Post: Eugo
  screen brightness locked Uturn 0 756 07-07-2023, 09:38 AM
Last Post: Uturn
  Backup and Home Screen Tinkering on Phosh jakfish 0 953 02-24-2023, 12:56 PM
Last Post: jakfish
  Screen timeout makes alarm and timer unusable... Eugo 9 4,641 10-03-2022, 01:41 AM
Last Post: Eugo
  Screen blocker is damaged ("loginctl unlock-session c1" problem) Gon 2 2,127 09-29-2022, 12:42 PM
Last Post: Firewave
  Disabling screen timeout for plasma mobile rp3 7 7,722 09-05-2022, 03:50 PM
Last Post: christev1
  |Plasma] Blank screen + pointer, SDDM error tuxmain 0 1,091 07-04-2022, 11:42 AM
Last Post: tuxmain
  How to return to "home screen" hiddenpotato 7 6,832 03-05-2022, 06:21 AM
Last Post: dcinoz
  Manjaro Welcome screen landscape JohanB89 2 2,373 11-12-2021, 01:13 AM
Last Post: acrux
  KDE Plasma Mobile screen scaling Uturn 1 1,960 10-29-2021, 06:59 AM
Last Post: Uturn

Forum Jump:


Users browsing this thread: 1 Guest(s)