Finding the process that a window belongs to

Last edited on

On Unix

It is possible to discover which process a window belongs to by using the xprop command line tool (which is part of the Debian package x11-utils).

  1. Execute the following command in a shell:

    xprop | grep PID
  2. Click on the window whose process should be identified. The above command should then output the line with the process ID, for example:

    _NET_WM_PID(CARDINAL) = 923
    

On Windows

It is possible to discover which process a window belongs to by using the Process Explorer tool.

  1. Start Process Explorer:

  2. Drag and drop the “Find Windows’s Process” symbol onto the window whose process should be identified:

    After the drop, Process Explorer selects the process that the window belongs to:

  3. Double click (or right click and choose Properties from context menu) the respective process to show its more of its details: