get to know which command use to trigger the GUI program

September 9th, 2006 mysurface Posted in grep, pipeline, X11, xprop | Hits: 31764 | 1 Comment »

If you are light weight windows manager user which depend on certain desktop such as kde, gnome, sometimes you want to know what is the command that call a particular program that you usually click with your mouse in kde/gnome, so that you can run it in console or trigger with key mapping.

You can get some infomation using xprop that help you to guess the command name. Xprop is use to display the properties of a GUI program. Just type

xprop

It will turns to a special mouse pointer, and click on the GUI programs that you are interested to check. Usually you will get the command name near WM_CLASS or WM_NAME. xprop support grep too, you can pass your grep command through pipe.

xprop | grep WM_CLASS

One Response to “get to know which command use to trigger the GUI program”

  1. FANTASTIC!

Leave a Reply