I wonder if anyone could help me shed some light on a certain matter.
I need a simple way of temporarily disabling the screensaver in Lubuntu 20.04.3 LTS.
I often let my system read out text from the browser/pdf etc. to me. I once wrote a dedicated script for that purpose.
Whenever the reading itself takes longer than 10 minutes or so (and if I don´t use my mouse in the meantime) the screensaver kicks in.
Of course this isn´t a huge problem by itself as I just have to move my mouse a bit to get my display back but it got me wondering:
Wouldn´t there be an uncomplicated solution (a simple command via CLI would do) for temporarily disabling the screensaver
I´ve looked around a bit and found caffeine (Caffeine in Launchpad )as a possible solution. Yet I´d have to install the programme and see how it works. But perhaps this might be an overkill?
I´d rather prefer the CLI.
I was wondering about
xset s off and later (when I need the screensaver again)
xset s on
man xset says:
xset - user preference utility for X […]The s option lets you set the screen saver parameters
xset q produced a curious output:
[...] Screen Saver: prefer blanking: yes allow exposures: yes timeout: 0 cycle: 0 [...]
That´s a bit funny because after about 10 minutes the screensaver kicks in despite the setting of “timeout: 0”.
That seems to be the default setting as I never changed anything.
I compared that with Debian10 which I have installed as a VM. Here the default settings seem to be correct: “timeout: 600”.
Any ideas why xscreensaver still kicks in after about 10 minutes?
Thanks a lot in advance.