You are not logged in.

#1 2006-06-10 03:53:18

major
Member
From: Ockelbo, Sweden
Registered: 2005-12-30
Posts: 25

HTPC

Hello all.

Thinking of coding a "HTPC"-like interface for my old laptop

now, it cant display X on the tv (dunno why), and writing everything is not all that "cool" anymore. So, anyone know of a simple (as simple as posible) lib (preferably to python) that can display graphics for a menubased UI ontop of a framebufferdev?

Example of the UI:

====Welcome to this Lame UI====

====Watch some movies and shit====

====connect to a NFS/SMB/FTP site====

and so on...

Or even better, is there some app out there already? smile

Offline

#2 2006-06-10 07:31:55

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: HTPC

if you want simple, effective (and what some would consider ugly) you could use curses, of which python includes a module in it's default install.

you could also write a bash script that works with 'dialog', (man dialog) to provide a similar interface, though it might be easier depending on what you want to do.

if you can run X, you can use pygame, which is a sdl layer for python...

James

Offline

#3 2006-06-10 10:03:51

major
Member
From: Ockelbo, Sweden
Registered: 2005-12-30
Posts: 25

Re: HTPC

dont really want the curses-look and "feel" for this project. i want something more cute and cuddly like opengl or similar smile

And no, it cant display X on the tv... it could before but then i had a annoying blue stripe at the left of the picture.. sad

Offline

#4 2006-06-10 22:01:00

syamajala
Member
From: here, there, everywhere
Registered: 2005-01-25
Posts: 617
Website

Re: HTPC

there is pydfb. python bindings for directfb.

http://www.directfb.org/mailinglists/di … 00011.html

Offline

Board footer

Powered by FluxBB