Στις 06/03/2014 02:26 πμ, ο/η ibid...@gmail.com έγραψε:
> Hello,
> I've been working on desktop2dt some more, and have a version that 
> works much better.
> It can handle icons in subdirectories, installing files (to $DESTDIR/etc/dt
> or ~/.dt), and terminal applications.
>
> There are still some missing features:
> -line-wrapped entries 
> -adding entries to the app manager
> -file types and associations
>  Unless we use libmagic, this will be a real pain.
> -multiple locales ( for example, Comment[de]= could make an entry in the
>  right locale).
>  
> Currently, it's hard-coded to output action databases in the C locale.
>
>
> Usage is similar to the last version, except -i installs everything:
> desktop2dt -i /usr/share/applications/nedit.desktop \
>  /usr/share/applications/xephem.desktop
> touch ~/.dt/appmanager/Desktop_Apps/nedit
> touch ~/.dt/appmanager/Desktop_Apps/xephem
> chmod +x ~/.dt/appmanager/Desktop_Apps/nedit
> chmod +x ~/.dt/appmanager/Desktop_Apps/xephem
>
>  and then go to Desktop_Tools > Reload Applications
>
>  If you can test it, that will be a great help.  I've tried to stick to POSIX,
> but I only tested on Squeeze.
>
> Thanks,
> Isaac Dunham
>


Hi Isaac,

I tested your script. It does work and creates the icons and the type
file. Nice.

One change I think it needs is to change the %u argument to %Arg_1%
The latter allows to drag and drop. Dropping a file on the created
action opens the file
in the program the action launches.

If I may make a suggestion, I thing it would be nice if your script
reads the Categories= string
and place the action it creates in its category. Firefox goes to
Network, Gimp to Graphics etc.
Of course this assumes that the script creates these categories. I have
created such categories manually
in my desktop_approots.tgz file found in
http://myria.math.aegean.gr/~atsol/newpage-en/software/cde/
<http://myria.math.aegean.gr/%7Eatsol/newpage-en/software/cde/>

Moreover notice that the Advanced User & Administration Guide suggests
installation
outside /etc/dt/ and suggests to create links in there running
dtappintegrate.
dtappintegrate did not work for me so I created simple scripts in the
above file to
be run and create the links in /etc/dt/

Antonis.






------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to