Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-08-12 21:36:55

schnedan
Member
Registered: 2020-08-12
Posts: 1

suspend powersave and screensaver by shellscript

How to suspend (and reenable) powersave and screensaver by shellscript e.g. for pre- & post actions for games or Mediaplayers

Offline

#2 2020-08-12 23:42:33

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,979

Re: suspend powersave and screensaver by shellscript

Hello and welcome.

Xfce has something called Presentation Mode (click on the power-manager icon on the panel) that can be toggled via:

xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -T

Caffeine or the forked caffeine-ng are also designed to do something similar. I believe you can activate/deactivate via command line as well.

Offline

Board footer

Powered by FluxBB