Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Get pid of process that created a specific window

xprop _NET_WM_PID | sed 's/_NET_WM_PID(CARDINAL) = //' # Text from the page I found the code on: Click on the window whose process should be identified. (If the desired window is not visible, use Alt+Tab to bring it to the foreground.) The above command should then output the process ID, for example: 923
Comment

PREVIOUS NEXT
Code Example
Shell :: freebsd add user 
Shell :: merge gif with mp4 using ffmpeg 
Shell :: install xampp on Linux 
Shell :: ubuntu cmd firewall give access to port 
Shell :: install openvpn client ubuntu 
Shell :: auto run command vim startup 
Shell :: install pcl ubuntu 
Shell :: how to force push heroku 
Shell :: change commit author after push 
Shell :: linux command for file size 
Shell :: Shell CLI Argument Default Value 
Shell :: get ORACLE_HOME linux 
Shell :: npm install from github branch 
Shell :: awk sum column 
Shell :: what is the difference between powershell and command prompt 
Shell :: remove directory from git 
Shell :: docker fatal: not a git repository (or any of the parent directories): .git 
Shell :: exit vim 
Shell :: forgot password ubuntu wsl 
Shell :: compare local branch with remote branch 
Shell :: Use cp command to copy multiple files from a directory 
Shell :: ssh keygen 
Shell :: python install opencv 
Shell :: list of git branches 
Shell :: reinit git-submodules 
Shell :: vim how to append to every line 
Shell :: how to install free download manager on linux 
Shell :: search git 
Shell :: heroku postgres reset database 
Shell :: sudo remove folder 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =