Re: [maemo-developers] Adding swapon/off to Jakub's Load-Plugin applet
Hi,I tried your version of the Load-Plugin applet. Unfortunately it makes de device reboot everytime I click on the applet. I could repeat the problem inside scratchbox. After going through the source, I found out that the problem is swapname not being initialized the first time. Here's a small patch to make it work. diff -Naur loadapplet-aw/load-plugin.c loadapplet-henry/load-plugin.c --- loadapplet-aw/load-plugin.c 2006-02-28 00:32:41.0 +0100+++ loadapplet-henry/load-plugin.c 2006-02-27 22:50: 01.0 +0100@@ -536,7 +536,7 @@ gtk_menu_shell_append(GTK_MENU_SHELL(info->menu), info->menu_separator); /* Swap */ - if (strncmp(swapname, "", 1) != 0) {+ if (swapname && strncmp(swapname, "", 1) != 0) { if (swapisactive()) sprintf(label, "swapoff %s (%d MB used)", swapname, (swapused+512)/1024); else Regards,Henry ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] use shell script to start application
Just a wild guess. Did you change the .service file to reference the shell script too? On 1/20/06, Johannes Eickhold <[EMAIL PROTECTED]> wrote: On Wed, 2006-01-18 at 15:18 +0100, Johannes Eickhold wrote:> I have hildonized gpsdrive a bit and want it to appear in the task > navigator after startup.>> For the following PWD=/var/lib/install.>> gpsdrive has to be started via the script "usr/bin/gpsdrive.sh".>> If I specify this file in the .desktop file, gpsdrive can be started in > the correct way from the menu and via "run-standalone.sh> usr/bin/gpsdrive.sh" but doesn't show up in the task navigator.>> If I specify ".../usr/bingpsdrive" (the binary executable) in > the .desktop file, only the application is startet broken (needed parts> from the script are not executed) BUT it shows up in the task navigator> after that. If I start it via run-standalone.sh everyting is fine ( e.g.> correct startup AND showing in task navigator).>> How can I fix this?Since nobody answerd my question yet I'm going to share my thoughts withyou I had in the meantime.First a thx to Florian Boor for pointing me to http://maemo.org/platform/docs/tutorials/Maemo_tutorial.html#Automatic-connection which seems to descibe what I want to achieve. It says: "... This my_application.sh is then started from the desktop file where the runnable binary is normally specified. Read more about desktop files from this earlier chapter. ..." That leads to the question HOW to start the _script_ if Exec specifies the _binary_ (" gpsdrive.sh" vs. "gpsdrive")? That's not described in the referenced section.Every time I specified the binary in Exec, only the binary was started.Result: icon in task navigator but no script execution. Every time I specified the script in Exec, only the script was executed. Result: noicon in task navigator.I tried this inside scratchbox and on the real device. After each changeto the desktop file maemo had to be restarted what I did. So far the only possible solution seems to be to move the work done bythe script into the binary which in my opinion is ugly.I realy would like to get enlightened!Thanks, Jonek.___ maemo-developers mailing listmaemo-developers@maemo.orghttps://maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] How to prevent display from shutting down after idle timeout?
Hi, I haven't tried them myself, but these libosso functions seem to be what you're looking for. http://www.maemo.org/platform/docs/api/libosso/html/index.html Regards, Henry On 1/17/06, mike s <[EMAIL PROTECTED]> wrote: HiI'd like to keep the display on when my application is running and no user interaction happens before display shutdown timeout. I know powersaving is preferrable but there are some use cases where this is just needed... In additon it would be nice to know if there's a way to programmatically control backlights as well. So if anyone knows how to do this in N770 please help a man in trouble:) -Mikez___maemo-developers mailing listmaemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Maemo Wiki - Application Catalog.
Hi, SDK version 1.1 comes with a new version of qemu, it is now possible to execute programs in arm target! Regards, Henry On 1/16/06, Antonio Gomes <[EMAIL PROTECTED]> wrote: hi there,First of all, if you wanna to run apps in a desktop box, you have to have an i386 target set up ... Regarding the error, try to set you LD_LIBRARY_PATH to your target directory (it is not the best way, but works) e.g. ./configure *--prefix=/usr* && make && make installLD_LIBRARY_PATH=/usr/lib/gpe_webbrowser_libs_path:$LD_LIBRARY_PATH*run-it*regards On 1/14/06, Edlinoor Syahril Ramlan <[EMAIL PROTECTED] > wrote: Yup, it could run but I keep on getting this error when i click on theapplication in the xephyr window: "/var/lib/install/usr/bin/gpe-mini-browser: error while loading sharedlibraries: libgpewidget.so.1 : cannot open shared object file: No such file ordirectory"I've been trying everything: 1) Installing the latest version of libgpewidget1_0.105m1-1_arm.deb2) Manually installed libgpewidget1_0.105m1-1_arm.deb by unpacking it manually and add libgpewidget.so.1 into /var/lib/install/usr/lib3) changing ld.so.confat /scratchbox/users/edlinoor/targets/SDK_ARM/etc/ld.so.conf andadding /var/lib/install/usr/lib into it4) executing "fakeroot ldconfig" before i execute " af-sb-init.sh start" All failed! I don't understand what is going on. By the way I just upgradingthe SDK to version 1.1. Does that have anything to do with the error? Iguest not. The application that I wanted to install is gpe-mini-browser. Need help please... any idea?Ed.On Friday 13 January 2006 04:44, you wrote:> On Fri, 2006-01-13 at 18:21 +0800, Edlinoor Syahril Ramlan wrote:> > Hi,> >> > I've been browsing maemo wiki and found that the "Application Catalog" > > listed quite a number of applications that I found interesting.> >> > But:> >> > 1) Is it possible for me to download those applications and> > install them into the Maemo SDK installed in my PC? In other words is > > it possible to install those applications in scratchbox?> > 2) Can I run and use the application by using the Xephyr?>> absolutely. Switch to ARM target and then,>> [beagle SDK_ARM] app-installer-tool install uber-maemo-app_arm.deb >-- --Antonio Gomeshttp:// tonikitoo (dot) blogspot (dot) com (slash)Nokia Technology Institute (INdT)___ maemo-developers mailing listmaemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] [libgtkhtml-2.0] HtmlDocument not receiving mouse clicks
Hi Philippe, On 12/21/05, Philippe De Swert <[EMAIL PROTECTED]> wrote: I have used gtkhtml-3.0 before in GPE. There everything was working fine(except that it had a pretty large footprint) I have some trimmed down gtkhtml sourc here : http://stag.mind.be/gpe-helpviewer.html. Mainly I reduced thedependencies in this one.Hope this is of any use to you. Thank you for your suggestion. It seems gtkhtml-3.0 is very different from 2.0. If I use your lite-version, then I think I would need to use webcore too. Right now, I plan to concentrate on finishing the current version of the application. After that I'll try to convert it to gtkhtml-3.0 and compare the footprint. Regards, Henry ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] [libgtkhtml-2.0] HtmlDocument not receiving mouse clicks
On 12/21/05, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:-- Forwarded message -- From: Eero Tamminen <[EMAIL PROTECTED]>To: maemo-developers@maemo.orgDate: Wed, 21 Dec 2005 15:14:32 +0200 Subject: Re: [maemo-developers] [libgtkhtml-2.0] HtmlDocument not receiving mouse clicksHi,> I'm working on a chm viewer based on chmlib and libgtkhtml-2.0 (built> with --disable-accessibilty). Everything is working fine inside > scratchbox, but on the actual device I notice that the link_clicked> callback on the HtmlDocument widget is not working. Looking further, I> notice that the all dom_mouse_* events are working except > dom_mouse_click.Has this software been tested on the desktop with a touchscreen?With touch screen there are very few mouse moves compared to non-touchscreen displays. - Eero I don't know if libgtkhtml-2.0 has been tested on the desktop with a touchscreen. It's the first time I use that library. I'll try and see if I can get more info on the gnome mailing list later on. For now, I've implemented a workaround by using the button-press-event of the surrounding HtmlView. Regards, Henry ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers