mintmenu/usr/lib/linuxmint/mintMenu/plugins
Clement Lefebvre e9d8a23e72 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:33:43 +01:00
..
__init__.py Coerse shebangs to #!/usr/bin/python2 2015-06-25 17:44:30 -07:00
applications.py Applications: Fix empty apps when a category has no icon 2019-09-26 09:57:10 +01:00
easybuttons.py Remove support for custom colors 2019-07-22 13:30:59 +02:00
execute.py Fix launching pkexec applications (#248) 2020-03-31 12:33:43 +01:00
filemonitor.py Assorted cleanup, fixes and performance improvements (#206) 2019-02-11 13:54:20 +00:00
get_apt_cache.py Assorted cleanup, fixes and performance improvements (#206) 2019-02-11 13:54:20 +00:00
places.py plugins: fix number of callback arguments (#236) 2019-08-19 15:23:46 +02:00
recent.py Remove obsolete code 2019-05-20 15:44:26 +01:00
recentHelper.py RecentApp: Fix crash when location doesn't exist 2019-09-26 09:42:43 +01:00
system_management.py plugins: fix number of callback arguments (#236) 2019-08-19 15:23:46 +02:00