Active Topics

 


Reply
Thread Tools
Posts: 466 | Thanked: 418 times | Joined on Jan 2010
#741
I did a grep for 'group_name' in the /usr/share/accounts/services/ directory and none of them have that, they are all <group name ="paramaters"> etc. many different settings. Is there anything specific that profilematic would be looking at (in particular for gmail.services to be complaining)?

Go figure that I'd be the one to find such an odd and random bug (though I think you're right in that it isn't profilematicd that has the bug, but something else that is causing issues with profilematicd.)

Thanks for all your help so far, I just removed my gmail account and am rebooting the phone for testing.

slaapliedje
__________________
I have figured out the reason 'smartphones' were invented. They are for reading the internet while pooping. This means the best smartphone ever created is the N9. It is the only one that works so well single-handed.
 
Posts: 61 | Thanked: 64 times | Joined on Mar 2012
#742
Hi ajalkane,

Firstly, kudos on a brilliant app and on supporting it so thoroughly. I can't imagine my N9 without this level of added functionality!

The second thing is this: I've got my phone set to check my gmail account every 20 mins. I'd like to set up a rule where when I'm at work (condition based on cell info), it stops scanning for emails (custom action). Is there a shell script for this action?

Thanks, and keep up the great work!
 

The Following User Says Thank You to Janitor X For This Useful Post:
bibek's Avatar
Posts: 368 | Thanked: 826 times | Joined on May 2012 @ India
#743
Having a rule on condition Mobile Internet Connection. Rule activates when I connect mobile data, but it dsn't deactivate when I switch off internet connection. I want it to deactivate so that it cud activate/execute the rules next time I connect to internet. Any workaround?
 
Posts: 1,313 | Thanked: 2,977 times | Joined on Jun 2011 @ Finland
#744
Originally Posted by slaapliedje View Post
I did a grep for 'group_name' in the /usr/share/accounts/services/ directory and none of them have that, they are all <group name ="paramaters"> etc. many different settings. Is there anything specific that profilematic would be looking at (in particular for gmail.services to be complaining)?
There's not really anything specific ProfileMatic looks for. As can be expected, ProfileMatic only needs to iterate over available chat accounts, query the availability status and change it.

I do not know how this operation maps into those service files. ProfileMatic uses Qt's Telepathy libraries to do the operations.

Regarding that warning you get, I'm pretty sure I've seen it also, and thus it is "normal" and should not cause any problems per se.
__________________
My N9/N950 projects:
 
Posts: 1,313 | Thanked: 2,977 times | Joined on Jun 2011 @ Finland
#745
Originally Posted by Janitor X View Post
Hi ajalkane,

Firstly, kudos on a brilliant app and on supporting it so thoroughly. I can't imagine my N9 without this level of added functionality!
Thank you.

The second thing is this: I've got my phone set to check my gmail account every 20 mins. I'd like to set up a rule where when I'm at work (condition based on cell info), it stops scanning for emails (custom action). Is there a shell script for this action?
I don't know of such a script, but perhaps someone has done such a script. The account settings are probably in ~/.accounts/accounts.db which is a SQLite file. So probably it can be changed by a script with some SQL query, but that's all I know about it.
__________________
My N9/N950 projects:
 

The Following User Says Thank You to ajalkane For This Useful Post:
Posts: 1,313 | Thanked: 2,977 times | Joined on Jun 2011 @ Finland
#746
Originally Posted by bibek View Post
Having a rule on condition Mobile Internet Connection. Rule activates when I connect mobile data, but it dsn't deactivate when I switch off internet connection. I want it to deactivate so that it cud activate/execute the rules next time I connect to internet. Any workaround?
Wait for 1.7.2 which is waiting for Nokia's approval to Store. It should work as you outlined in that version. If not, let me know.
__________________
My N9/N950 projects:
 
Posts: 61 | Thanked: 64 times | Joined on Mar 2012
#747
Originally Posted by ajalkane View Post
I don't know of such a script, but perhaps someone has done such a script. The account settings are probably in ~/.accounts/accounts.db which is a SQLite file. So probably it can be changed by a script with some SQL query, but that's all I know about it.
Thanks for the reply. I figured it wouldn't be a very common action, so I expected there would be some degree of difficulty (I know diddly squat about programming).

I already considered changing the email scanning schedule through the accounts settings (by defining the peak and off-peak periods), but given that my working days and hours are anything but regular, it wouldn't have suited my purposes as well as a location-based rule.
 
bibek's Avatar
Posts: 368 | Thanked: 826 times | Joined on May 2012 @ India
#748
Originally Posted by ajalkane View Post
Wait for 1.7.2 which is waiting for Nokia's approval to Store. It should work as you outlined in that version. If not, let me know.
Glad to know that.
And as many have told, thanks for making our N9s awesome. And for the quick help and support in this page
 
Posts: 466 | Thanked: 418 times | Joined on Jan 2010
#749
Originally Posted by ajalkane View Post
There's not really anything specific ProfileMatic looks for. As can be expected, ProfileMatic only needs to iterate over available chat accounts, query the availability status and change it.

I do not know how this operation maps into those service files. ProfileMatic uses Qt's Telepathy libraries to do the operations.

Regarding that warning you get, I'm pretty sure I've seen it also, and thus it is "normal" and should not cause any problems per se.
Removing my gmail account and recreating it seemed to have fixed the issue with my custom profile, thanks for the troubleshooting hints.

It doesn't seem to reactivate the default one though, but that's okay since the default one doesn't really have any customizations that I need it to do anyhow, since my command line makes the change when activated, and changes it back when deactivated.

Awesome application, I'll be sure to donate next month when I have a bit more cash floating around

slaapliedje
__________________
I have figured out the reason 'smartphones' were invented. They are for reading the internet while pooping. This means the best smartphone ever created is the N9. It is the only one that works so well single-handed.
 

The Following User Says Thank You to slaapliedje For This Useful Post:
Posts: 1,313 | Thanked: 2,977 times | Joined on Jun 2011 @ Finland
#750
Originally Posted by slaapliedje View Post
Removing my gmail account and recreating it seemed to have fixed the issue with my custom profile, thanks for the troubleshooting hints.
Surprising, but good that the problem is gone.

It doesn't seem to reactivate the default one though, but that's okay since the default one doesn't really have any customizations that I need it to do anyhow, since my command line makes the change when activated, and changes it back when deactivated.
By nature of the default rule (as it is "always on"), custom actions on it are ran only once. So custom actions on default rule are useful practically only to do some automation when phone is booted.

Awesome application, I'll be sure to donate next month when I have a bit more cash floating around
Thank you. Sounds like I can start oogling for a new beer to try .
__________________
My N9/N950 projects:
 
Reply


 
Forum Jump


All times are GMT. The time now is 23:41.