Two things have to be accomplished: 1. The menu should contain appropriate entries. 2. The files should be clickable and have appropriate "Open with" entries. 1. is easy to do. The (systemwide) entries for the menu are in /opt/kde3/share/applnk. I just added an addiitonal directory structure under this directory: Science `-- Staden |-- Gap4.desktop |-- Pregap4.desktop |-- Spin.desktop |-- Stadenlaunch.desktop `-- Trev.desktop
If you edit the menu as a regular user, the entries are only valid for yourself. Additionally Suse messes between two locations for user-defined menu entries: ~/.kde/share/applnk and ~/.local/share/applications. Once you have the entries in the systemwide /opt/kde3/share/applnk additonal changes made by individual users will replicate the directory under the users home directory. Because entries in the users home directory take precedence over systemwide entries, these will be valid then. The 2. task is more difficult. The modifications go into /opt/kde3/share/mimelnk/application. A desktop entry for the trev program (x-trev.desktop) e.g. looks like this: [Desktop Entry] Encoding=UTF-8 Type=MimeType MimeType=application/x-trev Icon=/home/jeltsch/Documents/graphics/icons/antivirus.png Patterns=*.ab1;*.txt; Comment=ABI sequence trace