Re: R: Can't force display light to stay on forever?

2008-10-03 Thread Owen Williams
Is there a good way of doing this temporarily, for instance while
playing back video?  Can I do it in python?  Right now I'm telling the
backlight to turn on every 8 seconds or so, but even that doesn't really
work (sometimes the display goes dim and then pops back).

I don't want to temporarily change any configuration files in case my
program crashes before it can unset this option.

Owen


On Thu, 2008-10-02 at 16:25 +0200, Marco Solari wrote:
 Thanks! It worked like a charm ;-)
 Now the limit is 480 minutes (8 hours), which I suppose is quite a long
 time... ;-)
 Cheers.
 
   Marco

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: R: Can't force display light to stay on forever?

2008-10-03 Thread Frantisek Dufka
Owen Williams wrote:
 Is there a good way of doing this temporarily, for instance while
 playing back video?  Can I do it in python? 

You need to periodically call osso_display_blanking_pause in libosso
http://maemo.org/api_refs/4.1/libosso-2.16-1/
http://maemo.org/api_refs/4.1/libosso-2.16-1/group__Devstate.html#gbd82d7b0160e26cd15479f2685697322

Not sure if there is python binding but it is quite likely.

Frantisek
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: R: Can't force display light to stay on forever?

2008-10-03 Thread Frantisek Dufka
Frantisek Dufka wrote:
 Not sure if there is python binding but it is quite likely.


If not, you can use d-bus to tell it to MCE directly, see the source
http://mxr.maemo.org/diablo/source/libosso-2.16/src/osso-hw.c#89
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Announcing PenguinTV, rss reader and podcast downloader

2008-10-03 Thread Owen Williams
I've finally finished the port of my RSS/Podcast software, PenguinTV, to
hildon and maemo.  The big sticking point was how to package
python-gtkmozembed support, but I figured that out and now PenguinTV is
on extras-devel for testing and comments.  If it seems to work for
people, then I'll promote it to extras.

Where to find it:
extras-devel

Here's a quick feature list:

* 5-year development history, with workarounds for all sorts of
malformed feeds
* responsive on maemo even with 100 feeds
* local image caching, for viewing feeds even when you don't have an
internet connection
* support for enclosed media, including video and audio
* built-in gstreamer media player that remembers playback position so
you can exit and restart where you left off
* tagging support for quick access to subsets of your feeds
* mostly finger-friendly interface, although I could use some help with
this
* power-management Good Citizen -- no ticking clocks or running threads
unless needed -- leave it running all day


Here are some problems:

* startup time is really slow right now, and I'm trying to improve it.
Since PenguinTV is python-based, most of the time is just starting up
python and loading all the modules it needs (which is a lot).  Another
big chunk of time is loading the glade UI.  I would appreciate any help
fixing this.
* feed updating is very slow, but it is steady and it won't peg the CPU.
Feed updates are done at priority 15 to ensure that the device remains
responsive and doesn't pop up not responding messages.
* penguintv eats a lot of RAM.  not much I can do about this.
* gtkmozembed doesn't support finger-scrolling.  I don't know how to fix
this.

Please give it a go and let me know what you think!

Owen Williams

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: R: Can't force display light to stay on forever?

2008-10-03 Thread Owen Williams
Ah yes, there is a binding in python.  I was using display_state_on
instead of display_blanking_pause, that was my problem.

thanks,
owen


On Fri, 2008-10-03 at 16:23 +0200, Frantisek Dufka wrote:
 Owen Williams wrote:
  Is there a good way of doing this temporarily, for instance while
  playing back video?  Can I do it in python? 
 
 You need to periodically call osso_display_blanking_pause in libosso
 http://maemo.org/api_refs/4.1/libosso-2.16-1/
 http://maemo.org/api_refs/4.1/libosso-2.16-1/group__Devstate.html#gbd82d7b0160e26cd15479f2685697322
 
 Not sure if there is python binding but it is quite likely.
 
 Frantisek
 
 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


howto use usb keyboard with latest N810

2008-10-03 Thread Mrukant Popat
Hi,

I have a Nokia N810 running OS2008 version:- 4.2008.23-14
I want to connect my usb keyboard to it.
While trying to install 'usbcontrol' fromthe application manager 
give me this error.

 From what I understand from posts on discussion groups on internet, 
'usbcontrol' will not work on latest software release for N810.
Is there any other solution to use usb keyboard with my N810 ?

regards,
Mrukant Popat

Technology Consultant
Pioneer Electronics
Silicon Valley, US


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


howto use usb keyboard with latest N810

2008-10-03 Thread Mrukant Popat
Hi,

apologies for previous incomplete mail !

I have a Nokia N810 running OS2008 version:- 4.2008.23-14
I want to connect my usb keyboard to it.
While trying to install 'usbcontrol' from  maemo.org/downloads  section  
the application manager gives me this error.

Unable to Install usbcontrol
 Incompatible application package

 From what I understand from posts on discussion groups on internet, 
'usbcontrol' will not work on latest software release for N810.
Is there any other solution to use usb keyboard with my N810 ?

regards,
Mrukant Popat

Technology Consultant
Pioneer Electronics
Silicon Valley, US
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: R: R: Firefox does not render 'font-family' style attribute...

2008-10-03 Thread Andrew Zabolotny
From Thu, 2 Oct 2008 16:22:31 +0200
Marco Solari [EMAIL PROTECTED] wrote:

 Thanks...
 Well, I suppose if I do not explicitly fall back, the browser will do,
 right? ;-)
 But, there is no font available to be installed on the tablet?
If you want more fonts, you may try installing the ttf-dejavu package.
It does not contain arial or times, but contains a serif, a
sans-serif and a sans-serif mono font (the whole font family is called
DejaVu).

For Microsoft fonts, it should be possible to prepare a package from
the so-called Microsoft Web Fonts which are kind of semi-free, but
one must look first into their license very carefully, if it's allowed
to re-distribute the repackaged fonts.

-- 
Andrew


signature.asc
Description: PGP signature
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: howto use usb keyboard with latest N810

2008-10-03 Thread Andrew Barr
Mrukant Popat mpopat at pioneer-pra.com writes:

 Is there any other solution to use usb keyboard with my N810 ?

This question is probably more appropriate for -user.

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers