Showing results 1 to 25 of 274 @ 0.02 seconds. Search: Posts Made By: slarti
Forum: MeeGo / Harmattan 02-11-2014, 03:44 PM
Replies: 1,592
Views: 208,911
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 02-09-2014, 06:00 AM
Replies: 1,592
Views: 208,911
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 02-07-2014, 07:18 AM
Replies: 59
Views: 8,332
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 01-24-2014, 03:18 PM
Replies: 285
Views: 48,779
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 12-04-2013, 04:18 PM
Replies: 1,592
Views: 208,911
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: Jolla & The Other Half 11-27-2013, 04:01 PM
Replies: 2,789
Views: 383,448
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: MeeGo / Harmattan 11-08-2013, 02:02 AM
Replies: 1,097
Views: 188,107
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: MeeGo / Harmattan 11-07-2013, 02:04 PM
Replies: 1,097
Views: 188,107
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 11-07-2013, 01:19 PM
Replies: 10
Views: 5,267
Posted By slarti
Re: Printing with N9

Never existed
Forum: Jolla & The Other Half 11-05-2013, 01:09 PM
Replies: 2,851
Views: 298,925
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: MeeGo / Harmattan 10-30-2013, 01:56 PM
Replies: 1,097
Views: 188,107
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: MeeGo / Harmattan 10-30-2013, 01:36 PM
Replies: 1,097
Views: 188,107
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: MeeGo / Harmattan 10-30-2013, 09:51 AM
Replies: 1,097
Views: 188,107
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: MeeGo / Harmattan 10-29-2013, 04:49 PM
Replies: 1,097
Views: 188,107
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: MeeGo / Harmattan 10-28-2013, 09:40 AM
Replies: 1,097
Views: 188,107
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: MeeGo / Harmattan 08-30-2013, 12:22 AM
Replies: 1,097
Views: 188,107
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: MeeGo / Harmattan 08-29-2013, 12:20 PM
Replies: 1,097
Views: 188,107
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: MeeGo / Harmattan 08-29-2013, 11:13 AM
Replies: 1,097
Views: 188,107
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: MeeGo / Harmattan 08-29-2013, 11:03 AM
Replies: 1,097
Views: 188,107
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...
Forum: MeeGo / Harmattan 08-29-2013, 10:05 AM
Replies: 1,097
Views: 188,107
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: MeeGo / Harmattan 08-28-2013, 11:50 AM
Replies: 1,097
Views: 188,107
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: MeeGo / Harmattan 07-25-2013, 10:32 AM
Replies: 1,097
Views: 188,107
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: MeeGo / Harmattan 07-22-2013, 08:32 AM
Replies: 1,097
Views: 188,107
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 06-20-2013, 01:35 AM
Replies: 39
Views: 4,948
Posted By slarti
Re: Good N9 car holder???

Ah, sorry, I just skimmed through without paying too much attention. I don't have any experience on after market antennas but I'm pretty sure there's no way to boost the N9's reception with one.

I...
Forum: Nokia N9 / N950 06-19-2013, 02:19 PM
Replies: 39
Views: 4,948
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.
Showing results 1 to 25 of 274



 
Forum Jump

All times are GMT -4. The time now is 06:02 AM.