IRC log of #maemo-devel for Sunday, 2010-02-28

*** Aranel has joined #maemo-devel00:57
*** Aranel has quit IRC00:57
*** Aranel has joined #maemo-devel00:57
*** Ukytreats has joined #maemo-devel01:00
*** jebba has quit IRC01:12
*** jebba has joined #maemo-devel01:12
*** jebba has quit IRC01:12
DocScrutinizerwrong01:20
*** Acedip has joined #maemo-devel01:22
DocScrutinizerthe orthodox way to do this is to have a daemon or service or whatever you like to call it. This service is started during init, as a child of init, and you have several means (socks, dbus...) to implement communication from a restricted perms userland process to that service01:24
DocScrutinizerbtw dbus e.g. is such a service in itself01:24
*** lbt has quit IRC01:29
*** lbt has joined #maemo-devel01:37
*** jebba has joined #maemo-devel01:46
*** Acedip has quit IRC02:08
*** jebba has quit IRC02:16
villagerDocScrutinizer: that's not what the application manager does, though... it uses sudo.02:22
villagerthe device has a sudo framework for doing all kind of tasks as root at will02:23
DocScrutinizerit has suid as well02:24
villagerthe rootsh gainroot works by installing a hook into that framework02:24
villagerhmm, /usr/bin/hildon-application-manager doesn't seem to have the suid bit set on my device at least02:26
DocScrutinizerno it doesn't - I checked that02:26
villagerso pretty sure it's using the sudoers stuff that's part of the package02:27
draglyhello - does anyone know how to start the browser from command line on the N900?02:27
DocScrutinizeranyway suid and service are the only two generic ways to implement kernel domain functions for userland processes - no matter if that's called sudo, dbus or whatever you name the interfacing glue02:27
draglywith an url that is :)02:27
DocScrutinizeraiui02:27
DocScrutinizerdragly: check wiki/user:jebba#dbus02:28
draglyI know about "browser --url ..." but that does not open the page in a browser which is already open02:28
*** t-tan has quit IRC02:28
draglyDocScrutinizer: thanks! I'll look at it :)02:29
*** lbt has quit IRC02:30
*** lbt has joined #maemo-devel02:31
villagerDocScrutinizer: good thing about sudo is that you don't need any daemons or sockets, or other advanced ipc... you just start another command-line program, and give it some command-line arguments if you need to, and maybe wait for it to terminate02:32
villagersudo is just a suid wrapper with access control, though02:33
villagerprobably they use it instead of setting suid bits directly on binaries for some kind of security02:34
DocScrutinizerexactly :-D02:34
villagerDocScrutinizer: but you were talking above about the orthodox way being a service started by init, and using ipc to communicate with it... you didn't even mention suid processes... which is why I said that the application manager doesn't do that (daemon stuff)02:36
DocScrutinizeryeah, my fault02:37
draglyDocScrutinizer: The dbus function worked flawlessly, but it now opens in a window which already was open. Do you know where I can find alternative functions to load_url?02:43
DocScrutinizersorry, but nope.02:44
DocScrutinizeryou might want to do a little investigation by using mdbus202:44
draglyDocScrutinizer: no worries :) You've pointed me in the right direction already. I think I'll search the web for some documentation.02:45
DocScrutinizeryou might be able to tell from method names listed on introspection02:45
draglyintrospection?02:48
SpeedEvildbus provides a way to ask each node what methods or messages it supports02:48
draglyah02:49
SpeedEvilthis is called introspection02:49
draglyI see. I think I found a document about it now, but all I got back when I tried was an empty document02:50
draglywith <node></node>02:51
*** pH5 has quit IRC02:57
villagerI think I've noticed that a lot of the nokia stuff don't like to be introspected... I saw that on something else though, haven't messed with the browser much03:00
draglyokay - I guess that explains03:04
draglyI think I found it however. I believe it is com.nokia.osso_browser.open_new_window that needs to be called :)03:05
*** rsalveti has joined #maemo-devel03:33
draglythanks for the help guys :)04:01
*** lbt has quit IRC05:31
*** rsalveti_ has joined #maemo-devel05:55
*** rsalveti has quit IRC05:58
*** krum_ has quit IRC06:27
*** Acedip has joined #maemo-devel06:42
*** jebba has joined #maemo-devel07:21
*** DocScrutinizer51 has quit IRC07:34
*** DocScrutinizer has quit IRC07:34
*** Docscrutemp has joined #maemo-devel07:34
*** Docscrutemp is now known as DocScrutinizer5107:34
*** DocScrutinizer has joined #maemo-devel07:34
*** fregl has quit IRC07:40
*** fregl has joined #maemo-devel07:41
*** Ukytreats has left #maemo-devel08:42
*** Midday has joined #maemo-devel09:34
Middayis anybody here?09:37
jebbay09:40
Middaygreate :) может русский кто знает?09:42
*** Midday has quit IRC09:50
*** swc|666 has quit IRC10:12
*** lbt has joined #maemo-devel11:18
*** Acedip has quit IRC11:36
*** Acedip has joined #maemo-devel11:53
*** Acedip has left #maemo-devel11:55
*** lbt has quit IRC12:16
*** lbt has joined #maemo-devel12:17
*** JPohlmann has joined #maemo-devel12:45
*** t-tan has joined #maemo-devel13:25
*** fregl has quit IRC13:57
*** fregl has joined #maemo-devel13:57
*** fregl has joined #maemo-devel13:57
*** BabelO has joined #maemo-devel14:11
*** BabelO has joined #maemo-devel14:11
villagerwho has experience compiling kernel modules for fremantle?15:26
villagerI'd like the bc_cat module (or similar) apparently needed to use the GL_IMG_texture_stream2 extension... perhaps someone else already built it though15:27
*** slonopotamus has joined #maemo-devel15:43
slonopotamushow i put gtk vbox into finger-scrollable thing?15:44
slonopotamusHildonPannableArea - that?15:45
lcukslonopotamus, you just create it and pack it in?15:54
slonopotamuslcuk, i didn't know about HildonPannableArea when asked initially15:55
* lcuk nods15:58
slonopotamusheck, why hildon makes gtk widgets so huge? :( i have to add pannable  areas here and there to app i'm porting16:28
villagerbecause the screen is small, some people have poor vision, and huge fingers16:30
slonopotamusgtk button with two-line label is too huge16:31
villagereasier to hit with the thumb then I guess16:32
villagerit's possible to override in your app if you really want16:32
*** JPohlmann has quit IRC16:44
*** JPohlmann has joined #maemo-devel16:46
*** fregl has quit IRC16:50
*** fregl has joined #maemo-devel16:53
*** fregl has quit IRC16:53
*** fregl has joined #maemo-devel16:53
villagerhmm, guess I'll ask about the kernel module on the mailing list17:13
*** JPohlmann has quit IRC17:17
*** kodomo_ has quit IRC17:47
*** kodomo has joined #maemo-devel17:51
*** ph1l has joined #maemo-devel17:53
*** joejoe has joined #maemo-devel17:55
*** joejoe has quit IRC17:55
*** V13 has joined #maemo-devel18:37
V13ehlo... how can i force the icon of a newly installed app to appear?18:37
V13since the icon cache update no longer works, how is this done?18:38
fragmentreboot :P18:38
V13not working18:38
fragmentoh18:38
V13i mean... it doesn't refresh18:38
*** slonopotamus has quit IRC18:38
V13or i'm doing something wrong.. i'm testing this in the sdk18:38
V13but once i tested it in n900 and it also didn't refresh18:39
fragmentyou have the png in the correct place and .desktop file has the proper icon name?18:39
V13hm...18:39
V13no :)18:39
V13but it doesn't show in the app-manager as well18:39
V13it shows as blank18:40
V13(i've the XB-Maemo-Icon-26:)18:40
fragment48x48 png?18:40
V13base6418:40
V13yes18:40
fragmentblank as in empty or the default blue icon?18:41
V13empty18:41
V13pehaps it's my sdk... it has some color problems (blue becomes read and vice-versa)18:41
V13read==red18:41
V13let me trying installing the icon correctly and report back :)18:41
V13the icon showed ok after installing it and restarting the sdk18:43
V13app-manager still shows crap...18:43
V13i mean... black18:43
V13(typo)18:43
V13perhaps i'm doing something wrong.. i'll regenerate that18:44
*** ph1l has quit IRC18:47
V13ok.. my bad... (a) it had depth 16-bit and (b) it is 37x48 instead of 48x4818:49
V13thanks!18:49
*** slonopotamus has joined #maemo-devel18:53
*** fgs_ has joined #maemo-devel18:57
*** ph1l has joined #maemo-devel19:06
*** t7g__ has joined #maemo-devel19:15
*** t7g_ has quit IRC19:19
*** fgs_ has quit IRC19:25
*** ph1l has quit IRC19:40
*** ph1l has joined #maemo-devel19:52
*** slonopotamus has quit IRC19:54
*** niekt0 has quit IRC20:01
*** ph1l has quit IRC20:02
*** joejoe has joined #maemo-devel20:04
*** sleipnir has joined #maemo-devel20:24
*** swc|666 has joined #maemo-devel20:45
*** joejoe has quit IRC20:45
*** niekt0 has joined #maemo-devel21:00
*** Ian-- has quit IRC21:32
*** Ian-- has joined #maemo-devel21:36
*** DocScrutinizer51 has quit IRC23:21
*** Docscrutemp has joined #maemo-devel23:21
*** Docscrutemp is now known as DocScrutinizer5123:21
*** DocScrutinizer51 has quit IRC23:31
*** Docscrutemp has joined #maemo-devel23:31
*** Docscrutemp is now known as DocScrutinizer5123:31
*** ph1l has joined #maemo-devel23:56
*** ph1l has quit IRC23:57

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!