How to turn off the screen saver of CentOS 7?

25

2

After a few minutes, the screen turns black and a screensaver will come out if I move the mouse, like on the screenshot below. How to turn all these off? The OS is Centos 7.

screen

user280121

Posted 2015-01-25T00:52:33.590

Reputation: 377

Answers

30

More detail:

  • Click on the power icon in the upper left.
  • Click on settings(wrench/screwdriver picture/icon).
  • Click on the power icon.

Under power saving is the selection for blank screen, mine was set to a default of 5 min. I changed it to never.

markl

Posted 2015-01-25T00:52:33.590

Reputation: 301

This answer should get the credit. Thank you. – Philip Brack – 2018-12-11T19:18:09.670

3

In your terminal write these commands:

xset s off
xset s noblank

EDIT1:

Try with this script:

#!/bin/sh
export DISPLAY=:0.0
xset s off
xset s noblank
xset -dpms

ValeriRangelov

Posted 2015-01-25T00:52:33.590

Reputation: 259

I edit the post. – ValeriRangelov – 2015-01-25T01:21:38.960

3

In centos 7, click on your username in the upper right corner. Then click 'Power' and change the time to what you want. There is an option for 'Never' so that your screen will quit going black.

Hank

Posted 2015-01-25T00:52:33.590

Reputation: 31

This is the exact same answer as https://superuser.com/a/1016299/245033, only less detailed.

– boardrider – 2018-07-19T20:49:14.247