What have you tried: The following script named autostart.sh
#!/bin/zsh
xset s off
and added it to session & startup, but it doesn’t start, when I hit
xset q
What is the error:
The timeout setting is still at the default value of 300
Next step I will try to run autostart.sh from the cron @reboot
What device is this on: 6.12.20-amd64
Go to system settings, search for Power Management. Under “Suspend Session”, for “When inactive” make sure “do nothing” is selected.
Was trying your solution when I noticed at the very bottom of ‘Power Management’ there’s a button named ‘Screensaver Management’, I could disable it from there, will reboot now and see how it goes.
Btw I do not find a “Suspend Session” in Power Management → System, or anywhere else, at least not in xfce4
I have Plasma not xfce so I can’t check, but check all around power management. I usually have power management turned off to be honest, because it always seems to randomly do things I don’t want.
Good idea, I did turn off as many options possible, will see. Not the way I do things usually though.
Alright, just did an upgrade with the new key.
xset q gives me a timeout setting back at 300 again, although I had run xset s off command about an hour ago.
Update
Tried to reproduce on a Debian VM, same result, so probably more on xfce4 side
I’m hesitating between updating or creating a new post.
What is unclear to me is
- I have the Settings Manager → Power → Display or System settings on one hand
- I have the X Window Server (xset command) settings
If I take the first completely off, the second kicks in, at least that’s what it seems to me. I’m confused and am not the guy to spend time on some trivial stuff like that, but it bothers me.
Anyone can help ?
So turn everything off in Settings Manager, and then add the following lines to your .zshrc file in your home directory.
xset s off # Turns off screensaver
xset s noblank # Turns off the blanks screen
xset -dpms # Disables powermanagement
1 Like
@denartha That’ll make the changes permanent. Thanks that’s what I needed
1 Like