mintmenu/usr/lib/linuxmint/mintMenu/plugins
Clement Lefebvre 4bbd037178
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:29:07 +01:00
..
__init__.py all: Use python3 2020-03-30 19:14:05 -04:00
applications.py Use gsettings for recent and favorite apps 2020-03-30 19:30:54 -04:00
easybuttons.py Use gsettings for recent and favorite apps 2020-03-30 19:30:54 -04:00
execute.py Fix launching pkexec applications (#248) 2020-03-31 12:29:07 +01:00
filemonitor.py all: Use python3 2020-03-30 19:14:05 -04:00
get_apt_cache.py Assorted cleanup, fixes and performance improvements (#206) 2019-02-11 13:54:20 +00:00
places.py all: Use python3 2020-03-30 19:14:05 -04:00
recent.py recent.py: Allow the clear button to apply to whichever tab is currently 2020-03-30 19:31:45 -04:00
recentHelper.py Use gsettings for recent and favorite apps 2020-03-30 19:30:54 -04:00
system_management.py plugins: fix number of callback arguments (#236) 2019-08-19 15:23:46 +02:00