Thread: [Fremantle Maemo5] [Announce] OpenSSH status widget
View Single Post
Posts: 176 | Thanked: 468 times | Joined on Jan 2010 @ NL
#24
I tried, and the outcome is interesting

As root, the first command fails and the second succeeds. However, when I tried them as a normal user (not root), both of them worked!

Here is the output:
Code:
BusyBox v1.23.1 (Debian 1.23.1power2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo gainroot
Root shell enabled


BusyBox v1.23.1 (Debian 1.23.1power2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # dbus-send --dest=org.freedesktop.Notifications /
org/freedesktop/Notifications org.freedesktop.Notifications.S
ystemNoteDialog string:qwertz uint32:0 string:
Failed to open connection to "session" message bus: (null)

/home/user # run-standalone.sh dbus-send --print-reply --typ
e=method_call --dest=org.freedesktop.Notifications /org/free
desktop/Notifications org.freedesktop.Notifications.SystemNo
teDialog string:qwertz uint32:0 string:dummy
method return sender=:1.31 -> dest=:1.132 reply_serial=2
   uint32 12

/home/user # exit

~ $ dbus-send --dest=org.freedesktop.Notifications /org/free
desktop/Notifications org.freedesktop.Notifications.SystemNo
teDialog string:qwertz uint32:0 string:

~ $ run-standalone.sh dbus-send --print-reply --type=method_
call --dest=org.freedesktop.Notifications /org/freedesktop/N
otifications org.freedesktop.Notifications.SystemNoteDialog 
string:qwertz uint32:0 string:dummy
method return sender=:1.31 -> dest=:1.134 reply_serial=2
   uint32 14
Hope this helps!
__________________
Sony CMD J6 > HTC Canary > HTC Universal > Nokia N82 > Nokia N8 > Nokia N900 > HTC One X > Jolla > Nexus 5 > Nexus 5X > Pixel 2 / PinePhone
 

The Following User Says Thank You to ThomasAH For This Useful Post: