*** Aranel has joined #maemo-devel | 00:57 | |
*** Aranel has quit IRC | 00:57 | |
*** Aranel has joined #maemo-devel | 00:57 | |
*** Ukytreats has joined #maemo-devel | 01:00 | |
*** jebba has quit IRC | 01:12 | |
*** jebba has joined #maemo-devel | 01:12 | |
*** jebba has quit IRC | 01:12 | |
DocScrutinizer | wrong | 01:20 |
---|---|---|
*** Acedip has joined #maemo-devel | 01:22 | |
DocScrutinizer | the 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 service | 01:24 |
DocScrutinizer | btw dbus e.g. is such a service in itself | 01:24 |
*** lbt has quit IRC | 01:29 | |
*** lbt has joined #maemo-devel | 01:37 | |
*** jebba has joined #maemo-devel | 01:46 | |
*** Acedip has quit IRC | 02:08 | |
*** jebba has quit IRC | 02:16 | |
villager | DocScrutinizer: that's not what the application manager does, though... it uses sudo. | 02:22 |
villager | the device has a sudo framework for doing all kind of tasks as root at will | 02:23 |
DocScrutinizer | it has suid as well | 02:24 |
villager | the rootsh gainroot works by installing a hook into that framework | 02:24 |
villager | hmm, /usr/bin/hildon-application-manager doesn't seem to have the suid bit set on my device at least | 02:26 |
DocScrutinizer | no it doesn't - I checked that | 02:26 |
villager | so pretty sure it's using the sudoers stuff that's part of the package | 02:27 |
dragly | hello - does anyone know how to start the browser from command line on the N900? | 02:27 |
DocScrutinizer | anyway 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 glue | 02:27 |
dragly | with an url that is :) | 02:27 |
DocScrutinizer | aiui | 02:27 |
DocScrutinizer | dragly: check wiki/user:jebba#dbus | 02:28 |
dragly | I know about "browser --url ..." but that does not open the page in a browser which is already open | 02:28 |
*** t-tan has quit IRC | 02:28 | |
dragly | DocScrutinizer: thanks! I'll look at it :) | 02:29 |
*** lbt has quit IRC | 02:30 | |
*** lbt has joined #maemo-devel | 02:31 | |
villager | DocScrutinizer: 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 terminate | 02:32 |
villager | sudo is just a suid wrapper with access control, though | 02:33 |
villager | probably they use it instead of setting suid bits directly on binaries for some kind of security | 02:34 |
DocScrutinizer | exactly :-D | 02:34 |
villager | DocScrutinizer: 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 |
DocScrutinizer | yeah, my fault | 02:37 |
dragly | DocScrutinizer: 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 |
DocScrutinizer | sorry, but nope. | 02:44 |
DocScrutinizer | you might want to do a little investigation by using mdbus2 | 02:44 |
dragly | DocScrutinizer: no worries :) You've pointed me in the right direction already. I think I'll search the web for some documentation. | 02:45 |
DocScrutinizer | you might be able to tell from method names listed on introspection | 02:45 |
dragly | introspection? | 02:48 |
SpeedEvil | dbus provides a way to ask each node what methods or messages it supports | 02:48 |
dragly | ah | 02:49 |
SpeedEvil | this is called introspection | 02:49 |
dragly | I see. I think I found a document about it now, but all I got back when I tried was an empty document | 02:50 |
dragly | with <node></node> | 02:51 |
*** pH5 has quit IRC | 02:57 | |
villager | I 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 much | 03:00 |
dragly | okay - I guess that explains | 03:04 |
dragly | I 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-devel | 03:33 | |
dragly | thanks for the help guys :) | 04:01 |
*** lbt has quit IRC | 05:31 | |
*** rsalveti_ has joined #maemo-devel | 05:55 | |
*** rsalveti has quit IRC | 05:58 | |
*** krum_ has quit IRC | 06:27 | |
*** Acedip has joined #maemo-devel | 06:42 | |
*** jebba has joined #maemo-devel | 07:21 | |
*** DocScrutinizer51 has quit IRC | 07:34 | |
*** DocScrutinizer has quit IRC | 07:34 | |
*** Docscrutemp has joined #maemo-devel | 07:34 | |
*** Docscrutemp is now known as DocScrutinizer51 | 07:34 | |
*** DocScrutinizer has joined #maemo-devel | 07:34 | |
*** fregl has quit IRC | 07:40 | |
*** fregl has joined #maemo-devel | 07:41 | |
*** Ukytreats has left #maemo-devel | 08:42 | |
*** Midday has joined #maemo-devel | 09:34 | |
Midday | is anybody here? | 09:37 |
jebba | y | 09:40 |
Midday | greate :) может русский кто знает? | 09:42 |
*** Midday has quit IRC | 09:50 | |
*** swc|666 has quit IRC | 10:12 | |
*** lbt has joined #maemo-devel | 11:18 | |
*** Acedip has quit IRC | 11:36 | |
*** Acedip has joined #maemo-devel | 11:53 | |
*** Acedip has left #maemo-devel | 11:55 | |
*** lbt has quit IRC | 12:16 | |
*** lbt has joined #maemo-devel | 12:17 | |
*** JPohlmann has joined #maemo-devel | 12:45 | |
*** t-tan has joined #maemo-devel | 13:25 | |
*** fregl has quit IRC | 13:57 | |
*** fregl has joined #maemo-devel | 13:57 | |
*** fregl has joined #maemo-devel | 13:57 | |
*** BabelO has joined #maemo-devel | 14:11 | |
*** BabelO has joined #maemo-devel | 14:11 | |
villager | who has experience compiling kernel modules for fremantle? | 15:26 |
villager | I'd like the bc_cat module (or similar) apparently needed to use the GL_IMG_texture_stream2 extension... perhaps someone else already built it though | 15:27 |
*** slonopotamus has joined #maemo-devel | 15:43 | |
slonopotamus | how i put gtk vbox into finger-scrollable thing? | 15:44 |
slonopotamus | HildonPannableArea - that? | 15:45 |
lcuk | slonopotamus, you just create it and pack it in? | 15:54 |
slonopotamus | lcuk, i didn't know about HildonPannableArea when asked initially | 15:55 |
* lcuk nods | 15:58 | |
slonopotamus | heck, why hildon makes gtk widgets so huge? :( i have to add pannable areas here and there to app i'm porting | 16:28 |
villager | because the screen is small, some people have poor vision, and huge fingers | 16:30 |
slonopotamus | gtk button with two-line label is too huge | 16:31 |
villager | easier to hit with the thumb then I guess | 16:32 |
villager | it's possible to override in your app if you really want | 16:32 |
*** JPohlmann has quit IRC | 16:44 | |
*** JPohlmann has joined #maemo-devel | 16:46 | |
*** fregl has quit IRC | 16:50 | |
*** fregl has joined #maemo-devel | 16:53 | |
*** fregl has quit IRC | 16:53 | |
*** fregl has joined #maemo-devel | 16:53 | |
villager | hmm, guess I'll ask about the kernel module on the mailing list | 17:13 |
*** JPohlmann has quit IRC | 17:17 | |
*** kodomo_ has quit IRC | 17:47 | |
*** kodomo has joined #maemo-devel | 17:51 | |
*** ph1l has joined #maemo-devel | 17:53 | |
*** joejoe has joined #maemo-devel | 17:55 | |
*** joejoe has quit IRC | 17:55 | |
*** V13 has joined #maemo-devel | 18:37 | |
V13 | ehlo... how can i force the icon of a newly installed app to appear? | 18:37 |
V13 | since the icon cache update no longer works, how is this done? | 18:38 |
fragment | reboot :P | 18:38 |
V13 | not working | 18:38 |
fragment | oh | 18:38 |
V13 | i mean... it doesn't refresh | 18:38 |
*** slonopotamus has quit IRC | 18:38 | |
V13 | or i'm doing something wrong.. i'm testing this in the sdk | 18:38 |
V13 | but once i tested it in n900 and it also didn't refresh | 18:39 |
fragment | you have the png in the correct place and .desktop file has the proper icon name? | 18:39 |
V13 | hm... | 18:39 |
V13 | no :) | 18:39 |
V13 | but it doesn't show in the app-manager as well | 18:39 |
V13 | it shows as blank | 18:40 |
V13 | (i've the XB-Maemo-Icon-26:) | 18:40 |
fragment | 48x48 png? | 18:40 |
V13 | base64 | 18:40 |
V13 | yes | 18:40 |
fragment | blank as in empty or the default blue icon? | 18:41 |
V13 | empty | 18:41 |
V13 | pehaps it's my sdk... it has some color problems (blue becomes read and vice-versa) | 18:41 |
V13 | read==red | 18:41 |
V13 | let me trying installing the icon correctly and report back :) | 18:41 |
V13 | the icon showed ok after installing it and restarting the sdk | 18:43 |
V13 | app-manager still shows crap... | 18:43 |
V13 | i mean... black | 18:43 |
V13 | (typo) | 18:43 |
V13 | perhaps i'm doing something wrong.. i'll regenerate that | 18:44 |
*** ph1l has quit IRC | 18:47 | |
V13 | ok.. my bad... (a) it had depth 16-bit and (b) it is 37x48 instead of 48x48 | 18:49 |
V13 | thanks! | 18:49 |
*** slonopotamus has joined #maemo-devel | 18:53 | |
*** fgs_ has joined #maemo-devel | 18:57 | |
*** ph1l has joined #maemo-devel | 19:06 | |
*** t7g__ has joined #maemo-devel | 19:15 | |
*** t7g_ has quit IRC | 19:19 | |
*** fgs_ has quit IRC | 19:25 | |
*** ph1l has quit IRC | 19:40 | |
*** ph1l has joined #maemo-devel | 19:52 | |
*** slonopotamus has quit IRC | 19:54 | |
*** niekt0 has quit IRC | 20:01 | |
*** ph1l has quit IRC | 20:02 | |
*** joejoe has joined #maemo-devel | 20:04 | |
*** sleipnir has joined #maemo-devel | 20:24 | |
*** swc|666 has joined #maemo-devel | 20:45 | |
*** joejoe has quit IRC | 20:45 | |
*** niekt0 has joined #maemo-devel | 21:00 | |
*** Ian-- has quit IRC | 21:32 | |
*** Ian-- has joined #maemo-devel | 21:36 | |
*** DocScrutinizer51 has quit IRC | 23:21 | |
*** Docscrutemp has joined #maemo-devel | 23:21 | |
*** Docscrutemp is now known as DocScrutinizer51 | 23:21 | |
*** DocScrutinizer51 has quit IRC | 23:31 | |
*** Docscrutemp has joined #maemo-devel | 23:31 | |
*** Docscrutemp is now known as DocScrutinizer51 | 23:31 | |
*** ph1l has joined #maemo-devel | 23:56 | |
*** ph1l has quit IRC | 23:57 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!