visavis the screen blanker, an interesting solution from the xorg.list. With some noted comments by me
---------- Forwarded Message ---------- Subject: Re: Feature request, but must be universallly accepted by ALL blanker authors Date: Friday 02 October 2020, 16:28:45 From: Alan Coopersmith <[email protected]> To: Gene Heskett <[email protected]>, [email protected] On 10/2/20 12:18 PM, Gene Heskett wrote: > I have now been 3 days looking for a way to disable this blanker, trying > several methods by way of xset, only to find 15 minutes later that its > been undone and the blanker kicks in regardless. xset only controls the screen blanking & power management built into the X server. Anything prompting for a password to unlock is from a client application or window manager/desktop environment, not the X server, and has its own controls. (For GNOME 3, this is built into gnome-shell & gdm, for other environments it may be a standalone program like xscreensaver or xlockmore.) > So I am proposing that an env variable be named an agreed upon name, > and > that its presence totally disables any and ALL screen blanker's > regardless of whose desktop of the day is installed. We can incorporate > the setting of this, on launching LinuxCNC, and unsetting it when > LinuxCNC is being shut down. I don't see how LinuxCNC could set an environment variable that will be detected by programs that started before LinuxCNC was - normally environment variables are passed on from the process that starts another process and there's no common API to change one in an already running process. Fortunately, there's already an existing script which knows about the most common screensaver implementations and how to suspend them: https://linux.die.net/man/1/xdg-screensaver gene:This isn't available. https://gitlab.freedesktop.org/xdg/xdg-utils/-/blob/master/scripts/xdg-screensaver.in gene:Looking at this, theres no xfce mentioned. So LinuxCNC could call xdg-screensaver suspend with the ID of its control window. -- -Alan Coopersmith- [email protected] Oracle Solaris Engineering - https://blogs.oracle.com/alanc ------------------------------------------------------- Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene> _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
