diff --git a/flatpak/org.gajim.Gajim.Devel.yaml b/flatpak/org.gajim.Gajim.Devel.yaml
index b7d0249bf83f9aadf068abdc6a2c178c5ed05317..32e527490915e77fb893956eeed94fa96b209f3b 100644
--- a/flatpak/org.gajim.Gajim.Devel.yaml
+++ b/flatpak/org.gajim.Gajim.Devel.yaml
@@ -26,6 +26,8 @@ finish-args:
   - --talk-name=org.kde.kwalletd5
   # Notifications
   - --talk-name=org.freedesktop.Notifications
+  # tray/status icon
+  - --talk-name=org.kde.StatusNotifierWatcher
   # GnuPG
   - --filesystem=~/.gnupg
   # camera access
diff --git a/flatpak/org.gajim.Gajim.yaml b/flatpak/org.gajim.Gajim.yaml
index 93d38ad2ed110336f2605c59cc35ceb721d60c46..448a7c7652a54706850530d48597150ef6ef5c65 100644
--- a/flatpak/org.gajim.Gajim.yaml
+++ b/flatpak/org.gajim.Gajim.yaml
@@ -19,6 +19,8 @@ finish-args:
   - --talk-name=org.kde.kwalletd5
   # Notifications
   - --talk-name=org.freedesktop.Notifications
+  # tray/status icon
+  - --talk-name=org.kde.StatusNotifierWatcher
   # GnuPG
   - --filesystem=~/.gnupg
   # camera access
diff --git a/gajim/gtk/status_icon.py b/gajim/gtk/status_icon.py
index 077bfcd07b77271b32c41b6678817c196165e03f..d32afca7a76202e59a38ee5f2ff23aba8d1ec37a 100644
--- a/gajim/gtk/status_icon.py
+++ b/gajim/gtk/status_icon.py
@@ -298,7 +298,7 @@ def __init__(self) -> None:
 
         self._status_icon = appindicator.Indicator.new(
             'Gajim',
-            'dcraven-online',
+            'org.gajim.Gajim',
             appindicator.IndicatorCategory.COMMUNICATIONS)
         self._status_icon.set_icon_theme_path(str(configpaths.get('ICONS')))
         self._status_icon.set_status(appindicator.IndicatorStatus.ACTIVE)
@@ -320,6 +320,9 @@ def update_state(self, init: bool = False) -> None:
             self._status_icon.set_icon_full(icon_name, _('Pending Event'))
             return
 
+        if app.is_flatpak():
+            return
+
         show = get_global_show()
         icon_name = get_icon_name(show)
         self._status_icon.set_icon_full(icon_name, show)