I am a new user of Qubes OS and I would like to keep monitoring which windows are active as I am doing since years. For this I am using a very much simplified version of ulogme: https://github.com/karpathy/ulogme - I don't need all the graphical analysis stuff, basically just the logactivewin.sh script.
The problem now is that wmctrl does not show the titles of windows from domains other than dom0:
[david@com0 ~]$ wmctrl -l
0x01400004 -1 dom0 xfce4-panel
0x01a00003 -1 dom0 Desktop
0x02c00012 0 dom0 Qubes VM Manager
0x04a00004 0 dom0 Terminal
0x04800017 1 N/A N/A
0x0480001f 1 N/A N/A
0x04800020 1 N/A N/A
0x04e00018 3 N/A N/A
The most it shows is the domain and the application using WM_CLASS:
[david@dom0 ~]$ wmctrl -lx
0x01400004 -1 xfce4-panel.Xfce4-panel dom0 xfce4-panel
0x01a00003 -1 xfdesktop.Xfdesktop dom0 Desktop
0x02c00012 0 qubes-manager.Qubes-manager dom0 Qubes VM Manager
0x04a00004 0 xfce4-terminal.Xfce4-terminal dom0 Terminal
0x04800017 1 untrusted:Navigator.untrusted:Firefox N/A N/A
0x0480001f 1 untrusted:Navigator.untrusted:Firefox N/A N/A
0x04800020 1 untrusted:Navigator.untrusted:Firefox N/A N/A
0x04e00018 3 personal:Navigator.personal:Firefox N/A N/A
0x0480004f 1 untrusted:gnome-terminal-server.untrusted:Gnome-terminal N/A N/A
The window manager in dom0 shows the full titles of open windows, therefore I don't understand why wmctrl does not show them.
What is the issue here and how can I solve it? Is there any other way to access the windows titles of all domains from dom0 programmatically?
Thanks