View Single Post
Posts: 1,313 | Thanked: 2,978 times | Joined on Jun 2011 @ Finland
#633
Originally Posted by Jaykie View Post
Hi ajalkane, not sure if this is already requested but is there a way to enable/disable following of rules e.g. via terminal? I was wondering if MAG or coderus could create status menu toggle for turning rules on/off quickly when needed. See e.g. http://talk.maemo.org/showthread.php?t=85816
That can be done using D-Bus.

Following rules off:

Code:
dbus-send --session --type=method_call --dest=org.ajalkane.profilematic /org/ajalkane/profilematic org.ajalkane.profilematic.setActive boolean:false
Following rules on:

Code:
dbus-send --session --type=method_call --dest=org.ajalkane.profilematic /org/ajalkane/profilematic org.ajalkane.profilematic.setActive boolean:true
__________________
My N9/N950 projects:
 

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