Saturday, May 4, 2024
8
rated 0 times [  8] [ 0]  / answers: 1 / hits: 6013  / 2 Years ago, sun, february 20, 2022, 3:42:26

I am new to ubuntu and linux world. Where can I see the list of all programs installed in ubuntu ?



Ex: If I want to launch "terminal". I need to click the upper left icon and type "terminal". Where is the icon really located ?



I would like to take a look in the programs installed. Are they separeted by category ? I don't know.



Thanks


More From » software-sources

 Answers
7

Most of launchers for programs that appear in menus/launcher/dash can be found in /usr/share/applications:



the menu/dash program searches their for launchers. Each user can also have their own launchers in ~/.local/share/applications.


The actual files end with the .desktop extension, and have something like the following contents:


[Desktop Entry]
Version=1.0
Name=Firefox
GenericName=Web Browser
Comment=Browse the Web
Exec=firefox %u
Icon=firefox
Terminal=false
Type=Application
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
StartupNotify=true
Categories=Network;WebBrowser;
Keywords=web;browser;internet;
X-Desktop-File-Install-Version=0.21

Note the exec line indicated what command to execute (in /usr/bin or somewhere else in the user's $PATH) - other information is also included, such as the icon to use (by default from /usr/share/icons, also from ~/.local/share/icons), name, category, etc.


Launchers can also be hidden using NoDisplay/Hidden, mutiple version can also be in place, each with different configuration (e.g. the three Banshee launchers above)


You can also create your own launchers, and read the specification of .desktop files here


[#23643] Sunday, February 20, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
bunsistent

Total Points: 198
Total Questions: 108
Total Answers: 121

Location: Monaco
Member since Sun, Jan 16, 2022
2 Years ago
;