Στις 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. > Education would probably go in Desktop_Apps; I *think* Information is > for documentation-related things. But I might be misunderstanding. > > I'm not sure where Development should go. > > >> Would it be nice to expand this? I would support a "yes" but the >> developers may disagree. >> If they do disagree then your script would be nice to be accompanied by >> icons related to these categories >> (like the ones I have made in my desktop_approots.tgz). > 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 For example my Internet category is setup with the following files: desktop_approots/Internet/dt/ desktop_approots/Internet/dt/appconfig/ desktop_approots/Internet/dt/appconfig/appmanager/ desktop_approots/Internet/dt/appconfig/appmanager/C/ desktop_approots/Internet/dt/appconfig/appmanager/C/Internet/ desktop_approots/Internet/dt/appconfig/appmanager/C/Internet/firefox desktop_approots/Internet/dt/appconfig/appmanager/C/Internet/skype etc (firefox, skype etc are actions, they can be even empty files) desktop_approots/Internet/dt/appconfig/icons/ desktop_approots/Internet/dt/appconfig/icons/C/ desktop_approots/Internet/dt/appconfig/icons/C/internet-icon.l.pm desktop_approots/Internet/dt/appconfig/icons/C/internet-icon.m.pm desktop_approots/Internet/dt/appconfig/icons/C/internet-icon.t.pm etc (plus icons for all applications above, such as firefox, skype etc) desktop_approots/Internet/dt/appconfig/types/ desktop_approots/Internet/dt/appconfig/types/C/ desktop_approots/Internet/dt/appconfig/types/C/Internet.dt desktop_approots/Internet/dt/appconfig/types/C/firefox.dt desktop_approots/Internet/dt/appconfig/types/C/skype.dt etc (for the rest of the applications) The Internet.dt file is given below. 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 } #---------------------------------------------------------- ------------------------------------------------------------------------------ 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