listenning for orientation changes using dbus

2010-10-19 Thread David Hautbois
Hello I'm looking for a way to listen for orientation changes using dbus. the subscription to the mce dbus service "sig_device_orientation_ind" works fine, but only when the device is unlocked. I'm using this to avoid battery draining. I also tried Qmobility, but this uses 10% of CPU. I don't thin

Re: Inhibiting device auto-lock on N900

2010-04-19 Thread David Hautbois
Hello. To unlock the device : http://wiki.maemo.org/User:Jebba/DBUS#dbus-send-unlock To keep the display on and device unlocked : http://maemo.org/api_refs/4.0/libosso/group__Devstate.html#g93fe32aeb992e128c94b890d6f801bfd David. Per von Zweigbergk wrote: I'm writing a "talking clock" applica

Re: Packages interface - Warning: This package seems to be a library in a user/* section!

2010-04-12 Thread David Hautbois
Thanks Niels Breet wrote: Hi Hi, Could someone explain what the packages interface considers my application as a library ? http://maemo.org/packages/package_instance/view/fremantle_extras-devel_fr ee_armel/libellule/0.0.1-3/ This is a rather lame check I added to prevent peopl

Packages interface - Warning: This package seems to be a library in a user/* section!

2010-04-12 Thread David Hautbois
Hi Could someone explain what the packages interface considers my application as a library ? http://maemo.org/packages/package_instance/view/fremantle_extras-devel_free_armel/libellule/0.0.1-3/ I uploaded 2 anothers apps without problem... Thanks. David. __

Autobuilder - roadrunner don't go extras-devel

2010-04-10 Thread David Hautbois
Hello Yesterday, I'uploaded roadrunnner 0.1.0-18. Today, I'm still waiting for it goes to extras-devel : http://maemo.org/packages/view/roadrunner/ Do I forget something ? Thanks. David. ___ maemo-developers mailing list maemo-developers@maemo.org htt

Re: Deleting Project PyGTKEditor from Garage

2010-03-23 Thread David Hautbois
Very sad to read this Good luck Le mardi 23 mars 2010 à 18:17 +0100, Benoît HERVIER a écrit : > Hi, > > As a dumb, i ve forgot to delete project PyGTKEditor before deleting > garage account. > > Someone can do it ? > > Thanks. ___ maemo-develope

Re: Ask for removal of some packages from Extras Fremantle repository

2010-03-22 Thread David Hautbois
ar 22, 2010, at 11:16 AM, David Hautbois wrote: Hello And please remove qypy too. David. Benoît HERVIER wrote: Hi, Please, can you remove all version of the following packages from the extras fremantle, extras-testing fremantle, and extras-devel fremantle repository : - pygtke

Re: Ask for removal of some packages from Extras Fremantle repository

2010-03-22 Thread David Hautbois
Hello And please remove qypy too. David. Benoît HERVIER wrote: Hi, Please, can you remove all version of the following packages from the extras fremantle, extras-testing fremantle, and extras-devel fremantle repository : - pygtkeditor - pypackager - py2deb - pylint - vectormine - mcalendar -

How to remove a package from repositories

2010-03-17 Thread David Hautbois
Hello I'm the maintainer of qypy : http://maemo.org/packages/view/qypy/ I'm not allowed to use this name. How to remove a package from devel and extras-testing repositories ? Thanks. David. ___ maemo-developers mailing list maemo-developers@maemo.or

Re: Command to turn on the screen led (Maemo N810)

2010-01-06 Thread David Hautbois
maybe : dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:"unlocked" Faheem Pervez wrote: Hiya, You're looking for this function: http://maemo.org/api_refs/4.0/libosso/group__Devstate.html#g93fe32aeb992e12

Re: how build a package?

2009-11-15 Thread David Hautbois
http://maemo.org/maemo_release_documentation/maemo4.1.x/Maemo_Diablo_Reference_Manual_for_maemo_4.1.pdf p466 mohamed ismael wrote: > hi, > i built an executable file using the following command > gcc `pkg-config --cflags --libs profile hildon-1` main.c -o main > > i want now to build a package to

Re: Some questions about liblocation and gpsd

2008-08-18 Thread David Hautbois
Maybe a conversion issue in my code.. David. David Hautbois wrote: > Hi > I've some questions about liblocation and gpsd : > I connected the changed signal to a callback function. > > - one time out of two, device->fix->speed =nan > Some information about

Some questions about liblocation and gpsd

2008-08-18 Thread David Hautbois
Hi I've some questions about liblocation and gpsd : I connected the changed signal to a callback function. - one time out of two, device->fix->speed =nan Some information about that ? - When my application quit, the gps icon stays in the status bar I don't remember to have this issue with

Re: C - hildon_file_chooser_dialog_new - Refreshing UI

2008-03-09 Thread David Hautbois
It works. Thanks ! Daniil Ivanov wrote: > You have to use: > > while (gtk_events_pending()) > gtk_main_iteration(); > > If it still doen't help, we need details on how do you process a file. > > ~Daniil > > On Sun, Mar 9, 2008 at 12:34 AM, David

C - hildon_file_chooser_dialog_new - Refreshing UI

2008-03-08 Thread David Hautbois
Hi I've some problems to refresh my UI : The user selects a file ( hildon_file_chooser_dialog_new ) I delete the dialog window (gtk_widget_destroy) During processing the selected file, I use gtk_events_pending () to refresh the UI in the loop parsing the file. It does not work. During the file

Re: C - Hildon - Memory usage

2008-02-12 Thread David Hautbois
[EMAIL PROTECTED]:~$ awk '/Private_Dirty/{sum+=$2}END{print sum "kB"}' /proc/11468/smaps 272kB It's better Thanks. David. Eero Tamminen wrote: > Hi, > > ext Markku Vire wrote: >> HildonFileChooser can temporarily allocate large amounts of memory. >> This goes away after all references to t

C - Hildon - Memory usage

2008-02-09 Thread David Hautbois
Hi I'm a newbie with C programming and make many errors with memory management (memory allocation, freeing memory...). So, I'm aware about the memory used by my application. I play with "top" and see my application uses 100MB !!! I check my code and see the problem is here :

Maemo documentation not uptodate

2008-02-01 Thread David Hautbois
Hi This documentation is not uptodate : https://maemo.org/development/documentation/tutorials/maemo_4-0_tutorial.html Some #include line are not right Example : #include > wrong The hildon header files for hildon widgets are in hildon directory #include #include #include #include >right

C - GTK - Dialog Box - I never get the result

2008-01-29 Thread David Hautbois
Hi I'm playing with C and GTK. I have a problem to get the result of a dialogbox. The code : GtkWidget* pBoite; GtkWidget* pEntry; pBoite = gtk_dialog_new_with_buttons("Saisie du nom", GTK_WINDOW(main_window),

Accessing addressbook with libebook

2008-01-23 Thread David Hautbois
Hi I try to access to the addressbook using libebook. It does not work. Could someone help me to understand why this example : http://wiki.mutt.org/?QueryCommand/EvolutionSearch works on debian lenny but does not work on maemo I've tested many other sample code. All fail. The command e_book_new_

Re: New release of Python2.5 for Maemo

2008-01-19 Thread David Hautbois
Hi Some dev packages look like to be broken in X86 scratchbox target: [sbox-CHINOOK_X86: ~/temp] > apt-get install python2.5-gtk2-dev Reading package lists... Done Building dependency tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation

Re: Compiling new kernel for N810

2008-01-17 Thread David Hautbois
All fine with your repository. Thanks to all ! David. Frantisek Dufka wrote: > David Hautbois wrote: >> The kernel-source-rx-34-2.6.21.0 package >>Is it the N810 kernel source ? > > Yes but providing a link or telling us what version you used could > help with tr

Compiling new kernel for N810

2008-01-17 Thread David Hautbois
Hi I've compiled a new kernel for the N810. But now, the internal memory does not appear ! So I've some questions : The kernel-source-rx-34-2.6.21.0 package Is it the N810 kernel source ? The name contains "rx34", and the firmware name of the N810 contains "rx44" So, I don't think it is

Re: repository.maemo.org is down

2007-12-19 Thread David Hautbois
Now, repository.maemo.org is up but catalogue.tableteer.nokia.com is down David. Laurent GUERBY wrote: > Just flashed and can't reinstall anything since repository.maemo.org > is down. > > A mirror somewhere? > > Laurent > > On Wed, 2007-12-19 at 00:03 -0500, harini satyanarayanan wrote: > >>

Re: pymaemo python and gtk glade

2007-11-18 Thread David Hautbois
Jesse Guardiani wrote: > Hello, > > Just noticed today on my n800 with Chinook and pymaemo that: > import gtk.glade > > fails. Any idea when this might be fixed? > > -- > Jesse Guardiani > Software Developer / Sys Admin > [EMAIL PROTECTED] > ---

Launching web browser from python

2007-10-10 Thread David HAUTBOIS
Hi I'm developping a python application. What is the best way to launch the web browser with a specified URL ? Actually, I'm using the command line : browser --url="www.mameo.org" This works only if there is not another browser window opened. Can we launch the browser with dbus ? I want to open

Re: Python - problem with locales

2007-10-08 Thread David Hautbois
David Hautbois wrote: > Lauro Moura wrote: > >> On 10/6/07, David Hautbois <[EMAIL PROTECTED]> wrote: >> >> >>> Hi >>> >>> Thanks for your tips, but I still have problem : >>> >>> * unset LC_ALL >>>

Re: Python - problem with locales

2007-10-08 Thread David Hautbois
Lauro Moura wrote: > On 10/6/07, David Hautbois <[EMAIL PROTECTED]> wrote: > >> Hi >> >> Thanks for your tips, but I still have problem : >> >> * unset LC_ALL >> >>> import locale >> >>> locale.getdefaultlocale()

Re: Python - problem with locales

2007-10-06 Thread David Hautbois
[EMAIL PROTECTED] wrote: > > Hi David, > > To resolve locale, Python uses LC_ALL, LC_CTYPES, LANG and LANGUAGE in > this order. SDK3.3 sets LC_ALL=C giving (None,None) as result to > getdefaultlocale(). SDK2.2 and N800 leaves LC_ALL clean, then if you set > LANGUAGE everything goes

Python - problem with locales

2007-10-05 Thread David Hautbois
Hi I have problems to display special characters in the python console (With Scratchbox) : UnicodeEncodeError: 'ascii' codec can't encode character u'\u2014' in position 54: ordinal not in range(128) I think this is because the following command : locale.getdefaultlocale() return (None, None) I

Re: libffi4 package missing in bora extras repository

2007-10-04 Thread David HAUTBOIS
How to solve this issue : http://www.internettablettalk.com/forums/showthread.php?t=10201&page=4 David. Luca Olivetti wrote: > En/na Luciano Miguel Wolf ha escrit: > >> Hi all, >> >> It seems libffi4 and libffi4-dev are missing in Packages[1] descriptor >> of "bora extras" repository. The lib

Is my scratchbox environnement broken ?

2007-09-28 Thread David Hautbois
Hi Yesterday, I didn't quit scratchbox with the commands : af-sb-init.sh stop exit So, today, my scratchbox environment works, but the labels are unreadable. You can see a screenshot here : http://david.hautbois.free.fr/temp/pb-sdk.png The log here : http://david.hautbois.free.fr/temp/p

Re: maemo wiki survey

2007-07-05 Thread David HAUTBOIS
Hi An all recent changes page will be usefull. Like this : http://www.nslu2-linux.org/wiki/Site/AllRecentChanges and a RSS feed of all recent changes. David. Quim Gil wrote: > Dear maemo contributors, can you please answer these questions? > > - What do you think about the current wiki tool at >

Re: Adding an application in maemo.org

2007-07-02 Thread David Hautbois
munity/wiki/applicationrepositories/> I don't have 'Applications' link... David. David Hautbois wrote: > Yes ... :-( > > > Kees Jongenburger wrote: > >> On 7/2/07, David Hautbois <[EMAIL PROTECTED]> wrote: >> >>> Hi >>> I woul

Re: Adding an application in maemo.org

2007-07-02 Thread David Hautbois
Yes ... :-( Kees Jongenburger wrote: > On 7/2/07, David Hautbois <[EMAIL PROTECTED]> wrote: >> Hi >> I would like to add an application in maemo.org. >> I followed the instructions in this page : >> http://maemo.org/community/application-catalog/developer-man

Adding an application in maemo.org

2007-07-02 Thread David Hautbois
Hi I would like to add an application in maemo.org. I followed the instructions in this page : http://maemo.org/community/application-catalog/developer-manual.html But in step 2, the application menu does not appear... David. -- http://david.hautbois.free.fr http://slugplayer.free.fr _

Re: GtkTreeView issue

2007-06-11 Thread David Hautbois
Look at this excellent tutorial : http://www.learningpython.com/2006/09/02/extending-our-pygtk-application/ David. Matt Clark wrote: > I thought before I submit a bug I'd see if anyone can point out where > I'm going wrong. My problem is that in an app I'm developing I'm not > getting row-ac

Python - RPC Sender sample application

2007-05-29 Thread David Hautbois
Hi In the python tutorial, the content of the RPC Sender sample application is missing. Can someone send it ? Thanks. David. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers

Re: GPE Calendar for Scratchbox

2007-05-19 Thread David Hautbois
obb.uk.net/apt/dists/bora/experimental/source/gpe-calendar_0svn20070331maemo.tar.gz extract it, go in the created directory and execute ./autogen.sh ./configure make make install Graham Cobb wrote: > On Friday 18 May 2007 20:28, David Hautbois wrote: > >> Is GPE Calendar available for

GPE Calendar for Scratchbox

2007-05-18 Thread David Hautbois
Hi Is GPE Calendar available for Scratchbox ? Thanks. David. -- http://code.google.com/p/erminig/ ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers

Maemo SDK and Debian 64 bits

2007-04-19 Thread David Hautbois
Hi Does the maemo SDK work fine with a 64 bits linux distribution ? On the maemo web site, we can read : * Intel compatible x86 processor, 500 MHz or faster * 256 MB RAM or more * 2 GB free hard disk space * Linux OS (Debian or Ubuntu

Re: [maemo-developers] Distribute Python application

2007-01-28 Thread David Hautbois
No, it's my own package built with the instructions in this page : http://maemo.org/platform/docs/python-bora/python_maemo_howto.html Álvaro J. Iradier wrote: Is the package in the User section?: Section: user/something Greets. On 1/28/07, David Hautbois <[EMAIL PROTECTED]> wr

[maemo-developers] Distribute Python application

2007-01-28 Thread David Hautbois
Hello Actually, i can build a package to install my python application on the N800, but : My package can be installed only in red pill mode. Do you know how to make a package installable in blue pill mode ? Thanks. David. ___ maemo-developers maili