Re: Strange crash, ask for help on how to debug
Hi, On 30 July 2010 16:32, Evan JIANG first...@gmail.com wrote: Whatever I run pcmanx or run-standalone pcmanx, it will not crash. Only if I start the application from the application list, it may crash after a while. In your desktop file, you're using X-Osso-Service but you aren't calling osso_initialize in your program. Since hildon-desktop is starting your program up via D-Bus, it expects to be able to call the top_application method on your application. You can either do that (call osso_initialize) or remove the X-Osso-Service line. Best regards, Faheem ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to block the camera app from starting on lens cover open
Hi, http://maemo.org/community/maemo-developers/intercept_camera_slider_open_event_to_default_camera_app--n900/ suggests to do what BlessN900 currently does. Best regards, Faheem On 23/07/2010, Martin Storsjö mar...@martin.st wrote: Hi, I'm developing an app that uses the camera, and aiming for Ovi Store. One of the issues that Ovi QA complained about is that if the lens cover isn't opened, I should add a banner saying that to the user. That's easy enough, but when the user actually opens the lens cover, the camera app opens (but since my app has grabbed the camera, fails to start). Is there any way to block this while my app is running - since if the user has started my app, and my app displays a banner telling the user to open the lens cover, the user obviously don't want the camera app to start. I've tried to explore different ways to accomplish this, but most of them requires the app to run as root. One really simple way would be to do echo 1 /sys/devices/platform/gpio-switch/cam_shutter/disable but that obviously requires root. I also tried to check what other apps, such as shortcutd do, but they don't seem to work as intended with the camera button on PR 1.2. Other ways to accomplish it would be to reroute/remove the signals, as outlined here: http://talk.maemo.org/showpost.php?p=495516postcount=72 But that requires root, too. And if the camera-ui process is killed, it respawns immediately. Any hints on how to solve this in the best way? I don't want my app to fail in the next QA round with the reason camera app is launched and closes immediately if the lens cover is opened while your app is running. I guess I should discuss this issue with Ovi Publisher Support, too, but I don't really expect to get coding hints from there. // Martin ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to block the camera app from starting on lens cover open
Hello Martin, On 23/07/2010, Martin Storsjö mar...@martin.st wrote: On Fri, 23 Jul 2010, Faheem Pervez wrote: http://maemo.org/community/maemo-developers/intercept_camera_slider_open_event_to_default_camera_app--n900/ suggests to do what BlessN900 currently does. Thanks for this link - doing dsmetool -k /usr/bin/camera-ui actually seems to work, even as non-root. However, for the Ovi Store QA process, I don't think this is acceptable. I already got one failure issue regarding that my application keeps the camera object reserved if the user presses the camera button, which launches the camera app. While the camera-ui process is disabled this way, neither camera lens cover open nor the camera button starts the camera application. I know it's not the cleanest in terms of solutions, but the way I see it is if Nokia really wished for developers to have a proper solution, they'd've introduced one in PR 1.1/1.1.1/1.2. Since they didn't appear to care, I can only conclude that hacks are the way to go. :) BlessN900 will start camera-ui again after it's closed by running dsmetool -t IIRC; and, TBH, this behaviour (stopping camera-ui on start and loading it up again on exit) makes sense because you wouldn't be able to run the Camera app anyway whilst your program is running. Of course, once camera-ui is running again, opening the lens cover/pressing the camera button proceed to perform their default functions. I guess I'll have to discuss it with Ovi Publisher Support then, if this is acceptable (disabling both the lens cover open action and the camera button), or if it is better to spuriously launch the camera app when the lens cover is opened. My thoughts on the former are above (I'd find it rather dodgy if they were to refuse your app due to it stopping camera-ui) and the latter just really seems like an inconvienence to your users. :\ Qik took another approach: it'd tell the user to open the cover and wait. When the camera application popped up onto the screen, Qik'd close the window and proceed to carrying on as normal. Anyway, best of luck getting your application into the Ovi Store! Best regards, Faheem ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Sources available?
Nope. It and the libosso-abook library it uses are closed. Welcome to Maemo. :) On 20/06/2010, Chris Walker cdw_li...@the-walker-household.co.uk wrote: Is the source available for the Contacts application on the N900? I'm trying to learn stuff coding and there are one or two aspects of the contacts app that interest me. -- __ __| |_ __ __ .---. / _/ _` \ V V / | mailto:cdw_li...@the-walker-household.co.uk | \__\__,_|\_/\_/ |___| ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Trying to switch GSM provider by API
On 16 June 2010 13:34, Sivan Greenberg si...@omniqueue.com wrote: #define TIMEOUT 66 /* Beelzebub sends his regards. Twice. */ Hahah! The funniest remark I've seen in years in C constant code. :) I am going to test this as well as I am facing a similar issue , but I want to be able to change from 3G(UMTS) to 2G(GSM) programatically for calls rates reasons. That one's a lot easier, actually. See my post here: http://talk.maemo.org/showpost.php?p=510860postcount=2 Best regards, Faheem Sivan On Wed, Jun 16, 2010 at 3:04 PM, Faheem Pervez tripp...@gmail.com wrote: Oh, it's probably a good idea to call g_strfreev and g_array_free in on_list_recieved in the file get_networks.c... On 16/06/2010, Faheem Pervez tripp...@gmail.com wrote: Hiya, Nokia, being the Kings of Open Source that they are, won't release the headers for libconnui - the library used by the Phone Control Panel applet to perform this stuff. However, libconnui is a wrapper around DBus-GLib/Mission Control etc. Graham Cobb produced a brilliant Wiki page on working out the D-Bus method calls: https://garage.maemo.org/plugins/wiki/index.php?Toolsid=1106type=g I've attached three DBus-GLib examples which I believe should be enough for you to perform what you asked for. I'm not sure what all the values represent so... maybe looking at www.bleb.org/software/maemo/telephony-maemo.c and http://repository.maemo.org/extras-devel/pool/fremantle/free/source/n/netmon/ will help. One will print a list of the available networks around you; this is done in the way the CPA does it. One will tell you the current Network Selection mode (Manual/Automatic); the current cell information; and operator name. The other will set the mode into automatic or manual (hardcoded for my provider, T-Mobile UK). Best regards, Faheem On 24 May 2010 12:20, Filip-Martin Brinkmann filip.brinkm...@gmail.com wrote: Hi guys, I'm trying to write a small widget that allows to switch back to a defined GSM provider. Point is, I'm commuting everyday to switzerland and back to germany the same day. When I reach covering area of my german provider, the N900 won't switch back unless I go to settings-phone-search and switch to manual search etc... I therefore wanted to shortcut this. However, after browser all possible documentation, I still have no clue where to search - what API can I use? Or is there no such possibility at all? I'd be very grateful for someone pointing me in the right direction. best, filip ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: DBus Methods and Signals Introspection or Documentation
Hi, On Mon, Jun 7, 2010 at 12:15 AM, Wei Li ttlee1...@gmail.com wrote: I am doing a project of middleware on Maemo/N900. I need to find the methods and signals related to the hardware, for example, HAL (especially the objects under /com/nokia since it is somehow proprietary). However, I couldn't find a detailed documentation on that. And I also used tools such as mdbus2, but since it lacks documentation and so does DBus itself, I couldn't figure out how to do the introspection to find the information I want. Anyone knows how to find that? Thanks! You'll get more information if you specify *what* interface you're trying to figure out. The best way I found for me was looking, using strings, in a library that calls a D-Bus method, finding the name of that method call and working out its arguments by trial and error. Graham Cobb's https://garage.maemo.org/plugins/wiki/index.php?Toolsid=1106type=g may also be of help. Best regards, Faheem ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: osso_initialize: how to make it work?
OSSO == Open Source Software Operations (which is funny and now defunct, but I won't go into it here). If you're running on the device, make sure you're running as user and not root (or at least using run-standalone.sh). If you're running in Scratchbox, make sure to af-sb-init.sh start and run the program using run-standalone.sh Oh, note that some aspects of libosso will require a GLib mainloop, whilst others require GTK+ to be initialized, as in Mr. Ivanov's reply (osso_cp_plugin_execute () springs to mind). On 6/7/10, maemo.me...@spamgourmet.com maemo.me...@spamgourmet.com wrote: I've been scouring the documentation on maemo.org and getting pretty frustrated. Almost none of it is up to date, and almost none of it is relevant to a beginning developer. So: Here is my code: #include stdio.h #include libosso.h int main(int argc, char* argv[]) { osso_context_t* osso; osso = osso_initialize(name.exon.mapcacher, 20100529, TRUE, NULL); if (!osso) { printf(Failed to initialise osso\n); return 1; } return 0; } Here is the output: Failed to initialise osso Why? Also, what does osso mean? Years of using Maemo, I've never figured that out. Is there any genuine getting started tutorial showing how to write a program that actually works in Maemo? Is there a hello world application that's less than a hundred lines, with an explanation of what all those lines are for? ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Zoom Keys when screen's locked
Hi, Yes, MCE introduced a D-Bus method just for this: http://maemo.org/api_refs/5.0/5.0-final/mce-dev/dbus-names_8h.html#ff2ef408024bb9a77d746be7446c1423 mafw-gst-renderer is the one calling this. Best regards, Faheem On 6/2/10, Aniello Del Sorbo ani...@gmail.com wrote: I commented on the bug issue: https://bugs.maemo.org/show_bug.cgi?id=8011 I did more tests and it actually works much better than before and than I thought :) If Media Player is running, it'll always gets the rockers' events (even with the screen locked and dimmed! I recall you had to activate the screen before to change the volume). If the Media Player is running and the foremost application is handling the events for his own purposes, the Media Player still gets the events as expected. However if Media Player is not running, or music is stopped, than the foremost application gets to handle the events and zoom in/put or whatever it was programmed to do with them. I assume this is a feature (as there'd be no way to know if that is a music application or not) and the application is free to do whatever it wants. I will change Xournal and make sure it won't zoom in/out if it gets those events and the screen is locked. I don't think any user would want to zoom in/out when the screen is locked :) Thanks for listening! Aniello On 1 June 2010 15:52, Aniello Del Sorbo ani...@gmail.com wrote: Hi guys, earlier versions of N900 allowed the volume to be changed when the screen was locked. This nice behaviour was disabled later and re-enabled in the latest firmware incarnation. However, this now behaves differently. If an application that handles the zoom keys is the foremost application before locking the screen, then the zoom events goes to that application even though you can't see it. For example Xournal and Microb will both zoom in/out if you press the +/- keys when the screen is locked and nothing appears on the screen (of course) . Before filing the bug, I would like to check if the apps should RELEASE the keys handling someone when the screen is locked or if this is a bug in the way the lock screen handles them? -- anidel -- anidel ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Using libosso-abook getting package requirement error
Just to clear, you are doing: AC_SUBST([LIBOSSO_CFLAGS]) AC_SUBST([LIBOSSO_LIBS]), right? Best regards. P.S. Sorry for the horrible formatting. IE and Gmail do not go well with each other. On Tue, May 18, 2010 at 12:37 PM, Pallavi Kandhare pallavi.kandh...@yahoo.com wrote: I want to display all contacts from phone. For that I am using libosso-abook. I am adding following lines to configure.ac PKG_CHECK_MODULES(libosso, osso-addressbook-1.0) Thanks. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Using libosso-abook getting package requirement error
Thanks. 'Twas unaware of that. Ah, well, thanks for saving me a few lines in future configure.acs that I write. Best regards, Faheem On Wed, May 19, 2010 at 10:49 AM, David King dav...@openismus.com wrote: On 2010-05-19 10:30, Faheem Pervez tripp...@gmail.com wrote: Just to clear, you are doing: AC_SUBST([LIBOSSO_CFLAGS]) AC_SUBST([LIBOSSO_LIBS]), right? This is unnecessary as PKG_CHECK_MODULES already does the substitution. On Tue, May 18, 2010 at 12:37 PM, Pallavi Kandhare pallavi.kandh...@yahoo.com wrote: I want to display all contacts from phone. For that I am using libosso-abook. I am adding following lines to configure.ac PKG_CHECK_MODULES(libosso, osso-addressbook-1.0) Thanks. -- David King | http://amigadave.com/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Problem running installed app (using icon)
Start by posting the desktop file. On Thu, May 13, 2010 at 12:23 PM, saurabh aggarwal aggarwal.saur...@gmail.com wrote: Any ideas on how to debug. Best Regards, Faheem Regards, -Saurabh ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: upstart and dbus
If you do use run-standalone.sh in an Upstart script, please be aware of https://bugs.maemo.org/show_bug.cgi?id=8148. Lucas Maneos' awesomeness helped me to fix my issue. On 5/12/10, Graham Cobb g+...@cobb.uk.net wrote: On Wednesday 12 May 2010 21:50:31 Ram Kurvakat wrote: I cant provide a full solution now but to use the session bus you will need the session bus address I think which changes every restart. Are you doing that in your upstart script already ? ( setting the dbus session address something like here /tmp/session_bus_address.user ) Using run-standalone.sh to start your application should set up the session bus info. You always need to use run-standalone.sh to start user apps if they are not being invoked from the hildon environment (from upstart, from a root terminal, from an ssh session, in scratchbox, etc.). Graham ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: upstart and dbus
On 5/13/10, Graham Cobb g+...@cobb.uk.net wrote: Faheem, what were you using as the start condition for your upstart script? I would have assumed that if it were anything after start on started dbus then the waitdbus would be unnecessary. In particular, I normally use start on XSESSIONS_STARTING for user applications, which is long after dbus. Thanks for that -- noted. I was using: start on started dbus stop on stopping dbus stop on stopped fmtx Though, I finally realized that I didn't need to start the daemon upon boot at all due to D-Bus' auto-activation mechanism. Yeah... Best regards, Faheem ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: python app at portrait mode all the time
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) On 4/24/10, pelt...@gmail.com pelt...@gmail.com wrote: Hi, is there a single or two rows way to define a python app to stay at portrait mode all the time? Tried to look through autorotation stuff from portrait.py[1] but didn't manage to find anything that I could use straight on. http://talk.maemo.org/showthread.php?t=31940 [1]http://repo.or.cz/w/gpodder.git?a=blob;f=src/gpodder/gtkui/frmntl/portrait.py I am trying to make a simple portrait sms python app as requested at tmo. So if someone knows how to do that as simple as possible, I'd appreciate some tips. Ossipena / TimoP ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Proposal for new hildon-extras widget
Hello, On Fri, Apr 16, 2010 at 10:11 AM, Cornelius Hald h...@icandy.de wrote: If it's up to me, I would say we should include it in hildon-extras. What are the other contributors saying? Thomas? Faheem? Andrew? I vote to include it in hildon-extras, too :) For one, it's certainly a lot more finger-friendly than hildon_gtk_menu_new () is (although, admittedly, that function is meant more for popup menus and the like...). When writing your own program, using HildonAppMenu with GtkButton and its derivatives and only including the needed menu entries (as per the Maemo HIG) is easy. When porting a program that uses a GtkMenuBar with *lots* of entries, not so much. Best Regards, Faheem ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: HDShortcuts
Hello, On Fri, Apr 16, 2010 at 11:05 AM, Timo Pelkonen pelt...@gmail.com wrote: Now I've tried setting string (whatever it really is, luckily don't have to stress so much with those when using python :) ) 'icon' to: a) full path to png file (/home/user/.bookmarks.) b) path that exists (~/.bookmarks/home-thumbnails/...) c) created the path documented and copied the same file there (~/.bookmarks/shortcut-thumbnails/...) d) plain file name (file lies in root of ~/.bookmarks/shortcut-thumbnails/) So now I need to know what I am doing wrong. hd_shortcuts_add_bookmark_shortcut () copies the icon from another place to ~/.bookmarks/home-thumbnails. I created a 160x96 PNG called asd.png and saved it in / (copying to the 32GB ATM...). I then ran the following: import gobject #AFAIK, GType is inited. when importing gobject. AFAIK, anyway. import ctypes hd = ctypes.CDLL(libhildondesktop-1.so.0) hd.hd_shortcuts_add_bookmark_shortcut (asdadsgfdsa, afddfsf, /asd.png) The shortcut then appeared on my desktop, with the icon. Best Regards, Faheem ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Maemo Theme Maker failed to produce Debian package
Hiya, On Tue, Mar 30, 2010 at 1:24 PM, Daniil Ivanov daniil.iva...@gmail.com wrote: Sorry, I forgot to mention pretty relevant information, that I'm searching for a one-button-press solution, which will be used on Windows by people with no Linux experience, so manual package creation is a no go solution. This is not a one-click solution, but I understand http://wiki.maemo.org/MADDE/Theme_building is popular among Windows-using themers, with many of the themes available in Extras-devel built using MADDE. Best Regards, Faheem ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Builder now runs PR1.2 SDK with Qt 4.6 support
FWIW, it's not just libhildon that is causing a problem. Look at http://maemo.org/packages/package_instance/view/fremantle_extras-devel_free_armel/callerid-widget/0.2-4/ and the libtelepathy-glib0 dependency, for example. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Ask for removal of some packages from Extras Fremantle repository
Seconded. Whilst I have no intention on setting up my own repository, I can't help but think Extras-devel is not perfect (looking at the events of this week), either. 1. Packages not being imported: While this isn't common and X-Fade does solve them rather promptly, this is not the first time this has happened. 2. Why was the PR 1.2 SDK set up before the majority of us got the update? All it's done is ensure that our programs cannot be installed, due to the dependency on a newer libhildon. I've had to resort to sed -i s/libhildon1 (= 2.2.10)/libhildon1/ debian/substvars which I shouldn't have had to, just so I can install the thing! (Yes, I am aware that I am now under risk of getting bitch-slapped by real Debian Packagers but so be it. I should never have had to resort to that in the first place). Best Regards, Faheem On Sun, Mar 28, 2010 at 4:01 PM, Luarvique L. Luarvique luarvi...@gmail.com wrote: I have to say that I am with Khertan on this. He has a right to distribute his stuff any way he feels fit. I also doubt that it will affect the size of his userbase in any way. Most people will just add his repository and forget about it. This whole talk about any repository but Extras is unsafe and evil is mostly bullshit, and I think most users are smart enough to know it. 2010/3/23 Benoît HERVIER kher...@khertan.net I made apps for Maemo as a hobby ... today you are pissing me of ... You didn't want alternate repository in your little world ... great ... do not count me in your little world anymore !!! Bye ! -- Benoît HERVIER, Khertan Softwares - http://khertan.net/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Fremantle: detecting when in task navigator view
I remember knocking this up for HeFullscreenButton in Hildon Extras' SVN. I just got the button to listen to the notify::is-topmost property of the HildonWindow that is its parent. Best Regards, Faheem On Mon, Mar 22, 2010 at 4:54 PM, Luca Donaggio donag...@gmail.com wrote: As gtk windows of type GTK_WINDOW_POPUP are not managed by the desktop manager, I wish to be able to hide them when users click on the task navigator icon (otherwise they stay there even after users have switched to another application!); is there a way to do that (maybe a DBUS signal or wahtever)? -- Luca Donaggio ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How do I get my own phone number?
Hello, On 3/17/10, Wolf Geldmacher w...@womaro.ch wrote: Hi list, For an application I want to write (theft prevention) I need to know the current phone number of the device (or - if that is not possible - some other means to uniquely identify the SIM currently inserted). If the SIM provides it, it can be obtained from the sim://msisdn EBook; see https://bugs.maemo.org/show_bug.cgi?id=5365 for some more information. Best Regards, Faheem ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Hildon Input Method
Hiya, You most probably want http://maemo.org/api_refs/5.0/5.0-final/gtk/GtkEntry.html#hildon-gtk-entry-set-input-mode Best Regards, Faheem On 3/8/10, Cornelius Hald h...@icandy.de wrote: On Mon, 2010-03-08 at 20:28 +0100, Xavier Bestel wrote: Hi, Le lundi 08 mars 2010 à 19:38 +0100, Cornelius Hald a écrit : Hi, I have two questions regarding Hildon Input Method. 1) Is it possible to deactivate the word completion for a complete window or for a Hildon/GtkEntry? I think so. 2) Is it possible to tell HIM, that it should capitalize the next typed letter, even if it is not the beginning of a new sentence? It's possible to autocapitalize, I don't know if the reverse works. Would be great if someone could point me in the right direction. Start here: http://maemo.org/api_refs/5.0/5.0-final/gtk/GtkIMContext.html#HildonGtkInputMode I might be blind, but I can't find a way to get hold of an GtkIMContext object. All methods that would return an instance are GSEALed. It looks like GtkIMContext is meant to be sub classed by implementations of input methods, rather then used directly. Does anyone know more about this? Conny ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Cross reference for public maemo code?
Not exactly all the stuff that can be current apt-get source'd from extras but http://mxr.maemo.org/ is a good start. On Fri, Feb 12, 2010 at 8:46 AM, Ville M. Vainio vivai...@gmail.com wrote: Some of you may have seen me asking this question elsewhere, but I'm asking here as well... Have there been plans for setting up a source code cross reference for all the stuff that can be current apt-get source'd from extras, along the lines of mxr: http://mxr.mozilla.org/ e.g. http://mxr.mozilla.org/mozilla-central/source/accessible/src/other/nsAccessNodeWrap.cpp Is this something that could be set up at maemo.org web infrastructure? Is this a wrong mailing list for this kind of stuff? -- Ville M. Vainio http://tinyurl.com/vainio ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Does the get_service_provider_name method only return a nameif the SIM is a USIM?
CID is easy: dbus-send --system --print-reply --type=method_call --dest=com.nokia.phone.net /com/nokia/phone/net Phone.Net.get_registration_status The following snippet, from http://www.bleb.org/software/maemo/telephony-maemo.c, explains the return values: DBUS_TYPE_BYTE, status, DBUS_TYPE_UINT16, lac, DBUS_TYPE_UINT32, cell_id, DBUS_TYPE_UINT32, operator_code, DBUS_TYPE_UINT32, country_code, DBUS_TYPE_BYTE, network_type, DBUS_TYPE_BYTE, supported_services, DBUS_TYPE_INT32, net_err, -- Anyway, thanks to all for the answers. I'll be lazy and just listen for the operator_name_change signal; it's easier then trying to determine if the SIM card has an SPN set and using get_operator_name with the MNC and MCC determined by doing get_registration_status - not worth it for something that just reads /etc/operator_settings. :) Best Regards, Faheem On Mon, Feb 8, 2010 at 6:07 PM, Dawid Lorenz a...@adl.pl wrote: Anyway, since I've seen it is possible to issue dbus-send commands to get current network name, I thought there maybe are similar methods to get LAC/CID etc. -- Dawid 'evad' Lorenz * http://adl.pl null://I would love to change the world, but they won't give me the source code ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Does the get_service_provider_name method only return a name if the SIM is a USIM?
Hiya, As said in the title: dbus-send --system --type=method_call --print-reply --dest=com.nokia.phone.SIM /com/nokia/phone/SIM Phone.Sim.get_service_provider_name returns a blank string. As I only have a T-Mobile SIM to be trying this out with, I'd like to know if a string is only returned if a USIM is inserted. Or maybe I'm invoking it in the wrong manner? Best Regards, Faheem ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Terminal app in scratchbox?
apt-get install osso-xterm On 2/6/10, ma...@bitblit.net ma...@bitblit.net wrote: Ive built a command-line tool in my X86 scratchbox and wanted to test it in the emulator, but I see there is no Terminal app in the emulator. Did I forget to install it or is it not available? (If not available, how do you test console apps?). -- Aj. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Using the Flasher Utility as a Nokia Software Update (NSU) Replacement?
Hiya, On Thu, Feb 4, 2010 at 1:40 PM, Andre Klapper aklap...@openismus.com wrote: Hi, Am Donnerstag, den 04.02.2010, 15:29 +0200 schrieb Amichai Rotman: I am not a developer. I am an end user looking for a way to update my Nokia N97 / E71 smartphones under the Linux CLI I think this is the wrong mailinglist, but anyway: Where do you plan to get the N97 / E71 spftware images needed for this? Oh, they're easily found on insert phone warez site here, usually for the use with Nokia's Phoenix software. Best Regards, Faheem andre -- Andre Klapper (maemo.org Bugmaster) ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: sensing change in System Clock using Qt
There are many D-Bus signals emitted when the time zone changes. Try and make the effort to run dbus-monitor --system, please. Failing that, the following pages exist: http://maemo.org/api_refs/5.0/5.0-final/libosso/group__Time.html http://maemo.org/api_refs/5.0/5.0-final/clockd/ Best Regards, Faheem On Sun, Jan 31, 2010 at 9:45 AM, ibrahim ibrahim@asgatech.com wrote: David Greaves wrote: ibrahim wrote: remi.denis-courm...@nokia.com wrote: Hello, - Message d'origine - But the problem that can face me is the case when the user changes his clock settings (i.e adjust phone's time to a different time). in this case, the timer that has been set to some fixed duration can go wrong. As a general rule, delay measurements should be done with the monotonic clock, not the wall clock (the real-time clock). As far as I know, Qt timers already do so internally. But of course, your own code should never request and use the wall clock for time measurements. I don't think I follow you! What do you mean by monotonic clock ? If I don't depend on the system's clock to get current time, where else can I get it from ? Let me explain my problem again briefly, I want to know the current time, calculate some future durations depending on it. Then I figure out the time left to the upcoming duration and set it as interval to a QTimer Object. But I'm afraid that user may change the system clock (adjust the clock) So that my preset time will be invalid. Just so you know... you're describing an implementation and asking if it does what you want without describing what you want. Example: At 4am the user wants to play a sound at 8am (in 4hrs). At 6am the user changes timezone and it becomes 7am. The alarm should sound at 8am in the new timezone. My guess is that you know about interval timers but you should be using a wall-clock. Since you haven't specified what you want it's hard to know. David I am very sorry for not making my question clear enough. But the situation you just described is JUST what I want to do! Yes, I want to do something exactly as you described; I am now at 4:00 am, I need to make my app do something at - say - 8:00 am (the time of the alarm is calculated and varies from time to time, so i can't just use cron jobs to schedule the next alarm), So, I used a QTimer and set its interval to the duration between now and the next alarm. BUT this solution won't work if user decides to adjust the system clock/change timezone. What I'm asking is there anyway to GET NOTIFIED by the system when its clock/timezone changes (in order to recalculate the next alarm and set my Qtimer object to a new duration)?? any signal emitted ? anything? I hope i made my question clear and sorry for any inconvenience. thanks again ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Hildon-Desktop: added Widget not shown
This is what I've noticed: killall hildon-home shouldn't cause the widgets to disappear. If hildon-home is kill -9'ed, the widgets will almost certainly disappear as part of a safe mode designed to ensure hildon-home doesn't go into a crash loop due to a misbehaving widget. But, if you then killall hildon-home (send it SIGTERM) while it is in this safe mode state, it then proceeds to update its config (which has all non-Nokia applets). Best Regards, Faheem On Thu, Jan 14, 2010 at 10:32 AM, Mikko Vartiainen mvartiai...@gmail.com wrote: Not sure about that - I just tested it on my 44-1 and all previously placed custom widgets came up again. I also was able add other previously installed widgets. What was your test case so that I can better try and verify on my device? Hmm, it seems that sometimes widgets disappear, not always. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: [Fremantle] Creating gconf keys upon installation
Talking of schemas, it would be nice if dh_gconf could be made not to put the rmdir -p --ignore-fail-on-non-empty line into the postrm of a package using it, since the BusyBox shipped with the N900 doesn't appear to support to support the --ignore-fail-on-non-empty option which causes dpkg --purge package having the the clause containing --ignore-fail-on-non-empty to fail. I'm currently hacking around it by installing my schema file manually, and inserting the usual lines generated by it manually into the respective files, replacing rmdir -p --ignore-fail-on-non-empty with rmdir -p || true... Best Regards, Faheem 2010/1/12 Kimmo Hämäläinen kimmo.hamalai...@nokia.com: This is not a good way, since the Gconf database could be restored from an old backup (or a power failure could occur) and you would lose these values. The better way is to use a Gconf schema with default values, because that stays even if the values are unset. -Kimmo ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: is 44-1 officially going to be available as an image ?
Since the update wouldn't appear with using 51-1, and I got tired of waiting a few days in hope that it would appear, I just used my favourite tool for getting the images off the NSU server to download the 44-1 UK Ireland image and the best part? NSU carry images for legacy devices! Best Regards, Faheem (Yes, I am aware that there is an element of Cool story, bro about this e-mail...) On Mon, Jan 11, 2010 at 1:45 PM, Attila Csipa ma...@csipa.in.rs wrote: As today's update bricked my Summit N900, which was sporting the oldish 41-10 firmware (don't ask), I'm wondering if I should wait for 44-1 to appear on http://tablets-dev.nokia.com/nokia_N900.php (will it appear at all?), or just flash stock 42-11 and update ? The tablets-dev site is slightly overloaded ATM so there is still some time to ponder on this :) Regards, Attila ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: why do my .service and .desktop files end up in the root directory?
Apologies, I was typing from my bedside in the morning; clearly, I hadn't woken up. ;) I'm used to seeing things like servicedir = $(DIR) in Makefile.am but you did that in configure.ac. Best Regards, Faheem On Wed, Jan 6, 2010 at 1:10 PM, Frank Banul frank.ba...@gmail.com wrote: Um, I don't follow this suggestion. I have in my data/Makefile.am: serviceentry_DATA = com.kjainvestments.tabletbridge.service desktopentry_DATA = tabletbridge.desktop icon_26x26_DATA = icons/26x26/tabletbridge.png icon_40x40_DATA = icons/40x40/tabletbridge.png icon_scalable_DATA = icons/scalable/tabletbridge.png icons/scalable/tabletbridge-wait.png EXTRA_DIST = $(serviceentry_DATA) $(desktopentry_DATA) $(icon_26x26_DATA) $(icon_40x40_DATA) $(icon_scalable_DATA) I looked at other data/Makefile.am files and they are the same. What am I missing? thanks, Frank On Wed, Jan 6, 2010 at 1:55 AM, Faheem Pervez tripp...@gmail.com wrote: Oh, and now that I'm looking at it a bit better, telling data/Makefile.am to actually use $serviceentry et al. may help. On 1/6/10, Faheem Pervez tripp...@gmail.com wrote: Ed Bartosh looked into this for another person last time and his solution applies here, too: Add osso-af-settings to Build-Depends. -Faheem On 1/6/10, Frank Banul frank.ba...@gmail.com wrote: Hi, Can any one give me any hints (or answers) on why my .service and .desktop files end up in the their proper locations and in the root directory of the device? I've been staring at the scripts but really don't see where I've gone wrong. I've also examined other source packages. The source is http://repository.maemo.org/extras-devel/pool/fremantle/free/source/t/tabletbridge/tabletbridge_0.2.4.tar.gz Thanks in advance. The user's root directory appreciate your help. ;) thanks, Frank ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Command to turn on the screen led (Maemo N810)
Hiya, You're looking for this function: http://maemo.org/api_refs/4.0/libosso/group__Devstate.html#g93fe32aeb992e128c94b890d6f801bfd libosso's source is available, too, so if you don't like using it and would prefer to see the D-Bus behind it... Best Regards, Faheem On 1/6/10, dc101 dc1...@gmail.com wrote: Hi all, I am just wondering if it is possible to use a command (most probably dbus or something) to tell the screen to light up once it has turned off. I know it can be turned on by a simple tap, but I need to automate this when the device has received some notifications. Also, if it's not too much to ask, is it possible to disable software updates notification at the status bar? Cheers, dc101 ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: why do my .service and .desktop files end up in the root directory?
Ed Bartosh looked into this for another person last time and his solution applies here, too: Add osso-af-settings to Build-Depends. -Faheem On 1/6/10, Frank Banul frank.ba...@gmail.com wrote: Hi, Can any one give me any hints (or answers) on why my .service and .desktop files end up in the their proper locations and in the root directory of the device? I've been staring at the scripts but really don't see where I've gone wrong. I've also examined other source packages. The source is http://repository.maemo.org/extras-devel/pool/fremantle/free/source/t/tabletbridge/tabletbridge_0.2.4.tar.gz Thanks in advance. The user's root directory appreciate your help. ;) thanks, Frank ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: why do my .service and .desktop files end up in the root directory?
Oh, and now that I'm looking at it a bit better, telling data/Makefile.am to actually use $serviceentry et al. may help. On 1/6/10, Faheem Pervez tripp...@gmail.com wrote: Ed Bartosh looked into this for another person last time and his solution applies here, too: Add osso-af-settings to Build-Depends. -Faheem On 1/6/10, Frank Banul frank.ba...@gmail.com wrote: Hi, Can any one give me any hints (or answers) on why my .service and .desktop files end up in the their proper locations and in the root directory of the device? I've been staring at the scripts but really don't see where I've gone wrong. I've also examined other source packages. The source is http://repository.maemo.org/extras-devel/pool/fremantle/free/source/t/tabletbridge/tabletbridge_0.2.4.tar.gz Thanks in advance. The user's root directory appreciate your help. ;) thanks, Frank ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Unmap default action of hardwarbuttons [was Fremantle fullscreen mode]
It was also thought about in Hildon (http://maemo.gitorious.org/hildon/hildon/blobs/master/hildon/hildon-gtk.c#line455) so it's probably time for me to remove that function soon... Best Regards, Faheem On Sun, Jan 3, 2010 at 10:45 AM, Cornelius Hald h...@icandy.de wrote: On Fri, 2010-01-01 at 13:24 +0100, ds wrote: Cornelius Hald gave the following tip: They key constants for the +/- keys are the same as on Diablo. But before you can use them you first have to unmap the default action, which is sound volume up/down. How do I unmap the default action?? I could not find it in the documentation:-( Faheem just recently added some code to he-extras for doing that. Have a look at he_helper_grab_ungrab_volume_keys() here: https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/hildon-extras/hildon-extras/he-helper.c?revision=15root=hildon-extrasview=markup Cheers! Conny ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Receive the +/- hardware buttons on N900
http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Porting_Software/Porting_Existing_GTK%2B_Application_to_Maemo_5#Remapping_volume_keys Best Regards, Faheem On Thu, Dec 31, 2009 at 3:34 PM, ds d...@physik.de wrote: Hi, I have code for receiving +/- hardware buttons which works for the devices before N900. What must I do for the N900 to get this code working again? Thanks a lot Detlef ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to make python2.5 default in scratchbox?
Hiya, My favourite way (works for CDBS, too, without the usual shit CDBS brings): In debian/rules, near the top: SBOX_REDIRECT_IGNORE := /usr/bin/python export SBOX_REDIRECT_IGNORE PATH := /usr/bin:$(PATH) export PATH Make sure to Build-Depend on python2.5, too. Best Regards, Faheem On Mon, Dec 14, 2009 at 11:59 AM, Till Harbaum / Lists li...@harbaum.org wrote: Hi, i am trying to port some software that requires scons at build time and which in turn needs python2.5. There is a python 2.5 in the repository, but scratchbox comes with its own python 2.3. Now the question: How do i make python2.5 the default? And this needs to be in a way that also works with the autobuilder. I am trying to port the latest version of widelands to maemo5. Till ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Maemo CLI application icon (take 1)...
On Mon, Dec 14, 2009 at 3:30 PM, Tim Samoff t...@samoff.com wrote: Good point. I wasn't thinking. ;) You Mac users. Tsk. ;) Thanks, Tim Best Regards, Faheem ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Virtual Keyboard Sources
On Tue, Dec 8, 2009 at 9:47 PM, Sergey Vlasov sergey.v...@gmail.com wrote: Hello, Hiya, I'm not very happy with N900 virtual keyboard and would like to tweak it a bit. I have already read Extending Hildon Input Methods guide, it is helpful, though rather than writing a plugin from scratch I would like to take a look on the current code first. I couldn't find in http://maemo.gitorious.org, is this a right place? The code for the virtual keyboards shipped with the N900 are closed-source, but you may find https://bugs.maemo.org/show_bug.cgi?id=4178 interesting. -- Sergey Best Regards, Faheem ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: HeFullscreenButton now in hildon-extras
On Thu, Nov 26, 2009 at 9:40 AM, Cornelius Hald h...@icandy.de wrote: Luca Donaggio wrote: Thanks Conny! Approximately when will hildon-extras be ready for (at least) extras-devel? Honestly I have no idea :) It builds and it works. It´s just a matter of making the release. The question is which widgets we would like to have in our first release. Personally, I'd love to see HildonFancyButton in hildon-extras (think: the first screen of the Media player and Hildon Application Manager): http://maemo.gitorious.org/hildon-application-manager/mainline/blobs/master/src/hildon-fancy-button.c Cheers! Conny Best Regards, Faheem ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: HeFullscreenButton now in hildon-extras
On Thu, Nov 26, 2009 at 11:18 AM, Cornelius Hald h...@icandy.de wrote: Faheem Pervez wrote: On Thu, Nov 26, 2009 at 9:40 AM, Cornelius Hald h...@icandy.de wrote: Luca Donaggio wrote: Thanks Conny! Approximately when will hildon-extras be ready for (at least) extras-devel? Honestly I have no idea :) It builds and it works. It愀 just a matter of making the release. The question is which widgets we would like to have in our first release. Personally, I'd love to see HildonFancyButton in hildon-extras (think: the first screen of the Media player and Hildon Application Manager): http://maemo.gitorious.org/hildon-application-manager/mainline/blobs/master/src/hildon-fancy-button.c Nice find! Would you take care of this? If yes, I惻l add you to the project. Oh and what愀 the license? Sure (if no one better steps up [please do so]), but my only GObject experience comes with writing simple applets, and I haven't touched SVN for a rather long while... I am going to guess that it is GPL-licensed (http://dz015.wordpress.com/2009/09/15/mussorgsky-0-3/ shows a Python conversion of the above code) but this would be a guess and I would be better served e-mailing the maintainer directly, which I will do, later. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: HeFullscreenButton now in hildon-extras
On Thu, Nov 26, 2009 at 12:53 PM, Cornelius Hald h...@icandy.de wrote: Faheem Pervez wrote: On Thu, Nov 26, 2009 at 11:18 AM, Cornelius Hald h...@icandy.de wrote: Faheem Pervez wrote: On Thu, Nov 26, 2009 at 9:40 AM, Cornelius Hald h...@icandy.de wrote: Luca Donaggio wrote: Thanks Conny! Approximately when will hildon-extras be ready for (at least) extras-devel? Honestly I have no idea :) It builds and it works. It愀 just a matter of making the release. The question is which widgets we would like to have in our first release. Personally, I'd love to see HildonFancyButton in hildon-extras (think: the first screen of the Media player and Hildon Application Manager): http://maemo.gitorious.org/hildon-application-manager/mainline/blobs/master/src/hildon-fancy-button.c Nice find! Would you take care of this? If yes, I惻l add you to the project. Oh and what愀 the license? Sure (if no one better steps up [please do so]), but my only GObject experience comes with writing simple applets, and I haven't touched SVN for a rather long while... I´ve added you to the project. Congratulations :P No excuses now - I´m having faith in your skills :) Hehe, thanks! :D It's evident that I shall have to pull my socks up... And, of course, thank you for HeFullscreenButton. This widget was much needed and will benefit many applications. I'm already using Andrew's colour selector widgets in Custom Operator Home Widget. :) I am going to guess that it is GPL-licensed (http://dz015.wordpress.com/2009/09/15/mussorgsky-0-3/ shows a Python conversion of the above code) but this would be a guess and I would be better served e-mailing the maintainer directly, which I will do, later. It would be nice if you could ask him if relicensing to LGPL would be ok. The rest of the hildon-extras code is LGPL. I've sent an e-mail off to Gabriel Schulhof (who I believe wrote it). Thanks a lot! Conny Best Regards, Faheem ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Debian on the n900 / Configuring NOLO
On Thu, Nov 26, 2009 at 4:10 AM, Christopher Allan Webber cweb...@dustycloud.org wrote: Hello all, Hiya, However, I realize I need to configure the bootloader to load off the SD card. This is proving a bit hard to do, however, as I cannot find any documentation on configuring the NOLO bootloader. So even if I install the system, I don't know how to get it to boot! :) Advice on this is appreciated. (Any other advice to heed while exploring this I am receptive to hearing as well...) Thanks to Carsten Munk, bootmenu gained N900 support: http://talk.maemo.org/showpost.php?p=344412postcount=16 Thanks, - cwebb ___ Best Regards, Faheem maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: compile maemo5 (http://repository.maemo.org/pool/maemo5.0/free/) libhildon on gtk 2.16
I think the idea is to build it against Fremantle's GTK: http://repository.maemo.org/pool/fremantle/free/g/gtk+2.0/ On Tue, Nov 17, 2009 at 6:55 AM, bocheng cheng steven.david.ch...@gmail.com wrote: Hi: I download libhildon from http://repository.maemo.org/pool/maemo5.0/free/ when I compile libhildon on gtk 2.16 after I compiled the libcanberra which the libhildon depends on. some error come out .Following symbols are not defined : HildonSizeType HildonUIMode GtkWidgetTapAndHoldFlags Is there a patch to gtk to fix this problem Any help is welcome. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Mapping the N900 keyboard?
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). 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 Xephyr X Server on the N900, the desktop environment that I run in that X Server (LXDE, on DISPLAY :1) does not seem to have access to the keyboard. No keyboard presses are passed to DISPLAY :1 at all. When I press the key combination to get to the Dashboard (CTRL-Backspace), I am taken to the Dashboard, which suggests that maybe Hildon desktop is not letting go of the keyboard. hildon-desktop does not ever grab the keyboard. It only grabs some specific key combinations, such as that ctrl+backspace. I have tried using xkbcomp as described below to copy the keyboard mapping to display :1, but it doesn't help. Does 'xev' report any key events? xev won't work on the N900 by default for exactly the same reason qole's LXDE stuff isn't working: https://bugs.maemo.org/show_bug.cgi?id=5987 -Kimmo Best Regards, Faheem Any help or suggestions? On Tue, Nov 10, 2009 at 9:23 PM, Qole qole.tab...@gmail.com wrote: Now that the N900 has been released, I will post this question on maemo-developers, in the hopes that some Nokia devs can help me here. I would like to know how to remap the keyboard on the N900. I've received some help from Marius Gedminas, as you will see below, but I'd like to know how to map the keyboard permanently, without having to run xkbcomp every time. Here is the help that I've received so far: On Sun, Oct 25, 2009 at 4:23 AM, Marius Gedminas mar...@pov.lt wrote: I've had partial success by doing this: $ xkbcomp :0 default.xkb $ vi default.xkb comment out the two rules that cause syntax errors: // interpret AccessX_Enable+AnyOfOrNone(all) { // action= LockControls(controls=); // }; // interpret MouseKeys_Accel_Enable+AnyOfOrNone(all) { // action= LockControls(controls=); // }; Now you can restore the settings back by running $ xkbcmp default.xkb :0 if you screw up and end up with a nonfunctional keyboard. Next $ cp default.xkb mg.xkb $ vi mg.xkb key RGHT { type= FOUR_LEVEL, symbols[Group1]= [ Right, Right, Tab, Tab ] }; $ xkbcomp mg.xkb :0 and now Fn+Right arrow is a Tab key. Sadly I don't know enough about xkbcomp to see if it's possible to make it load incomplete maps on top of the current configuration, just to update a few symbols without replicating the full configuration. None of the changes I make to /usr/share/X11/xkb/symbols/nokia_vndr/rx-51 have any effect (yes I reboot after changing the file). Maybe the files in /var/cache/xkb contain precompiled versions of those? I'm not adventurous enough to go and start editing files in /usr/. Although creating a new symbols file in there and loading it on top of the defaults with setxkbmap ought to maybe work... Marius Gedminas (I have already replied with the following: Replace type= FOUR_LEVEL, symbols[Group1]= [ Right, Right, Tab, Tab ] with type= PC_FN_LEVEL2, symbols[Group1]= [ Right, Tab ] and you will retain the ability to highlight text with shift- right arrow.) -- enthusiast, n. One whose mind is wholly possessed and heated by what engages it; one who is influenced by a peculiar fervor of mind; an ardent and imaginative person. -- enthusiast, n. One whose mind is wholly possessed and heated by what engages it; one who is influenced by a peculiar fervor of mind; an ardent and imaginative person. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org
Re: how to manage phone Profiles in Maemo
On 11/11/09, ibrahim ibrahim@asgatech.com wrote: cheers; Hiya, I was wondering if there are APIs to programatically manage/change the phone profile (normal-silent-offline-meeting ..etc) in Maemo 5. Can I put the phone to silent or make it offline for sometime ??? Is this controllable? What component of Maemo http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Architecture/Top_Level_Architecture is responsible for Profile Managment? The closed-source libprofile can be used to manage this; its headers are found in the nokia-binaries repository. Its API does not seem to be documented but the headers do have Doxygen comments in them and it can perform such stuff as getting the current profile name, switching profiles, having a callback function called on the changing of a profile, etc. For switching the device into Offline mode, I know no other way than using DBus method-calls to MCE, the Mode Control Entity. I'm not able to get the exact service names etc. here, ATM, but a search for com.nokia.mce offline should bring up what is needed. thanks in advance; Best Regards, Faheem ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to get n900 IMEI code in C
Yes, the get_imsi method exists. So doing that should work but you will have to change some things: get_imsi returns only one argument: an int32 with the IMSI number. Best Regards, Faheem On 11/11/09, ibrahim ibrahim@asgatech.com wrote: A small additional question if you don't mind ; If I want to extract the IMSI of the phone SIM, can I use the same code you provided http://talk.maemo.org/showpost.php?p=371496postcount=45 but with changing the #define SIM_IMI_SIG get_imei with something else ??? if yes what is it?? thanks again for your fast response cheers; Faheem Pervez wrote: Here is a quick example I've posted up: http://talk.maemo.org/showpost.php?p=371496postcount=45 Best Regards, Faheem On Tue, Nov 10, 2009 at 12:01 PM, ibrahim ibrahim@asgatech.com wrote: greetings; I wonder if there is an API to get the n900 device IMEI code . I've been searching for a long time with no result except for : http://talk.maemo.org/showthread.php?t=34058 which didn't give me sufficient information. Can anybody help??? thanx alot ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to get n900 IMEI code in C
On Wed, Nov 11, 2009 at 11:20 AM, Dave Neary dne...@maemo.org wrote: Hi, Faheem Pervez wrote: Yes, the get_imsi method exists. So doing that should work but you will have to change some things: get_imsi returns only one argument: an int32 with the IMSI number. How do you find out what methods, interfaces and paths exist for the DBus services? Are they documented, or is there some kind of DBus explorer to let you look? My method is quite low-tech: I discovered get_imei by looking at the strings in the About product applet (I have a pre-production device) and putting the required pieces together to make a dbus-send command line with --print-reply so I can see the exact type of what is returned. get_imsi was even easier... /etc/event.d/tonegen has it blatantly listed... Cheers, Dave. Best Regards, Faheem -- maemo.org docsmaster Email: dne...@maemo.org Jabber: bo...@jabber.org ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to get n900 IMEI code in C
Here is a quick example I've posted up: http://talk.maemo.org/showpost.php?p=371496postcount=45 Best Regards, Faheem On Tue, Nov 10, 2009 at 12:01 PM, ibrahim ibrahim@asgatech.com wrote: greetings; I wonder if there is an API to get the n900 device IMEI code . I've been searching for a long time with no result except for : http://talk.maemo.org/showthread.php?t=34058 which didn't give me sufficient information. Can anybody help??? thanx alot ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: File Manager mime types and icons
Hiya, Creating /usr/share/icons/hicolor/24x24/mimetypes/application-x-xoj.png, /usr/share/icons/hicolor/48x48/mimetypes/application-x-xoj.png, /usr/share/icons/hicolor/64x64/mimetypes/application-x-xoj.png; and refreshing GTK's icon cache worked for me. Best Regards, Faheem On 11/8/09, Aniello Del Sorbo ani...@gmail.com wrote: Hi, Xournal registers an application/x-xoj mime-type so that the FM knows what to run to open .xoj file types (Xournal ones). It works, but how do I tell FM to show the Xournal icon for those files? -- anidel Sent from London, Eng, United Kingdom ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: File Manager mime types and icons
Thanks. I still maintain application-x-xoj.png worked for me, but glad to know that there is a proper naming convention. Thanks! On Sun, Nov 8, 2009 at 4:30 PM, Aniello Del Sorbo ani...@gmail.com wrote: Thanks Faheem... I checked on the device, and it looks like only 48x48 is needed and the file should be called: gnome-mime-mime_type.png So I created a 48x48 pixels PNG file called gnome-mime-application-x-xoj.png and it worked (at least on Fremantle is like that). Thanks. Aniello 2009/11/8 Aniello Del Sorbo ani...@gmail.com: 2009/11/8 Faheem Pervez tripp...@gmail.com: Hiya, Creating /usr/share/icons/hicolor/24x24/mimetypes/application-x-xoj.png, /usr/share/icons/hicolor/48x48/mimetypes/application-x-xoj.png, /usr/share/icons/hicolor/64x64/mimetypes/application-x-xoj.png; and refreshing GTK's icon cache worked for me. Best Regards, Faheem Great! Aniello On 11/8/09, Aniello Del Sorbo ani...@gmail.com wrote: Hi, Xournal registers an application/x-xoj mime-type so that the FM knows what to run to open .xoj file types (Xournal ones). It works, but how do I tell FM to show the Xournal icon for those files? -- anidel Sent from London, Eng, United Kingdom ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers -- anidel Sent from London, Eng, United Kingdom -- anidel Sent from London, Eng, United Kingdom ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Turning on Automatically when connected to power
Hi, I have my N810 booting straight into a desktop when I boot with the charger in. Changing the runlevel number seemed like the way to go but didn't work for one reason: mce checked to see if it was booted with the charger in; if so, then display the charger screen. This meant that it booted into the desktop, sure, but I would have to hold the power key first before the touchscreen and wifi were activated (and if you had a lock code, entering that then) so a straight change didn't work for me. So, thanks to fanoush, I changed the bootreason driver in the kernel to let me write whatever I wished to in it. (Patch is on the internet, but it's dodgy code unless you wish to clean it up...) So I added this to /mnt/initfs/linuxrc, before DSME starts: bootreason=`cat /proc/bootreason` if [ x$bootreason = xcharger ]; then echo pwr_key /proc/bootreason fi This way, DSME tells MCE that it has been started by holding the power key, and the linuxrc script thinks likewise so it boots from runlevel 2. Best Regards, Faheem On 10/21/09, Jey Han Lau jeyhan@transtech.net.au wrote: Hi all, This is for the N810. Is it possible to configure the device such that it will turn on automatically when it is connected to a power supply? I am thinking that since it knows that it is in the charging state when connected to power I am wondering if it is possible to tell itself to turn on automatically. Thanks, Jey Han ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Fremantle fullscreen mode [was Re: Call for testers with N900 for vncviewer]
Worth nothing that it is actually hildon-desktop itself that defines these shortcuts... Best Regards, Faheem On Wed, Oct 21, 2009 at 2:50 PM, Henrik Hedberg henrik.hedb...@innologies.fi wrote: Cornelius Hald wrote: I don´t think there is already a widely used keyboard shortcut. The full screen toggling should be done with the touch screen, yes. However, there are some shortcuts in the keyboard (of which I found by accident): CTRL-Shift-X = Open a new terminal (which is very handy if the hildon-desktop has jammed ;) BR, Henrik -- Henrik Hedberg - +358 (0)40 574 5087 - http://www.henrikhedberg.net/ Innologies - Innovative Technologies - http://www.innologies.fi/ Oulu, Finland - FI19934487, VAT reg. - http://www.innologies.com/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Screenshot as loading screen on Maemo 5
hildon_gtk_window_take_screenshot() and maemo-launcher FTW. :) Best Regards, Faheem On Wed, Oct 14, 2009 at 10:25 AM, Andrew Flegg and...@bleb.org wrote: Not me, I've seen enough usability labs that I appreciated it as a nice hack to avoid some of the inevitable delays :-) It's still a hack, of course, and things should still start as quickly as possible. Cheers, Andrew -- Andrew Flegg -- mailto:and...@bleb.org | http://www.bleb.org/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Screenshot as loading screen on Maemo 5
Hiya, https://stage.maemo.org/viewcvs.cgi/projects/haf/trunk/hildon-control-panel/src/hcp-window.c?root=maemor1=19383r2=19382pathrev=19383 Best Regards, Faheem On Tue, Oct 13, 2009 at 3:58 PM, Thomas Perl th.p...@gmail.com wrote: Is there an official way to do this for third party applications (or how is it done at all)? Thanks, Thomas ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Nokia Energy Profiler?
The curious side of me would be interested in FTD for the N900... Also, although it is certainly not the Nokia Energy Profiler, powertop comes preinstalled in /sbin/ on the N900. Best Regards, Faheem On Mon, Oct 12, 2009 at 8:44 AM, Thomas Waelti twae...@gmail.com wrote: At the summit, I've seen Nokia Energy Profiler installed on some Nokian's N900. Could that be made available for everybody? I found it very valuable on the Symbian phones and it might come in handy for us developers with powersaving issues. Thanks -Tom ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Howto open the file manager on Diablo and Fremantle
Heh, no problem! :) No, I won't be at the Summit but thanks for the thought. :) Best Regards, Faheem On 10/6/09, Cornelius Hald h...@icandy.de wrote: Excellent :) Thanks a lot Faheem! Cheers! Conny P.S. Will you be on the Summit? I owe you a couple of beers... On Tue, 2009-10-06 at 20:31 +0100, Faheem Pervez wrote: Hiya, I do it like this: osso_rpc_run(osso_context, com.nokia.osso_filemanager, /com/nokia/osso_filemanager, com.nokia.osso_filemanager, open_folder, osso_retval, DBUS_TYPE_STRING, (char*)path, DBUS_TYPE_INVALID) (osso_rpc_run() is probably over-kill but you have there the method name etc.) A warning, however: Beware of the paths you give it... I've had it lockup when giving it a path it disagreed with. Best Regards, Faheem On 10/6/09, Cornelius Hald h...@icandy.de wrote: Hi, I tried to find the right DBus calls to open up the file manager with a given path. It should really be the file manager, not a file chooser dialog. Is it possible and if yes, how? Thanks! Conny ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Notifications and Fremantle: How should they be done?
Hi, Ah, OK. Using a HildonBanner is fine with me; I just assumed that we would be able to use libnotify in the same way. Thanks! :) Best Regards, Faheem On Mon, Sep 21, 2009 at 11:07 AM, daniel wilms daniel.wi...@nokia.com wrote: Hi, right now the described notification is not meant to be used by 3rd party developers. Please try to follow the instructions of the HIG [1] on how to display information to the user. I don't know what you want to achieve, but I guess a banner could be the right way to do it. [1] http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Human_Interface_Guidelines/Notes_and_Banners Cheers Daniel ext Faheem Pervez wrote: Hi, In Diablo, getting a notification to popup in the bottom-left corner (e.g. Modest's new mail notifcations) could be simply done using the libnotify API as-is. However, in Fremantle, this does not appear to be the case any more (from what I can tell, anyway) and I was wondering if anyone had any hints on how to show notifications like the one seen at 1:15 on the video found on http://maemo.nokia.com/ (New SMS message received). I've also tried using libhildonnotification, too, but as it is (in essence) a wrapper for libnotify, it doesn't help me much and yields the same result as me using libnotify directly. Best Regards, Faheem ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Notifications and Fremantle: How should they be done?
Hi, In Diablo, getting a notification to popup in the bottom-left corner (e.g. Modest's new mail notifcations) could be simply done using the libnotify API as-is. However, in Fremantle, this does not appear to be the case any more (from what I can tell, anyway) and I was wondering if anyone had any hints on how to show notifications like the one seen at 1:15 on the video found on http://maemo.nokia.com/ (New SMS message received). I've also tried using libhildonnotification, too, but as it is (in essence) a wrapper for libnotify, it doesn't help me much and yields the same result as me using libnotify directly. Best Regards, Faheem ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Fremantle: Opening URLs and local files
Hi, I'm a libosso whore so this is how I do it: #include libosso.h osso_context_t* osso_context; osso_rpc_t* osso_retval = { 0 }; char *open = http://www.google.com;; osso_context = osso_initialize (com.what.ever, 0.9.9, FALSE, NULL); osso_rpc_run(osso_context, com.nokia.osso_browser, /com/nokia/osso_browser, com.nokia.osso_browser, open_new_window, osso_retval, DBUS_TYPE_STRING, open, DBUS_TYPE_INVALID); osso_deinitialize(osso_context); open_new_window does what it says on the tin: a new window is opened with the URL supplied. You can also substitute that for load_url which will, depending if a window is already open, a) load the link given into a browser that is already open OR b) open a new window with the link given. I've been naughty here and have hardcoded the method names etc. but these are all defined in /usr/include/tablet-browser-interface.h And, yes, this works under Fremantle. ;) Best Regards, Faheem On Thu, Sep 17, 2009 at 11:15 AM, Thomas Perl th.p...@gmail.com wrote: Hello! Is there a command-line utility that can be used or a D-Bus call? If so, where is the D-Bus call documented (sample code would be enough ;). Thanks, Thomas ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Mnemonics (Access keys) usage in Fremantle
Sure, but the point is that the N900 has no Alt key; keyboard slid open or not. :) Best Regards, Faheem On Wed, Sep 16, 2009 at 4:12 PM, Kamen Bundev bun...@gmail.com wrote: I think the mnemonics are shown in N810 only if the keyboard is slid open. Maybe the same thing applies to Fremantle? Regards: Bundyo On Wed, Sep 16, 2009 at 6:10 PM, Andre Klapper aklap...@openismus.com wrote: In many 3rd party apps, buttons/check boxes/menuitems use mnemonics (=underlined letter in a word that can be used together with the Alt key for the sake of accessbility). In every official Fremantle screenshot I have seen there are no mnemonics though. Is there any should not use mnemonics guideline? I could not find anything in the HIG at http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Human_Interface_Guidelines/ andre -- Andre Klapper (maemo.org bugmaster) ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Subversion and libesd?
subversion was a quick upload of the one in Chinook to the Diablo autobuilder with a minor change of the Build-Depends. I won't be able to upload it to the Fremantle auto-builder, myself, but have no problems with it being done by someone else (not that I, rightfully, have a choice). Fremantle uses Pulseaudio now for mixing/output. It is unlikely that you'll see osso-esd in Fremantle because osso-esd depends on the non-free osso-rx44-dsp-headers. Hope that I'm wrong, however. Best Regards, Faheem On 8/20/09, Graham Cobb g+...@cobb.uk.net wrote: Is there some reason why subversion is not in Fremantle extras-devel? It is in diablo and I thought that I remembered Jeremiah submitting everything from diablo to try to build in fremantle. I am assuming there is no reason why a command line utility like subversion would not have built. Of course, I can build it myself but before I do that and upload it is there anything I should know? Are other things from diablo which would build missing? More seriously, where is libesd? In Diablo it is part of osso-esd, which is in the SDK. Where is it in Fremantle? It is a dependency for GPE. Graham ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Optimal battery life considerations in apps
For comparison: A log of xev running on a desktop and minimizing the window: FocusOut event, serial 34, synthetic NO, window 0x6c1, mode NotifyNormal, detail NotifyNonlinear UnmapNotify event, serial 34, synthetic NO, window 0x6c1, event 0x6c1, window 0x6c1, from_configure NO PropertyNotify event, serial 34, synthetic NO, window 0x6c1, atom 0x155 (WM_STATE), time 96750115, state PropertyNewValue PropertyNotify event, serial 34, synthetic NO, window 0x6c1, atom 0x136 (_NET_WM_ALLOWED_ACTIONS), time 96750115, state PropertyNewValue PropertyNotify event, serial 34, synthetic NO, window 0x6c1, atom 0xfa (_NET_WM_STATE), time 96750115, state PropertyNewValue PropertyNotify event, serial 34, synthetic NO, window 0x6c1, atom 0x14f (_WIN_STATE), time 96750115, state PropertyNewValue -- A log of xev running on a tablet running Diablo and minimizing the window: PropertyNotify event, serial 20, synthetic NO, window 0x161, atom 0xeb (WM_STATE), time 1756118079, state PropertyNewValue FocusOut event, serial 20, synthetic NO, window 0x161, mode NotifyNormal, detail NotifyNonlinear On Fri, Jul 10, 2009 at 5:50 PM, Andrew Fleggand...@bleb.org wrote: One thing I noted with the GTK+ flavour on Diablo is that iconify events are not sent/received correctly - at least in a way different than on stock Desktop GTK+. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Maemo 4.1: unable to run 'make menuconfig' in scratchbox
Hi, Thanks to Frantisek Dufka: http://talk.maemo.org/showpost.php?p=124726postcount=8 Best Regards, Faheem On Mon, Jul 6, 2009 at 12:07 PM, Mandeep Sandhumandeepsandhu@gmail.com wrote: Hi All, I'm trying to run menuconfig for my diablo source, but it gives me the following error: [sbox-DIABLO_ARMEL: /usr/src/kernel-source-diablo] make menuconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/docproc HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/kxgettext.o HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/mconf scripts/kconfig/lxdialog/checklist.o: In function `print_item':checklist.c:(.text+0x28): undefined reference to `wmove' :checklist.c:(.text+0x44): undefined reference to `waddch' :checklist.c:(.text+0x68): undefined reference to `wmove' :checklist.c:(.text+0x9c): undefined reference to `wprintw' :checklist.c:(.text+0xc0): undefined reference to `wmove' :checklist.c:(.text+0xdc): undefined reference to `waddch' :checklist.c:(.text+0x104): undefined reference to `waddnstr' :checklist.c:(.text+0x128): undefined reference to `wmove' :checklist.c:(.text+0x138): undefined reference to `wrefresh' scripts/kconfig/lxdialog/checklist.o: In function `print_arrows':checklist.c:(.text+0x17c): undefined reference to `wmove' :checklist.c:(.text+0x1a0): undefined reference to `waddch' :checklist.c:(.text+0x1b0): undefined reference to `waddnstr' ... ... ... What is missing from my system. I checked and libncurses was installed. Anything else required for menuconfig to work? Thanks, -mandeep ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: FYI : ConnMan deconstructed : http://blogs.gnome.org/dcbw/2009/06/25/networkmanager-and-connman/
Agreed. I hate NetworkManager so badly. I had nothing but trouble with it on a tablet (Mer) and on a desktop computer. I had to pin the NetworkManager from Ubuntu Hardy when I upgraded as the newest version gave me nothing but trouble. icd2, the Network Manager used in Diablo, is probably the most reliable manager I've used. I find it hard to agree with the article due to my own experiences and it is heavily biased. More power to ConnMan! Best Regards, Faheem On Fri, Jul 3, 2009 at 11:18 AM, Valerio Valeriovdv...@gmail.com wrote: HI, On Fri, Jul 3, 2009 at 11:00 AM, David Greaves da...@dgreaves.com wrote: I thought this would be of interest to the list. Also some good comments here: http://lwn.net/Articles/338715/ well, I don't like very much the NIH syndrome, but this time I've to agree with the decision of writing everything from scratch. NM is a huge pill of 'mixed-code' with a lot of dependences on the UI, it works fairly well in my gnome desktop right now, but the KDE/mobile users usually have a lot of problem with NM. To be fair, the network manager app that gave me the best user experience in a linux box so far, was the proprietary app in your tablets (insert your rants here :P). Best regards, -- Valério Valério http://www.valeriovalerio.org David -- Don't worry, you'll be fine; I saw it work in a cartoon once... ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: closed tools, Re: Maemo Flasher-3.5 Tool Beta for Fremantle and Diablo released
You sure you have a choice in the matter? Considering how you're already violating the GPL. On 7/2/09, jarmo.ti...@nokia.com jarmo.ti...@nokia.com wrote: And I do not belive we have any plans to release toolchain for initfs development for Diablo anymore. Cheers, //Jarmo ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: closed tools, Re: Maemo Flasher-3.5 Tool Beta for Fremantle and Diablo released
(Well, s/you/Nokia/) On 7/2/09, Faheem Pervez tripp...@gmail.com wrote: You sure you have a choice in the matter? Considering how you're already violating the GPL. On 7/2/09, jarmo.ti...@nokia.com jarmo.ti...@nokia.com wrote: And I do not belive we have any plans to release toolchain for initfs development for Diablo anymore. Cheers, //Jarmo ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: closed tools, Re: Maemo Flasher-3.5 Tool Beta for Fremantle and Diablo released
Hi, I'm certainly far from being a licensing expert. But there is a paragraph on a page at the busybox site which does make it clear wrt busybox and releasing source: http://www.busybox.net/license.html I see a /mnt/initfs/bin/busybox but I don't see the source available for the busybox 1.00 used in the initfs. But Mohammed's reply on the bug in question does give me a little more hope. Best Regards, Faheem On 7/2/09, Dave Neary dne...@maemo.org wrote: Hi, Faheem Pervez wrote: You sure you have a choice in the matter? Considering how you're already violating the GPL. I don't know the details of the situation. I just want to remind you that the GPL is a distribution licence. That's why we don't get all Google's changes to the Linux kernel and Apache back upstream. It seems that I've seen people say that Nokia doesn't even distribute the initfs tools. If that's the case, there wouldn't be any GPL violation. Cheers, Dave. -- maemo.org docsmaster Email: dne...@maemo.org Jabber: bo...@jabber.org ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Maemo Flasher-3.5 Tool Beta for Fremantle and Diablo released
*If* Nokia have no intention of open-sourcing this version of the flasher (because it can flash the new tablet and Nokia may not like the idea of releasing code relating to the internals of the new tablet), then I'd sincerely hope that they would at release the code to 3.0 as Nokia (yes, I mean Nokia: I'm not referring to Mer here) have no intention of providing updates for the devices flasher-3.0 supports (not bitter about it in any way - I'm just telling it as a statement of fact), it would be nice to have the source code to that version. Of course: Only if this version or the latest final version - whatever that may be - can't be open-sourced for whatever reason. Best Regards, Faheem On 7/1/09, Hubert Figuiere h...@figuiere.net wrote: On 06/30/2009 08:41 AM, jarmo.ti...@nokia.com wrote: The Maemo Eclipse Integration 2nd Edition project has released installation packages for Maemo Flasher-3.5 Tool Beta for Linuxes, Mac OS X and Windows. Maemo Flasher-3.5 tool supports flashing of N8x0 Diablo devices and coming Fremantle devices. Any plan to release the source code of the Flasher? Hub ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: how to load custom kernel module at bootup?
mount -o remount,rw /mnt/initfs/ :) But I just install any extra modules in /lib/modules/2.6.21-omap1 personally Best Regards, Faheem On 6/30/09, Graham Cobb g+...@cobb.uk.net wrote: Unfortunately, that filesystem is read-only and, in practice, you cannot modify that set of modules (you can, but only by rewriting parts of the system flash -- not something that can be done on a user's device when installing some software). Graham ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: how to load custom kernel module at bootup?
The initfs saw an increase of ~2MB with diablo (space taken from the rootfs) probably for the WiMax stuff which gives you quite a bit of space available. Best Regards, Faheem On 6/30/09, Graham Cobb g+...@cobb.uk.net wrote: On Tuesday 30 June 2009 12:42:18 Faheem Pervez wrote: mount -o remount,rw /mnt/initfs/ I thought I remembered that that didn't work in practice (insufficient space to make any changes or something?). But if it works then I must be confused. Thanks for the info. If you decide to do that, don't forget to set it back to read-only after completing the installation. Graham ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: USB Networking to windows host with 810 and OS2008
If you'd have read the bug report in question, you'd have seen that there is a fix - namely, in the form of a flashable kernel zImage from tablets-dev. On 6/19/09, Jonathan Luellen jluel...@scires.com wrote: I was looking at using USB Networking to the Nokia 810 from a Windows XP host. I saw a warning that indicated that there was a bug that kept this from happening. I have a Nokia 810 with OS2008, Version of 5.20908.43-7. Is there a work to get this USB networking to a windows host? thanks, Jonathan Luellen CONFIDENTIALITY NOTICE: This email and any attachments are intended solely for the use of the named recipient(s). This e-mail may contain confidential and/or proprietary information of Scientific Research Corporation. If you are not a named recipient, you are prohibited from making any use of the information in the email and attachments. If you believe you have received this email in error, please notify the sender immediately and permanently delete the email, any attachments, and all copies thereof from any drives or storage media and destroy any printouts of the email or attachments. EXPORT COMPLIANCE NOTICE: This email and any attachments may contain technical data subject to U.S export restrictions under the International Traffic in Arms Regulations (ITAR) or the Export Administration Regulations (EAR). Export or transfer of this technical data and/or related information to any foreign person(s) or entity(ies), either within the U.S. or outside of the U.S., may require export authorization by the appropriate U.S. Government agency prior to export or transfer. In addition, technical data may not be exported or transferred to certain countries or specified designated nationals identified by U.S. embargo controls without prior export authorization. By accepting this email and any attachments, all recipients confirm that they understand and will comply with all applicable ITAR, EAR and embargo compliance requirements. CONFIDENTIALITY NOTICE: This email and any attachments are intended solely for the use of the named recipient(s). This e-mail may contain confidential and/or proprietary information of Scientific Research Corporation. If you are not a named recipient, you are prohibited from making any use of the information in the email and attachments. If you believe you have received this email in error, please notify the sender immediately and permanently delete the email, any attachments, and all copies thereof from any drives or storage media and destroy any printouts of the email or attachments. EXPORT COMPLIANCE NOTICE: This email and any attachments may contain technical data subject to U.S export restrictions under the International Traffic in Arms Regulations (ITAR) or the Export Administration Regulations (EAR). Export or transfer of this technical data and/or related information to any foreign person(s) or entity(ies), either within the U.S. or outside of the U.S., may require export authorization by the appropriate U.S. Government agency prior to export or transfer. In addition, technical data may not be exported or transferred to certain countries or specified designated nationals identified by U.S. embargo controls without prior export authorization. By accepting this email and any attachments, all recipients confirm that they understand and will comply with all applicable ITAR, EAR and embargo compliance requirements. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Default nice value setting
Hi, Incidentially, you may have found this bug useful once upon a time: https://bugs.maemo.org/show_bug.cgi?id=374 *grin* But, anyway, the line you want to search in that bug is setpriority() which'll allow you to override the nice value from your app. Regards, Faheem On Wed, Jun 17, 2009 at 5:28 AM, Nick Nobody m...@nikosapi.org wrote: Hi, Is there a way to specify a default nice value for an application on maemo? I noticed that if an application is launched by the menu directly from an executable (using the Exec variable in the .desktop file) it gets a nice value of -1. But, if the application is started over D-Bus (using the X-Osso-Service variable in the .desktop file) it gets a nice value of 0. The application I'm working on needs at least a nice value of -1 or else it becomes unusable. Is there a way to make this happen while still being able to start the application over D-Bus? Thanks, nick ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: N800 Power cycles
I did so (like you, not liking the same behaviour) and it started the desktop but requiring me to press the power button to enable touchscreen and input (i.e it's expecting to be booted in ACTDEAD state). All I did, however, was to change it from ACTDEAD state to USER state if it detects charger, so more may need to be done. I do not know what provides /proc/bootreason but (if it's the kernel, like I'm hoping), it may be easier to not make it say charger in bootreason if it's booted with a charger. BR, Faheem On Tue, Jun 9, 2009 at 9:53 AM, Frantisek Dufka duf...@seznam.cz wrote: Rainer Dorsch wrote: Under which circumstances is the N800 started automatically, when the power supply is plugged in? It would be interesting to modify linuxrc to go to runlevel 2 even in this charging state and see if it manages to boot normally. Frantisek ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Missing dependencies on build bot system
Hi, You may possibly need to add libhildonnotify-dev (= 0.0.2) to your Build-Deps in debian/control. Best Regards, Faheem On 6/1/09, Michael Hasselmann micha...@openismus.com wrote: Hello list, I tried to build a package with Maemo's build bots. However, the build failed during the configure check and now the log contains this: Package hildon-notify was not found in the pkg-config search path. Perhaps you should add the directory containing `hildon-notify.pc' to the PKG_CONFIG_PATH environment variable Package 'hildon-notify', required by 'hildon-notifymm', not found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Any ideas how to solve that dependency problem? thanks in advance, Michael ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: building/requesting python bindings ?
Hi, I've uploaded python-poppler to chinook extras-devel (diablo one should start building soon). Good news is that the packaging has been sorted and running apt-get install python-poppler should give you no problems. Testing consisted of installing and running import poppler. :) The bad news is: Could not write method PopplerAnnotMarkup.get_date: No ArgType for GDate* Could not write method PopplerPage.get_thumbnail: No ArgType for cairo_surface_t* Could not write method PopplerPage.get_image: No ArgType for cairo_surface_t* Could not write method PopplerAttachment.save_to_callback: No ArgType for PopplerAttachmentSaveFunc Warning: generating old-style constructor for:poppler_font_info_new Could not write function error_quark: No ArgType for GQuark Could not write function poppler_page_free_link_mapping: No ArgType for GList* Could not write function poppler_page_free_image_mapping: No ArgType for GList* Could not write function poppler_page_free_form_field_mapping: No ArgType for GList* Could not write function poppler_page_free_annot_mapping: No ArgType for GList* Warning: Constructor for PopplerFontInfo needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors ***INFO*** The coverage of global functions is 44.44% (4/9) ***INFO*** The coverage of methods is 95.70% (89/93) ***INFO*** There are no declared virtual proxies. ***INFO*** There are no declared virtual accessors. ***INFO*** There are no declared interface proxies. But the packaging is all there so if you wish to fix it (I do not know Python and my C is pretty basic and dodgy)...:) Regards On Mon, May 25, 2009 at 6:25 PM, Attila Csipa ma...@csipa.in.rs wrote: On Monday 25 May 2009 19:04:50 Faheem Pervez wrote: it, I'd be happy to reupload libpoppler4 with the python bindings (providing I can actually get them working) by the end of this week? That would be great ! If you need any python-specific help/testing with it, let me know. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: building/requesting python bindings ?
Looking at the link in Mr Lizardo's e-mail message (thank you!), you may not have to do anything as the coverage seems the same as debian's. But if you happen to need those missing functions.. :) I won't be promoting it, myself, but feel free to do so, when you need to, as the dependencies should be satisfied. Heh, I had to reinstall scratchbox under Xubuntu in VMWare to be able to upload. :) On 5/26/09, Attila Csipa ma...@csipa.in.rs wrote: On Tuesday 26 May 2009 13:07:06 Faheem Pervez wrote: But the packaging is all there so if you wish to fix it (I do not know Python and my C is pretty basic and dodgy)...:) Thanks for the effort, I'll take a look. My PyGTK is a bit rusty but might enough to sort it out. Now, on to fix (=reinstall) my scratchbox :) ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: building/requesting python bindings ?
I uploaded the newer libpoppler4 to Extras for ePDFView, and I did what Ed Bartosh had done before me with libpoppler2 - remove the python bindings because I hadn't time to make it play nice with scratchbox and force it to use python2.5. I'm without a Linux computer ATM but, if you really desire it, I'd be happy to reupload libpoppler4 with the python bindings (providing I can actually get them working) by the end of this week? -qwerty12 On Mon, May 25, 2009 at 5:48 PM, Attila Csipa ma...@csipa.in.rs wrote: PS. For the record, I'm craving for python-poppler (probably should start around http://packages.debian.org/unstable/main/python-poppler ). Poppler itself, Cairo and the other dependencies are already in maemo repos so it should really be just the binding... ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: application not starting from menu
You have a DBUS Service file installed in /usr/share/dbus-1/services/? The format of this file is very simple - just open up one of the existing files already in there on your tablet. (Hint: A service name specified as firefox is the same as com.nokia.firefox) (This applies to osso_initialize, the desktop file and the DBUS service file. Nothing stops you from using your own name, however. I once osso_initialized a program with osso_initialize(im.so.high, 2009...) Mr Hald is right in saying that you need to osso_initialize it (unless your dbus service file points to a script) but you only notice the effect of not doing that after your program has started (mainly: your program is abnormally terminated after 30 seconds :)) Regards, Faheem On Thu, May 7, 2009 at 11:41 AM, Guenther Meyer d@sordidmusic.comwrote: hi, I have a strange problem: I ported an application to maemo, and the installation seems to work fine, it also adds an icon to the applications menu. so the usual way to start it, would be clicking on the icon in the menu. when I do this, a banner appears, telling me the application is starting, but nothing more happens. when I try to start the application from the command line inside the terminal, everything works as expected. any hints? ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Problem with the Diablo autobuilder
Hi, The autobuilder doesn't seem to be moving packages to extras-devel. I uploaded python-vte to the diablo autobuilder and it still has not shown up yet. I checked with some other packages, by other people, osm2go and dialcentral and they haven't been uploaded to extras-devel - despite it having been many hours since they had been uploaded. Please don't tell me to reupload as I do not have the original source packages available to me and the autobuilder, being the clever thing it is, deletes the source packages it has while it's moving them to extras-devel. I realise my tone isn't a nice one and the annoyance isn't directed at you, or the maemo.org team responisble for the autobuilder, but rather at the autobuilder for chewing my packages. Best Regards, Faheem On Thu, Apr 30, 2009 at 10:05 AM, Jeremiah Foster jerem...@jeremiahfoster.com wrote: On Apr 30, 2009, at 8:57, Cornelius Hald wrote: Hi, it looks like there is something wrong with the Diablo autobuilder. I was submitting conboy 0.3.2 two times already and it doesn't show up in extras-devel. For Chinook and Fremantle it worked fine. The mails I received are attached. It would be nice if someone please could check. As far as the autobuilder is concerned, the indexing tool that updates the list of Packages stopped running yesterday. I am trying to fix that now so that new packages start appearing in diablo. Jeremiah ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to get a program window into the task/window switcher?
Incidentally, this only happens because libSDL uses Xutf8TextListToTextProperty() in SDL_x11vm.c to set the window title. Commented a few lines to make it use XStringListToTextProperty() and using SDL_WM_SetCaption() worked to set the title without any Xlib tricks. I can't be bothered, personally, to open a bug as I know it will not be fixed for Diablo but (assuming that the Fremantle hildon-desktop doesn't support UTF-8 strings for titles) anyone else is free to open a bug. P.S: Frantisek, have any plans on updating the Game_development wiki page with your tip? It'd help those who do not subscribe here. Best Regards, Faheem On Wed, Apr 29, 2009 at 10:06 PM, Frantisek Dufka duf...@seznam.cz wrote: Faheem Pervez wrote: char *name = Title to show on first line - Title to show on second line and then pass that char to XStoreName as the third argument: Indeed. Thanks for figuring this out. One definitely needs the - part including spaces there. BTW as for the Mikkov's wiki code sample I've ended with seting both windows at once no mater if fullscreen or not. This saves me updating title of the other window after each fullscreen switch. win = info.info.x11.fswindow; if (win) XStoreName(dpy, win, title); win = info.info.x11.wmwindow; if (win) XStoreName(dpy, win, title); Seems to work for me. Frantisek ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to get a program window into the task/window switcher?
Well, apps using a HildonWindow don't *strictly* do it either (Hildon sets the name of the binary as the first line which is odd IMHO) . But for GTK: you get the first line by using g_set_application_name() and then gtk_window_set_title() for the second line. But believe it or not, this isn't hard to do at all... char *name = Title to show on first line - Title to show on second line and then pass that char to XStoreName as the third argument: http://i44.tinypic.com/348sy2a.png Best Regards, qwerty12 On Wed, Apr 29, 2009 at 1:21 PM, Frantisek Dufka duf...@seznam.cz wrote: Faheem Pervez wrote: For C programs, Mikkov made the following code which works a treat for SDL stuff: http://wiki.maemo.org/Game_development#Set_the_window_title This is great and works fine to set first line in task switcher window list but it would be nice to put something to second line too like hildonized apps do. Any tips for setting second line from SDL/x11 C code? Frantisek ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to get a program window into the task/window switcher?
Brilliant, thanks for that, I've sometimes forgot to do it when the a game in question lets you set the video mode from the menu. That tip should help. Best Regards, Faheem On Wed, Apr 29, 2009 at 10:06 PM, Frantisek Dufka duf...@seznam.cz wrote: BTW as for the Mikkov's wiki code sample I've ended with seting both windows at once no mater if fullscreen or not. This saves me updating title of the other window after each fullscreen switch. win = info.info.x11.fswindow; if (win) XStoreName(dpy, win, title); win = info.info.x11.wmwindow; if (win) XStoreName(dpy, win, title); Seems to work for me. Frantisek ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
How to get a program window into the task/window switcher?
From: Faheem Pervez tripp...@gmail.com Date: Mon, Apr 27, 2009 at 4:00 PM Subject: Re: How to get a program window into the task/window switcher? To: Martin Wegner martinator...@arcor.de Hello, Here's a SDL example: Building and running http://olofson.net/download/parallax-2.tar.gz and pressing home only shows me the terminal I started it with: http://i42.tinypic.com/124wyub.png sdlonly For SDL (and SDL only) , you have to add a putenv(SDL_VIDEO_X11_WMCLASS=app); because SDL under Maemo seems to report the same WMCLASS for every SDL app. So I've added putenv(SDL_VIDEO_X11_WMCLASS=parallax); above SDL_Init(SDL_INIT_VIDEO); and this forces the WMCLASS of this app to be parallax. Other apps usually have a correct WMClass. /sdlonly Now, if I start the SDL demo on the N800 and run xprop over SSH and tap on my window, I get the following output: http://pastebin.com/mc90995a I do not know where a packaged version of xprop is available for diablo - I compiled my binary on the tablet. Looking at the highlighted line in the pastebin output, the WMCLASS is parallax (ignore the second parallax in quotes - the first pair of quotes is the value needed). Now, the next step is to make a desktop file. I've saved this file as /usr/share/applications/hildon/parallax2.desktop. Here is the one I've quickly made for parallax: http://pastebin.com/m66ba244f Notice that the argument given to StartupWMClass is the same as the WMClass output given from xprop. And, lo and behold, I get my icon shown: http://i39.tinypic.com/avllrn.png (Ignore that the window title is shown as unknown - this is something specific to SDL under Maemo) Some hints regarding the desktop file: - The Name field you will want to name properly as it's the name shown in the application menu and it's also shown when you tap and hold on the application's entry in the application switcher on the left. - If you have no intention of running it from the menu, you can remove the Exec field and add NoDisplay=true to the desktop file. As long as the desktop file is there, the icon will still show regardless of not having an exec field and it will still show even if you choose not to display the desktop file entry in the application manager. Best Regards :), Faheem On Sun, Apr 26, 2009 at 5:10 PM, Martin Wegner martinator...@arcor.dewrote: Hello, thank you for your answer :) But I must admit you that I don't understand your recommendation :( Can you make a little example, please? Thank you so much! Greatings, Martin Faheem Pervez schrieb: You can use xprop to get the WMClass of the application and make a desktop file and add the WMClass given to the StartupWMClass argument in the desktop file. It's done with SDL apps and some Xlib apps to get the icon shown. BR On Sat, Apr 25, 2009 at 4:35 PM, Martin Wegner martinator.de http://martinator.de@arcor.de http://arcor.de wrote: Hello, my Java AWT/Swing programs don't appear in the task/window switcher when I use openjdk-6-cacao-jre from the Jalimo project. I have the same problem when I use Sun Java SE for Embedded 6u10 headful version. Is there a way to put a program window into the task/window switcher? Thank you for your help! Greatings, Martin ___ maemo-developers mailing list maemo-developers@maemo.org mailto:maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to get a program window into the task/window switcher?
Not sure, I can't even bring up a task switcher in the Alpha Fremantle SDK! For C programs, Mikkov made the following code which works a treat for SDL stuff: http://wiki.maemo.org/Game_development#Set_the_window_title Dunno how you'd get a python equivalent (I built python-xlib and fixed it up to work in Diablo in hope it could be used to do the same but I could never see a way to do so...) Can't hurt reporting it as you'll get an answer as to whether it's fixed anyway :) Best Regards, Faheem On Mon, Apr 27, 2009 at 4:34 PM, Thomas Wälti twae...@gmail.com wrote: And, lo and behold, I get my icon shown: http://i39.tinypic.com/avllrn.png (Ignore that the window title is shown as unknown - this is something specific to SDL under Maemo) Ah how I hate that bug - makes pygame apps looking so amateurish. Checking Bugzilla, I believe no one ever reported that issue. Any comments? Shall I still report it or is it FiF anyway? Kind regards -Tom ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to get a program window into the task/window switcher?
You can use xprop to get the WMClass of the application and make a desktop file and add the WMClass given to the StartupWMClass argument in the desktop file. It's done with SDL apps and some Xlib apps to get the icon shown. BR On Sat, Apr 25, 2009 at 4:35 PM, Martin Wegner martinator...@arcor.dewrote: Hello, my Java AWT/Swing programs don't appear in the task/window switcher when I use openjdk-6-cacao-jre from the Jalimo project. I have the same problem when I use Sun Java SE for Embedded 6u10 headful version. Is there a way to put a program window into the task/window switcher? Thank you for your help! Greatings, Martin ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: policy: B.3 Parallel option needs updating
Hi, (I've not mastered the art of quoting properly so please excuse me) Thanks, I've added a note to the wiki page. And, to anyone reading, please don't use my example in the second e-mail. I had the experience of killing the autobuilder and X-Fade's tar and feathers. :) Best Regards, Faheem On Mon, Mar 30, 2009 at 5:17 PM, Eero Tamminen eero.tammi...@nokia.comwrote: Hi, ext Faheem Pervez wrote: Hmm, the example given there didn't work for me on the autobuilder. ifneq (,$(findstring parallel,$(DEB_BUILD_OPTIONS))) PARALLEL += -j$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) endif ^ works for me. On Sat, Mar 28, 2009 at 9:20 AM, Faheem Pervez tripp...@gmail.com mailto:tripp...@gmail.com wrote: Hi, In the maemo-policy, the B.3 Parallel option currently says: TODO: When this option has been added to the Debian policy, add link here to an appropriate section. For now, see the discussion in the following Debian policy bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=209008; The debian bug linked to has been marked as done as comment #252 says debian-policy_3.8.0.0 has a parallel section. http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-optionshas a section explaining the parallel DEB_BUILD_OPTION and an example that can be used. Thanks! Could you add a note about this also to: http://wiki.maemo.org/Task:Packaging_policy_proposed_changes ? We'll update the policy eventually. (At least the essentials section needs updating for Fremantle.) - Eero ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
policy: B.3 Parallel option needs updating
Hi, In the maemo-policy, the B.3 Parallel option currently says: TODO: When this option has been added to the Debian policy, add link here to an appropriate section. For now, see the discussion in the following Debian policy bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=209008; The debian bug linked to has been marked as done as comment #252 says debian-policy_3.8.0.0 has a parallel section. http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-optionshas a section explaining the parallel DEB_BUILD_OPTION and an example that can be used. Regards, Faheem ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Uploading packages to extras that already exist in maemo SDK
Hi, Personally, I'd wait because it is only an alpha SDK and versions of the libraries may change. You'll just add work for yourself having to update Extras if a library is updated. On 3/24/09, Anderson Lizardo anderson.liza...@gmail.com wrote: Hi all, I want to upload some Python related packages to fremantle extras-devel, however some of these packages are already on the Maemo SDK repository. I suppose the images that will be flashed to the device will not contain the SDK repositories (e.g. deb http://repository.maemo.org/ fremantle/sdk free non-free), based on the previous releases. I remember a discussion on the list about this topic and IIRC the solution was simply re-upload the packages to extras. Is that still the case? Thanks, -- Anderson Lizardo Instituto Nokia de Tecnologia (INdT) Manaus - Brazil ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: libicd-network-wpa
In diablo (which I assume to be the targeted demographic as this is an icd2 plugin), you can mount -o remount, rw /mnt/initfs. But you can also use an cx3110x stored locally. rmmod cx3110x; insmod new cx3110x; chroot /mnt/initfs wlan-cal HTH On 3/10/09, Javier S. Pedro javispeter+ma...@gmail.comjavispeter%2bma...@gmail.com wrote: Right now the whole thing seems to work (I've been using it for two weeks -- my biggest gripe is modest not autodownloading mail) but It's difficult to distribute/install, as it requires replacing cx3110x.ko a.k.a. flashing the initfs. I guess it would be possible to hack wpa_supplicant (yet again) so that it works with the pristine cx3110.ko, but I'm not a wireless-extensions guru. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: where's the source codes for maemo-select-menu-location?
You can find the source in hildon-appplication-manager's source. On 2/2/09, Alex T. W. LEUNG alexleu...@astri.org wrote: Hi maemo team, once a while we need to use the maemo-select-menu-location utility, as mentioned below: http://maemo.org/development/documentation/manuals/4-0-x/making_application_packages/ does anyone happen to know the corresponding source codes? Is it a closed source utility? If it is closed source, can I rewrite it using pymaemo? Thanks. Alex Leung. -- This message (including any attachments) is for the named addressee(s)'s use only. It may contain sensitive, confidential, private proprietary or legally privileged information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. Any use, disclosure, copying, or distribution of this message and/or any attachments is strictly prohibited. -- ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: investiganting a hildonization bug (open loadopt file: permission denied)
Hi, If you want to run a graphical program as root, I find prefixing the command with run-standalone.sh works for me. Regards On Tue, Nov 25, 2008 at 11:46 PM, Caio Begotti [EMAIL PROTECTED] wrote: Hello there, I'm writing my very first Python application using the PyQt4 packages which another brazilian, Luciano Wolf, announced last september (IIRC). I know the code linked below is pretty crappy but I've found a weird problem while Hildonizing my app. Astmontray is a systray applet with a very simple menu layout that I wrote following both Python and Qt4 documentation and seems to work fine on my Macbook running Leopard, my Mandriva 2009.0 box and Maemo Diablo. Despite its source everything seems to be running alright. However, on Diablo the context menu is not Hildonized (by that I mean it does not look like the rest of the environment, it has a raw Qt4 appearance). That happens every time I run the app after a sudo gainroot, but if I run the app as a regular user I get the following message in terminal: Open loadopt file: Permission denied Even though I get this message every time I run it, it misteriously works AND get properly Hildonized. How come? Any ideas? Is it known or am I missing something obvious here? I wouldn't doubt that, btw. The current code is freely available at: http://caio.ueberalles.net/svn/voip/asterisk/astmontray/ []s Caio Begotti ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Compile Python2.5 for chinook error.
First google result: http://maemogeek.blogspot.com/2007/11/installing-qemu-arm-eabi-patch-into.html (That qemu works for me btw) On Sat, Nov 22, 2008 at 4:49 AM, Qiang Chai [EMAIL PROTECTED] wrote: Hi maemo developers, I want to compile the pyth2.5 for Chinook. The following steps were what I did. 1. Downlaod libffi4_4.1.0-1osso1.dsc libffi4_4.1.0-1osso1.tar.gz from extras-devel. Run dpkg-buildpackage -rfakeroot -b -d. This works find and I install the libffi. 2.Download python2.5_2.5.2-1osso4.diff.gz,python2.5_2.5.2-1osso4.dscpython2.5_2.5.2.orig.tar.gz Unpack the source code first: dpkg-source -x python2.5_2.5.2-1osso4.dsc. Then I use the dpkg-buildpackage -rfakeroot -b -d to build debian package, but the build process failed. These are the error messages: running install_lib sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented ... error: error listing files in 'build/lib.linux-armv5tel-2.5': Illegal seek ... sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented make[1]: *** [sharedinstall] Error 1 make[1]: Leaving directory `/home/chaiqiang/code/python/python2.5-2.5.2/build' Did anyone ever meet this problem before? Any opinions will be appreciated. Thanks a lot in advance! -- Best Regards Chai Qiang ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Video chat on N800 upside-down
Hi, I don't mean to sound ominous or anything, but is the camera mechanism for detecting the camera has been turned still working? I'm using an N800 with diablo and the latest SSU update (36-5 at the time of this email) and my N800 can still tell the camera has been turned and rotates the picture (and this N800 was smacked with a football and fell on a concrete floor and the camera popped out...). If you really want to make it rotate manually for the time being: gconftool-2 -s -t bool /system/osso/af/camera-has-turned 1 (gconftool-2 -s -t bool /system/osso/af/camera-has-turned 0 to make it normal again). Regards, Faheem On Fri, Nov 14, 2008 at 10:54 PM, Rainer Dorsch [EMAIL PROTECTED] wrote: Hello, when I rotate the camera on the N800 such that it records in the same direction I am looking to (i.e. not me :-), the image is upside down. Previously (before diablo?), that was detected and the image was rotated 180 degrees (by default). Is that a new bug or a feature? Thanks, Rainer -- Rainer Dorsch Lärchenstr. 6 D-72135 Dettenhausen 07157-734133 email: [EMAIL PROTECTED] jabber: [EMAIL PROTECTED] GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F 8F59 E3A8 C538 7519 141E Full GPG key: http://pgp.mit.edu/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Problems accessing the camera in Flash
Flash only supports V4L1 devices. The rest of the Linux world (and Nokia) use V4L2 for the webcam. On Wed, Nov 5, 2008 at 11:27 PM, Merrick Fonnesbeck [EMAIL PROTECTED] wrote: I was playing around with a Flash program that runs in a browser and sends the video stream from your computer/web camera out to another party. I've tried it on a Nokia n810 and I can see the camera output from a desktop computer coming in, but the other side cannot see the output of my Nokia n810 camera. I figure it has something to do with the Flash program not recognizing that a camera exists or that the camera is not registered in the right way on the device so that the Flash program can see it and connect to it. Does any one have any idea about this of how to fix it or have any theories about what might be going on? Thanks. Merrick F. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: printing logs (printf) when application starts from menu
If you send those messages to a syslog, then this sounds like what you are after: http://maemo.org/development/tools/doc/diablo/sp-error-visualizer/ Can't deny it's overkill though. On Wed, Oct 22, 2008 at 9:36 PM, mpopat [EMAIL PROTECTED] wrote: Dear community, I wrote an application named My_app that plays audio and also records voice from microphone. I usually use this application from command prompt. There are lots of printfs in it for debugging purpose which gets printed on terminal when the application is run. I just put the application in the start menu and it does not behave properly as it should. More particularly the recording from mic is problematic. I have no way of accessing the printf at present as the application is starting from Start Menu - Extras - My_app Is there any way that I can get this printf printed in some file when I start this application from the menu. It will be still much better if I can open another window and it keeps printing the printf even when I start My_app from the menu. Thanx in advance. regards, Mrukant Popat Technology Consultant Pioneer Electronics Silicon Valley, CA, US ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: New features in autobuilder and Extras Assistant
Even faster. Thanks! On Wed, Oct 22, 2008 at 7:05 AM, Wellu Mäkinen [EMAIL PROTECTED] wrote: On Tuesday 21 October 2008 23:41:09 ext Faheem Pervez wrote: Hi, I was able to use dput option -u to skip the signed check to upload a unsigned package successfully. ..or use allow_unsigned_uploads = 1 in /etc/dput.cf -- Wellu ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: New features in autobuilder and Extras Assistant
Hi, I was able to use dput option -u to skip the signed check to upload a unsigned package successfully. I welcome these changes and am thankful for them. HTH, Faheem On 10/21/08, Eduardo Lima (Etrunko) [EMAIL PROTECTED] wrote: Package signing no longer required. The autobuilder and Extras Assistant no longer require packages to be GPG signed. It seemed to cause a lot of grief for developers without any real benefits. This change is targetted to making uploading packages easier. Every uploader has to be authenticated to upload a package, so we can already trace back the uploader. The autobuilder signs packages which are moved into the repository. Ok, so you don't need to sign the packages anymore, but it won't hurt if you upload a signed package, isn't it? My question here is concerning dput uploads. Is it still possible to upload packages using dput?? If this is the case, is GPG signing still required? Upload to multiple repositories at the same time. -- Eduardo de Barros Lima INdT - Instituto Nokia de Tecnologia [EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: stlc45xx: open source WLAN driver for N800 and N810
The SVN version of kismet works minus packet injection. http://qwerty12.maemobox.org/screenies/kismet.png That was running for ~8 hours. I've had it running for 24 hours exactly. 24 hours was enough for me to put the dump in my aircrack-ng build and have a key in 1m 30s. But I go off topic here and apologize. ext Raphaël Jacquot [EMAIL PROTECTED] writes: Kalle Valo wrote: I'm excited to announce a new project called stlc45xx, an open source WLAN driver for Nokia N800 and N810. It's using mac80211 stack included in Linux since 2.6.22. Even though I currently classify the driver as alpha quality I have managed to transfer 1.2 GB of data with iperf. great. so I gather we should see a working kismet package rapidely ? ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers