You are not logged in.
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
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
Thanks, yes, I am doing this as the gdm user.
Offline
Did you see "For newer versions of GNOME (Tested on 49.1):" in the link?
ls -lR /etc/dconfThere's no static gdm user any longer.
Offline
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
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