How to figure out the triggered command when clicking an icon in Ubuntu
![How to figure out the triggered command when clicking an icon in Ubuntu](/content/images/size/w2000/2021/01/ryan-banks-E2B9Sl8wOjE-unsplash.jpg)
In Ubuntu, an application can be started by selecting its icon from the application list (triggered by clicking to the icon at the lower-left corner or pressing the window key).
This list of icons is stored in /usr/share/applications
(for all users) and ~/.local/share/applications
(for a specific user). The icon is defined in .desktop
file.
Icon/application's starting command can be easily figured out by looking at the associated .desktop
file's content at the TryExec
entry.
![Buy Me A Coffee](https://cdn.buymeacoffee.com/buttons/v2/default-red.png)