I have created a .deb package that copies files to the /opt/MyAppName
directory. However, it does not appear in the Applications list, and I am unsure how to make that happen.
How do I make my app appear in this list? I would like to have this appear here for all users who use install the .deb when I publish it.
You have to create a your_application.desktop
file and then copy to /usr/share/applications/
. Following is a sample .desktop
file, I recently used to create sublime_text.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=Sublime Text
GenericName=Text Editor
Comment=Sophisticated text editor for code, markup and prose
Exec=/opt/sublime_text/sublime_text %F
Terminal=false
MimeType=text/plain;
Icon=/opt/sublime_text/Icon/128x128/sublime-text.png
Categories=TextEditor;Development;
StartupNotify=true
Actions=Window;Document;
[Desktop Action Window]
Name=New Window
Exec=/opt/sublime_text/sublime_text -n
OnlyShowIn=Unity;
[Desktop Action Document]
Name=New File
Exec=/opt/sublime_text/sublime_text --command new_file
OnlyShowIn=Unity;
Give attention to Exec=
and Icon=
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments