Forrest logo
back to the xset tool

xset:tldr:99b17

xset: Disable the screensaver.
$ xset s off
try on your machine

The command "xset s off" is used in Linux and Unix-like operating systems to disable the screen saver feature.

In these systems, a screen saver is a program or animation that is triggered after a period of user inactivity. It activates to prevent screen burn-in on older CRT monitors and to save power on modern display technologies.

The "xset" command is a utility to modify various X Server settings, and the "s" option is used to control the screen saver parameters.

By running "xset s off", the screen saver function is turned off, which means the screen will no longer lock or display any animations after a period of inactivity. This can be useful in situations where you don't want the screen to turn off or lock automatically, such as when watching a movie or during a presentation.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • how to temporarily override linux computer suspension?
  • how to temporarily prevent the suspension of the computer on linux?
back to the xset tool