I don't have xscreensaver installed. I'm not sure is dwm handling it. Dwm needs to compile every time you make changes to it and I've installed it from ports, so I can't compile it. Maybe I should try another tiling wm..Did you try to edit .xscreensaver and set timeout: 0:60:00? Works fine on i3.
xset s 3600 3600
exec dwm
.Thanks, good to know. I already moved from dwm to dspwm. Let's see is it better choice for me.Now I see what you mean by screensaver, you wanted to turn off the display power after 60 minutes. That can be done with xset and its independent of what WM you are using.
eg.xset s 3600 3600
To make the changes permanent add that command in your .xinitrc before the line withexec dwm
.
offtopic:
Speaking of dwm, it's too spartan and lack some features by default and without applying patches it's kinda annoying to use it at least for my taste, but when applying to much patches it break and you have to do it manually and that is time consuming and is not worth the effort.
It's that hard to install it?hmm.. I don't have xset either. Is possible to set new timeout without xset or do I need to install it?
pkg install xset
or cd /usr/ports/x11/xset/ && make install clean
No. I try to keep my system minimal, but this seems to be needed widely. with fonts etc.. I'll install it.It's that hard to install it?
pkg install xset
orcd /usr/ports/x11/xset/ && make install clean
xscreensaver -nosplash
to xscreensaver-demo
command.Installing x11/xscreensaver means extra stuff and he wants a "minimal" system, so the best solution it's with dpms (xset).Just install x11/xscreensaver, then addxscreensaver -nosplash
to
your WM autostart script (google it, to add it to your dwm WM, you'll need to rebuild
it with patch), then relogin. Then you'll be able to configure your screen power
management withxscreensaver-demo
command.
dice@williscorto:~ % pkg info -s xset
xset-1.2.4_2 43.9KiB
Section "ServerFlags"
#...
Option "BlankTime" "60"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection
This seems to work, thanks!Found this trick on a messageboard somewhere some time back, and it has worked pretty well for me on most, if not all, of the DE's I've tried it with. Just had to add the file /usr/local/etc/X11/xorg.conf.d/serverflags.conf with these contents:Note that "0" in this context is the code for "never" and not for "0 minutes"Code:Section "ServerFlags" #... Option "BlankTime" "60" Option "StandbyTime" "0" Option "SuspendTime" "0" Option "OffTime" "0" EndSection