|
2015-02-22
, 10:44
|
Posts: 277 |
Thanked: 319 times |
Joined on Jan 2010
|
#1622
|
The Following User Says Thank You to slarti For This Useful Post: | ||
|
2015-02-22
, 16:10
|
Posts: 290 |
Thanked: 385 times |
Joined on Jan 2012
@ Madrid, Spain
|
#1623
|
|
2015-02-22
, 17:12
|
Posts: 277 |
Thanked: 319 times |
Joined on Jan 2010
|
#1624
|
qdbus --system com.nokia.time /com/nokia/time
#!/usr/bin/python import dbus bus = dbus.SystemBus() time_obj = bus.get_object('com.nokia.time', '/com/nokia/time') time_intf = dbus.Interface(time_obj, 'com.nokia.time') cookies = time_intf.get_cookies_by_attributes({'APPLICATION': 'clock'}) for cookie in cookies: attributes = time_intf.query_attributes(cookie) print cookie for key,value in attributes.items(): print ' '+key,value
time_intf.cancel(cookie)
The Following User Says Thank You to slarti For This Useful Post: | ||
|
2015-02-22
, 17:30
|
Posts: 277 |
Thanked: 319 times |
Joined on Jan 2010
|
#1625
|
#!/usr/bin/env python def my_func(struct): for index, item in enumerate(struct[5]): print index, item import dbus, gobject from dbus.mainloop.glib import DBusGMainLoop dbus.mainloop.glib.DBusGMainLoop(set_as_default=True) bus = dbus.SessionBus() bus.add_signal_receiver(my_func,signal_name="ruleUpdated",dbus_interface="org.ajalkane.profilematic") loop = gobject.MainLoop() loop.run()
The Following User Says Thank You to slarti For This Useful Post: | ||
|
2015-02-22
, 18:00
|
Posts: 290 |
Thanked: 385 times |
Joined on Jan 2012
@ Madrid, Spain
|
#1626
|
The Following 2 Users Say Thank You to pasko For This Useful Post: | ||
|
2015-03-13
, 14:12
|
Posts: 290 |
Thanked: 385 times |
Joined on Jan 2012
@ Madrid, Spain
|
#1627
|
The Following User Says Thank You to pasko For This Useful Post: | ||
|
2016-07-13
, 00:20
|
Posts: 278 |
Thanked: 114 times |
Joined on Jan 2010
@ SD, CA
|
#1628
|
It's a silly line in perl, I put it into .sh script:
perl -ne 'print if (rand() < .02)' /home/user/music.list > /home/user/playlist.m3u
Change .02 value for more songs in output.
And music.list was generated via something like 'find /home/user/MyDocs/Music/ -name *.mp3 -print0'
The Following User Says Thank You to balisingh For This Useful Post: | ||
|
2016-07-30
, 11:21
|
|
Posts: 1,348 |
Thanked: 1,863 times |
Joined on Jan 2009
@ fr/35/rennes
|
#1629
|
|
2016-07-30
, 11:26
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#1630
|
Is this app still maintained ?
can you please update where to get it and also edit this page :
https://wiki.maemo.org/Apps
I think I have found something following your links:
https://github.com/ajalkane/profilem...ctionalarm.cpp
https://github.com/ajalkane/profilem...eactionalarm.h
The problem is that I can't figure out how to change an already set alarm... I'll give it another chance tomorrow...
Regards.