View Single Post
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#24
Originally Posted by Schturman View Post
Hi
Why when I try to run your script, I always get this error:
[CODE][root@localhost ~]# python /usr/share/jolla-mods/test.py
As a general rule, try to avoid using root when it is not strictly required.

To use the notifications service, you should connect to the "session bus" -- i.e. the D-Bus instance for the currently logged in user, which is "nemo" on the Jolla. You can't do this as root (not easily, that is).

Last edited by javispedro; 2014-01-27 at 03:23.
 

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