Notifications don't show up (notify-send notify-osd)

Thiago Macieira thiago at kde.org
Wed May 7 11:07:00 PDT 2014


Em qua 07 maio 2014, às 09:31:18, Mehturt escreveu:
> So I updated the machine, rebooted and now I see notify-send seems to
> work properly, even though no DBUS* variable is set in my environment.
> Is that ok?
> From the session which seems to display notification (notify-send asdf
> - displays the box with asdf text) I did:
> cat /proc/$$/environ
> But there's no DBUS*

The D-Bus library obtains the socket address from a special X11 window. You 
don't need to do anything.

This is inefficient though, since it needs to spawn a separate process. It's 
best to have the environment variable if you're going to use a real session. 
But for one-offs, the cost is equivalent.
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358



More information about the dbus mailing list