954,515 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Window title from PID

Hi!

I need a shell script for Linux. It must show me the "window title" from process id (PID).

I found something here but it does not work: http://blog.chewearn.com/2010/01/18/find-window-id-of-a-process-id-in-bash-script/

I will be happy if somebody can help me.

Thnak you!

steve_kamlp
Newbie Poster
3 posts since Jan 2012
Reputation Points: 10
Solved Threads: 0
 

Terminal >

xwininfo


click on desired window... and check the terminal for "Window ID" output...
Window id: 0x4e000a3 "Window title from PID (script) - Ubuntu Forums - Mozilla Firefox"

Habitual
Newbie Poster
9 posts since Jan 2012
Reputation Points: 10
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You