Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sound without notification daemon #2

Open
lodgerz opened this issue Jun 6, 2024 · 6 comments
Open

Sound without notification daemon #2

lodgerz opened this issue Jun 6, 2024 · 6 comments

Comments

@lodgerz
Copy link

lodgerz commented Jun 6, 2024

hello,
I tried snotify and noticed that it only works if I have a notification daemon activated, otherwise the notifications are seen but do not make any sound.
Is it possible to make this work with libnotify alone?
Thank you.

@Kimiblock
Copy link
Owner

Kimiblock commented Jun 8, 2024 via email

@lodgerz
Copy link
Author

lodgerz commented Jun 10, 2024

snotify monitors dbus to check if there is any notification. This daemon is mainly designed for GNOME so I don’t know what will happen if notification daemons aren’t running. You can play with dbus-monitor to see what happens though.

-- Sincerely, Kimiblock

thanks for the reply, but I have no idea what dbus-monitor is. I googled but I didn't understand anything ^_^''

@Kimiblock
Copy link
Owner

Kimiblock commented Jun 10, 2024 via email

@lodgerz
Copy link
Author

lodgerz commented Jun 10, 2024

$ dbus-monitor path='/org/freedesktop/Notifications'
signal time=1718013605.527086 sender=org.freedesktop.DBus -> destination=:1.57 serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.57"
signal time=1718013605.527100 sender=org.freedesktop.DBus -> destination=:1.57 serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
   string ":1.57"

when I receive a notification from chromium the output does not change

I don't use gnome or any DE, just openbox. and i have no /usr/share/dbus-1/services/org.freedesktop.Notifications.service file.
I don't want to use a notification daemon because I don't like them aesthetically (I've tried several: notification-daemon, lxqt-notificationd, mate-notification-daemon, xfce4-notifyd).

@Kimiblock
Copy link
Owner

Kimiblock commented Jun 10, 2024 via email

@lodgerz
Copy link
Author

lodgerz commented Jun 12, 2024

probably if there is no notification daemon Chromium uses its own notification system, which however has no sound on Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants