Page 1 of 1

What program is running in that window?

Posted: 29 Dec 2013, 14:21
by viking60
I often have this nice windows with programs that I want to run from the CLI.
The problem is that this might not be visible so here is a tip:

Code: Select all

name=xprop | awk '/CLASS/'

Now you can move your cursor over the window and click and read the name in the terminal..

If you enter the command in a terminal and click on your chromium browser the output will be like this:

Code: Select all

[viking@thomas-pc ~]$ xprop | awk '/CLASS/'
WM_CLASS(STRING) = "chromium", "Chromium"

That would be the command you would need to start it from the Terminal. Most people know that so clicking on your xfce panel might be more useful:

Code: Select all

[viking@thomas-pc ~]$ xprop | awk '/CLASS/'
WM_CLASS(STRING) = "xfce4-panel", "Xfce4-panel"