You are not logged in.
Pages: 1
Topic closed
Hello,
When trying to use notifications in Emacs (GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.2) of 2012-11-18 on eric) with AwesomeWM I get the following error:
(notifications-notify :title "Test" :body "testing")Debugger entered--Lisp error: (dbus-error "No connection to bus" :session)
dbus-call-method(:session "org.freedesktop.Notifications" "/org/freedesktop/Notifications" "org.freedesktop.Notifications" "Notify" :string "Emacs" :uint32 0 :string "/usr/share/emacs/24.2/etc/images/icons/hicolor/scalable/apps/emacs.svg" :string "Test" :string "testing" (:array) (:array :signature "{sv}") :int32 -1)
notifications-notify(:title "Test" :body "testing")
eval((notifications-notify :title "Test" :body "testing") nil)
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp nil nil)The dbus-daemon is running:
~ $ ps -aux | grep "dbus.*sessio[n]"
zinsho 475 0.0 0.0 17536 1316 ? Ss 12:23 0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --sessionand I can successfully send notifications using notify send and dbus-send
$ notify-send "Test" "testing"
$ dbus-send --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.Notify string:"Emacs" uint32:0 string:"/usr/share/emacs/24.2/etc/images/icons/hicolor/scalable/apps/emacs.svg" string:"Title" string:"Test" array:string:"" array:string:"" int32:-1I've looked through Google and the wiki to try and find an answer and nothing has worked. I tested with Xfce4 and got the same error so I don't know where the issue is. Might it be related to using systemd to start dbus?
Offline
I'm having the same issue; did you find a solution? ![]()
Offline
I'm sorry tohojo, this is an old thread and OP has not posted in over a year. You should open a new thread. Forum Etquette: Old Threads / Necro-Bumping, Closing.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Pages: 1
Topic closed