rescuetime doesn’t record windows on Ubuntu 21.04 (solved)
Posted: May 18, 2021 Filed under: Linux, rescuetime Leave a comment »Just upgraded to Ubuntu 21.04 (Hirsute Hippo) and had RescueTime break on me. It basically only seemed to see when I was using Zoom.
Tried all sorts of things (adding exceptions to Firefox, asking for help, and so on), but nothing worked.
The problem, I was pretty sure, was that the three key commands that are supposed to work to enable RescueTime to know what you are doing on your computer were not working:
xprop -id `xprop -root | grep "_NET_ACTIVE_WINDOW(WINDOW)" | cut -d# -f2 | cut -d, -f1` | grep "NET_WM_PID" | cut -d"=" -f2 2>/dev/null
xprop -id `xprop -root 2>/dev/null | grep "_NET_ACTIVE_WINDOW(WINDOW)" | cut -d# -f2 | cut -d, -f1` 2>/dev/null | grep "WM_CLASS(STRING)" | cut -d"\"" -f4 2>/dev/null
xprop -id `xprop -root 2>/dev/null | grep "_NET_ACTIVE_WINDOW(WINDOW)" | cut -d# -f2 | cut -d, -f1` 2>/dev/null | grep "WM_NAME(STRING)\|WM_NAME(COMPOUND_TEXT)" | cut -d" Read the rest of this entry »