On Sat, 29 Nov 2008 00:19:16 -0200 "Gustavo Sverzut Barbieri" <[EMAIL PROTECTED]> babbled:
> On Fri, Nov 28, 2008 at 9:03 PM, Dave Andreoli <[EMAIL PROTECTED]> wrote: > > > > ----- "Gustavo Sverzut Barbieri" <[EMAIL PROTECTED]> ha scritto: > > > >> On Fri, Nov 28, 2008 at 5:11 PM, Dave Andreoli > >> <[EMAIL PROTECTED]> wrote: > >> >> 14. Another request remembered by an user at #e: auto-mount and a > >> way > >> >> to force mount and unmount of devices. It is annoying to keep an > >> efm > >> >> window open just to be able to use the device with other apps. > >> Using > >> >> the advice name instead of a code/number as mount dir would be > >> good > >> >> as > >> >> well, just see pmount-hal. > >> >> > >> > > >> > This is exacly what the places module do..plus some more :) > >> > Please have a look at it > >> (http://code.google.com/p/e17mods/wiki/Places) > >> > In my opinion we can remove some hal code from efm and use more the > >> places > >> > module (maybe use it by default). This mainly for reducing efm > >> complexity. > >> > >> Why don't you add "places" module in E's SVN? I dislike having to > >> search for modules over the net... and I really forgot about places > >> (actually could be named volumes, dunno?). > > > > 'couse I don't know witch filemanager to launch on click, for now places > > use thunar ... I have made some try to find an E-way to share mime default > > but without success for now ;) > > So, i'm waiting for a efm desktop to run :) > > Well, I said how you could launch EFM from command line, BUT for > places you can use e_fwin directly since it is in the same binary OR > you could inject the "fileman" action directly. Calling e_fwin > directly have the problem that is one module knowing about the other > module, we can write a simple registry to easy such things. > > With Guarana we have the module manager that unlike E, is based on an > external association of key=(file, symbol). We write key and > association in an EET file and we request for symbols matching that > key, files are automatically loaded if not already. These keys can > represent "interfaces" or "implementations" of some functionality. > Anyway, since E has already this module init functions that > register stuff, we could register a filemanager symbol there. e's > fileman would just call e_fwin_new(), but one can write one that exec > some external application like thunar. you can call the action like this from any code: E_Action *a = e_action_find("fileman"); if ((a) && (a->func.go)) a->func.go(NULL, NULL); anything that advertises an action can do this. its in principle not much different to a more complex eet file set with symbols and basically runtime dlsym() on abstracted objects. :) there is also e_msg.c - it's a generic messaging interface that sends named (string) messages with a few basic parameters able to be sent with it. anyone can set up a handler for one. so all the nuts and bolts are there. > > and a centralized way to store info (default fm, default term etc..) to > > read from. I have also done a module to set your default applications, but > > don't know how to share this information :( > > as mekius said, it's a global in e_config I guess. yup. just the only one accessing it is e. you'd need to patch any fm to share the same stuff as there is no universal location for this currently that everyone already uses. > > Hey! this spot out a new todo item: > > * efm should read and write preferred applications in a 'standard way', > > note that standard don't stand for fredesktop, they don't have a spec for > > defapp atm. > > > > Dave > > > > p.s. the same problem is also blocking the trash module to go in svn > > Hacking them inside E SVN, I'm not even talking about E package, it > could be in extra modules, would let more people look at it... or at > least know it is being development > > -- > Gustavo Sverzut Barbieri > http://profusion.mobi embedded systems > -------------------------------------- > MSN: [EMAIL PROTECTED] > Skype: gsbarbieri > Mobile: +55 (19) 9225-2202 > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [EMAIL PROTECTED] ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel