AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Xscreensaver bspwm no startup window9/3/2023 ![]() Xset dpms force on xset s off dpms 0 0 0 -dpmsĮcho 'This script will not restore your xset settings, leaving screensaver and DPMS off.'Įcho 'Press Enter to proceed or ^C to abort.'Įcho "First, let's try without DPMS and with screensaver only. To switch monitor(s) off you need to resort to DPMS: If you trust what software reports about hardware, then xset screensaver is not a proper off. Uxer With xset s blank, does the screensaver actually switch the monitor(s) off so does it help battery life or is it just a visual? ![]() # check if configuration has actually been reverted & EXPOSE="s noexpose" || EXPOSE="s expose" Bspwm is packaged in most common distributions, so you can install it with your systems package manager. # X=$(echo $X) # strip leading/trailing blanks ![]() If [ "$(xset q | awk '/DPMS is/ # pattern may not exist-which is OK It will also revert your screensaver settings back to the state before you have launched this snippet (at least I hope so □, please report if □).Ĭaveat: it doesn't handle DPMS-related timeouts in nf and those passed as parameters to X as described in the following post #! /bin/ksh The following snippet will fireup the screensaver in 1 second and after another second stop it. Like for exiting screensaver programmatically. Shuts down currently running instance of the screensaver without changing your config. To execute bspwm on startup, edit /home/(your user name)/.xinitrc and add. On my machine, it either doesn't launch it at all, or the screensaver works for only a second. Promises to force-launch the screensaver, even if you have switched it off.
0 Comments
Read More
Leave a Reply. |