Forrest logo
back to the wmctrl tool

wmctrl:ai:7426f

Retrieves the active Firefox window's process ID and window title
$ wmctrl -lp | grep $(xdotool getactivewindow)
try on your machine

Retrieves the active Firefox window's process ID and window title

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • what page is firefox showing?
back to the wmctrl tool