On Sat, Nov 29, 2008 at 6:35 PM, Dave Andreoli <[EMAIL PROTECTED]> wrote:
>
> ----- "Fedor Gusev" <[EMAIL PROTECTED]> ha scritto:
>
>> On Sat, Nov 29, 2008 at 07:55:37PM +0100, Dave Andreoli wrote:
>> > Ok I have made a .desktop file for the EFM, here's a first draft:
>> >
>> > [Desktop Entry]
>> > Type=Application
>> > Encoding=UTF-8
>> > Exec=enlightenment_remote -exec-action "fileman" "~"
>> > Icon=
>> > Name=Enlightenment FM
>> > GenericName=File Manager
>> > Comment=The E17 Internal File Manager
>> > StartupNotify=false
>> > Terminal=false
>> > Categories=Enlightenment;Utility;FileManager;
>> >
>> >
>> > The only problem I have is with the second param to -exec-action.
>> > The line shoud be:
>> > Exec=enlightenment_remote -exec-action "fileman" %F
>> >
>> > but if you don't specify a file the filemanager won't start couse
>> > the action need 2 params. Can we make an action with a 'default'
>> > params?
>>
>> This is a bit hackish, but try this
>> Exec=enlightenment_remote -exec-action "fileman" %F "~"
>
> Yes, hackish but works, if you don't provide a dir to open (%F) it
> open your home.
>
>>
>> I'm not sure about what you're trying to achieve here though..
>
> I'm just trying to write the .desktop for the FM
> I think that E should install this file by default to make the fm
> more integrated with the system... you can place a FM icon on your
> bar, you  can place the fm in the preferite menu, you can open it
> on startup and so on...

Dave, I'll write "efm" binary that uses e_ipc directly to call that
action. If in future we change we can keep using the same binary.

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: [EMAIL PROTECTED]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to