2016-12-14 ウィンドウ名からウィンドウ ID を得る X11 xwininfo コマンドを使う。 xwininfo -name NAME wmctrl コマンドの結果をフィルターする。 wmctrl -l | grep "NAME"