Turn off screensaver.

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
Ebere
Level 3
Level 3
Posts: 174
Joined: Mon Apr 26, 2010 7:47 pm
Location: Index, Wa. The great northwet

Turn off screensaver.

Post by Ebere »

This may be the shortest and easiest tutorial, ever. LOL (Well, the tute, part, anyway. The explanation takes the most typing.)

Admins, if this isn't the right place for this, please feel free to relocate it.

The problem: Screensaver just doesn't seem to turn off.

The screen turns off after about 10 minutes no matter what you do. No screensaver settings, or power settings, etc, affect it. Turning off the screensaver, or even uninstalling it does not affect it. It just blanks the screen after ten minutes, no matter what.

This has been a problem for as long as I can remember. It has been a problem with every new release, for a while.

Solutions have ranged from installing and setting up a different screensaver, to writing text files and somehow executing them at startup. Etc.

All the instructions showing writing text files, setting up permissions, going there in the terminal, doing commands in the terminal, etc... after a while just leave my eyes glazed over.

The very simplest solution that I have tried, that actually works is:

Hit the "menu" button.
Go to "control center".
Go to "Startup Applications".
Hit "Add".
Give it whatever name you want. Same with comment...
In the "Command field", type or paste "xset -dpms".
Now hit "Add", and then back out of there.

That's it. You don't have to put in a second line. (Which would be "xset s off", if you had to add it.) Nothing else. Just reboot.

That's all I did. Nothing more, nothing less. I have been paying attention. My screensaver does NOT turn itself on. The screen does not turn off. Nothing like that. I can watch a movie or video without having to move the mouse or hit a key every ten minutes or so!

"The true measure of a man is how he treats someone who can do absolutely nothing for him in return." ~Samuel Johnson (1709-1784)
User avatar
rAllcorn
Level 1
Level 1
Posts: 12
Joined: Sun Aug 27, 2017 11:45 pm
Location: Liberty Hill, TX USA
Contact:

Re: Turn off screensaver.

Post by rAllcorn »

So, this is probably why folks are using macOS more than LINUX ...
Issues like this one that never really get fixed.

It's ashamed too, LINUX is a better OS.
- rAllcorn -
Image
Richard A. Allcorn aka "Rich"
eMail: rich@allcorn.us or rAllcorn@ITnetworking.info
http://rich.allcorn.us
User avatar
karlchen
Level 23
Level 23
Posts: 18206
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Turn off screensaver.

Post by karlchen »

Hello, Ebere.

The commandline which you present as the solution, xset -dpms, shows that what you really switch off is not the screensaver, in particular not an uninstalled screensaver (wonder how it could kick in auto-magically anyway); what you switch off is the monitor power saving mode (Energy Star funcionality, DPMS).
The xset manpage confirms so:

Code: Select all

man xset
[...]
       -dpms   The -dpms option disables DPMS (Energy Star) features.
       +dpms   The +dpms option enables DPMS (Energy Star) features.
[...]
DPMS permits your monitor to switch off the display and drop into standby mode after a certain time of inactivity.

Also as you put the command xset -dpms into the user's startup applications, rebooting is not required in order to execute it. Logging off from the graphical desktop and logging back into the graphical desktop would be sufficient.

Regards,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 771 days now.
Lifeline
David Farris

Re: Turn off screensaver.

Post by David Farris »

Thank You eBere! This was driving me nuts! :D :D :D :D
User avatar
all41
Level 19
Level 19
Posts: 9518
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Turn off screensaver.

Post by all41 »

My monitor also is dpms compliant.
I disable this using a startup script that contains the following:
xset s 0 0 &
xset -dpms; xset s off
This is executed at every boot and alleviates the dpms entirely, not green--but personally compliant.
Everything in life was difficult before it became easy.
Post Reply

Return to “Tutorials”