How to capture ALL key events, no focus/No-GUI
Hi everybody, I've tried to figure out for some days, how I can capture ALL key events even if I have no focus on my window or if my app is running without GUI. Failed sofar :( Using Fremantle/Hildon/GTK Any suggestions are welcome! Thanks! ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
HOWTO: Query installed application
Hi everybody, how can I obtain information about the installed applications and access their icons? Thanks to you! ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: HOWTO: Query installed application
On Jan 28, 2010, at 9:34 AM, Stefan Iwanowitsch wrote: Hi everybody, how can I obtain information about the installed applications The command 'dpkg -l' will show you all installed packages on your device. and access their icons? Icons are kept in specific directories on the device, I'll look that up. Jeremiah ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to capture ALL key events, no focus/No-GUI
On Thursday 28 January 2010 10:33:20 ext Stefan Iwanowitsch, you wrote: Hi everybody, I've tried to figure out for some days, how I can capture ALL key events even if I have no focus on my window or if my app is running without GUI. Failed sofar :( Using Fremantle/Hildon/GTK Any suggestions are welcome! If you actually want to steal the keyboard input from other application, you would normally send a GrabKeyboard request to the X server (XGrabKeyboard via Xlib or xcb_grab_keyboard via XCB). If you just want to see keyboard input, then you'd open the corresponding file(s) in /dev/input/. -- Rémi Denis-Courmont Nokia Devices RD, Maemo Software, Helsinki ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: HOWTO: Query installed application
Thanks for the answer. But I need to query the applications not from shell but out of an application... Jeremiah Foster schrieb: On Jan 28, 2010, at 9:34 AM, Stefan Iwanowitsch wrote: Hi everybody, how can I obtain information about the installed applications The command 'dpkg -l' will show you all installed packages on your device. and access their icons? Icons are kept in specific directories on the device, I'll look that up. Jeremiah -- ISED - Iwanowitsch Software Engineering Development Dipl.Inf. Stefan Iwanowitsch (Softwareentwicklung) Hohenzollerndamm 61 14199 Berlin Tel:+49/ 30/ 285 07 285 Fax:+49/ 30/ 285 07 287 Mobil: +49/ 170/ 501 95 12 Steuernummer 24/360/60546 PGP Fingerprint: 69DE D22A E3D4 71E7 4277 9C32 5C60 43BE 603D 0E59 ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: HOWTO: Query installed application
Hello! Take a look at libapt-pkg-dev,. You can also check the sources of PackageView. I'm however unsure if you can access the icons using this way. -- Gruß... Tim ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to capture ALL key events, no focus/No-GUI
On Thu, 2010-01-28 at 09:33 +0100, Stefan Iwanowitsch wrote: Hi everybody, I've tried to figure out for some days, how I can capture ALL key events even if I have no focus on my window or if my app is running without GUI. Failed sofar :( Using Fremantle/Hildon/GTK Any suggestions are welcome! Have a look at the XTEST extension. Xav ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: gtk_label_set_markup issue
On Thu, Jan 28, 2010 at 8:22 AM, daniel wilms daniel.wi...@nokia.comwrote: Hi, ext b0unc3 wrote: Anyone know how I can avoid this problem and make a link in a label in an easy way ? And when the new gtk version will be ported to maemo ? You could use the GtkLinkButton: http://maemo.org/api_refs/5.0/5.0-final/gtk/GtkLinkButton.html not exactly what I want.. but nice anyway, thank you. Cheers Daniel ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Where are the N900 too much time at 600Mhz safeguards?
Javier S. Pedro wrote: When I got my N900, one of the first things I noticed is that (as measured by powertop) I could never get a 100% ratio at 600 Mhz, but more like 95%. I quickly assumed this was the safeguard for the issue Igor Stoppa talked about at the Maemo Summit. See also http://talk.maemo.org/showthread.php?p=499042#post499042 I wrote it before noticing this thread but the numbers quoted from OMAP35XX datasheet may be still interesting. Frantisek ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to capture ALL key events, no focus/No-GUI
Rémi Denis-Courmont schrieb: On Thursday 28 January 2010 10:33:20 ext Stefan Iwanowitsch, you wrote: Hi everybody, I've tried to figure out for some days, how I can capture ALL key events even if I have no focus on my window or if my app is running without GUI. If you actually want to steal the keyboard input from other application, you would normally send a GrabKeyboard request to the X server (XGrabKeyboard via Xlib or xcb_grab_keyboard via XCB). I want normal processing of keyboard events and just want to trigger actions upon certain key combinations/sequences. According to the documentation XGrabKeyboard() seems to prevent further processing in other applications and there is no easy way to re-enqueue key events I'm not interested in. If you just want to see keyboard input, then you'd open the corresponding file(s) in /dev/input/. Can I read from /dev/input without interfering with other consumers? And do you happen to know, where I can find specs on the input device files? Thanks! ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to capture ALL key events, no focus/No-GUI
From: Stefan Iwanowitsch s...@ised.de Hi everybody, I've tried to figure out for some days, how I can capture ALL key events even if I have no focus on my window or if my app is running without GUI. Failed sofar :( Using Fremantle/Hildon/GTK I suppose that you are talking about all key events redirected to your app. You can try to install a key snooper: http://library.gnome.org/devel/gtk/stable/gtk-General.html#gtk-key-snooper-install If you are thinking in all key events in the device, I suppose that this would be more complex. === API (apinhe...@igalia.com) ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to capture ALL key events, no focus/No-GUI
Piñeiro schrieb: From: Stefan Iwanowitsch s...@ised.de Hi everybody, I've tried to figure out for some days, how I can capture ALL key events even if I have no focus on my window or if my app is running without GUI. Failed sofar :( Using Fremantle/Hildon/GTK I suppose that you are talking about all key events redirected to your app. You can try to install a key snooper: http://library.gnome.org/devel/gtk/stable/gtk-General.html#gtk-key-snooper-install If you are thinking in all key events in the device, I suppose that this would be more complex. === API (apinhe...@igalia.com) Key snooping just gives you an early view of key events intended for your app. As soon as you loose focus you get nothing. Isn't there perhaps a special window attribute or kind of a top level where I can attach?!? -- ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to capture ALL key events, no focus/No-GUI
On Thursday 28 January 2010 11:53:13 ext Stefan Iwanowitsch, you wrote: If you just want to see keyboard input, then you'd open the corresponding file(s) in /dev/input/. Can I read from /dev/input without interfering with other consumers? It should work yes. And do you happen to know, where I can find specs on the input device files? /sys/class/input provides informations on each entries. The protocol is documented in Documentation/input/ in the kernel sources: | You can use blocking and nonblocking reads, also select() on the | /dev/input/eventX devices, and you'll always get a whole number of input | events on a read. Their layout is: | | struct input_event { | struct timeval time; | unsigned short type; | unsigned short code; | unsigned int value; | }; | | 'time' is the timestamp, it returns the time at which the event happened. | Type is for example EV_REL for relative moment, EV_KEY for a keypress or | release. More types are defined in include/linux/input.h. | | 'code' is event code, for example REL_X or KEY_BACKSPACE, again a complete | list is in include/linux/input.h. | | 'value' is the value the event carries. Either a relative change for | EV_REL, absolute new value for EV_ABS (joysticks ...), or 0 for EV_KEY for | release, 1 for keypress and 2 for autorepeat. -- Rémi Denis-Courmont Nokia Devices RD, Maemo Software, Helsinki ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Is mauku open source, i.e free or is in non-free?
On 01/27/2010 05:04 PM, ext Dave Neary wrote: Hi, Riku Voipio wrote: Well, such misunderstandings are likely to be caused by the poor extras instructions. Which exact page should Henrik read to get enlightened? David King I are working on improving these. Having not gone through the process myself, I need help. Your questions are great, because they help me identify the questions I need to ask get answered. As someone who went through the whole undocumented experience of getting a package to extras, I can help in any questions. For the current best information on uploading to extras, there are: http://wiki.maemo.org/Uploading_to_extras and This document is generally ok, but the link to next step, extras-testing leaves developers lost. http://wiki.maemo.org/Extras-testing Which is, in fact, a document for endusers and testers, not developers. At this point the, developer faces a bunch of questions; 1) where did my package go after dput 2) what exactly do I need to promote the package 3) how can I follow the whole process Eventually I found the http://maemo.org/packages/view/package/ link, and figured out that one needs to click on latest armel version while being logged in, to see the promote link. (Why are x86 packages shown in the first place here?) After you have got this far, you get your first tester that tells you that you need to have bugtracker. Ofcourse, this was not documented on any of the previous steps, and conviniently not mentioned at extras-testing wikipage either. Google to help. Apparently one needs a XSBC-Bugtracker: field in debian/control and request a bugzilla section at bugs.maemo.org. Next, once one has managed to get the 10 votes, one is left wondering what happens. Apparently one will get a mail about promotion unlocked when you can finally push it to extras. Now people are asking me to add a screenshot. But I couldn't find out where or howto do that. Turns out the promoting to extras creates a: http://maemo.org/downloads/product/Maemo5/package/ page. But even after loggin in, there is no explanation howto add a screenshot... What is worrying, that this was a major struggle for me. And I actually know a lot about debian and maemo, how much more lost someone who just arrived to maemo would be? http://wiki.maemo.org/Extras right now. This is clearly a enduser doc. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Problems compiling HelloWorld for gtk+
Hi Dave, I solved it already thatnks, but your message was helpufully. I solved somethings but I am nor sure if I undertood why. I solved it by acceding to sb_menu and changing many options related to the partition. I do not undertans yet very well what I do there. Please, could you give me a document where I can understand it well. I trien on the documentations of Maemo SDK, but I find it not very clear. Well, any way, thanks for your attentions. Regards, A. Cano Quoting Dave Neary dne...@maemo.org: Hi acano, ac...@dsic.upv.es wrote: I write you because I am having problems when compiling the program holamundo for gtk that is shown in the documentacion. I'm not sure if you got an answer for this. In the case where you didn't: Here is the error I obtain: [sbox-FREMANTLE_ARMEL: ~/proyectos/holamundo] gcc -Wall -g gtk_holamundo.c`pkg-config --cflags gtk+-2.0` -o gtk_holamundo `pkg-config --libs gtk+-2.0` /scratchbox/compilers/host-gcc/bin/ld: skipping incompatible /usr/lib/libgtk-x11-2.0.so when searching for -lgtk-x11-2.0 /scratchbox/compilers/host-gcc/bin/ld: cannot find -lgtk-x11-2.0 collect2: ld returned 1 exit status [sbox-FREMANTLE_ARMEL: ~/proyectos/holamundo] Are you sure that you installed GTK+ for armel? What do you see in Scratchbox when you run ls -l /usr/lib/*gtk-x11*? If you have everything set up OK, you should see: /usr/lib/libgtk-x11-2.0.so /usr/lib/libgtk-x11-2.0.so.0 /usr/lib/libgtk-x11-2.0.so.0.1400.7 The minor versions might be different on the last line, depending on the exact version of the SDK you have. The first two are sym links to the third. If you don't see this, you have not installed the SDK correctly, and ld (the linker part of the compile process) can't find the library correctly. Cheers, Dave. -- maemo.org docsmaster Email: dne...@maemo.org Jabber: bo...@jabber.org This message was sent using IMP, the Internet Messaging Program. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: MySQL and N800
Hi, my current package development can now be found on http://gitorious.org/maemoized-packages/maemoized-packages I started nearly from scratch and dropped all perl dependencies. It should be possible to run mysqld without any perl script. Mysql upstream ships some perl based helper scripts which I didn't include in the new packages. Because I am not an expert in bash scripting nor in familiar in detail with init.d I could really need help with the post,pre installer scripts. That part is still missing compared to the original debian packages. regards Bjoern 2010/1/27 Bjoern Ricks bjoern.ri...@googlemail.com Hi, as I said before I didn't tested the packages carefully and therefore I didn't know the different perl packages on maemo sdk and the devices. The current package does depend on perl thus it is not possible to install mysql-server or mysql-client on the device. I really would like to remove the perl dependencies or reduce them to perl-base. But I am not a perl expert. Also I would like to use cdbs because imho it is easier to handle (and to change). Maybe it is possible to set up a public repo where we can work on mysql together. It would be really great if different people can maintain mysql for maemo. regards Bjoern 2010/1/26 Demetris demet...@ece.neu.edu So judging from what Jeremiah is saying below, the mysql binaries in these repository are functional? Some of them have dates from 2010 so they are very recent so I am assuming these are active ports. Unlike Bjoern, when I am able to install the common libraries but when I try to install the server it fails (on the N800) giving errors on files it cannot find. Any ideas? Bjoern can you share how you install the debian bins in your case? thanks Jeremiah Foster wrote: On Jan 26, 2010, at 7:46 AM, Bjoern Ricks wrote: Sorry didn't send my answer to the list. Hi, the last weeks I tried to get a new version of mysql to extras-devel ( http://repository.maemo.org/extras-devel/pool/fremantle/free/m/mysql-dfsg-5.0/). Therefore I updated the old version to the version from debian stable but I didn't tested the package carefully. At the moment the package has many disadvantages. The perl dependencies of that package are really bad, packages are to big for the N900 and mysql is installed in root dir. Now I am trying to get a new mysql version (latest of the 5.0 series) for maemo with a new package description build from scratch. Hopefully I can finish that work in the next weeks and upload a new package. Any help is appreciated ;-) What is the list of the perl dependencies? Maybe I can help you out there. Jeremiah kind gerards Bjoern 2010/1/26 Demetris demet...@ece.neu.edu mailto:demet...@ece.neu.edu Hi all, most likely I will use what Tony has ported for the N800. However, poking around the maemo repos I saw a few links to mysql server and client packages (.deb ). Does anyone know what these are and who the authors are? I tried installing them on a 5.2008 N800 but they do not install correctly: http://repository.maemo.org/extras-devel/pool/fremantle/free/m/mysql/ Thanks Demetris wrote: Hi Tony, thanks for the response - I have a feeling you may be right on this one so I will give it a shot and let you know how it works out. Either way thanks a bunch for the good help. Take care Tony Green wrote: On Friday 22 Jan 2010 17:10:47 Demetris wrote: Hi Tony, excellent and thanks for the good info. I am not sure what Java libraries I may need to port but I will give it a shot to see how it behaves. All I need is pretty much an elementary table to be accessed through a servlet I already wrote running under Java CDC on the N800. Is there a J connector available for this port I can use? You said you have been using this only for Perl-based apps so I am not sure if you ever tried any Java apps with it. Hi Demetris, I haven't tried any Java applications myself; it's a language I tried to learn many years ago and gave up because I found its OO nature too painful to use. My guess would be that it would just be a matter of picking up the necessary libraries from wherever they can be found (the MySQL website?) and putting them in the right place. If my understanding of Java is correct, then the bit-code is architecture-independent. Though my understanding may well be flawed... ___ maemo-developers mailing list maemo-developers@maemo.org mailto:maemo-developers@maemo.org
Re: Is mauku open source, i.e free or is in non-free?
Hi, I'll fill in my experience, similar to Riku's. On 01/28/2010 12:59 PM, Voipio Riku (Nokia-D/Helsinki) wrote: On 01/27/2010 05:04 PM, ext Dave Neary wrote: Hi, Riku Voipio wrote: Well, such misunderstandings are likely to be caused by the poor extras instructions. Which exact page should Henrik read to get enlightened? David King I are working on improving these. Having not gone through the process myself, I need help. Your questions are great, because they help me identify the questions I need to ask get answered. As someone who went through the whole undocumented experience of getting a package to extras, I can help in any questions. My experience is based on documentation in December 09, so very recent and I don't see much of a change in documentation since, so it applies pretty well to current situation. For the current best information on uploading to extras, there are: http://wiki.maemo.org/Uploading_to_extras and This document is generally ok, but the link to next step, extras-testing leaves developers lost. Document in generally OK, but what bothers me with most of the documentation is that they're more or less often outdated, filled with Diablo or Chinook related information. Same thing with Uploading to extras document. It should be primarily about the current process, and the old stuff should be moved to separate legacy documents. Its really tiresome to read lots of obsolete documentation just to find out they help you nowhere and you've wasted your precious time. http://wiki.maemo.org/Extras-testing Which is, in fact, a document for endusers and testers, not developers. True, and the link pointing to previous document uses a broken anchor, so you need to locate the information yourself. At this point the, developer faces a bunch of questions; 1) where did my package go after dput I think where package went it was documented well enough in Upload to extras documentation, but not where YOU should go to find it. 2) what exactly do I need to promote the package The promotion process is shortly described in the Uploading.. document. Finding your package from package interface for devel is a pain btw (why isn't there an alphabetical quicklinks, only 6 links to following pages without even showing total number of pages...) 3) how can I follow the whole process Obviously, if you find your package above you can see the process :) It took me some time to figure out that too. Eventually I found the http://maemo.org/packages/view/package/ link, and figured out that one needs to click on latest armel version while being logged in, to see the promote link. (Why are x86 packages shown in the first place here?) +1 for the question. After you have got this far, you get your first tester that tells you that you need to have bugtracker. Ofcourse, this was not documented on any of the previous steps, and conviniently not mentioned at extras-testing wikipage either. Google to help. Apparently one needs a XSBC-Bugtracker: field in debian/control and request a bugzilla section at bugs.maemo.org. True, thats a typical experience: first thing they say is you miss a bugtracker and friendly name (possibly an icon too!) and neither of those are mentioned in above pages either. Next, once one has managed to get the 10 votes, one is left wondering what happens. Apparently one will get a mail about promotion unlocked when you can finally push it to extras. This is covered in Extras testing document, with a big nice NOT FINAL FIXME reminder. Also the chapter content looks like guesswork as well. BTW, you need 10 karma, 10 days of quarantine (this is very easily forgotten and can be seen by people asking 'I got 25 votes and I see no promote buttons, omglolbbq!') and supposedly, 3 senior tester votes (I still don't know who or what is considered senior tester, or if this actually is correct information) Now people are asking me to add a screenshot. But I couldn't find out where or howto do that. Turns out the promoting to extras creates a: http://maemo.org/downloads/product/Maemo5/package/ page. But even after loggin in, there is no explanation howto add a screenshot... That little pesky, hovering toolbar is a real pain in the bottocks, but it turns out to be the thing to modify stuff in Midgard. Horrible implementation of such toolbar BTW. What is worrying, that this was a major struggle for me. And I actually know a lot about debian and maemo, how much more lost someone who just arrived to maemo would be? Yeah, I second this. It can definately scare people off, and to top that with permission required to upload stuff delays, (old) servers response time problems lately etc, it can easily scare people off. Also not having SSO is very annoying and search feature sucking is one major letdown as well, especially when you try finding documentation for these things. That turned out to be rather lengthy, thanks for
Re: connect through ssh or telnet to the Virtual Machine with Maemo SDK
I could try that, but, please, could you tell me how can I know then the ip ot the virtual machine in order to connect through ssh? Thanks, A. Cano Quoting ma...@bitblit.net: On Sat, 23 Jan 2010, ac...@dsic.upv.es wrote: I just installed the Machine with Maemo SDK and would like to be connect with my nomal linux istalation. Can someone tell me how can I connect through ssh or telnet to the Virtual Machine with Maemo SDK. I imagine you could probably install openssh server in the VM and connect to the IP? -- A This message was sent using IMP, the Internet Messaging Program. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: connect through ssh or telnet to the Virtual Machine with Maemo SDK
Hi, Am 28.01.2010 um 13:06 schrieb ac...@dsic.upv.es: I imagine you could probably install openssh server in the VM and connect to the IP? I could try that, but, please, could you tell me how can I know then the ip ot the virtual machine in order to connect through ssh? As I said, that might not be possible depending on the network configuration you chose in VirtualBox. If you're using NAT (the default), the virtual machine is not accessible from the outside - including the host. So either you follow the steps I provided in my previous mail to be able to ssh into your VM, or you choose a different mode of networking configuration. Cheers, Stephan ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to capture ALL key events, no focus/No-GUI
On Thu, 2010-01-28 at 10:53 +0100, ext Stefan Iwanowitsch wrote: Rémi Denis-Courmont schrieb: ... I want normal processing of keyboard events and just want to trigger actions upon certain key combinations/sequences. According to the documentation XGrabKeyboard() seems to prevent further processing in other applications and there is no easy way to re-enqueue key events I'm not interested in. So you want keyboard shortcuts? Like shift+ctrl+p and the like? Then you should use XGrabKey to grab that key combination only. See libmatchbox2 sources for code. Grabbing or monitoring the whole keyboard for a keyboard shortcut is not the right way... -Kimmo If you just want to see keyboard input, then you'd open the corresponding file(s) in /dev/input/. Can I read from /dev/input without interfering with other consumers? And do you happen to know, where I can find specs on the input device files? 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: Is mauku open source, i.e free or is in non-free?
Marius, I'm sorry if I'm not as good as others on this list and did not know that everyone here has already agreed what 'free' should mean in perpetuity for maemo developers, and for that matter, anyone that might decide to download something from specific repositories. Be sure to keep your attitude and encourage others to go develop iPhone or Android apps. If, on the other hand, there are ever any discussions about what really should go in which repositories, how testing should be handled for these repositories, and so on, it might make sense to re-evaluate the underlying assumptions. Aldon -Original Message- From: Marius Vollmer [mailto:marius.voll...@nokia.com] Sent: Thursday, January 28, 2010 2:24 AM To: ext Aldon Hynes Cc: maemo-developers@maemo.org Subject: Re: Is mauku open source, i.e free or is in non-free? ext Aldon Hynes aldon.hy...@orient-lodge.com writes: While there are some in the free software movement that hold to various definitions of what 'free' means as well as many different licenses that people argue about, to most people buying cellphones, those discussions are meaningless. In the context of this discussion, however, people know what they mean with free. You are not contributing by bringing up the age old confusion that others create about the term. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
RE: HOWTO: Query installed application
For Icons Check: /usr/share/icons/hicolor/scalable/hildon or /usr/share/icons/hicolor/48x48/hildon Also, when you do a dpkg -l you can find the files for the package in /var/lib/dpkg/info For each package, you can check the pkg.list file to see what files it has For applications on the desktop, I believe you should look for /usr/share/applications/hildon/... In that file you should find the name of the icon being used. Hope this helps. Aldon -Original Message- From: maemo-developers-boun...@maemo.org [mailto:maemo-developers-boun...@maemo.org]on Behalf Of Stefan Iwanowitsch Sent: Thursday, January 28, 2010 3:44 AM To: Jeremiah Foster Cc: maemo-developers@maemo.org Subject: Re: HOWTO: Query installed application Thanks for the answer. But I need to query the applications not from shell but out of an application... Jeremiah Foster schrieb: On Jan 28, 2010, at 9:34 AM, Stefan Iwanowitsch wrote: Hi everybody, how can I obtain information about the installed applications The command 'dpkg -l' will show you all installed packages on your device. and access their icons? Icons are kept in specific directories on the device, I'll look that up. Jeremiah -- ISED - Iwanowitsch Software Engineering Development Dipl.Inf. Stefan Iwanowitsch (Softwareentwicklung) Hohenzollerndamm 61 14199 Berlin Tel:+49/ 30/ 285 07 285 Fax:+49/ 30/ 285 07 287 Mobil: +49/ 170/ 501 95 12 Steuernummer 24/360/60546 PGP Fingerprint: 69DE D22A E3D4 71E7 4277 9C32 5C60 43BE 603D 0E59 ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Is mauku open source, i.e free or is in non-free?
I can't speak for Marius but I can say that in the (hardcore) Linux world Free has generally meant libre rather than gratis, except where specifically stated. I hope that the quotes and a parenthetical qualifier for that judging statement show that I am not implying anything good or bad about people who do or do not know the distinguishment. This can be viewed as such a common assumption that when we talk about free and non-free we mistakenly make the assumption that everyone knows which definition we are using. This might come up more frequently as Maemo grows from being mostly used by Linux geeks. Please reread Marius' email in that context. I do not think there is malice in his words. As for the value in switching from libre to gratis... Maemo was based on a desktop distribution called Debian which has a strong Free Software (libre) culture. This is where the tradition of free and non-free repos comes from. Personally I think switching from the repos meaning libre to gratis would add as much confusion as they do now because of Maemo's history. I'm not too sure what would be the point of a non-free (non-gratis) repository as I doubt maemo.org is going to open up an app store and be a means of for-profit distribution especially on Nokia's dime in competition to Ovi. Besides historical reasons in distinguishing free (libre) and non-free (non-libre), I would think it it would mostly matter to community members and mean zilch to end-users. I know there has been discussion of a different QA process for non-free (non-libre) due to its nature but I stopped following the QA process discussions and do not know what the resolution was. I would imagine it would make a big difference to Mer as it would represent packages that the community could auto-rebuild for other architectures or crowd-source if any porting effort was needed. I hope this helped in someway. Ed Page (epage) ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
RE: Is mauku open source, i.e free or is in non-free?
Ed, Marius, et al. I think your comment about Maemo grows from being mostly used by Linux geeks gets to my key concern. I can see arguments for repositories being either libre or gratis and I believe it is important to re-evaluate these arguments if there is any desire for Maemo to grow beyond being mostly used by Linux geeks. Personally, I hope that it does. I do not see any intended malice in Marius' email and I do not mean to pick on him. However, I am very concerned that much of the tone here may drive away mobile phone application developers that are not Linux evangelists. I think that would be unfortunate. I would like to see the N900 and its descendents as dominant devices in the smartphone market. To do so, we need to think about how we relate to all developers. Would it make sense for maemo.org to have non-gratis repositories? Personally, I think there is value to this. One of the complaints about Apple is the way they control their App Store. Unless you jailbreak your iPhone, you need to run apps from the App Store, which is a pain to get apps into and gives Apple complete control over what gets run on non-jailbroke phones. While Nokia would probably like to make a cut on every non-gratis app sold, they would probably be wise not to follow the Apple model and become a bottleneck. As such, a non-gratis repository on maemo.org would probably be a good thing. For that matter, given the open nature of maemo, I could easily see someone else setting up non-gratis repositories as their own app stores. This, I believe would be good for the N900 and related devices. As such, we then come back to the nature of QA. Apple uses the QA argument as the reason that they should be the only App Store for the iPhone. Personally, I would love to see different app stores for the N900, with different levels QA. Ovi Store would imply that it has passed a level of QA that Nokia deems appropriate. A non-gratis maemo.org repository would have different QA implications, and a third party app store would have yet another set of implications about QA. I do think your comments help. As I've been saying, I think it is very important to think about how the N900 and maemo exist in a broader mobile device ecosphere. I think the discussion about how we understand and QA mauku provides a great opportunity to look at the bigger picture. Aldon -Original Message- From: eop...@gmail.com [mailto:eop...@gmail.com]on Behalf Of Edward Page Sent: Thursday, January 28, 2010 10:31 AM To: Aldon Hynes Cc: maemo-developers@maemo.org Subject: Re: Is mauku open source, i.e free or is in non-free? I can't speak for Marius but I can say that in the (hardcore) Linux world Free has generally meant libre rather than gratis, except where specifically stated. I hope that the quotes and a parenthetical qualifier for that judging statement show that I am not implying anything good or bad about people who do or do not know the distinguishment. This can be viewed as such a common assumption that when we talk about free and non-free we mistakenly make the assumption that everyone knows which definition we are using. This might come up more frequently as Maemo grows from being mostly used by Linux geeks. Please reread Marius' email in that context. I do not think there is malice in his words. As for the value in switching from libre to gratis... Maemo was based on a desktop distribution called Debian which has a strong Free Software (libre) culture. This is where the tradition of free and non-free repos comes from. Personally I think switching from the repos meaning libre to gratis would add as much confusion as they do now because of Maemo's history. I'm not too sure what would be the point of a non-free (non-gratis) repository as I doubt maemo.org is going to open up an app store and be a means of for-profit distribution especially on Nokia's dime in competition to Ovi. Besides historical reasons in distinguishing free (libre) and non-free (non-libre), I would think it it would mostly matter to community members and mean zilch to end-users. I know there has been discussion of a different QA process for non-free (non-libre) due to its nature but I stopped following the QA process discussions and do not know what the resolution was. I would imagine it would make a big difference to Mer as it would represent packages that the community could auto-rebuild for other architectures or crowd-source if any porting effort was needed. I hope this helped in someway. Ed Page (epage) ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to capture ALL key events, no focus/No-GUI
I want normal processing of keyboard events and just want to trigger actions upon certain key combinations/sequences. According to the documentation XGrabKeyboard() seems to prevent further processing in other applications and there is no easy way to re-enqueue key events I'm not interested in. So you want keyboard shortcuts? Like shift+ctrl+p and the like? Then you should use XGrabKey to grab that key combination only. See libmatchbox2 sources for code. Grabbing or monitoring the whole keyboard for a keyboard shortcut is not the right way... -Kimmo Hi, I managed to issue a grab after some fussing around, but I see no reaction - shouldn't the grabbed keys be delivered to my application just as as if I had the focus? Or do I need something special to receive the grabbed keys? Thanks for your help! ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to capture ALL key events, no focus/No-GUI
Rémi Denis-Courmont schrieb: On Thursday 28 January 2010 11:53:13 ext Stefan Iwanowitsch, you wrote: If you just want to see keyboard input, then you'd open the corresponding file(s) in /dev/input/. Can I read from /dev/input without interfering with other consumers? It should work yes. And do you happen to know, where I can find specs on the input device files? /sys/class/input provides informations on each entries. The protocol is documented in Documentation/input/ in the kernel sources: | You can use blocking and nonblocking reads, also select() on the | /dev/input/eventX devices, and you'll always get a whole number of input | events on a read. Their layout is: | | struct input_event { | struct timeval time; | unsigned short type; | unsigned short code; | unsigned int value; | }; | | 'time' is the timestamp, it returns the time at which the event happened. | Type is for example EV_REL for relative moment, EV_KEY for a keypress or | release. More types are defined in include/linux/input.h. | | 'code' is event code, for example REL_X or KEY_BACKSPACE, again a complete | list is in include/linux/input.h. | | 'value' is the value the event carries. Either a relative change for | EV_REL, absolute new value for EV_ABS (joysticks ...), or 0 for EV_KEY for | release, 1 for keypress and 2 for autorepeat. I set up some testcode to check the /dev/input/* files but I didn't read a single byte from them. Does this work with scratchbox? Thanks for your help! ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
RE: Is mauku open source, i.e free or is in non-free?
to, 2010-01-28 kello 10:51 -0500, Aldon Hynes kirjoitti: [clip] I do not see any intended malice in Marius' email and I do not mean to pick on him. However, I am very concerned that much of the tone here may drive away mobile phone application developers that are not Linux evangelists. I think that would be unfortunate. I would like to see the N900 and its descendents as dominant devices in the smartphone market. To do so, we need to think about how we relate to all developers. The main question here is probably whether the 'free' and 'non-free' repositories (sub-repositories?) have the same service level: autobuilder and QA mainly. If they do, then I don't think there is an argument why Maemo couldn't apply the same policies as Debian or Fedora vs. free/non-free content. The developer should just pick the correct choice when submitting the app. Anyway, the main point seems to be controlling the license situation in the Maemo repository -- the licenses of the applications are not shown anywhere in the package metadata. For developers and some users this would be interesting information to have. Would it make sense for maemo.org to have non-gratis repositories? Personally, I think there is value to this. One of the complaints about Apple is the way they control their App Store. Unless you jailbreak your iPhone, you need to run apps from the App Store, which is a pain to get apps into and gives Apple complete control over what gets run on non-jailbroke phones. Non-gratis software requires that someone organizes the payment and content distribution channels. Nokia as a big company obviously is in a position to do so, but I'm not sure what maemo.org with its (if I understand correctly) mainly volunteer work force can do here. -- Pauli Virtanen ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
RE: Is mauku open source, i.e free or is in non-free?
Pauli: Establishing clear service levels for repositories and sub-repositories wrt autobuilder and QA : +1 Showing license information in package metadata: +1 As to handling payments for non-gratis software, there was a good discussion about adding Donate x$ recently. In the old days of PC Shareware, it was not uncommon for developers to distribute software that either asked for a donation, or required some sort of payment to become fully functional. These payment mechanisms were not dependent on the distribution mechanisms. Aldon -Original Message- From: maemo-developers-boun...@maemo.org [mailto:maemo-developers-boun...@maemo.org]on Behalf Of Pauli Virtanen Sent: Thursday, January 28, 2010 12:52 PM To: maemo-developers@maemo.org Subject: RE: Is mauku open source, i.e free or is in non-free? to, 2010-01-28 kello 10:51 -0500, Aldon Hynes kirjoitti: [clip] I do not see any intended malice in Marius' email and I do not mean to pick on him. However, I am very concerned that much of the tone here may drive away mobile phone application developers that are not Linux evangelists. I think that would be unfortunate. I would like to see the N900 and its descendents as dominant devices in the smartphone market. To do so, we need to think about how we relate to all developers. The main question here is probably whether the 'free' and 'non-free' repositories (sub-repositories?) have the same service level: autobuilder and QA mainly. If they do, then I don't think there is an argument why Maemo couldn't apply the same policies as Debian or Fedora vs. free/non-free content. The developer should just pick the correct choice when submitting the app. Anyway, the main point seems to be controlling the license situation in the Maemo repository -- the licenses of the applications are not shown anywhere in the package metadata. For developers and some users this would be interesting information to have. Would it make sense for maemo.org to have non-gratis repositories? Personally, I think there is value to this. One of the complaints about Apple is the way they control their App Store. Unless you jailbreak your iPhone, you need to run apps from the App Store, which is a pain to get apps into and gives Apple complete control over what gets run on non-jailbroke phones. Non-gratis software requires that someone organizes the payment and content distribution channels. Nokia as a big company obviously is in a position to do so, but I'm not sure what maemo.org with its (if I understand correctly) mainly volunteer work force can do here. -- Pauli Virtanen ___ 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: Is mauku open source, i.e free or is in non-free?
On Thu, 2010-01-28 at 15:25 -0300, Eduardo Lima (Etrunko) wrote: For non-gratis or paid applications, the right channel in my point of view would be the Ovi store. the problem there is that as a prerequisite to uploading to OVI, you need to establish some kind of legal entity. Maybe not an actual company, but something similar, which in the US at least required a non-trivial financial investment and had tax implications. This made iFart style apps not likely to make it to Ovi as it would cost the developer more money to upload to ovi then they would ever get back from selling their app. Nokia promised to review the situation, but did not promise to actually change the requirement. See http://talk.maemo.org/showthread.php?t=34783 and http://talk.maemo.org/showthread.php?t=34661 for full details. It also might have been discussed on this list. Joseph Charpak jchar...@worldnet.att.net ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Upload to fremantle-extras-builder broken?
On Wed, Jan 20, 2010 at 3:00 PM, Niels Breet ni...@maemo.org wrote: This changed. It should be drop.maemo.org. If you replace garage.maemo.org with drop.maemo.org, everything should work fine. Not sure if this has already been reported, but I see this (apparently harmless) error when using dput: sh: /tmp/xxx: Permission denied Seems to come from some script on the server side. Regards, -- Anderson Lizardo OpenBossa Labs - INdT Manaus - Brazil ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: MySQL and N800
Hey Tony, from your experience, where do you think I can drop the java libs (if I can find them) in your port to be able to use them for java client connectivity? Just in case you may have a clue .. ;) Thanks Tony Green wrote: On Friday 22 Jan 2010 17:10:47 Demetris wrote: Hi Tony, excellent and thanks for the good info. I am not sure what Java libraries I may need to port but I will give it a shot to see how it behaves. All I need is pretty much an elementary table to be accessed through a servlet I already wrote running under Java CDC on the N800. Is there a J connector available for this port I can use? You said you have been using this only for Perl-based apps so I am not sure if you ever tried any Java apps with it. Hi Demetris, I haven't tried any Java applications myself; it's a language I tried to learn many years ago and gave up because I found its OO nature too painful to use. My guess would be that it would just be a matter of picking up the necessary libraries from wherever they can be found (the MySQL website?) and putting them in the right place. If my understanding of Java is correct, then the bit-code is architecture-independent. Though my understanding may well be flawed... ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Porting guicde for Maemo 5?
Is there a porting guide for Maemo 5 yet? -- Aj. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: What is status of Diablo promoter
On Wed, 2010-01-27 at 09:34 +0100, Niels Breet wrote: On Wed, January 27, 2010 01:51, Bruce Forsberg wrote: Anyone know the status of the Diablo Promoter. Not existing anymore since the server move. The old version could not work in the new infrastructure setup. Work has begun to setup a promoter using the packages interface. I hope to have more news on that at the end of this day. What's the status of that and will this promoter also work for Chinook? Cheers, Conny ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Is mauku open source, i.e free or is in non-free?
On 26/01/2010 21:13, Graham Cobb wrote: As a member of the Council I would say that we need to somewhere make it clear that by uploading a source package to maemo.org, you are giving maemo.org a licence to redistribute that source and the binaries built from it (and that you assert you have the right to give such a licence). Shall we add that to http://wiki.maemo.org/Extras? What if people upload stuff don't have the right to give maemo.org that licence? If they aren't the copyright holder, there's no way they can give that right if it's not already allowed. Cheers, -- Yves-Alexis signature.asc Description: OpenPGP digital signature ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers