From 9baf8e19ea97835ddb2d9f79b65d8d588bc1930e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 12 Jun 2010 17:48:10 +0200 Subject: [PATCH] Kill Ubuntu indicators on start-up Canonical replaced status icons with libindicator based solutions, which don't work in the shell environment. Force the distro-patched versions to fall-back to upstream. https://bugzilla.gnome.org/show_bug.cgi?id=621382 --- js/ui/panel.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/js/ui/panel.js b/js/ui/panel.js index 157113fb5..25b015323 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -623,6 +623,14 @@ Panel.prototype = { /* right */ + // Yet-another-Ubuntu-workaround - we have to kill their + // app-indicators, so that applications fall back to normal + // status icons + // http://bugzilla.gnome.org/show_bug.cgi=id=621382 + let p = new Shell.Process({ args: ['pkill', '-f', + '^([^ ]*/)?indicator-application-service$']}); + p.run(); + // The tray icons live in trayBox within trayContainer. // The trayBox is hidden when there are no tray icons. let trayContainer = new St.Bin({ y_align: St.Align.MIDDLE });