Lightweight music player: pyradio

2009-07-19 Thread Thomas des Courières
Hi,

just wanted to shared pyradio with you : http://www.coderholic.com/pyradio/

it's an interface to mplayer build with python and ncurses.

to get it working, opkg install python-curses, and follow instructions on
the website.

it works very flawlessly on my shr-unstable !

greetings
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Freesmartphone.org Milestone 5 'Calling All Stations' Release

2009-02-03 Thread Thomas des Courières
2009/2/3 Stefan Fröbe frob...@googlemail.com


 Just create a textfile /boot/append-GTA02 and put whatever is needed as
 kernel parameters in there - here is mine:
 rw rootdelay=3 glamo_core.slow_memory=1



Thanks ! That did the trick with my Qi
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: shr- GPS howto?

2009-01-13 Thread Thomas des Courières
did you try  http://lists.openmoko.org/nabble.html#nabble-td2104833 ?

2009/1/13 Timo Juhani Lindfors timo.lindf...@iki.fi

 Fernando Martins ferna...@cmartins.nl writes:
  receiving no coords. What can I do to test GSP services?

 1) is the GPS chip powered on?
 2) is there a process that has the serial port for GPS open?
 3) is that reading any data?

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian] pyphonelog?

2009-01-10 Thread Thomas des Courières
pyphonelog works with fso-based distributions. it integrates with shr's
ophonekitd, but for others distribs, there is a daemon provided wich
implements the calls logging function.
see http://wiki.openmoko.org/wiki/PyPhonelog

2009/1/10 arne anka openm...@ginguppin.de

 while looking for something completely different, i stumbled over
 pyphonelog -- which seems to be great app, serving a purpose i so far
 satisfied with an ugly bash hack.
 but i am not quite sure if it is supposed to run under debian/fso since it
 obviously requires ophonekitd of which there's no occurrence either in my
 fr nor in the debian repo.

 so, how am i getting this app to work?

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [All] tangogps - python scripts for .kml from/to sqlite

2008-12-23 Thread Thomas des Courières
 i have use your idea and your code in my gtkaddpoi
 http://wiki.openmoko.org/wiki/Gtkaddpoi :)


nice to hear !
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[All] tangogps - python scripts for .kml from/to sqlite

2008-12-22 Thread Thomas des Courières
Hi all,
just wanted to share some scripts I used.
The first one is for converting a list of points out of a kml file to a poi
sqlite3 database which tangogps can read, and the other one is for doing the
reverse operation : getting the pois of the tango gps db and creating a kml
file.
It might need some tweaking, as some things are hard coded.
Note that I also extracted the points of the kml file with my favorite
excel like program into a plain file listing all points.
Hoping that it will save someone's time,
Thomas
#!/usr/bin/python
# -*- coding: UTF-8 -*-


import os.path
import sqlite3
import time

file = '/home/root/myfile.txt'
database = sqlite3.connect('/home/root/.tangogps/poi.db', isolation_level=None)

FILE = open(file,'r')

for line in FILE:
	coords = line.split(',')
	print Coordonnees : lat = %s, lon = %s % (coords[0], coords[1])
	current_time = time.time()
	db_call = INSERT INTO poi (idmd5, lat, lon, visibility, cat, subcat, keywords, desc, price_range, extended_open) VALUES (?,?,?,?,?,?,?,?,?,?) 
	print database.execute(db_call, ('%s' % current_time, coords[1], coords[0], 1, 1, 0, '', '', 3, 0)).rowcount  0

FILE.close()

database.close()

#!/usr/bin/python
# -*- coding: UTF-8 -*-

import os.path
import sqlite3
import time

my_category = 0

database = sqlite3.connect('/home/root/.tangogps/poi.db')
pois = database.execute(SELECT * FROM POI WHERE cat=?, (my_category,) ).fetchall()
database.close()

file = '/home/root/myfile.kml'
FILE = open(file,'w')
FILE.truncate(0)

FILE.write('?xml version=1.0 encoding=iso-8859-1?\n')
FILE.write('kml xmlns=http://earth.google.com/kml/2.0;\n')
FILE.write('Document\n')
FILE.write('Folder\n')
FILE.write('namePoint Features/name\n')
FILE.write('descriptionPoint Features/description\n')

i = 1
for poi in pois:
	print '%s : %f, %f' % (poi, poi[2],poi[1],)
	FILE.write('Placemark\n')
	FILE.write('name![CDATA[%i]]/name\n' % i)
	FILE.write('description![CDATA[Lat: %f br Lon: %fbr]]/description\n' % (poi[1],poi[2]) )
	FILE.write('Point\n')
	FILE.write('coordinates%f,%f,0/coordinates\n' % (poi[2],poi[1],))
	FILE.write('/Point\n')
	FILE.write('/Placemark\n')
	i = i + 1

FILE.write('/Folder\n')
FILE.write('/Document\n')
FILE.write('/kml\n')
FILE.close()


#	db_call = INSERT INTO poi (idmd5, lat, lon, visibility, cat, subcat, keywords, desc, price_range, extended_open) VALUES (?,?,?,?,?,?,?,?,?,?) 


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO M4] What a wonderfull world

2008-11-20 Thread Thomas des Courières
well, it should work, although I couldn't test it, as at this moment I
had'nt any computer around me ...



2008/11/20 arne anka [EMAIL PROTECTED]

  I had the restart the phone in order to read the message ...

 shouldn't it suffice to restart frameworkd?

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO M4] What a wonderfull world

2008-11-19 Thread Thomas des Courières
I do experience the same.
The other day i heard the sound for messages, the phone went out of suspend,
but no sms was there.
I had the restart the phone in order to read the message ...

2008/11/13 Marc Bantle [EMAIL PROTECTED]

 Hi Christoph,

 Christoph Siegenthaler schrieb:
  Dito. There's just one thing that's kind of a showstopper for me. I can't
  receive sms. Sorry that I can't provide any useful data except for the
 fact
  that I didn't receive a test-sms I sent to my number.
 
  Anyone experiencing the same? This was the case with at least two of the
  previous fso-images. I'm not even sure if I ever got a msg using FSO.
 
 I observed the phone ring on incoming sms but zhone
 didn't show the message. After relaunching zhone the
 message was there.
 (GTA02)

 Marc

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Contacts - Fdom vs. OM2008.8

2008-10-27 Thread Thomas des Courières
http://www.tuxbrain.com/fdom_en.html
http://files.tdobson.net/openmoko/freerunner/fdom/FDOMizer20081023.tar.gz


2008/10/27 Matthias Apitz [EMAIL PROTECTED]

 El día Monday, October 27, 2008 a las 01:33:52AM +0100, David Samblas
 escribió:

  One of those dirty things is change config files, the standard 2008.9
  has this feature you only have tell it to not be so shy and show it :)
  If you look at the FDOMizer. script you will find all the dirty thing we
  have done to it :)

 Please be so kind and point me to that script 'fdomizer.sh'; thx in
 advance

matthias

 --
 Matthias Apitz
 Manager Technical Support - OCLC GmbH
 Gruenwalder Weg 28g - 82041 Oberhaching - Germany
 t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
 e [EMAIL PROTECTED] - w http://www.oclc.org/
 http://www.UnixArea.de/
 b http://gurucubano.blogspot.com/
 A computer is like an air conditioner, it stops working when you open
 Windows
 Una computadora es como aire acondicionado, deja de funcionar si abres
 Windows

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: One more rotate version

2008-10-23 Thread Thomas des Courières
Thanks for the warning !
Looks like it's time to move my repositories ...

2008/10/23 clare johnstone [EMAIL PROTECTED]

 On Wed, Oct 22, 2008 at 2:56 PM, Thomas des Courières
 [EMAIL PROTECTED] wrote:
  Do you know http://www.assembla.com/ ?
  they provide for free trac, subversion, and team managing facilities.
  And they don't are affiliated with big brother ...
 

 Beware:

 http://blog.assembla.com/assemblablog/tabid/12618/bid/7019/New-subscription-plans-Clarification-and-even-better-pricing.aspx

 clare

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: One more rotate version

2008-10-22 Thread Thomas des Courières
Do you know http://www.assembla.com/ ?
they provide for free trac, subversion, and team managing facilities.
And they don't are affiliated with big brother ...


2008/10/22 Sarton O'Brien [EMAIL PROTECTED]

 On Tuesday 21 October 2008 18:47:58 DJDAS wrote:
  Sarton O'Brien ha scritto:
   Speaking of formatting ... I imagine there's a reply in there somewhere
   :P
  
   On Tuesday 21 October 2008 01:31:21 DJDAS wrote:
   !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
   html
   head
   /head
  
   ..
   /body
   /html
 
  Sorry :P Sent in HTML. I simply suggested a man indent ;)
  Bye!

 Hehe, I know, I was just ribbin ya  ;)

 Sarton

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: New rotate for OpenMoko

2008-10-12 Thread Thomas des Courières
Hi Ruis,
just wanted you to know i created a desktop icon in order to
activate/desactivate auto rotate.

It works with 2008.9/FDOM, but should work with other distributions.
I extended the /etc/init.d/accel-rotate to add it a switch function, and
used the tap/untap icon for the desktop entry.

Here you got it all.
Greetings

 /etc/init.d/accel-rotate

#! /bin/sh
#
# accel-rotate
#
# description: this script starts accel-rotate daemon
# processname: accel-rotate

PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
NAME=accel-rotate
CMD=`which accel-rotate`

[ -f /etc/default/rcS ]  . /etc/default/rcS

case $1 in
start)
echo -n Starting accel-rotate daemon: 
start-stop-daemon --start --pidfile /var/run/${NAME}.pid
--make-pidfile --background -x ${CMD}
if [ $? = 0 ]; then
echo (ok)
else
echo (failed)
fi
;;
stop)
echo -n Stopping accel-rotate daemon: 
start-stop-daemon --stop --pidfile /var/run/${NAME}.pid --oknodo
rm -f /var/run/${NAME}.pid
echo (done)
;;
switch)
echo Switching state of accel-rotate daemon: 
if [ -e /var/run/${NAME}.pid ]; then
/etc/init.d/accel-rotate stop
else
/etc/init.d/accel-rotate start
fi
;;
restart|force-reload)
$0 stop
$0 start
;;
*)
echo Usage: $0 {start|stop|restart|switch|force-reload}
exit 1
;;
esac

exit 0

 /usr/share/applications/rotate.desktop
[Desktop Entry]
Encoding=UTF-8
Name=.Rotate 0/1
Comment=Autorotate the screen
Exec=/etc/init.d/accel-rotate switch
Icon=tapuntap
Terminal=false
Type=Application
Categories=Office;
MimeType=text/x-vcard;
SingleInstance=true
StartupNotify=false


accel-rotate
Description: Binary data


rotate.desktop
Description: Binary data
attachment: tapuntap.png___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: The Lost Openmoko Community: Official newsletter?

2008-10-07 Thread Thomas des Courières
As an example like the ones given above (Gnome, KDE, etc..), I would like to
add symfony.

Their developpement politic is discutible, but their comunication with the
comunity is just awesome :
see http://www.symfony-project.org/ and http://www.symfony-project.org/blog

Thomas


2008/10/7 Kostis Anagnostopoulos [EMAIL PROTECTED]

 Excellent and creative post Alex about the resposibilities of an Editor!

 Just a thought along your lines:

 - We do not need a PR Manager to *insualte* the community from the
 enginners.
 - We need an Editor to ease communications among those 2 groups.

 Kostis

 On Mon 06 Oct 2008 11:11:20 Alex Osborne wrote:
  Steve Mosher wrote:
   Question: what functions do you see a community
   manager performing. Write his job spec.
 
  As I see it there's two main points that Risto and others have usually
  brought up on this topic, communication and leadership.
 
  Communication
 
  This is the big point that everyone always mentions.  You can't have
  leadership without first a way to communicate effectively.  In my
  opinion, the wiki is being covered pretty well now and is becoming a
  really good _reference_.  So what is missing?
 
  News!  News!  News!  The engineering updates are excellent once you've
  discovered them.  The community updates by Steve leading up to the
  release of the FreeRunner were also good.  The planet, as several people
  have mentioned is a mixed bag, now and then there's good blog posts by
  various people but there's too much off topic or personal stuff that
  shouldn't be there and it's in desperate need of a way to filter by
  language.  Sadsammy also pointed out in a reply to Risto's Lost
  Openmoko Community blog post that these guys are doing fantastic job:
 
  http://onlinedev.blogspot.com/search/label/openmoko
 
  But they're not even in the planet!  (I just filed a bug to
  admin-trac).  There's also not enough stuff from within Openmoko itself
  in the planet, it should be a central place to look for news.
 
  How is news handled elsewhere?  For small specialised projects a mailing
  list and the lead developer's blog is fine.  But the Openmoko community
  is extremely diverse covering lots and lots of different bases and is
  rapidly growing in size.  It's not just a single software package, heck
  it's not even a single distro!  So lets look to the big diverse
  communities.  For general Linux stuff there is the absolutely fantastic
  Linux Weekly News [1].  In addition to that, virtually all the large
  community-style projects have their own newsletters, either weekly,
  bi-weekly or monthly: Debian [2], Gentoo [3], Ubuntu [4], Fedora [5],
  Mozilla [6] and so on. GNOME [7] and KDE [8] have a continuous
  planet-style news rather than a newsletter, but they are edited by real
  humans and serve much the same purpose and have recurring feature
 articles.
 
  Lets look at what they have in common:
 
   * Visibility: If not directly on the front page, then a big fat link at
  the start of the navbar News.  Not hidden away in some mailing list
  (although usually mirrored or announced on lists).
 
   * Well edited: Typically they have one *human* editor who puts
  everything together in a consistent easy to read way and filters out the
  rubbish.
 
   * Sections: The details vary a bit between the projects but in some
  form they usually have the following.  Theses don't have to be
  particularly long.  A paragraph or two on each section would do.
 
 -  Table of contents with highlights of the most important stuff from
  the other sections.
 
 -  Corporate news:  What's happening in the core company (Mozilla),
  council (Gentoo) or core developers (Linux kernel).  These decisions
  have been taken.  This is the new policy for X.  We're opening a new
  t-shirt store.  We're looking to hire a community manager and two kernel
  hackers.  We will be having an IRC or real-life meeting to discuss issue
  X at this time and place.  John Smith has moved to the Foobar team will
  now be working on X.  This should help a little to give a voice to the
  company, what are its interests and where it is going.
 
 -  Special features:  Two or three more in-depth articles on a
  particular topic.  This could be a review of a new program, discussion
  on a debate about a particularly tricky technical problem or a round-up
  from a recent conference or event with a few photos.  It would be good
  to have maybe one or two by the newsletter's editor and then some
  good-quality articles by guest authors.  If there's a good article on
  some random person's blog, ask them whether you can include it.
  Offering some incentives (merchandise, gear or even a small sum of money
  like LWN) could help encourage people to submit good articles.
 
 -  Development news:  Digest of the more interesting commits to the
  repositories of core projects.  Bug tracker statistics (list of fixed
  bugs, how many news ones etc).  LWN has the mailing list quote of the
  

Re: Duke Nukem 3D on Openmoko Neo

2008-09-23 Thread Thomas des Courières
nice job to both of you !

2008/9/23 Alasal [EMAIL PROTECTED]


 I've put it into a package, so it is easy to install/remove.
 see

 http://onlinedev.blogspot.com/2008/09/getting-duke-nukem-3d-on-your-neo.html

 --
 View this message in context:
 http://n2.nabble.com/Duke-Nukem-3D-on-Openmoko-Neo-tp842627p1113016.html
 Sent from the Openmoko Community mailing list archive at Nabble.com.


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community