LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-23-2012, 11:16 AM   #1
steve_kam
LQ Newbie
 
Registered: Jan 2012
Posts: 2

Rep: Reputation: Disabled
show process id by grabbing window


Hi!

I need a command line app which will return me the process id after i grab the window.

Can somebody help me about it?

Thank you!
 
Old 01-29-2012, 10:32 AM   #2
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
xprop is what you're looking for - look for _NET_WM_PID in the output.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I clicked the download window box "-- and dont show this window". How do I untick it? e82 Linux - Software 2 08-12-2010 05:39 PM
[SOLVED] Grabbing window content El Mago Programming 2 04-15-2010 10:26 AM
Grabbing text from a text box in a window running in wine. thefalling881 Programming 6 07-21-2008 08:38 PM
show process ust Linux - Software 4 07-15-2008 02:59 AM
Prevent gaim grabbing window focus chrism01 Linux - Software 1 01-31-2006 07:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration