Article 6PH3X Issue with Browser Push Notifications on Mint XFCE

Issue with Browser Push Notifications on Mint XFCE

by
kurgen
from LinuxQuestions.org on (#6PH3X)
I've been trying to find a solution to this for almost a couple of months, installing multiple versions of Linux, testing, and searching forums, but I couldn't find anything really.

Screenshot of Notification Display and Activate Button (my issues)
https://imgur.com/f2Qzvxh.png

Problem:
  • I've enabled Twitter/X web push notifications, but the notifications are in plain text. If an image is attached to the tweet, it only shows the tweet text.
  • The "Activate" button directs me to the actual tweet, in dbus is something else check at the end
I tried to investigate using dbus-monitor "interface='org.freedesktop.Notifications'" but can't find the image or I'm not doing it right.

There are 3 strings with image paths

1) string "file:///tmp/.org.chromium.Chromium.Gg3MZf"
The first one is Brave Logo

Second and third are Twitter User Logo
2) string "/tmp/.org.chromium.Chromium.fPrank
3) string "/tmp/.org.chromium.Chromium.fPrank"

(Image in tweet "This is a Tweet Test" not found)

Here is the D-Bus monitor output:

Code:dbus-monitor "interface='org.freedesktop.Notifications'"
signal time=1722016008.401438 sender=org.freedesktop.DBus -> destination=:1.90 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
string ":1.90"
signal time=1722016008.401480 sender=org.freedesktop.DBus -> destination=:1.90 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
string ":1.90"
method call time=1722016012.551069 sender=:1.76 -> destination=org.freedesktop.Notifications serial=12 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
string "Brave"
uint32 0
string "file:///tmp/.org.chromium.Chromium.Gg3MZf"
string "User 5"
string "<a href="https://x.com/">x.com</a>

This is a tweet test"
array [
string "default"
string "Activate"
string "settings"
string "Settings"
]
array [
dict entry(
string "urgency"
variant uint32 1
)
dict entry(
string "desktop-entry"
variant string "brave-browser"
)
dict entry(
string "image_path"
variant string "/tmp/.org.chromium.Chromium.fPrank"
)
dict entry(
string "image-path"
variant string "/tmp/.org.chromium.Chromium.fPrank"
)
]
Issues:
  • The notifications show only the tweet text, not the attached images.
  • The "Activate" button directs me to the actual tweet, but in the D-Bus message, it only shows:
Code:string "<a href="https://x.com/">x.com</a>
Any ideas on how to fix this or display it in D-Bus?

I really appreciate your help.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments