mintmenu/usr/lib/linuxmint/mintMenu/plugins
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
..
__init__.py Coerse shebangs to #!/usr/bin/python2 2015-06-25 17:44:30 -07:00
applications.glade glade part #1 2016-09-06 17:52:12 +01:00
applications.py Applications: Fix keypress event handler (#205) 2020-03-31 12:36:16 +01:00
easybuttons.py Fix broke running with "xdg-su" in exec field (#200) 2020-03-31 12:36:19 +01:00
easyfiles.py Fixed indentation and trailing spaces 2016-05-21 17:11:36 +01:00
easygsettings.py fix indent (#183) 2017-08-26 17:35:45 +02:00
execute.py Fix launching pkexec applications (#248) 2020-03-31 12:37:09 +01:00
filemonitor.py fix indent (#183) 2017-08-26 17:35:45 +02:00
get_apt_cache.py Fixed indentation and trailing spaces 2016-05-21 17:11:36 +01:00
places.glade glade part #1 2016-09-06 17:52:12 +01:00
places.py Places: Don't hardcode file browser (#204) 2020-03-31 12:36:03 +01:00
recent.glade Show recently used apps (#167) 2017-11-11 08:59:49 +00:00
recent.py Show recently used apps (#167) 2017-11-11 08:59:49 +00:00
recentHelper.py Fix RecentHelper spam in logs 2018-06-08 12:19:59 +01:00
system_management.glade glade part #1 2016-09-06 17:52:12 +01:00
system_management.py Don't run mintinstall as root 2017-11-12 14:33:42 +00:00