How do i make my Qt GUI application pop up when i hit shut down button in ubuntu 14.04?
Unsolved
General and Desktop
-
Hi,
I'm not sure to understand it correctly. Your Application needs to be launched when you shut down your OS, or is your application already launched and has to intercept the shut down signal, to do stuff before closing for instance?
Anyway, you can have a look at signal handling here:
http://www.alexonlinux.com/signal-handling-in-linux
http://man7.org/linux/man-pages/man7/signal.7.html
http://stackoverflow.com/questions/17942034/simple-linux-signal-handling
http://www.linuxprogrammingblog.com/all-about-linux-signals?page=3