Go for it Andy. I added the same thing to qtvcp screens -it's handy. One fellow complained that on his system he needed to do some specific house keeping first. I can't recall what it was but the only other 'trick' is finding an 'agnostic' way to do it.
If your interested in code ideas: https://github.com/LinuxCNC/linuxcnc/blob/master/lib/python/qtvcp/qt_action.py Look for SYSTEM_SHUTDOWN_PROMPT The first two ways use the window manager prompt the last uses a system call and doesn't have a prompt. Chris ________________________________ From: andy pugh <bodge...@gmail.com> Sent: February 26, 2020 3:28 PM To: EMC developers <emc-developers@lists.sourceforge.net> Subject: Re: [Emc-developers] Touchy Tweak? On Wed, 26 Feb 2020 at 15:01, John Thornton <j...@gnipsel.com> wrote: > > often wished it had and "Exit App" button. I really hate the "Do you > really want to quit" nag... it's so annoying to have that as a feature > you can't control in the ini file. > I was considering setting up the "Shutdown" button require two presses before it did anything. Note that I also want this button to shut down the PC, rather than find a fiddly little button in the menu bar. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers