2

Envirement:

  • Linux like Ubuntu, Firefox
  • bash

Its known programms like firefox have some pids, which can get p.e. on follow way:

pidof firefox

Its known every firefox window have a own wid, which can get on:

wmctrl -l | grep Firefox | cut -d ' ' -f1

Its known, a Firefox tab dont have a own pid or wid.

Does every Firefox tab have any other own ID and how to get this ID ?

Alfred.37
  • 73
  • 8
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Dec 17 '21 at 12:55
  • 2
    Does this answer your question? [How to close a Firefox window by bash and wid?](https://superuser.com/questions/1694561/how-to-close-a-firefox-window-by-bash-and-wid) – Toto Dec 17 '21 at 12:56
  • @Toto, booth questions are related on different thinks. – Alfred.37 Dec 17 '21 at 12:57
  • "Its known, a Firefox tab dont have a own pid or wid." Who knows this? "It's known" isn't exactly a reference. – mtak Dec 17 '21 at 15:33
  • @mtak, its known by the people which writing this question. – Alfred.37 Dec 17 '21 at 15:51

0 Answers0