Two questions:

  1. How does one retrieve the number of open chromium tabs from the console?

  2. How does one retrieve the name of the current active tab (in chromium) from the console?

Unfortunately, with respect to (2), using the command xwininfo seems to only work with Google Chrome (not chromium).

  • xwininfo gets the title from my Chromium windows – derobert Oct 21 '15 at 15:58
  • It's weird that xwininfo doesn't work. Have you tried xprop? For example: xprop -id $WINDOW_ID | grep _NET_WM_VISIBLE_NAME. – user2718996 Oct 21 '15 at 17:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.