Skip to content

Not showing gnom-shell notifications on Ubuntu #119

Done

Description

@i-bahnasy

I'm running app version: 0.6.16 on Ubuntu 26.10.
Incoming messages only show notifications in the system tray but doesn't show a gnome-shell desktop notification.

image

Activity

  1. karem505 commented on Nov 25, 2026

    @karem505
    Owner

    Thanks @i-bahnasy. The notification reaches GNOME (it is in the message list), so the question is why GNOME doesn't show it as a banner. Could you tell me:

    1. How did you install whatRust: Flatpak, AppImage, .deb or .rpm?
    2. Is whatRust listed in Settings → Notifications, and is Notification Popups on for it?
    3. The output of gsettings get org.gnome.desktop.notifications show-banners.
    4. Does it happen only while the whatRust window is focused, or also when it's minimized or another app is in front?
    5. If you can: run dbus-monitor "interface='org.freedesktop.Notifications'", receive one message, and paste the Notify call (blank out the message text).

    That shows whether the notification needs a different hint, for example a desktop-entry that matches the installed app.

  2. i-bahnasy commented on Nov 25, 2026

    @i-bahnasy
    Author

    Thanks @karem505 for your support.

    1. whatRust was installed visa .deb.
    2. There is no Notification Popups option in Settings → Notifications, but all notifications options are enabled.
    3. It happens in all cases whether the window is focused or not.
    $ journalctl -f
    gnome-shell[6761]: Can't update stage views actor unnamed [ClutterActor] is on because it needs an allocation.
    gnome-shell[6761]: Can't update stage views actor unnamed [ClutterActor] is on because it needs an allocation.
    
    $ dbus-monitor "interface='org.freedesktop.Notifications'"'"
    method call time=1795583267.677797 sender=:1.9725 -> destination=org.freedesktop.Notifications serial=24 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
       string "whatrust"
       uint32 0
       string "whatrust"
       string "whatRust test"
       string "If you can see this notice, Windows displayed the test."
       array [
       ]
       array [
       ]
       int32 -1
    method call time=1795583267.682307 sender=:1.37 -> destination=:1.28 serial=1422 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
       string "whatrust"
       uint32 0
       string "whatrust"
       string "whatRust test"
       string "If you can see this notice, Windows displayed the test."
       array [
       ]
       array [
          dict entry(
             string "x-shell-sender-pid"
             variant             uint32 452557
          )
          dict entry(
             string "x-shell-sender"
             variant             string ":1.9725"
          )
       ]
       int32 -1
    signal time=1795583267.709668 sender=:1.28 -> destination=:1.37 serial=132752 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=NotificationClosed
       uint32 207
       uint32 2
    
  3. karem505 commented on Nov 26, 2026

    @karem505
    Owner

    Thanks @i-bahnasy, your dbus capture showed the cause: the notifications carried no desktop-entry hint, so GNOME could not match them to the installed whatRust.desktop and only listed them. v0.7.1 (#137) sends the desktop file name for each package type (.deb/.rpm, AppImage, Flatpak) with normal urgency. Please update and tell me whether the banner appears now; I will reopen if it does not.

  4. i-bahnasy commented on Nov 27, 2026

    @i-bahnasy
    Author

    Thanks @karem505 , I upgraded to 0.7.1 but still the same issue, no notification banner.

    $ dbus-monitor "interface='org.freedesktop.Notifications'"
    method call time=1795755594.225358 sender=:1.1956 -> destination=org.freedesktop.Notifications serial=27 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
       string "whatRust"
       uint32 0
       string "whatrust"
       string "whatRust test"
       string "If you can see this notice, Windows displayed the test."
       array [
       ]
       array [
          dict entry(
             string "desktop-entry"
             variant             string "whatRust"
          )
          dict entry(
             string "urgency"
             variant             byte 1
          )
          dict entry(
             string "category"
             variant             string "im.received"
          )
       ]
       int32 -1
    method call time=1795755594.229442 sender=:1.33 -> destination=:1.24 serial=196 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
       string "whatRust"
       uint32 0
       string "whatrust"
       string "whatRust test"
       string "If you can see this notice, Windows displayed the test."
       array [
       ]
       array [
          dict entry(
             string "desktop-entry"
             variant             string "whatRust"
          )
          dict entry(
             string "urgency"
             variant             byte 1
          )
          dict entry(
             string "category"
             variant             string "im.received"
          )
          dict entry(
             string "x-shell-sender-pid"
             variant             uint32 95139
          )
          dict entry(
             string "x-shell-sender"
             variant             string ":1.1956"
          )
       ]
       int32 -1
    signal time=1795755594.249205 sender=:1.24 -> destination=:1.33 serial=5887 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=NotificationClosed
       uint32 28
       uint32 2
    
    $ journalctl -f | grep gnome-shell
    Nov 27 07:02:43 ZB gnome-shell[42864]: Can't update stage views actor unnamed [ClutterActor] is on because it needs an allocation.
    Nov 27 07:02:43 ZB gnome-shell[42864]: Can't update stage views actor unnamed [ClutterActor] is on because it needs an allocation.
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions