Skip to content

Instantly share code, notes, and snippets.

@ageldama
Created January 6, 2020 13:34
Show Gist options
  • Select an option

  • Save ageldama/d01c67208249c1f6980e894125042973 to your computer and use it in GitHub Desktop.

Select an option

Save ageldama/d01c67208249c1f6980e894125042973 to your computer and use it in GitHub Desktop.
DBus, org.freedesktop.Notifications, dbus-send fun
dbus-send --session \
--dest=org.freedesktop.Notifications \
--type=method_call --print-reply \
/org/freedesktop/Notifications \
org.freedesktop.DBus.Introspectable.Introspect
dbus-send --session \
--dest=org.freedesktop.Notifications \
--type=method_call --print-reply \
/org/freedesktop/Notifications \
org.freedesktop.Notifications.Notify \
string:'Myself' uint32:0 \
string: string:'Title' \
string:'Body' \
array:string: dict:string:string: int32:10000
https://dbus.freedesktop.org/doc/dbus-send.1.html
https://www.freedesktop.org/wiki/Software/dbus/
# Desktop Notifications Specification
http://www.galago-project.org/specs/notification/0.9/x408.html
@ageldama
Copy link
Copy Markdown
Author

ageldama commented Jun 5, 2023

@zlietapki wow, thanks, but: https://github.com/ageldama/configs/blob/master/xscreensaver-toggle.pl#L19

I'm using notify-send or something else too, just like you told me, thanks.

it was my scratch script, sorry if it gave some trouble.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment