Advanced Mint menu for MATE
Go to file
Clement Lefebvre cb9d4875f3 Fix launching pkexec applications (#248)
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:37:09 +01:00
debian 5.9.1.1 2020-03-19 11:04:57 +00:00
usr Fix launching pkexec applications (#248) 2020-03-31 12:37:09 +01:00
COPYING move COPYING file 2013-05-29 13:49:31 +02:00
makepot Show recently used apps (#167) 2017-11-11 08:59:49 +00:00
mintmenu.pot Show recently used apps (#167) 2017-11-11 08:59:49 +00:00
README Clean up and add debugging info 2016-05-21 18:08:09 +01:00
test Clean up and add debugging info 2016-05-21 18:08:09 +01:00

DEBUGGING
---------

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