Revision [22078]
This is an old revision of AppsDesktop made by darkcity on 2012-07-07 09:31:05.
.desktop files
.desktop files are the standard way for Linux programs to provide information about themselves and how they are run. These files are stored at /usr/share/applications. Many programs come ready with a .desktop file, include one if a menu entry is required. Here is the example of AbiWord AbiWord's:-
[Desktop Entry] Exec=abiword Icon=/usr/share/icons/abiword_48.png Terminal=false Type=Application Categories=X-DocumentUtility; StartupNotify=true X-Desktop-File-Install-Version=0.9 MimeType=application/x-abiword;text/x-abiword;text/x-xml-abiword;text/plain;application/msword;application/rtf;application/vnd.plain;application/xhtml+xml;text/html;application/x-crossmark;application/docbook+xml;application/x-t602;application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-template;application/vnd.oasis.opendocument.text-web;application/vnd.sun.xml.writer;application/vnd.stardivision.writer;text/vnd.wap.wml;application/wordperfect6;application/wordperfect5.1;application/vnd.wordperfect;application/x-abicollab; Name=AbiWord WordProcessor GenericName=Word Processor Comment=Compose, edit, and view documents Name[de]=Textverarbeitung Comment[de]=AbiWord Textverarbeitung Name[nb]=Tekstbehandling Comment[nb]=AbiWord Tekstbehandling Name[nl]=Tekstverwerker Comment[nl]=AbiWord tekstverwerker Name[nn]=Tekstbehandling Comment[nn]=AbiWord Tekstbehandling Name[no]=Tekstbehandler Comment[no]=AbiWord Tekstbehandler Name[pt]=Processador de Texto Comment[pt]=AbiWord Processador de Texto Name[es]=Procesador de textos Abiword GenericName[es]=Procesador de textos Comment[es]=Procesador de textos Abiword Name[fr]=Traitement de texte AbiWord GenericName[fr]=Traitement de texte Comment[fr]=Traitement de texte de Gnome Office Name[pl]=Edytor tekstu AbiWord Comment[pl]=Edytor tekstu AbiWord Name[ja]=AbiWord ワードプロセッサ Comment[ja]=AbiWord ワードプロセッサ
Exec= Programs execute line
Categories= entry controls which submenu they appears in. Run fixmenus and restart window manager after making alterations.