Finding xfce4-terminal processes
by Turbocapitalist from LinuxQuestions.org on (#4YSXG)
I've got multiple xfce4-terminals running inside XFCE4 4.14, or at least many windows launched via xfce4-terminal icons. However, when I look, I can find only the first one.
Code:$ pgrep -x xfce4-terminal | wc -l
1
$ apt-cache policy xfce4 | head -n 2
xfce4:
Installed: 4.14
$ apt-cache policy xfce4-terminal | head -n 2
xfce4-terminal:
Installed: 0.8.8-1So it looks like there is just one instance of xfce4-terminal running at a time, but maybe with multiple windows. How can I find the other terminal windows via a shell utility?
I'd like to eventually have a panel icon which launches terminals with icons assigned according to how many windows are already open so that when I alt-tab I can see distinct icons for the first, second, third, and nth terminals.


Code:$ pgrep -x xfce4-terminal | wc -l
1
$ apt-cache policy xfce4 | head -n 2
xfce4:
Installed: 4.14
$ apt-cache policy xfce4-terminal | head -n 2
xfce4-terminal:
Installed: 0.8.8-1So it looks like there is just one instance of xfce4-terminal running at a time, but maybe with multiple windows. How can I find the other terminal windows via a shell utility?
I'd like to eventually have a panel icon which launches terminals with icons assigned according to how many windows are already open so that when I alt-tab I can see distinct icons for the first, second, third, and nth terminals.