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

The name org.freedesktop.Notifications was not provided by any .service files #344

Closed
RidaAyed opened this issue Feb 28, 2018 · 9 comments
Closed

Comments

@RidaAyed
Copy link

Hi

Since upgrading Arch Linux from 4.15 to 4.16 via $pacman -Syyu I got this message upon running $ gnome-pomodoro:

** (gnome-pomodoro:4862): CRITICAL **: file notifications-capability.c: line 1118: unexpected error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files (g-dbus-error-quark, 2)
Segmentation fault (core dumped)

Any ideas where I should start digging?

@kafendt
Copy link

kafendt commented Apr 12, 2018

I am having the same issue

@chikh
Copy link

chikh commented May 25, 2018

@RidaAyed It depends on your DE (or absence of it), but this have helped me: https://wiki.archlinux.org/index.php/Desktop_notifications#Standalone

@westofer
Copy link

this might help someone

mkdir -p $XDG_DATA_HOME/dbus-1/services

echo '
[D-BUS Service]
Name=org.freedesktop.Notifications
Exec=/usr/lib/notification-daemon-1.0/notification-daemon
' > $XDG_DATA_HOME/dbus-1/services/org.freedesktop.Notifications.service

@Lebsasha
Copy link

Lebsasha commented Feb 9, 2021

Thank you. It helped me with Linux Debian 10 with LXDE desktop environment. Although in my case, I need to replace the path to notification-daemon:
[D-BUS Service]
Name=org.freedesktop.Notifications
Exec=/usr/lib/notification-daemon/notification-daemon

@DeepakDenre
Copy link

I am also getting the same error

GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files

In termux after installing tigervnc and xfce4 can anyone help

@slyfox1186
Copy link

For anyone concerned this fixed my issue.

GitHub Script

@xbello
Copy link

xbello commented Oct 20, 2023

Thank you. It helped me with Linux Debian 10 with LXDE desktop environment. Although in my case, I need to replace the path to notification-daemon: [D-BUS Service] Name=org.freedesktop.Notifications Exec=/usr/lib/notification-daemon/notification-daemon

You must find where your notification-daemon lives, maybe using locate notification-daemon. In my Fedora + LXDE, it is at /usr/libexec/notification-daemon.

@dhjw
Copy link

dhjw commented Apr 6, 2024

On my minimal LXDE I also had to sudo apt install notification-daemon

@kamilprusko
Copy link
Collaborator

Changed the use of org.freedesktop.Notifications to be optional. Without it, notifications won't have buttons... I don't remember why we disable them. I assume it was a done for Unity.

XFCE supports buttons ok. It doesn't respect withdrawal of notifications. Notifications tend to accumulate on the desktop.

I haven't tested Pomodoro on a minimal LXDE. If buttons work ok, we could just just assume that buttons work on every desktop now.

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

10 participants