How to get Workrave indicator to show in Ubuntu 17.10?
How can I get the Workrave indicator to show in Ubuntu 17.10? Version 1.10 supposedly has GNOME Shell support.
Solution 1:
It took some time to figure this out for me, too...
Before Ubuntu 20.04, you'll first need gnome-tweak-tool for being able to enable this.
sudo apt install gnome-tweak-tool
In Ubuntu 20.04 and later, the program called "Extensions" is installed by default.
Second, the Workrave package in the official repo is badly packaged (it brings down some XFCE dependencies that mess up your Gnome session), so you'll have to install the workrave-gnome package from Rob Caeler's PPA.
sudo add-apt-repository -u ppa:rob-caelers/workrave
Now you can do:
sudo apt install workrave-gnome
-
Now fire up Workrave. It will show up in a small window with all the timers running -- no applet yet.
-
Then fire up Extensions (< Ubuntu 20.04, fire up gnome-tweak-tool and head to Extensions), and enable Workrave.
Now the applet (and/or the tray icon, if you're using it) should be visible in the top panel.
One more thing I've noticed on my machine is that Workrave segfaults under Wayland, so you will probably have to login into xorg if you want to use Workrave.
Solution 2:
I was getting segfaults also but managed to get it to work by specifying the X window:
workrave --display=:0
To fix it permanently:
cp /usr/share/applications/workrave.desktop ~/.local/share/applications/
And then edit the "Exec" command in ~/.local/share/applications/workrave.desktop
Solution 3:
For Ubuntu 18.04, just install "GNOME Tweaks" and in Extensions tab, turn on Workrave notification.
Solution 4:
Another option is to add command workrave --display=:0
to Startup Applications.
Not sure why, but copying workrave.desktop file to ~/.local/share/applications/
and modifying it didn't work for me but Startup Applications did.