You are not logged in.

#1 2026-01-06 10:41:29

janoschz
Member
Registered: 2015-10-06
Posts: 31

Cannot make GDM to blank screens

Hi all and a happy new year.
I am running a hyprland setup with GDM as a login manager. I am also working remotely just using ssh and the terminal though. Therefore I often don't use the desktop. I remember that I successfully disabled GDM from going to sleep after inactivity - by changing the dconf settings by

dbus-launch gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'nothing'

I now wanted to change the behavior to blank the screens by

dbus-launch gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'blank'

I now have the following settings

GSETTINGS_BACKEND=dconf gsettings list-recursively  | grep -P 'idle-delay|org.gnome.settings-daemon.plugins.power'
io.github.realmazharhussain.GdmSettings.power idle-delay 10.0
org.gnome.desktop.session idle-delay uint32 120
org.gnome.settings-daemon.plugins.power ambient-enabled true
org.gnome.settings-daemon.plugins.power idle-brightness 30
org.gnome.settings-daemon.plugins.power idle-dim true
org.gnome.settings-daemon.plugins.power power-button-action 'suspend'
org.gnome.settings-daemon.plugins.power power-saver-profile-on-low-battery true
org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 120
org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'blank'
org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 900
org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type 'suspend'

But the screens never go blank.

Any idea, what I could do? Thanks a lot for any hints.

Offline

#2 2026-01-06 19:34:20

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,074

Re: Cannot make GDM to blank screens

You need to run the dbus-launch via sudo explicitly for the 'gdm' user, are you doing that? https://wiki.archlinux.org/title/GDM#GD … NOME_3.28)

Offline

#3 2026-01-06 20:17:59

janoschz
Member
Registered: 2015-10-06
Posts: 31

Re: Cannot make GDM to blank screens

Thanks, yes, I am doing this as the gdm user.

Offline

#4 2026-01-06 21:16:27

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,541

Re: Cannot make GDM to blank screens

Did you see "For newer versions of GNOME (Tested on 49.1):" in the link?

ls -lR /etc/dconf

There's no static gdm user any longer.

Offline

#5 2026-01-07 07:11:32

janoschz
Member
Registered: 2015-10-06
Posts: 31

Re: Cannot make GDM to blank screens

Oh no. Thank you seth. Any idea I can make GDM blank the screen on inactivity nevertheless? Or would you recommend to switch to SDDM? Does that work there?

Offline

#6 2026-01-07 07:56:47

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,541

Re: Cannot make GDM to blank screens

I'd first and foremost inspect that directory - since you apparently have to generate a config away from the defaults to disable blanking, removing the GDM specific configs there will probably do.

Offline

Board footer

Powered by FluxBB