I doubt if you are able to give the bonus point with one point rep :), but the command for yate
is:
yate-qt4
The commands for globally installed (GUI) applications are found in their corresponding .desktop
files in /usr/share/applications
. It is hard to say what are "common" applications, but you can simply open the (any) file in there (drag it over an opened gedit
window) and look for the first line, starting with Exec=
, followed by the command you are looking for.
OR
You can use a script to read all relevant .desktop
files for you and find the command in it:
#!/usr/bin/env python3
import os
dr = "/usr/share/applications"
for f in [f for f in os.listdir(dr) if f.endswith(".desktop")]:
try:
s = open(dr+"/"+f).read()
if not "NoDisplay=true" in s:
command = [l.split("=")[-1] for l in s.splitlines() if l.startswith("Exec=")][0]
print(f, "|", command)
except:
pass
How to use
It wil list all commands of GUI applications, globally installed, looking like:
...
guake.desktop | guake
xmind.desktop | XMind
gnome-terminal.desktop | gnome-terminal
idle-python2.7.desktop | /usr/bin/idle-python2.7
xfce4-screenshooter.desktop | xfce4-screenshooter
yate-qt4.desktop | yate-qt4
indicator-multiload.desktop | indicator-multiload
...
As you can see, yate-qt4.desktop | yate-qt4
mentions the command you are looking for is yate-qt4