Tuesday, October 6, 2015

Fix Copy.com Indicator Menu For Ubuntu 14.04 Or 13.10 [Updated With Monochrome Icon Fixes]

The Copy.com client indicator menu doesn't work properly in Ubuntu 14.04 and 13.10 due to a bug in libdbusmenu:


This bug was fixed in Ubuntu 14.10 and I'm not sure when it will be fixed in older Ubuntu versions but you can get the Copy.com indicator menu to work right now in Ubuntu 14.04 and 13.10 by using the fix /  work-around below.

Copy.com client indicator menu working under Ubuntu 14.04

+Marco Trevisan has fixed libdmusmenu for Ubuntu 14.10 and provided instructions on getting Copy.com to work in older Ubuntu versions. To make things easier for you, I've compiled his libdbusmenu branch for both 32bit and 64bit.


Copy.com indicator menu fix for Ubuntu 14.04 and 13.10


To get the Copy.com client indicator menu to work properly in Unity or Xfce, if you're using the Indicator plugin and not the notification tray (32bit or 64bit), use the following commands (if you've installed Copy via PPA):
cd /tmp
wget https://github.com/hotice/failsdownloads/raw/master/libdbusmenu-gtk-$(arch).tar.gz
tar -xvf libdbusmenu-gtk*
sudo cp /tmp/libdbusmenu-gtk*/* /opt/copy-client/

That's it. Close Copy ("killall CopyAgent" should do it), then start it and the indicator menu should now work properly under Ubuntu 14.04 and 13.10.

If you didn't use the Copy PPA, simply download this archive: 32bit | 64bit, extract it and copy the two files from this archive to the folder where you installed the Copy Linux client (the two files should be copied in the folder where the CopyAgent executable is located).


Update: install monochrome Copy.com indicator icons


Note: the fix below is unfortunately not permanent and it must be applied after each Copy.com update (if you use the Copy.com PPA). Luckily, Copy.com is not updated very often.


To get the Copy.com indicator to use proper monochrome icons, use the commands below (thanks to Daniel for the icons!):

cd /tmp
wget https://github.com/hotice/failsdownloads/raw/master/copy-icons.tar.gz
tar -xvf copy-icons.tar.gz
sudo cp copy-icons/copyagent.svg /usr/share/icons/hicolor/scalable/apps/
sudo cp copy-icons/copy.desktop /usr/share/applications/

Then, to install a light Copy monochrome icon (for dark panels):
sudo cp copy-icons/copy_dark.svg /usr/share/icons/hicolor/scalable/apps/copy.svg

Or, to get a dark Copy monochrome icon (for light panels):
sudo cp copy-icons/copy.svg /usr/share/icons/hicolor/scalable/apps/

No comments:

Post a Comment