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: 552,363
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: 552,363
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: 552,363
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: 568,738
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: 552,363
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: 405,780
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: 552,363
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: 552,363
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: SailfishOS 2014-02-07, 11:18
Replies: 92
Views: 48,271
Posted By slarti
Re: Tinkering with DBus on Jolla

Don't know if there is python-gobject available for jolla, but you could try something similar to my dbus-listener that does stuff when an alarm goes off on the N9...
Forum: The Other Half 2014-01-24, 19:18
Replies: 444
Views: 173,097
Posted By slarti
Re: [WIP] Jolla OtherHalf OLED display

Great work. Really impressive stuff!

It looks very nice already but you mentioned wanting to use a flex PCB. Would that shave some tenths off the thickness or this basically the end product?
Forum: MeeGo / Harmattan 2013-12-04, 20:18
Replies: 1,630
Views: 552,363
Posted By slarti
Re: [Announce] ProfileMatic for Harmattan

Powered up my half broken N9 today to find that there was an update to PM waiting for me (among other things). After playing with the device after a long break, I again got pissed off at Nokia for...
Forum: Jolla1 & TOH 2013-11-27, 20:01
Replies: 3,443
Views: 1,015,977
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-08, 06:02
Replies: 1,176
Views: 405,780
Posted By slarti
Re: [Support thread] Billboard Standby Screen

Use stdout (look up how to use it, you need to import the sys module) or try this (http://talk.maemo.org/showpost.php?p=1370587&postcount=955).
Forum: Applications 2013-11-07, 18:04
Replies: 1,176
Views: 405,780
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: Nokia N9 / N950 2013-11-07, 17:19
Replies: 10
Views: 7,975
Posted By slarti
Re: Printing with N9

Never existed
Forum: Jolla1 & TOH 2013-11-05, 17:09
Replies: 2,850
Views: 630,810
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-30, 17:56
Replies: 1,176
Views: 405,780
Posted By slarti
Re: [Support thread] Billboard Standby Screen

I can't remember if there is a limitation to line length in BB. Try printing fewer things in the last line as a test. For example try:

print weekday,title

and see if that works. If it does, add...
Forum: Applications 2013-10-30, 17:36
Replies: 1,176
Views: 405,780
Posted By slarti
Re: [Support thread] Billboard Standby Screen

Did you remove the .encode('utf-8') part everywhere?

Sorry to do this the difficult way, I don't have my half-broken N9 here.
Forum: Applications 2013-10-30, 13:51
Replies: 1,176
Views: 405,780
Posted By slarti
Re: [Support thread] Billboard Standby Screen

Locale won't change a thing for whatever weird reason.

Try declaring the encoding by adding

#-*- coding: utf-8 -*-

after #!/usr/bin/python

and get rid of the .encode('utf-8') part...
Forum: Applications 2013-10-29, 20:49
Replies: 1,176
Views: 405,780
Posted By slarti
Re: [Support thread] Billboard Standby Screen

The output should already be encoded correctly with the .encode('utf-8') in the end. Worked for my finnish entries as far as I remember. What is the error exactly?
Forum: Applications 2013-10-28, 13:40
Replies: 1,176
Views: 405,780
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: 405,780
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: 405,780
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, 15:13
Replies: 1,176
Views: 405,780
Posted By slarti
Re: [Support thread] Billboard Standby Screen

They show up just fine for me in any color I have set up in BB. Are you sure your font supports it and you can see it at command line?
Forum: Applications 2013-08-29, 15:03
Replies: 1,176
Views: 405,780
Posted By slarti
Thumbs up Re: [Support thread] Billboard Standby Screen

There is an arithmetic syntax error in the index of the month. $month at the moment returns the string "08" and $((month)) returns the error. I really have no idea why this is so and can't be arsed...
Showing results 1 to 25 of 100



 
Forum Jump

All times are GMT. The time now is 12:51.