xdotool

xdotool lets you programmatically simulate keyboard input and mouse activity, move and resize windows, etc.

To search for an application with title name, run

This will return ID of the windows. You can use xwininfo command to view information about the application window.

Example

Leave a Reply

Your email address will not be published. Required fields are marked *