The indicator icon of Copy.com disappeared or the menu is unreadable [closed]

Solution 1:

Update: a work-around was added in the Copy client so the instructions below are no longer needed if you use the latest Copy!

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.

First of all: be sure to delete Copy versions eventually installed manually.

Then:

cd /tmp
wget https://github.com/hotice/webupd8/raw/master/libdbusmenu-gtk-$(arch).tar.gz
tar -xvf libdbusmenu-gtk*
sudo cp /tmp/libdbusmenu-gtk*/* /PATH/TO/COPY-FOLDER/

The instructions above will download libdbusmenu-gtk compiled with the fix and copy it to the copy-client folder. For the last command, replace "/PATH/TO/COPY-FOLDER/" with the path to where you've installed Copy. If you've used the Copy PPA, the path is /opt/copy-client/

This work-around / fix includes libdbusmenu-gtk built by me. If you want to build it yourself, see HERE.

via WebUpd8

Solution 2:

  1. For the bug #1 (lack of the indicator): the reason for this appears to be that ever since 13.10, the systray is missing in Unity (see this question). In short, one needs to replace Unity with a modified version. This repository seems to work in 13.10, but did not work with 14.04 for me. For trusty (14.04), I found this repository usable: ppa:gurqn/systray-trusty

    sudo apt-add-repository ppa:gurqn/systray-trusty
    sudo apt-get update
    sudo apt-get upgrade
    

    (Source)

  2. Second bug is tricky and seems to appear on x86_64 architectures only. It turns out that it is due to a single setting in the configuration file in the local copy configuration folder. It can be easily modified, but requires the sqlite3 package to access the sqlite configuration file of copy.

    First, kill or otherwise close Copy. Then, in terminal, do the following:

    sudo apt-get install sqlite3
    cd $HOME/.copy
    echo 'UPDATE config2 SET value=0 WHERE option="csmBlackWhiteIconsV2" ;' | sqlite3 config.db
    

This should repair your menu.

EDIT: although the above seems to be a correct solution for at least a couple of users with a x86_64 system, clanlaw below (who uses 32b) reports that the change made his copy indicator disappear completely. Here is how to revert to the original setting:

echo 'UPDATE config2 SET value=1 WHERE option="csmBlackWhiteIconsV2" ;' | sqlite3 config.db