On Tue, Mar 11, 2014 at 08:56:23AM +0200, Antonis Tsolomitis wrote:
> ???????? 10/03/2014 05:52 ????, ??/?? Isaac Dunham ????????????:
> > On Mon, Mar 10, 2014 at 08:25:57AM +0200, Antonis Tsolomitis wrote:
> >> ???????? 10/03/2014 12:28 ????, ??/?? ibid...@gmail.com ????????????:
> >>> iceweasel.desktop:Categories=Network;WebBrowser; 
> >>> ida.desktop:Categories=Motif;Graphics;Viewer 
> >> You may choose (or the CDE developers may choose) to have predefined
> >> categories
> >> and look for them in the Category field. And whatever does not fall in
> >> these predefined categories
> >> will go to "Other" (of course we should not care for the Qt or GTK
> >> category, etc).
> >>
> >> I think it is minimal for a modern system to have categories such as
> >>
> >> Network/Internet, Office, Graphics, Media, System, Development, Games,
> >> Education, Accessories.
> >>
> >> Right now I see that CDE has 4 Categories: Desktop_Apps, Desktop_Tools,
> >> System_Admin, and Information.
> >>
> > I note that the categories have somewhat of a natural map:
> > System -> System_Admin
> >
> > Network|Office|Graphics|Games -> Desktop_Apps
> >
> > Accessories|Utilities -> Desktop_Tools
> 
> I think it is wrong to do this. In the old days people hardly had a few
> applications. Today we have so many available applications.
> If you put everything in the standard folders we will have cluttered
> directories and the user will be looking for their apps for time.
> I think this would be annoying. Even in subdirectories it would be
> annoying as it slows down the use of the application manager.
> 
> I believe that the Application Manager should have a similar look with a
> modern menu. This is the best from the usability point of view.

OK, thanks for the response.
I'll have a version that can do this shortly. A script I've used for testing 
is attached.
(I've also made a couple smallish changes in desktop2dt, including %[uUfF].)

> > My goal is not to have a script out there but to provide a tool
> > that will be included with CDE; there's a similar tool for migrating
> > from VUE to CDE included in the tree.
> >
> > I get the impression that it would be possible to include applications
> > in subdirectories, which *might* be a better approach.
> > But I'm afraid I haven't looked at the documentation on how to add icons
> > for new categories...what's a good place to find documentation on that?
> 
> Nice. I agree it should become a part of CDE. For seeing how to do it
> you can check the
> Advanced User and Administrator Guide or you may take a look in my
> desktop_approots.tgz

<snip>

> 
> The Internet.dt file is given below.

Thanks; this is what I was looking for.  I'd not found the relevant part
of the Advanced User and Administrator Guide.
 
> By the way in a previous message of mine I wrote that it is better to
> use %Arg_1%
> instead of %u. We need one more correction. To change this to "%Arg_1%"
> because nowadays people give names to files that contain spaces. And the
> quotes are needed.
> Drag and Drop still works with the quotes around %Arg_1%.
> 
> Antonis.
> 
> 
> The Internet.dt file contains:
> #-------------------------------
> DATA_ATTRIBUTES InternetAppgroup
> {
>         ACTIONS         OpenInPlace,OpenNewView
>         LABEL           Internet
>         ICON            internet-icon
>         DESCRIPTION     Applications for Internet: Browsers, Mailers etc.
> }
> 
> DATA_CRITERIA   InternetAppgroupCriteria1
> {
>         DATA_ATTRIBUTES_NAME    InternetAppgroup
>         LABEL                   Internet
>         MODE                    d
>         PATH_PATTERN            */appmanager/*/Internet
> }
> 
> ACTION Open
> {
>         ARG_TYPE        InternetAppgroup
>         TYPE            MAP
>         MAP_ACTION      OpenAppGroup
> }
> 
> ACTION Print
> {
>         ARG_TYPE        InternetAppgroup
>         TYPE            MAP
>         MAP_ACTION      PrintAppGroup
> }
> #----------------------------------------------------------

Thank you much,
Isaac Dunham

Attachment: findcat.sh
Description: Bourne shell script

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to