Common Linux Issues
With the variety and number of different Linux configurations, it is important that the system meets certain requirements. RescueTime for Linux is primarily tested on Ubuntu 16.04 but has been known to work on Fedora and other distributions.
System Tray / User Interface
The window manager must have a system tray area for RescueTime icon to live and be interacted with, otherwise accessing the menu and some features may be restricted; though there have been users that had success running without the UI. RescueTime is currently using Qt4 to create the windows/menu. If you are not seeing an icon in your system tray, or do not have a system tray, you may need to install an extension that provides one.
Some Linux distributions/Window Managers, like Gnome, come without a system tray. You may need to look for an extension or setting for your system that enables this as the RescueTime application lives in the system tray.
One suggestion for Gnome is TopIcons Plus: https://extensions.gnome.org/extension/1031/topicons/
Application / Window Tracking
The following commands must work return expected values for RescueTime to correctly identify the current activity and window title details. If the return of the commands is empty or broken, the data RescueTime collects can be broken as well.
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"\"" -f2 2>/dev/null
To get RescueTime to work in the xmonad environment you may need to do the following:
- Open the xmonad.hs file and add the following line to import contrib module:
- Then change
xmonad $ defaultConfigto
xmonad $ ewmh defaultConfigto add ewmh support.
Note: External Resources are user provided and have not been officially tested by RescueTime.
If you use RescueTime in an environment that required additional setup or changes not listed here, we would like to know!