How can I find the equivalent terminal command of some program I started from the GUI? For example, I open the start menu, go to accessories, and start the image viewer. Is there a way to find the equivalent terminal command for that action?
Asked
Active
Viewed 270 times
1 Answers
10
Right click the menu entry, select properties.
Select the Desktop Entry tab, command shows the terminal command, in this case 'gpicview'.
CoderMike
- 6,982
- 1
- 10
- 15


%fis not part of the command that you might try running on the terminal but rather expanded to a filename by the menu entry. Other options are listed here https://developer.gnome.org/integration-guide/stable/desktop-files.html.en#commandline – Roger Jones Jan 25 '19 at 09:48