Advanced Mint menu for MATE
Go to file
Clement Lefebvre 28c7126bba Fix launching pkexec applications
When launching mintsources, timeshift or an app which Exec field (in the desktop file)
starts with pkexec, nothing happens and the output states:

"Refusing to render service to dead parents."

For some reason this does not happen on fresh LMDE 4 and Mint 19.3 installations,
but it happens on LMDE 3 -> LMDE 4 and 19.1 -> 19.3 upgrades.

Similar bugs were fixed in nemo and cinnamon. Pkexec is known to cause issues
depending on how it's launched.

Specifying DO_NOT_REAP_CHILD in the spawn flags helps here. Afaik it makes it so
we're the parent of the pkexec process during launch. Pkexec fails to launch
otherwise.

gather_pid_callback() does nothing, it's just there to ack the pid callback. Afaik
this helps preventing zombie [defunct] processes when they terminate.
2020-03-31 12:15:48 +01:00
debian 6.0.3 2019-12-10 16:08:20 +00:00
usr Fix launching pkexec applications 2020-03-31 12:15:48 +01:00
COPYING move COPYING file 2013-05-29 13:49:31 +02:00
makepot l10n: Update POT 2019-07-21 16:08:34 +02:00
mintmenu.pot l10n: Update POT 2019-11-19 14:00:33 +00:00
README Clean up and add debugging info 2016-05-21 18:08:09 +01:00
test Assorted cleanup, fixes and performance improvements (#206) 2019-02-11 13:54:20 +00:00

DEBUGGING
---------

 - Remove mintmenu from the panel (it should not run anywhere else).
 - Run ./test