Re: looking for help from a GTK/hildon guru

2011-11-02 Thread Kimmo Hämäläinen
Hi, I found some code lying on my hard drive. I'm not sure if it's open-source, so I'm only pasting a portion of it :) Hope this helps. GWebEngine *engine; engine = g_web_new_web_engine_window_with_context(web, NULL, FALSE, FALSE); GtkWindow *main_window; main_window

Re: looking for help from a GTK/hildon guru

2011-11-02 Thread Kimmo Hämäläinen
Now I noticed that they are licenced under MPL1.1 so here you are... On 11/02/11 16:48, ext Kimmo Hämäläinen wrote: Hi, I found some code lying on my hard drive. I'm not sure if it's open-source, so I'm only pasting a portion of it :) Hope this helps. GWebEngine *engine; engine

Re: Looking for some help/tutorials on status bar widgets for my Cell Broadcast SMS status bar widget

2011-10-17 Thread Kimmo Hämäläinen
Hi, If I understand correctly, you are talking about N900. If that's the case, maybe looking at the example code helps: https://maemo.gitorious.org/fremantle-hildon-desktop/libhildondesktop/trees/master/examples/status-menu -Kimmo On 10/17/11 04:14, ext Jonathan Wilson wrote: I have gotten

Re: How to attach gdb to hildon-desktop?

2011-07-14 Thread Kimmo Hämäläinen
On 07/14/11 02:35, ext Jonathan Wilson wrote: Can anyone tell me how I can attach gdb to hildon-desktop (on the phone, not in the SDK environment) so I can debug a status bar widget? You probably mean hildon-status-menu because hildon-desktop does not have any plugins. My memory is failing

Re: Qt application crashes after 2 minutes if started from app grid

2011-05-09 Thread Kimmo Hämäläinen
On 05/09/11 17:37, ext Cornelius Hald wrote: Brilliant :) Already runs for 6:30 minutes without crashing. Do I still need the .service file or can I delete it as well? There is a reason why all applications register a D-Bus service: that way we can guarantee that only one copy of the

Re: Disable system click for an application?

2011-03-24 Thread Kimmo Hämäläinen
On 03/23/11 23:27, ext Tarantism wrote: On Wed, 2011-03-23 at 10:31 +0200, Kimmo Hämäläinen wrote: On 03/23/11 00:30, ext Tarantism wrote: I'd like to disable the system touch screen click for my application. The best way depends on your application. Do you use GTK/Qt/pure-X or what? I'm

Re: Disable system click for an application?

2011-03-23 Thread Kimmo Hämäläinen
On 03/23/11 00:30, ext Tarantism wrote: I'd like to disable the system touch screen click for my application. Can this be done? The best way depends on your application. Do you use GTK/Qt/pure-X or what? In GTK, you could create a widget and call gtk_grab_add() for it to catch all mouse

Re: Suspended process

2010-07-02 Thread Kimmo Hämäläinen
On Thu, 2010-07-01 at 21:54 +0200, ext Demetris wrote: Hi all, the same (shell-based) app running on N810 under Maemo5 gets suspended on the N900 under Maemo5. Any idea why it would be so - I am running cvm (J2ME-CDC PhoneME for java runtime): Process #1667 received signal 4, suspending

Re: osso_initialize: how to make it work?

2010-06-08 Thread Kimmo Hämäläinen
On Mon, 2010-06-07 at 22:26 +0200, ext maemo.me...@spamgourmet.com wrote: OK, it's the run-standalone.sh thing. I remember now, that was a constant irritation when I was trying to fix bugs in Modest. I never fully understood it. Is that thing documented anywhere, is there any in-depth

Re: How to force landscape mode in Qt 4.6.2?

2010-06-08 Thread Kimmo Hämäläinen
, Daniil. 2010/6/8 Kimmo Hämäläinen kimmo.hamalai...@nokia.com: On Tue, 2010-06-08 at 10:37 +0200, ext Sascha Mäkelä wrote: Hi, In my app I have setAttribute(Qt::WA_Maemo5AutoOrientation, true) in the main.cpp. The auto orientation works fine. However, I have some stacked windows that I

Re: How to force landscape mode in Qt 4.6.2?

2010-06-08 Thread Kimmo Hämäläinen
On Tue, 2010-06-08 at 16:05 +0200, ext Daniil Ivanov wrote: Hi Kimmo! 2010/6/8 Kimmo Hämäläinen kimmo.hamalai...@nokia.com: On Tue, 2010-06-08 at 15:43 +0200, ext Daniil Ivanov wrote: Hi Kimmo! It sets in case Qt::WA_Maemo5PortraitOrientation true Qt::WA_Maemo5LandscapeOrientation

RE: Qt Autorotation

2010-06-03 Thread Kimmo Hämäläinen
On Thu, 2010-06-03 at 00:39 +0200, ext Felipe Crochik wrote: Hi, It seems to me that this is an unintended positive side effect instead of a planned requirement. I pass the mainwindow pointer to my dialog constructors and this should set the parent. By reading the documentation setParent

Re: Qt Autorotation

2010-06-03 Thread Kimmo Hämäläinen
On Thu, 2010-06-03 at 14:47 +0200, ext Stefanos Harhalakis wrote: Hello, On Thursday 03 of June 2010, Kimmo Hämäläinen wrote: Yes, the WM makes sure that transient dialogs inherit portrait properties from the parent (meaning the window they are transient for). Of course, you could also

Live Backgrounds in PR1.2 hildon-desktop

2010-06-01 Thread Kimmo Hämäläinen
Hello! The PR1.2 has a super-secret, unplanned feature that we smuggled in: so-called live backgrounds support in hildon-desktop (= 1:2.2.133-1). Live background is a window that is displayed below or front of the Home applets, either in a specific desktop view (panning with the view) or as

Re: Live Backgrounds in PR1.2 hildon-desktop

2010-06-01 Thread Kimmo Hämäläinen
background, and it could even work if the application only depends on ButtonPress, ButtonRelease and Motion events (which are forwarded by hildon-desktop to the live background window). -Kimmo Sivan 2010/6/1 Kimmo Hämäläinen kimmo.hamalai...@nokia.com: Hello! The PR1.2 has a super

Re: Live Backgrounds in PR1.2 hildon-desktop

2010-06-01 Thread Kimmo Hämäläinen
On Tue, 2010-06-01 at 11:32 +0200, ext Sivan Greenberg wrote: 2010/6/1 Kimmo Hämäläinen kimmo.hamalai...@nokia.com: I think the Control Panel plugin API is C/GTK only since the plugin runs inside the Control Panel application. You'd need to be somehow familiar with X11 programming, since

xsnow (Re: Live Backgrounds in PR1.2 hildon-desktop)

2010-06-01 Thread Kimmo Hämäläinen
On Tue, 2010-06-01 at 09:33 +0200, Hamalainen Kimmo (Nokia-D/Helsinki) wrote: ... the background when it's not visible. I have ported xsnow for demonstrating how to do the pausing and detect positions of the Home applets, the xsnow patch (against xsnow 1:1.42-8) is attached (I'm also Maybe

Re: Quality assurance of stable software: my battery drained in few hours

2010-05-31 Thread Kimmo Hämäläinen
On Sun, 2010-05-30 at 10:30 +0200, ext Sivan Greenberg wrote: Stuck could be deduced for example when the process is in more then 90% CPU for more than a threshold duration that we will predetermine and being idle on its I/O streams. But that would prevent running s...@home ;) Browser could

Re: Getting the running Processes information In maemo

2010-05-18 Thread Kimmo Hämäläinen
On Tue, 2010-05-18 at 08:41 +0200, ext sandeep kodimela wrote: Hi all, I want to get the list of running processes as well as Running applications from the phone. Can anybody suggest where do i start? Thanks in advance For getting list of applications (application windows), see the e-mail

Re: Displaying the information of the MMC card and the phone memory

2010-05-12 Thread Kimmo Hämäläinen
Hi, On Wed, 2010-05-12 at 07:39 +0200, ext Pallavi Kandhare wrote: .. 2. On mobile certain aplications are running at a time. (ed. clock, calender etc). How can i find out and list all these applications. There is nothing very convenient for this but you can do it using the same API as

RE: Why should I write apps for Maemo?

2010-05-07 Thread Kimmo Hämäläinen
On Fri, 2010-05-07 at 13:21 +0200, ext Matan Ziv-Av wrote: On Fri, 7 May 2010, tero.k...@nokia.com wrote: ... I am specifically interested in hildon-desktop packages (hildon-desktop, hildon-home, hildon-status-menu, etc.), and libhildon. Those are all developed in completely open Gitorious.

RE: Why should I write apps for Maemo?

2010-05-07 Thread Kimmo Hämäläinen
On Fri, 2010-05-07 at 14:13 +0200, ext Matan Ziv-Av wrote: On Fri, 7 May 2010, Kimmo Hämäläinen wrote: On Fri, 2010-05-07 at 13:21 +0200, ext Matan Ziv-Av wrote: On Fri, 7 May 2010, tero.k...@nokia.com wrote: ... I am specifically interested in hildon-desktop packages (hildon-desktop

Re: Howto grab all Maemo5 zoom key events in SDL/SDL_gles app?

2010-05-04 Thread Kimmo Hämäläinen
On Tue, 2010-05-04 at 16:01 +0200, ext Javier S. Pedro wrote: Frantisek Dufka wrote: I am not sure why there are three X windows in info.info.x11 structure (fswindow, wmwindow and window). From brief look into SDL sources it seems to me like the 'window' is used when SDL is initialized

Re: Howto grab all Maemo5 zoom key events in SDL/SDL_gles app?

2010-05-03 Thread Kimmo Hämäläinen
On Sun, 2010-05-02 at 13:26 +0200, ext Till Harbaum / Lists wrote: Hi, i'd like to access the zoom keys in a SDL/SDL_gles app (the 3d globe i uploaded to extras-devel). The odd thing is that my solution only partly works. Some key presses actually reach my app as function key presses, but

Re: Splitting windows vertically

2010-04-27 Thread Kimmo Hämäläinen
On Mon, 2010-04-26 at 17:28 +0200, ext Charles Clément wrote: On Mon, Apr 26, 2010 at 04:20:37PM +0300, Kimmo Hämäläinen wrote: On Sun, 2010-04-25 at 03:24 +0200, ext Charles Clément wrote: Hello, I have an application, an input method, that doesn't need all the screen estate

Re: Squeeze devkit to be installed to autobuilder

2010-04-27 Thread Kimmo Hämäläinen
On Tue, 2010-04-27 at 16:00 +0200, ext Marcin Juszkiewicz wrote: ... 1. Setup 2. FREMANTLE_ARMEL 3. cs2007q3-glibc2.5-arm7 4. debian-squeeze 5. none (as CPU-transparency method) You need to use qemu as CPU-transparency here... -Kimmo 6. do not extract rootstrap 7. installed default set

Re: Splitting windows vertically

2010-04-26 Thread Kimmo Hämäläinen
On Sun, 2010-04-25 at 03:24 +0200, ext Charles Clément wrote: Hello, I have an application, an input method, that doesn't need all the screen estate because it is not a virtual keyboard. By default in maemo, if I set a size for the window, it will show my application window in a horizontal

Re: python app at portrait mode all the time

2010-04-26 Thread Kimmo Hämäläinen
On Sat, 2010-04-24 at 21:03 +0200, ext Faheem Pervez wrote: The part you want is in the orientation_changed function. Try: hildon.hildon_gtk_window_set_portrait_flags(window, hildon.PORTRAIT_MODE_SUPPORT | hildon.PORTRAIT_MODE_REQUEST) This does not work if you have e.g. dialog that

Re: Inhibiting device auto-lock on N900

2010-04-20 Thread Kimmo Hämäläinen
On Tue, 2010-04-20 at 11:05 +0200, ext Per von Zweigbergk wrote: Thank you for this information. It is close to what I've been looking for. However, is this really what happens for example if there is an incoming call - that the phone app sends a request to the phone to unlock? Rather than

Re: j2me

2010-04-19 Thread Kimmo Hämäläinen
On Mon, 2010-04-19 at 11:12 +0200, ext Christopher Intemann wrote: On Sun, Apr 18, 2010 at 7:12 PM, Christopher Intemann intem...@gmail.com wrote: Is there any stupid security mechanism in maemo preventing me to change permissions for files or what am I doing wrong?

Re: [pymaemo] hildon-desktop: getting D-Bus?

2010-04-14 Thread Kimmo Hämäläinen
On Tue, 2010-04-13 at 23:19 +0200, ext Thomas Waelti wrote: (Crossposting to maemo-devel, hoping for a Hildon-Desktop or D-Bus expert to pick this up. Original thread is at https://garage.maemo.org/pipermail/pymaemo-developers/2010-April/001444.html ) Thanks for a very interesting input.

Re: N900 Mameo5 mediaplayer not able to launch from Command line

2010-04-09 Thread Kimmo Hämäläinen
On Fri, 2010-04-09 at 12:24 +0200, ext praveen koduru wrote: It is giving the following error from N900 shell prompt, Failed to open connection to session message bus: (null) Maybe you are running the command as root? Do su - user first to login as user. -Kimmo -Praveen On Fri, Apr

Re: SGX library modifications?

2010-04-06 Thread Kimmo Hämäläinen
On Tue, 2010-04-06 at 12:34 +0200, ext Ahmed Ammar wrote: On Thu, 2010-04-01 at 21:55 +0200, Ahmed Ammar wrote: On Thu, 2010-04-01 at 11:05 +0300, Kimmo Hämäläinen wrote: I've currently got most things ported correctly using your xorg server. Just doing the big part of porting your

Re: SGX library modifications?

2010-04-01 Thread Kimmo Hämäläinen
On Wed, 2010-03-31 at 17:28 +0200, ext Ahmed Ammar wrote: On Wed, 2010-03-31 at 18:18 +0300, Kimmo Hämäläinen wrote: On Wed, 2010-03-31 at 15:16 +0200, ext Ahmed Ammar wrote: Hello, While trying to compile xserver-xorg-video-fbdev_0.4.0-180+0m5.tar.gz I have come across missing

Re: SGX library modifications?

2010-03-31 Thread Kimmo Hämäläinen
On Wed, 2010-03-31 at 15:16 +0200, ext Ahmed Ammar wrote: Hello, While trying to compile xserver-xorg-video-fbdev_0.4.0-180+0m5.tar.gz I have come across missing definitions: sgx_exa.c:79: error: ‘EURASIA_TAG_STRIDE_THRESHOLD’ undeclared (first use in this function) After further

RE: N900 USB Networking

2010-03-19 Thread Kimmo Hämäläinen
On Fri, 2010-03-19 at 09:39 +0100, ext van Porten, Oliver wrote: -Original Message- From: Tomi Ollila [mailto:tomi.oll...@guru.guru-group.fi] Sent: Thursday, March 18, 2010 5:27 PM To: Kimmo Hämäläinen Cc: van Porten, Oliver; maemo-developers@maemo.org Subject: Re: N900 USB

Re: N900 USB Networking

2010-03-18 Thread Kimmo Hämäläinen
On Wed, 2010-03-17 at 15:17 +0100, ext van Porten, Oliver wrote: Hi list, I've tried following this guide to setup USB networking with my Windows PC: http://wiki.maemo.org/N900_USB_networking#Windows_XP Windows asked for a driver for the RNDIS gadget once and I installed it. I'm using

Re: Disabling WM animations

2010-03-15 Thread Kimmo Hämäläinen
On Mon, 2010-03-15 at 08:43 +0100, ext Sivan Greenberg wrote: I would actually want to disable it for performance reasons. The current eye candy is pretty tough for the N900 IMHO and causes lots of problems when all sorts of events are arriving simultaneously. This can be done by hacking

Re: Disabling WM animations

2010-03-15 Thread Kimmo Hämäläinen
On Mon, 2010-03-15 at 08:59 +0100, ext Sivan Greenberg wrote: Why isn't there anything in the settings UI to control this outside the code? Like the Appearance manager in Ubuntu. Because the only people wanting this are nerds and nerds can code ;) -Kimmo Sivan 2010/3/15 Kimmo Hämäläinen

Re: How to enable mouse icon to be visible on N900?

2010-03-12 Thread Kimmo Hämäläinen
On Fri, 2010-03-12 at 10:19 +0100, ext 韩茂琨 wrote: Hi, I searched solutions but failed to enable it. Even worse, I found No mouse cursor available yet. The trick from alpha version to make mouse cursor visible doesn't work any more in Maemo5 final version (some applications like tuxpaint

Re: Performance of floating point instructions

2010-03-10 Thread Kimmo Hämäläinen
On Wed, 2010-03-10 at 10:46 +0100, ext Ove Kaaven wrote: Alberto Mardegan skrev: Does anyone know any tricks to optimize certain operations on arrays of data? The answer to that is, obviously, to use the Cortex-A-series SIMD engine, NEON. Supposedly you may be able to make gcc generate

Re: Performance of floating point instructions

2010-03-10 Thread Kimmo Hämäläinen
On Wed, 2010-03-10 at 12:57 +0100, ext Alberto Mardegan wrote: Kimmo Hämäläinen wrote: You can also put the CPU to a fast floats mode, see hd_fpu_set_mode() in http://maemo.gitorious.org/fremantle-hildon-desktop/hildon-desktop/blobs/master/src/main.c N900 has support for NEON

Re: Problem running ogles2 program on Nokia N900

2010-02-25 Thread Kimmo Hämäläinen
On Wed, 2010-02-24 at 22:37 +0100, ext Jonny Karlsson wrote: I have successfully compiled an OpenGL ES 2.0 program on scratchbox for the FREMANTILE_ARMEL plattform. However, when running the program on Nokia N900 the compilation of the vertex and fragment shaders fails. This is the error

Re: Problem running ogles2 program on Nokia N900

2010-02-25 Thread Kimmo Hämäläinen
Notice that the GLES shader specification allows the implementation to slack at times when it comes to precisions. http://www.khronos.org/registry/gles/specs/2.0/GLSL_ES_Specification_1.0.17.pdf -Kimmo /Jonny On Thu, 25 Feb 2010, Kimmo Hämäläinen wrote: On Wed, 2010-02-24 at 22:37

Re: Problem running ogles2 program on Nokia N900

2010-02-25 Thread Kimmo Hämäläinen
On Thu, 2010-02-25 at 13:14 +0100, ext Jonny Karlsson wrote: Now I finally managed to get my OGLES2 program working on N900. The variable type and the precision definition was still in the wrong order at one place in my code... ... So, at least on N900, the variable type must be defined

Re: reloading a status bar plugin

2010-02-24 Thread Kimmo Hämäläinen
On Tue, 2010-02-23 at 20:06 +0100, ext b0unc3 wrote: Hello, I've created a statusbar plugin, now I want to reload it (eg. when the configuration file changes). What is the best way to do that ? If the plugin can be unloaded and reloaded cleanly (meaning, it does not crash

Re: Maemo Touch Screen input capture

2010-02-24 Thread Kimmo Hämäläinen
On Wed, 2010-02-24 at 10:04 +0100, ext Charles wrote: Hi, I am working on a OpenGL ES application (based on PowerVR framework) on Maemo and want to capture touch screen input for the application. I did not find any touch screen capture in PowerVR libs. Is there any other lib that could

Re: reloading a status bar plugin

2010-02-24 Thread Kimmo Hämäläinen
On Wed, 2010-02-24 at 13:21 +0100, ext b0unc3 wrote: ... dsmetool -k /usr/bin/hildon-status-menu dsmetool -t /usr/bin/hildon-status-menu This is the current way I'm doing that, but, as you said, it's ugly. Yes, because The Right Way is for your plugin to load the

Re: Invoking fremantle symbol menu

2010-02-18 Thread Kimmo Hämäläinen
On Wed, 2010-02-17 at 23:45 +0100, ext Peter Tworek wrote: Hi, I'm looking for a way to show freemantle sym menu without using hildon text widgets. I'd like to show it in an application that does not use GTK/Hildon as widget toolkit. Is there a way to do this? Unless I'm completely wrong,

Re: Why touch event go through my window

2010-02-17 Thread Kimmo Hämäläinen
that m_socket_server.create() returns false for some reason. -Kimmo Thank you very much! Best regards, Evan JIANG 2010/2/16 Kimmo Hämäläinen kimmo.hamalai...@nokia.com: On Tue, 2010-02-16 at 10:34 +0100, ext Evan JIANG wrote: Hi, Thank you for your reply. Which locale are you

Re: Why touch event go through my window

2010-02-16 Thread Kimmo Hämäläinen
On Mon, 2010-02-15 at 18:06 +0100, ext Evan JIANG wrote: Hi, ... The application is in mameo extras-devel repository. Could you help me to test that? You can get it from http://repository.maemo.org/extras-devel/pool/fremantle/free/m/mscim/mscim_1.4.7-1maemo5_armel.deb It's not the latest

Re: Why touch event go through my window

2010-02-16 Thread Kimmo Hämäläinen
be found here: http://code.google.com/p/scim-for-maemo/ Well, I admit the source code is a bit complex. I had fi_FI. I tried with en_US but it crashes with that also... I think it should not crash whatever the locale is, don't you agree? -Kimmo Best regards, Evan JIANG 2010/2/16 Kimmo

Re: Why touch event go through my window

2010-02-16 Thread Kimmo Hämäläinen
On Tue, 2010-02-16 at 10:34 +0100, ext Evan JIANG wrote: Hi, Thank you for your reply. Which locale are you using? It's ok to run it under en_US on real device. The application is using by lots of users for 2 monthes. I think it should not have such problem. The source code can be

Re: Why touch event go through my window

2010-02-15 Thread Kimmo Hämäläinen
to the Internet. It sounds like the window type is confusing to the window manager and it does not behave right in this case. -Kimmo Best regards, Evan JIANG 2010/2/12 Kimmo Hämäläinen kimmo.hamalai...@nokia.com: On Sat, 2010-02-06 at 16:53 +0100, ext Evan JIANG wrote: Hi all, I'm

Re: Bad Drawable when running hellogl_es2 example

2010-02-15 Thread Kimmo Hämäläinen
On Sun, 2010-02-14 at 11:34 +0100, ext Charles Han wrote: Hi all, I am having issue when running the example hellogl_es2 from QT. The program segment fault on theN900 and showing this error message: X Error: BadDrawable (invalid Pixmap or Window Parameter) 9 Extension: 134 (unknown

Re: Developing virtual keyboard plugin for Maemo 5

2010-02-12 Thread Kimmo Hämäläinen
On Fri, 2010-02-12 at 12:17 +0100, ext Daniel Martin Yerga wrote: Hi. On 12/02/10 09:54, kokilakr kr wrote: Hello All, Thanks for information about out dated documentation. But I could not find any information, examples or sample virtual keyboard based on new framework. And the

Re: Developing virtual keyboard plugin for Maemo 5

2010-02-12 Thread Kimmo Hämäläinen
September 2007, it seems :) I can give you commit rights if you can do it ;) -Kimmo Thanks, 2010/2/12 Kimmo Hämäläinen kimmo.hamalai...@nokia.com On Fri, 2010-02-12 at 12:17 +0100, ext Daniel Martin Yerga wrote: Hi. On 12/02/10 09:54

Re: Why touch event go through my window

2010-02-12 Thread Kimmo Hämäläinen
On Fri, 2010-02-12 at 16:30 +0100, ext Thomas Perl wrote: 2010/2/6 Evan JIANG first...@gmail.com: I may not explained it clearly. Let me give an easier understanding example. If the window is in the top of screen, covered the title bar, then when I press the button on the left-top corner,

Re: Why touch event go through my window

2010-02-12 Thread Kimmo Hämäläinen
On Sat, 2010-02-06 at 16:53 +0100, ext Evan JIANG wrote: Hi all, I'm developing an input method for N900. The main window is not full screen, and looks like this: http://www.evan129.com/wp-content/uploads/2009/12/20091225_d151774f028f00e741aecdywcKr7OnKn.png It works well in most of

Re: how to make a splash screen with Qt

2010-02-08 Thread Kimmo Hämäläinen
On Mon, 2010-02-08 at 09:50 +0100, ext ibrahim wrote: hello there ; I was wondering how to make a splash screen for my application using Qt, I found this link : http://wiki.maemo.org/Qt4_Hildon#QSplashScreen_not_fully_compatible_with_Hildon-Desktop telling that it is not compitable

Re: Developing virtual keyboard plugin for Maemo 5

2010-02-08 Thread Kimmo Hämäläinen
On Mon, 2010-02-08 at 14:40 +0100, ext kokilakr kr wrote: Hello All, ... Following documentation http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Generic_Platform_Components/Extending_Hildon_Input_Methods says hildon_im_ui_button_set_* APIs are supported. But when verified in

Re: Problems Starting Application Framework

2010-02-01 Thread Kimmo Hämäläinen
On Sat, 2010-01-30 at 18:38 +0100, ext ac...@dsic.upv.es wrote: Hello, I am trying to compile the gtk-helloworld from the documentation of the SDK and when executing the next command: af-sb-init.sh start receive the next message: Note: For remote X connections DISPLAY should

Re: How to capture ALL key events, no focus/No-GUI

2010-01-28 Thread Kimmo Hämäläinen
On Thu, 2010-01-28 at 10:53 +0100, ext Stefan Iwanowitsch wrote: Rémi Denis-Courmont schrieb: ... I want normal processing of keyboard events and just want to trigger actions upon certain key combinations/sequences. According to the documentation XGrabKeyboard() seems to prevent further

Re: running application automatically at system startup

2010-01-18 Thread Kimmo Hämäläinen
On Sun, 2010-01-17 at 08:47 +0100, ext ibrahim wrote: cheers; I wonder how to make my application run automatically at system startup. I've read about many ways to do so ( different ways for different linux distributions) but I'm not sure which way is the right one. I don't want to mess

Re: Programmatically showing the desktop in Fremantle

2010-01-18 Thread Kimmo Hämäläinen
On Thu, 2010-01-14 at 23:56 +0100, ext Matan Ziv-Av wrote: On Thu, 14 Jan 2010, obb770 wrote: ... There is no way equivalent to exit_app_view, but in a modified hildon-desktop I am working on, I add a similar dbus signal for selecting any of the desktop modes. See here for details:

Re: Programmatically showing the desktop in Fremantle

2010-01-18 Thread Kimmo Hämäläinen
On Mon, 2010-01-18 at 12:10 +0100, Hamalainen Kimmo (Nokia-D/Helsinki) wrote: On Thu, 2010-01-14 at 23:56 +0100, ext Matan Ziv-Av wrote: On Thu, 14 Jan 2010, obb770 wrote: ... There is no way equivalent to exit_app_view, but in a modified hildon-desktop I am working on, I add a similar

Re: Hildon-Desktop: added Widget not shown

2010-01-13 Thread Kimmo Hämäläinen
On Wed, 2010-01-13 at 01:09 +0100, ext Anderson Lizardo wrote: On Tue, Jan 12, 2010 at 6:06 PM, Brent Chiodo bchi...@gmail.com wrote: I have had this issue reported for TouchSearch in both forums and formally as bug #6264: https://bugs.maemo.org/show_bug.cgi?id=6264 Thanks, it is now

Re: Drag Drop on GTK + Maemo 5 (was: Re: [pymaemo] DnD on N900)

2010-01-13 Thread Kimmo Hämäläinen
On Wed, 2010-01-13 at 00:03 +0100, ext Jeffrey Barish wrote: Claudio Saavedra wrote: El mié, 06-01-2010 a las 19:44 -0400, Anderson Lizardo escribió: There is no drag 'n drop in Maemo GTK+. This has been deliberately disabled. Claudio Is there a way to enable drag drop, ideally

Re: Hildon-Desktop: added Widget not shown

2010-01-13 Thread Kimmo Hämäläinen
On Wed, 2010-01-13 at 12:03 +0100, ext Anderson Lizardo wrote: 2010/1/13 Kimmo Hämäläinen kimmo.hamalai...@nokia.com: Notice that hildon-desktop does not have any plugins, all plugins are in hildon-home. What you need is killall hildon-home -- it will restart automatically and no reboot

Re: hardware keyboard open event

2010-01-12 Thread Kimmo Hämäläinen
On Mon, 2010-01-11 at 18:51 +0100, ext Matan Ziv-Av wrote: On Mon, 11 Jan 2010, Neal H. Walfield wrote: In an application I'm working on, I'd like to show the search tool bar if the user opens the hardware keyboard. Is there a way to detect this? I've tried searching but have had no

Re: gtk clutter tearing

2010-01-12 Thread Kimmo Hämäläinen
On Mon, 2010-01-11 at 18:58 +0100, Tamminen Eero (Nokia-D/Helsinki) wrote: Hi, ext Frantisek Dufka wrote: Recent hildon-desktop versions disable compositing automatically for fullscreen windows, unless you use HildonStackableWindow (which requires the sliding animation). I wonder

Re: hardware keyboard open event

2010-01-12 Thread Kimmo Hämäläinen
On Mon, 2010-01-11 at 22:07 +0100, ext Joaquim Rocha wrote: Hi Neal, The physical keyboard opening/closing changes the GConf key /system/osso/af/slide-open. All you need to do is to listen to this key and call your code. Yes, or use libhal to get it from HAL directly. (Run lshal -m while

Re: [Fremantle] Creating gconf keys upon installation

2010-01-12 Thread Kimmo Hämäläinen
On Tue, 2010-01-12 at 11:02 +0100, ext Thomas Wälti wrote: Just add some gconftool-2 commands to your postinstall script. (e.g. gconftool-2 --set /path/to/your/key --type string myvalue) This is not a good way, since the Gconf database could be restored from an old backup (or a power failure

Re: HildonRemoteTexture tearing/flicker

2010-01-12 Thread Kimmo Hämäläinen
On Tue, 2010-01-12 at 14:47 +0100, ext Javier S. Pedro wrote: Hi all, I am doing some experiments on using HildonRemoteTexture from a bare X11/SDL app -- basically to get sgx accelerated scaling in apps that wouldn't otherwise use the sgx for anything else. It works, but there seems to be

Re: HildonRemoteTexture tearing/flicker

2010-01-12 Thread Kimmo Hämäläinen
On Tue, 2010-01-12 at 15:30 +0100, Hamalainen Kimmo (Nokia-D/Helsinki) wrote: On Tue, 2010-01-12 at 14:47 +0100, ext Javier S. Pedro wrote: Hi all, ... Please use the git HEAD of hildon-desktop, libmatchbox2 and clutter0.8 to make sure... :) I checked that Image Viewer is not using remote

Re: Debugging applet causing hildon-home crash

2010-01-11 Thread Kimmo Hämäläinen
On Mon, 2010-01-11 at 02:03 +0100, ext Graham Cobb wrote: On Sunday 10 January 2010 19:50:20 Graham Cobb wrote: Now to try to work out why my widget cannot receive any click events but other widgets can! Well, it turns out it is because the buttons I want to click on in my home page

Re: Smooth animation

2010-01-08 Thread Kimmo Hämäläinen
On Wed, 2009-12-30 at 10:46 +0100, ext Mark Clarkson wrote: Hi, I am writing an app for the n900 which requires smooth animation within a subwindow. I want to retain the top toolbar and make use of hildon's themed widgets - I want to keep, as much as possible, the maemo 5 look and feel. By

Re: gtk clutter tearing

2010-01-08 Thread Kimmo Hämäläinen
On Tue, 2009-12-29 at 16:17 +0100, Tamminen Eero (Nokia-D/Helsinki) wrote: Hi, ext Mark Clarkson wrote: I have made a simple animation using a clutter timeline with clutter-gtk-0.10 and clutter-1.0 but there is excessive tearing when the animation plays making the animation look

Re: How to access geotag information?

2010-01-08 Thread Kimmo Hämäläinen
On Thu, 2010-01-07 at 20:50 +0100, ext Till Harbaum / Lists wrote: Hi, I think you need to re-think what your goal is. That's sad as it really limits the usage of geotags. The right solution would sure be to let tracker handle this as it's the purpose of tracker to index the disk for

Re: Disabling Desktop Notifications

2010-01-07 Thread Kimmo Hämäläinen
On Wed, 2010-01-06 at 01:06 +0100, ext dc101 wrote: Hi all, Is it possible to disable the connection notifications when the device boots up? The notifications I am interested in disabling are: -When the device is connected to DUMMY automatically (Connected to dummy) -When the device is

Re: Debugging applet causing hildon-home crash

2010-01-07 Thread Kimmo Hämäläinen
On Wed, 2010-01-06 at 22:46 +0100, ext Graham Cobb wrote: In Fremantle, the GPE Summary applet causes hildon-home to crash if it is removed and then re-added. I have not been able to work out what the problem is. We had several of this kind of crashes that happen when you remove and add it

Re: Can't debug an application under FREMANTLE_ARMEL target in Scratchbox

2009-11-25 Thread Kimmo Hämäläinen
On Tue, 2009-11-24 at 18:02 +0100, ext Alberto Garcia wrote: On Tue, Nov 24, 2009 at 07:55:47PM +0300, Burka Victor wrote: I'm trying to debug very simple application under FREMANTLE_ARMEL target and can't do that. The armel target is not meant to actually run or debug applications, but

Re: Debian on the n900 / Configuring NOLO

2009-11-25 Thread Kimmo Hämäläinen
On Thu, 2009-11-26 at 05:10 +0100, ext Christopher Allan Webber wrote: Hello all, I'm interested in exploring installing Debian on the n900. I assume that for the most part, if I loosely follow these instructions: http://www.debian.org/releases/stable/arm/apds03.html.en ... that it may

Re: independent home screen

2009-11-24 Thread Kimmo Hämäläinen
On Tue, 2009-11-24 at 11:38 +0100, ext Wang Baisheng wrote: Hi All, I want to use an independent home screen which has its own process, not contained in the hildon-desktop. And now I have a desktop implemented by gtk, but the hildon-desktop will cover it. You are talking about

Re: independent home screen

2009-11-24 Thread Kimmo Hämäläinen
On Tue, 2009-11-24 at 15:32 +0100, ext Wang Baisheng wrote: 在 2009-11-24二的 13:28 +0200,Kimmo Hämäläinen写道: On Tue, 2009-11-24 at 11:38 +0100, ext Wang Baisheng wrote: Hi All, I want to use an independent home screen which has its own process, not contained in the hildon-desktop

Re: a bug of maemo5 clutter-0.8 on X86 Xephyr ?

2009-11-23 Thread Kimmo Hämäläinen
On Mon, 2009-11-23 at 03:44 +0100, ext bocheng cheng wrote: Hi: After I compile some hildon component on the X86 . I run the hildon-desktop on Xephyr .There are some rasters on the window when I run some applications such as xterm Are you running Xephyr with -screen 800x480x16 (16-bit)

Re: Custom URL handlers not working on Fremantle

2009-11-20 Thread Kimmo Hämäläinen
On Thu, 2009-11-19 at 20:47 +0100, ext Cornelius Hald wrote: Hi, has something changed in the mime/url handling between Diablo and Fremantle? It's not working for me anymore and I cannot find documentation about changes. I've registered Conboy as url handler for conboy:// urls. On Diablo

Re: Bug#6203, rotation and OHMD

2009-11-19 Thread Kimmo Hämäläinen
On Wed, 2009-11-18 at 17:23 +0100, ext Martin Grimme wrote: How about another XAtom (since we already have so many on Maemo ;) ) on the application window, saying I rotate well and quickly. ? The ohmd could take care of this atom and refrain from freezing the app during rotation, iff it is

Re: Bug#6203, rotation and OHMD

2009-11-19 Thread Kimmo Hämäläinen
On Wed, 2009-11-18 at 17:44 +0100, ext Cornelius Hald wrote: I see many use cases for those policies like an incoming phone call should work properly even while some app is doing heavy number crunching. However rotation is a different thing. I mean what's the objective? The rotation

Re: how can i change the language of my program during run time?

2009-11-19 Thread Kimmo Hämäläinen
On Thu, 2009-11-19 at 08:51 +0100, ext mohamed ismael wrote: how can i change the language of my program during run time? man setlocale, probably LC_ALL is the one you need to change. -Kimmo ___ maemo-developers mailing list

Re: Mapping the N900 keyboard?

2009-11-19 Thread Kimmo Hämäläinen
- On Mon, 2009-11-16 at 08:39 +0100, ext Faheem Pervez wrote: On 11/16/09, Kimmo Hämäläinen kimmo.hamalai...@nokia.com wrote: On Mon, 2009-11-16 at 02:03 +0100, ext Qole wrote: I am still hoping for some more help with remapping the N900 keyboard (see quoted message below

Re: how to create a desktop applet

2009-11-18 Thread Kimmo Hämäläinen
On Wed, 2009-11-18 at 09:19 +0100, ext ibrahim wrote: Kimmo Hämäläinen wrote: On Tue, 2009-11-17 at 18:31 +0100, ext ibrahim wrote: daniel wilms wrote: Hi I can't seem to find the APIs needed to do such thing. where should a look to find something like

Re: Mapping the N900 keyboard?

2009-11-15 Thread Kimmo Hämäläinen
On Mon, 2009-11-16 at 02:03 +0100, ext Qole wrote: I am still hoping for some more help with remapping the N900 keyboard (see quoted message below). I have come across a problem I believe is related, and it is much more urgent for me to identify and fix the problem. When I start a nested

Re: How to get a transparent GtkWindow (fremantle)

2009-11-13 Thread Kimmo Hämäläinen
as a child window of the main window right from the beginning. But I'm not sure how Gtk allows that. Better solution would be fixing the WM so that it allows rgba in dialogs, but that can be more work... -Kimmo What do you think? -- Luca Donaggio 2009/11/11 Kimmo Hämäläinen kimmo.hamalai

Re: How to get a transparent GtkWindow (fremantle)

2009-11-13 Thread Kimmo Hämäläinen
? -- Luca Donaggio 2009/11/11 Kimmo Hämäläinen kimmo.hamalai...@nokia.com On Wed, 2009-11-11 at 08:28 +0100, Hamalainen Kimmo (Nokia- D/Helsinki) wrote: On Tue, 2009-11-10 at 16:15 +0100, ext Luca Donaggio wrote: I thought it was somewhat related

Re: How to get a transparent GtkWindow (fremantle)

2009-11-11 Thread Kimmo Hämäläinen
there at mapping time. To summarize: this is libhildon bug and hildon-desktop is completely innocent (at last...)! ;) -Kimmo -Kimmo -- Luca Donaggio 2009/11/10 Kimmo Hämäläinen kimmo.hamalai...@nokia.com On Tue, 2009-11-10 at 14:12 +0100, ext Luca Donaggio wrote: Hi Kimmo

Re: How to get a transparent GtkWindow (fremantle)

2009-11-10 Thread Kimmo Hämäläinen
Hi, Sorry, took some time, I was busy with some bug fixing... I started with the Home applet example and managed to whip up a small example (attached) that shows a transparent pop-up window. -Kimmo /* gcc -Wall `pkg-config gtk+-2.0 --cflags --libs` rgba-window-example.c -o rgba-window-example

Re: How to get a transparent GtkWindow (fremantle)

2009-11-10 Thread Kimmo Hämäläinen
. this problem is not related to the transparency: opaque window does the same. -Kimmo Thanks for your time, Luca Donaggio 2009/11/10 Kimmo Hämäläinen kimmo.hamalai...@nokia.com Hi, Sorry, took some time, I was busy with some bug fixing... I started

Re: How to get a transparent GtkWindow (fremantle)

2009-11-10 Thread Kimmo Hämäläinen
anymore, but it could also cause something in Gtk/Hildon (at least I have checked all places deleting windows in hildon-desktop to no avail). -Kimmo -- Luca Donaggio 2009/11/10 Kimmo Hämäläinen kimmo.hamalai...@nokia.com On Tue, 2009-11-10 at 14:12 +0100, ext Luca Donaggio wrote

Re: How to get a transparent GtkWindow (fremantle)

2009-11-03 Thread Kimmo Hämäläinen
On Tue, 2009-11-03 at 15:06 +0100, ext Luca Donaggio wrote: I'm still banging my head against a wall with this: why without reparenting the popup undecorated window to the main app window it becomes transparent but the app menu doesn't work (it starts to be drawn but immediately disappears)

  1   2   3   >