Reply
Thread Tools
Posts: 19 | Thanked: 6 times | Joined on Dec 2012
#1
Hi,

Perhaps I'm wrong, but I think I should be able to set schedule on/off for mail account using Dbus

I used Dbus-monitor to grab dbus messages after modifying mail account setting from schedule 'on' to schedule 'off'

here is a piece of code I grab :

Code:
signal sender=:1.911 -> dest=(null destination) serial=6 path=/com/nokia/AccountsLib; interface=com.nokia.AccountsLib; member=AccountChanged
   uint32 286474
   uint32 655060113
   uint32 2
   boolean false
   boolean false
   string "email"
   array [
      struct {
         string "global"
         string "global"
         uint32 0
         array [
            dict entry(
               string "scheduler/schedule_enabled"
               variant                   boolean false
            )
         ]
         array [
         ]
      } 
...
Now I need help, please, to know if there's a way to write a dbus-send command with these arguments to set mail schedule on/off parameter.

My goal is to write a custom action for profilematic

Thanks,
Nemric.
 
EmaNymton's Avatar
Posts: 141 | Thanked: 267 times | Joined on May 2010 @ Germany
#2
dbus-sent does not permit nested containers. I think you have to go with Python or QML.

Take a look!
http://talk.maemo.org/showthread.php...51#post1404751
 
Posts: 19 | Thanked: 6 times | Joined on Dec 2012
#3
Hi, thanks for answer,

I don't know if I understand everything, n9 world is so complex with gconfig/aegis/dbus/mcetools ...
I 'd like to send only one setting : "scheduler/schedule_enabled" like on this post

with something like (won"t work ) :
dbus-send --session --print-reply --path=/com/nokia/AccountsLib; interface=com.nokia.AccountsLib.scheduler/schedule_enabled boolean:false or true

I'm not a master user of "linux", just some easy things on my "scientificLinux" like RPM and .config and some easy command lines.

so perhaps dbus is not the right way to run this command ?

regards,
Nemric.
 
Posts: 19 | Thanked: 6 times | Joined on Dec 2012
#4
ok,
I'm starting hard work to try learning qml/qt/dbus/ or anything else ...

I'll give some news as soon as I could install harmattan SDK and avoiding all no display/no permission/no space left/no target/ no no no ! of installation process wizard

...
 
Alexxxl's Avatar
Posts: 152 | Thanked: 91 times | Joined on Mar 2013 @ Russia Saratov
#5
Good day!
Prompt if you know ...
how to get through the dbus (if possible) the following things:
- Current time in the format: hh:mm
- The alarm status at the moment - rings / does not ring
- The fact of finding WiFi network
- Tasks in the calendar (time and name of the event or the fact of its occurrence)
 
www.rzr.online.fr's Avatar
Posts: 1,348 | Thanked: 1,863 times | Joined on Jan 2009 @ fr/35/rennes
#6
getting the GPS position would be nice too

http://talk.maemo.org/showthread.php...88#post1388488


--
http://rzr.online.fr/q/gps
__________________
Current obsession:

https://purl.org/rzr/abandonware

Please help to list all maemo existing apps :

https://github.com/abandonware/aband...ment-578143760

https://wiki.maemo.org/Apps#

I am looking for " 4 inch TFT LCD display screen " for Nokia n950 HandSet

http://rzr.online.fr/q/lcd


Also, I need online storage to archive files :

http://db.tt/gn5Qffd6#

https://my.pcloud.com/#page=register...e=g8ikZmcfEJy#
 
Alexxxl's Avatar
Posts: 152 | Thanked: 91 times | Joined on Mar 2013 @ Russia Saratov
#7
Originally Posted by www.rzr.online.fr View Post
getting the GPS position would be nice too

http://talk.maemo.org/showthread.php...88#post1388488


--
http://rzr.online.fr/q/gps
there seems to be nothing complicated, where it was recorded in my team on getting GPS coordinate...
look for ...
 
Alexxxl's Avatar
Posts: 152 | Thanked: 91 times | Joined on Mar 2013 @ Russia Saratov
#8
Now, true for maemo, but I think you can find similarities if we go in this direction :

https://github.com/andrei1089/canola...gps-service.py
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:52.