maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Support thread] Billboard Standby Screen (https://talk.maemo.org/showthread.php?t=84507)

Quaddy 2013-09-04 15:19

Re: [Support thread] Billboard Standby Screen
 
as per my post #935 - did anyone every get RSS feeds working on billboard?

noboost 2013-09-06 06:15

Re: [Support thread] Billboard Standby Screen
 
This is my script for displaying fortunes with Billboard, requires fortune-mod and fortunes packages from rzr

rzr repository on OpenRepos

Any comments and improvements welcome

Code:

#!/usr/bin/env python
import subprocess
from textwrap import wrap

text = subprocess.Popen(["/usr/games/fortune", "-s"], stdout=subprocess.PIPE).communicate()[0]
width = 28

wrapped = wrap(text,width)

for line in wrapped:
        print line


Mikkosssss 2013-09-06 07:29

Re: [Support thread] Billboard Standby Screen
 
Is there any command to refresh billboard?

I need that or theres no use for my secured/not secure script.

Quaddy 2013-09-12 14:42

Re: [Support thread] Billboard Standby Screen
 
Quote:

Originally Posted by Mikkosssss (Post 1372439)
Is there any command to refresh billboard?

I need that or theres no use for my secured/not secure script.

there is indeed, see here

Hid45 2013-09-18 09:22

Re: [Support thread] Billboard Standby Screen
 
I did a search here but did not find solution so apologies if this has been covered in the past.

How to change the color of all the calendar events that Billboard displays?

With a line {{red}}{events} the first printed event is red, but if there's more than one event, all the rest will be printed in standard color. Like this (if my standard color would be black):

+1 Go see Mom
+2 Office party

It doesn't help if I put more color lines there, like
{{red}}{events}{{red}}
{{red}}

It still changes the color on only the first event. Is there a way to color all the events that are displayed?

Mikkosssss 2013-09-18 10:30

Re: [Support thread] Billboard Standby Screen
 
I dont know better solution but have you tried set default color to red and set everything else black with {{black}}?

Hid45 2013-09-18 11:15

Re: [Support thread] Billboard Standby Screen
 
Quote:

Originally Posted by Mikkosssss (Post 1375004)
I dont know better solution but have you tried set default color to red and set everything else black with {{black}}?

Hmmm... Well THAT would be thinking outside the box. Didn't think it like that.

But that would solve it, yes.

Garp 2013-09-21 15:59

Re: [Support thread] Billboard Standby Screen
 
2 Attachment(s)
Why this N/A on lockscreen?

Mikkosssss 2013-09-21 16:10

Re: [Support thread] Billboard Standby Screen
 
Its because value is in wrong form. (two numbers)
Maybe you can make your own script that knows what to do with two numbers.

Garp 2013-09-21 23:58

Re: [Support thread] Billboard Standby Screen
 
Quote:

Originally Posted by Mikkosssss (Post 1375885)
Its because value is in wrong form. (two numbers)
Maybe you can make your own script that knows what to do with two numbers.

yes the two numbers are day and night or max and min temp! how does a script for this look like?


All times are GMT. The time now is 10:15.

vBulletin® Version 3.8.8