Ubuntu Custom App Desktop Entry

Today I decided to manually register a few .tar.gz applications in Ubuntu so they appear in the desktop app database.

All you need to do is extract the app somewhere (for example: ~/.apps/) and then create a .desktop file in ~/.local/share/applications/.

Example:

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application

Exec=/home/user/.apps/StorageExplorer-linux-x64/StorageExplorer %u

Icon=/home/user/.apps/StorageExplorer-linux-x64/resources/app/out/app/icon.png
Name=Microsoft Azure Storage Explorer
Comment=Custom definition for Storage Explorer

The only thing that required a bit of research was how to refresh Ubuntu’s desktop apps without rebooting.
Here’s the command:

update-desktop-database ~/.local/share/applications/

Napisz bardzo krótki post po angielsku o schema markdown o tym że dzisiaj postanowiłem dodać aplikacje do Ubuntu tak aby zarejestrować je w desktop database.Dla tych aplikacji które sa dostarczone jako spakowane archiwum .tar.gzWystarczy wypakować aplikacje w jakimś folderze np. ~.apps/Następnie utworzyć plik w ~/.local/share/applications/ o nazwie naszej aplikacji Np. Z treścią [Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Exec=/home/jamabaiz/.apps/StorageExplorer-linux-x64/StorageExplorer %u Icon

Read more

Scroll to Top