Anonymous - 2016-09-18

TaskUnifier offers a global hotkey for Windows but not for Linux. However, it is possible to assign a shortcut in Linux to invoke the add task dialog in TaskUnifier (Ctrl + T). I am a Gnome user, however the following solution should apply to all DEs.

First, install wmctrl and xdotool, if they are not already installed in your system.

Second, find the WM_CLASS value of TaskUnifier (TaskUnifier must be running) with the following command:
wmctrl -lx
The output of this command lists all available windows and WM_CLASS values. In my case, TaskUnifier’s WM_CLASS value is “sun-awt-X11-XFramePeer.com-leclercb-taskunifier-gui-main-Main”

Then, you have to assign a keyboard shortcut of your choosing (in Gnome: All settngs/Keyboard/Custom shortcuts) to the following command:
sh -c "wmctrl -xF -R sun-awt-X11-XFramePeer.com-leclercb-taskunifier-gui-main-Main ; xdotool key ctrl+t"

PS. I hope this helps some users. Since there are no new features to expect, at least we can try to keep TaskUnifier as functional as possible.