I can write the program I need. I only needed to know what needed done. Here are the answers I needed for Linux:
---------------------------------
For Lindows ( I think Lindows is Debian based)
use /usr/share/applnk/Applications
Example: OpenOffice spreadsheet:
/usr/share/applnk/Applications/Business/OpenOffice/spreadsheet.desktop
Just use the spreadsheet.desktop as a guide.
--------------------------------
For Mandrake KDE
use /home/loginname/.kde/share/applnk-mdk
Example: xemacs editor
/home/loginname/.kde/share/applnk-mdk/Applications/Editors/xemacs.desktop
--------------------------------
For Mandrake Gnome
use /home/loginname/.gnome2/apps-mdk/Applications/Editors/Xemacs.desktop
BTW: I copied
/home/loginname/.gnome2/apps-mdk/Applications/Editors/Xemacs.desktop
to
/home/loginname/.kde/share/applnk-mdk/Applications/Editors/xemacs.desktop
and it worked without modification!
--------------------------------
For Mandrake IceWM
use /home/loginname/.icewm/menu
Example: xemacs editor
Besides the file name being "menu", there are a lot of sections within it such as "menu "Editors"" below.
I added the line "prog "Xemacs" - /usr/local/bin/xemacs"
menu "Editors" /usr/share/icons/mini/editors_section.png {
prog "Emacs" /usr/share/icons/mini/emacs.png emacs
prog "GEdit" /usr/share/icons/mini/gedit.png /usr/bin/gedit
prog "KHexEdit" - khexedit
prog "KWrite" - kwrite
prog "Kate" - kate
prog "Xemacs" - /usr/local/bin/xemacs
}
--------------------------------
Now it is clear the types of things to look for on different platforms. I will be downloading other window managers and looking for the same sorts of things. The script that gets written must search out the directory structures as above and add/change the stated files accordingly. The new application will automatically appear in the "Start" menu.
A note of caution. There is a .gnome and a .gnome2 local directory. Any script will have to look in any and all .gnomeX.Y directories for a valid directory structure, and/or valid .desktop files, before deciding what to do. At least now I know what has to be done.
| [reply] |