Hi to all
A few day ago I posted it on TJC, but no answer till now... Maybe here someone can help me...
I have a little problem with my python script for custom notification and problem come from .conf file. To be more exactly from one specific line in this .conf file. This problem started from v2.1.1.23.
Here is my python script:
Until v2.1.1.23 all worked perfectly, but now (also on 2.1.2.3) I noticed that I don't get notifications at all. I checked it manually via terminal and got this output:
Code:
[nemo@Jolla-C ~]$ python /usr/share/openrepos-batterynotifier/notifier3.py
Traceback (most recent call last):
File "/usr/share/openrepos-batterynotifier/notifier3.py", line 19, in <module>
0)
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 70, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in __call__
**keywords)
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: PID 25730 is not in privileged group
[nemo@Jolla-C ~]$
Started to check all my files and found that if I removing line "x-nemo-user-removable=false" from my .conf file, all work perfectly, but it user removable and I don't want it, I want to prevent from user removing this notification from event screen (it's doing another my script automatically).
Some system .conf files like "x-nemo.system-update.conf" also have this line "x-nemo-user-removable=false" and it work (user can't remove system-update notification from event screen)... That mean (I think so) I need do some changes in my script, but I don't know what exactly...
Someone know how to fix it ?
Thanks.
A few day ago I posted it on TJC, but no answer till now... Maybe here someone can help me...
I have a little problem with my python script for custom notification and problem come from .conf file. To be more exactly from one specific line in this .conf file. This problem started from v2.1.1.23.
Here is my python script:
Some system .conf files like "x-nemo.system-update.conf" also have this line "x-nemo-user-removable=false" and it work (user can't remove system-update notification from event screen)... That mean (I think so) I need do some changes in my script, but I don't know what exactly...
Someone know how to fix it ?
Thanks.
Lausanne & Lyon de descente...
----------------
Schturman's home page
Schturman's repo on openrepos
RPM packaging directly on your Jolla phone.
Root & User SSH access to Jolla via WinSCP.
Root and User SSH access to Jolla via Nautilus on Linux PC.