Showing results 1 to 25 of 100 @ 0.03 seconds. Search: Posts Made By: slarti
Forum: MeeGo / Harmattan 2015-02-22, 17:30
Replies: 1,630
Views: 555,787
Posted By slarti
Re: [Announce] ProfileMatic for Harmattan

As for the actions_struct and how I gathered the information on it:

I used this script running in terminal while I went through every possible action in ProfileMatic.

#!/usr/bin/env python
...
Forum: MeeGo / Harmattan 2015-02-22, 17:12
Replies: 1,630
Views: 555,787
Posted By slarti
Re: [Announce] ProfileMatic for Harmattan

You can query the timed daemon easily with python using its dbus methods.

You can get the methods with:
qdbus --system com.nokia.time /com/nokia/time

Example (This will get you all the cookies...
Forum: MeeGo / Harmattan 2015-02-22, 10:44
Replies: 1,630
Views: 555,787
Posted By slarti
Re: [Announce] ProfileMatic for Harmattan

Sorry, I'm not here too often these days. Leave me a private message if you need to get in touch. I get an email from those.

If I understand you correctly you're trying to modify an existing alarm...
Forum: The Other Half 2014-11-07, 19:54
Replies: 1,813
Views: 574,589
Posted By slarti
Re: TOHKBD rev2

Just as an outsider (don't have a Jolla and hence sadly not a backer) have you asked for a quote from protomold (http://www.protolabs.com/protomold)? They advertise being able to mold even "small"...
Forum: MeeGo / Harmattan 2014-10-20, 19:00
Replies: 1,630
Views: 555,787
Posted By slarti
Re: [Announce] ProfileMatic for Harmattan

Sorry, haven't checked back here in a while. Here's a quick and dirty modification to it that will save your options to a 'scriptconfigfile.ini' and will automatically start with those options the...
Forum: Applications 2014-05-13, 17:51
Replies: 1,176
Views: 408,469
Posted By slarti
Re: [Support thread] Billboard Standby Screen

I'm guessing there's nothing linking the BT status change to a refresh of BB. Link it to something that changes often like signal strength.

Example:

{cell-signal-strength?{script:btscript.py}}
Forum: MeeGo / Harmattan 2014-02-11, 19:44
Replies: 1,630
Views: 555,787
Posted By slarti
Re: [Announce] ProfileMatic for Harmattan

It seems to work reliably. Listening for the 'PropertyChanged' signal with a unique device path and org.bluez.Device interface works every time.

The only thing is that the unique bluetooth...
Forum: MeeGo / Harmattan 2014-02-09, 10:00
Replies: 1,630
Views: 555,787
Posted By slarti
Re: [Announce] ProfileMatic for Harmattan

Want Profilematic to do something when a certain bluetooth device connects/disconnects? Read this:

I got bored yesterday and was thinking about listening to dbus-signals (I assume everyone does...
Forum: Jolla1 & TOH 2013-11-27, 20:01
Replies: 3,443
Views: 1,025,888
Posted By slarti
Re: Jolla User Experience Thread

Isn't that fingerterm? The virtual keyboard looks like it. Or is that keyboard available elsewhere?
Forum: Applications 2013-11-07, 18:04
Replies: 1,176
Views: 408,469
Posted By slarti
Re: [Support thread] Billboard Standby Screen

Pass {profile} as an argument to a script.

For example, in BB:

{script:sh profile.sh {profile}}

...and profile.sh:

#!/bin/sh
Forum: Jolla1 & TOH 2013-11-05, 17:09
Replies: 2,850
Views: 635,068
Posted By slarti
Re: #JollaLoveDay - 20th May - device announcement

This thing (http://store.makiaclothing.com/accessories/makia-x-jolla-cap-12199.html) is available from week 51. Some wild speculation will probably ensue...
Forum: Applications 2013-10-28, 13:40
Replies: 1,176
Views: 408,469
Posted By slarti
Re: [Support thread] Billboard Standby Screen

Yes. Use my much improved customizable_alarm_lister.py (https://github.com/harmattan/billboard-scripts/blob/master/customizable_alarm_lister.py).
Forum: Applications 2013-08-30, 04:22
Replies: 1,176
Views: 408,469
Posted By slarti
Re: [Support thread] Billboard Standby Screen

If you type in BB

{script:echo -ne \xF0\x9F\x94\x93}

...the result is a box? Then your font doesn't support it.



Use stdout instead of print to get rid of the new line or print the year...
Forum: Applications 2013-08-29, 16:20
Replies: 1,176
Views: 408,469
Posted By slarti
Re: [Support thread] Billboard Standby Screen

:D

Yes, in hex format.

Billboard expects UTF-8.

Try

echo -ne '\xF0\x9F\x94\x93'
Forum: Applications 2013-08-29, 14:05
Replies: 1,176
Views: 408,469
Posted By slarti
Re: [Support thread] Billboard Standby Screen

http://www.fileformat.info/info/unicode/char/1f512/index.htm

unlocked:

http://www.fileformat.info/info/unicode/char/1f513/index.htm
Forum: Applications 2013-08-28, 15:50
Replies: 1,176
Views: 408,469
Posted By slarti
Re: [Support thread] Billboard Standby Screen

qdbus --system com.nokia.devicelock /request com.nokia.devicelock.getState 1

Will probably get you the current state of devicelock. I'll leave the rest to you.
Forum: Applications 2013-07-25, 14:32
Replies: 1,176
Views: 408,469
Posted By slarti
Re: [Support thread] Billboard Standby Screen

This is not strictly true. I usually put my scripts in /home/user and simply run them with the interpreter {script: python script.py). That way there is no need to type in a path or chmod the scripts.
Forum: Applications 2013-07-22, 12:32
Replies: 1,176
Views: 408,469
Posted By slarti
Re: [Support thread] Billboard Standby Screen

Sorry for the late answer. My N9 broke and I haven't been around here much.

Like I said, next_alarm_only.py kind of sucks. Don't use it. I can say that because I wrote it.

Here I've modified...
Forum: Nokia N9 / N950 2013-06-19, 18:19
Replies: 39
Views: 14,899
Posted By slarti
Re: Good N9 car holder???

Dunno, but I think your safest bet is the Nokia charger. I had to make a special USB-cable (short the data pins) to get my belkin USB outlet to play nice with the N9.
Forum: Nokia N9 / N950 2013-06-12, 13:47
Replies: 39
Views: 14,899
Posted By slarti
Re: Good N9 car holder???

Very well, I'd imagine.
Forum: Nokia N9 / N950 2013-06-12, 13:44
Replies: 39
Views: 14,899
Posted By slarti
Re: Good N9 car holder???

The CR-123 doesn't have any surface covering the NFC reader part of the N9. This makes it impossible to have the tag in constant proximity of the reader, which is required for automatic "ending" of...
Forum: MeeGo / Harmattan 2013-05-15, 14:32
Replies: 1,630
Views: 555,787
Posted By slarti
Re: [Announce] ProfileMatic for Harmattan

I see what you mean, but I still think it's more down to luck what you see as percentage in the morning. Let's say it takes two hours to charge the phone to 100% from 20%. You go to bed for eight...
Forum: MeeGo / Harmattan 2013-05-15, 13:38
Replies: 1,630
Views: 555,787
Posted By slarti
Re: [Announce] ProfileMatic for Harmattan

AFAIK, if you leave your device to charge overnight it charges the phone to 100% and then stops charging (the battery would be damaged if it was "overcharged"). Then, when some threshold (~90%) is...
Forum: Applications 2013-04-29, 12:24
Replies: 1,176
Views: 408,469
Posted By slarti
Re: [Support thread] Billboard Standby Screen

#!/bin/sh

reply=""
if $(qdbus | grep org.tgalal.wazapp > /dev/null)
then
reply=`qdbus org.tgalal.wazapp /org/maemo/contextkit/Wazapp/Online org.maemo.contextkit.Property.Get | sed -n 1p`
fi
...
Forum: Applications 2013-04-19, 12:16
Replies: 1,176
Views: 408,469
Posted By slarti
Re: [Support thread] Billboard Standby Screen

The indentations are tab lengths. In other words, one level of indentation is one press of a tab key and two levels is two presses and so on. The command continue is at two levels of indentation.
...
Showing results 1 to 25 of 100



 
Forum Jump

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