how to find the command line name of a program
locate -b pomodoro | grep bin
(The program i was looking for the ‘machine name’ of was the Pomodoro Timer and this gave it right away as /usr/bin/gnome-pomodoro
, where gnome-pomodoro
is the name of program.)
An interesting sidepath that did not result in anything useful
I was sort of thinking there might be an equivalent to xkill that instead just gives the info on the window you click on… hmm now that i phrase it that way, and indeed in man xkill
(after a lot of text discouraging you from ever using xkill, or at least avoiding its more dangerous options) comes the SEE ALSO list with xwininfo.
$ xwininfo
xwininfo: Please select the window about which you
would like information by clicking the
mouse in that window.
xwininfo: Window id: 0x3600008 "Pomodoro Timer"
Absolute upper-left X: -8
Absolute upper-left Y: 88
Relative upper-left X: -8
Relative upper-left Y: 88
Width: 1000
Height: 1472
Depth: 32
Visual: 0x19e
Visual Class: TrueColor
Border width: 0
Class: InputOutput
Colormap: 0x3600007 (not installed)
Bit Gravity State: NorthWestGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsViewable
Override Redirect State: no
Corners: +-8+88 -2848+88 -2848-600 +-8-600
-geometry 0x86+-8+88