67 votes

ubuntu 16.04 LTS 64bit - screen goes black every 15 seconds

I have solved this issue. I have no idea why the problem was triggered. I don't know what the problem actually was. I don't know why or how my solution works. I guessed that the problem was arising ...
user594707's user avatar
  • 1,271
25 votes

How to turn off screen (DPMS) together with locking session in KDE?

Confirmed: running the command: /bin/sleep 1 ; /usr/bin/xset dpms force off within the screen locked notification works for Plasmashell 5.10. Go to: System Settings > Notifications > Event source "...
Michael Nealand's user avatar
19 votes

How to turn off screen (DPMS) together with locking session in KDE?

With KDE Plasma 5.18, it is a little bit different from this comment. Search for Notification via Super and follow the screenshots below: I used /bin/sleep 5; /usr/bin/xset dpms force off instead of ...
jef's user avatar
  • 191
18 votes
Accepted

How can I blank the screen from the command line over SSH?

Short answer: xrandr --output DVI-I-1 --brightness 0 where DVI-I-1 is your screen's name. The other way around: xrandr --output DVI-I-1 --brightness 1 to set to normal brightness again. To get ...
Jacob Vlijm's user avatar
  • 83.8k
9 votes
Accepted

How to run a script at screen lock / unlocks in ubuntu 17.10

Assuming you're using Gnome then Nowadays I think it's better to listen to the LockedHint rather than screensaver messages. That way you're not tied to a screensaver implementation. Here's a simple ...
Matthew's user avatar
  • 924
8 votes

How do I completely turn off screensaver and power-management?

You didn't specify if you want permanent solution or temporary solution. If you want to turn off screensaver and power management for e.g. 2 hours, you can simply inhibit those features. In practice, ...
Mikko Rantalainen's user avatar
8 votes

How to disable screensaver in Xubuntu 18.04?

Since you're running Xfce, you could try changing the settings of the Xfce Power Manager. Find Power Manager in the Applications menu or run xfce4-power-manager -c from the terminal. Then you can ...
Cinnam's user avatar
  • 201
7 votes
Accepted

unity - how to detect if the screen is locked?

Aquarius Power's answer seems to work quite well. Here are some additions I might make to his solution. Only querying lock state If you simply need a one-liner to query the lock state, this should ...
b_laoshi's user avatar
  • 4,660
7 votes

123.SOGOU.COM - trojan horse in ukui-screensaver

I just installed Ubuntu 17.10. Screensaver was not going on, then I went to Software Center and installed the first screensaver I got in search result. It led to set Firefox's default page as 123....
LEo's user avatar
  • 479
5 votes

How to make "xset s off" survive a reboot (12.04)

If you have admin rights, you can make the setting system-wide in the Xorg server configuration files with option BlankTime, for example by creating /etc/X11/xorg.conf.d/50-my-screensaver.conf: ...
Peter Nowee's user avatar
5 votes

How to stop having to enter password twice to unlock the screen?

Try the following in the terminal: ps aux | grep screensaver Chances are you've got 2 different screensaver daeomns running at the same time. Like gnome-screensaver and mate-screensaver. For me, ...
Nevyn's user avatar
  • 141
5 votes
Accepted

Keep computer locked in a view-only state

Take a look at the xtrlock package, available in the Ubuntu repositories. I think it will accomplish what you're looking for. You can view its manual page online here: http://manpages.ubuntu.com/...
Nick Weinberg's user avatar
4 votes

How to turn off screen (DPMS) together with locking session in KDE?

As of KDE 5, most of the solutions here no longer work. Here's what I found that works though (as of 2016-09-28), create a text document and in it copy and paste the following code: #!/bin/sh ...
ClementinePorcupine's user avatar
4 votes

How do I disable the screensaver/lock?

Consider this dialog: this is not essentially a screensaver but it serves same function.
stiv's user avatar
  • 505
4 votes

Subscribe for DBUS event of screen power off

Well, it sucks that I can't leave a comment because I don't have the "reputation". This is more of a comment than a solution. I have been looking for something similar, and I'm monitoring 'org.gnome....
victorbrca's user avatar
4 votes

How to not show the clock screen when unblanking screen

Go to "Ubuntu Software" application. Search for "disable screen shield". Install it.
Julius Žaromskis's user avatar
4 votes
Accepted

How to disable screensaver lock?

I just realized lock and suspend are two different things in Ubuntu 18.04. One may disable the lock here: But still enable suspend here:
Adam's user avatar
  • 2,440
4 votes

Monitors do not turn off (enter powersave mode) after screen blanking

WORKAROUND Change the setting of your monitor from input select: auto to a fixed input, e.g. hdmi. Here, with a AOC Q3279VWFD8 (WQHD): OSD -> extra -> input select -> hdmi (was auto) That fixed ...
Janghou's user avatar
  • 5,719
4 votes
Accepted

How to configure ScreenSaver by Command Line?

Basics This options are usually saved using two tools - gsettings and dconf: To get actual gsettings key names you need to run gsettings list-recursively > gs1 for first time and then change ...
N0rbert's user avatar
  • 99.9k
3 votes

Privacy issue when waking up suspended machine

This seems to be present in a lot of distros. This is a workaround I'm using for Cinnamon on Debian, but it should be possible to do something similar with other distro/window manager combinations: ...
gethinlw's user avatar
3 votes

How to make "xset s off" survive a reboot (12.04)

This behavior is initiated at login and overrides the command if run at boot. To make this permanent, just add the lines below to the end of the .profile in your Home folder. # Turn off screen ...
rjd's user avatar
  • 69
3 votes

Configure screensaver in Ubuntu

Radu's answer is a good one so I won't duplicate it. I will point out extra steps recommended by the xscxreensaver developer. I'm also including a short paragraph of history from the developer. ...
WinEunuuchs2Unix's user avatar
3 votes

How do I disable the screensaver/lock?

Only caffeine extension worked for me in Ubuntu 19.04 to disable automatic screen lock and have manual locking still working. This is disable locking screen alltogether, so is not good: gsettings ...
rofrol's user avatar
  • 210
3 votes

Subscribe for DBUS event of screen power off

I've just installed Ubuntu 18.04 and it turns out there's no screensaver present by default. And honestly, I don't want one, so I won't bother installing one. However, I found some method calls from ...
evilpenguin's user avatar
3 votes

Subscribe for DBUS event of screen power off

Okay so after years of being frustrated with this, I finally did something about it and wrote a Python utility script that monitors DBus and properly receives session lock/unlock events. The code is ...
Naftuli Kay's user avatar
  • 4,234
3 votes

how do you permanently disable the screen saver in Xvfb?

Uncontrollable screen saver is often due to the default configuration of X, which is most conveniently changed by editing or creating a new /etc/X11/xorg.conf. Use sudo nano /etc/X11/xorg.conf to edit ...
David McCracken's user avatar
3 votes

How can I blank the screen from the command line over SSH?

Edit: The question has been changed since I had provided this answer. I will let this answer stand because it provides some information which may be of use. If by console you mean one of the ...
AlexP's user avatar
  • 10.2k
3 votes
Accepted

Ubuntu 16.04 keeps turning off the screen after 10 minutes

Your monitor is being turned off every 10 minutes because of the setting you have in: timeout: 600 cycle: 600 The 600 seconds timeout is 10 minutes. You can disable this timeout by changing ...
L. D. James's user avatar
  • 25.1k
3 votes

How to run a script at screen lock / unlocks in ubuntu 17.10

Use the existence of the process gnome-screensaver-dialog as an alternative trigger If dbus is not possible or not preferred for whatever reason, you can use the existence of the process gnome-...
Jacob Vlijm's user avatar
  • 83.8k

Only top scored, non community-wiki answers of a minimum length are eligible