We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

prowlett's avatar
prowlett
New member | Level 2
6 months ago

Ubuntu 24.04 - missing app tray icon menu for the desktop app

I had Dropbox running on Ubuntu 22.04 but have upgraded to 24.04 and am having trouble.

 

I installed `nautilus-dropbox` from Ubuntu. This worked, but the system tray icon did not have a menu when I click or right click. I uninstalled it and downloaded the .deb from Dropbox instead. This has the same problem. Following the solution here I installed AppIndicator and KStatusNotifierItem Support, which is supposed to help legacy tray icons work properly. (I installed GNOME Shell integration extension on Firefox and `chrome-gnome-shell` through apt, then installed the extension from that page.)

 

It still didn't work. I decided to start afresh and write down properly what I did, which I'll do below.

 

I uninstalled Dropbox using the instructions here (first block of commands).

 

Then ran `sudo apt install nautilus-dropbox` to install the package from Ubuntu. This says:

 

 

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
dropbox : Breaks: nautilus-dropbox
E: Unable to correct problems, you have held broken packages.

 

 

The output of `apt rdepends dropbox` is

 

 

dropbox
Reverse Depends:
Depends: nautilus-dropbox
Conflicts: nautilus-dropbox

 

 

Per this answer, this seems to say `nautilus-dropbox` is conflicting with itself, which seems to be a problem with the way Dropbox has encoded dependencies in the file.

 

Also per that answer, I ran `grep dropbox /etc/apt/sources.list /etc/apt/sources.list.d/*.list` which gave the output:

 

 

/etc/apt/sources.list.d/dropbox.list:deb [arch=i386,amd64 signed-by=/etc/apt/keyrings/dropbox.asc] http://linux.dropbox.com/ubuntu noble main

 

 

The file `/etc/apt/sources.list.d/dropbox.list` only has that line. I think this means `sudo apt install nautilus-dropbox` is trying to install the version from Dropbox directly rather than the Ubuntu version. I commented out the line with a `#`.

 

Then I ran `sudo apt update`, then `sudo apt install nautilus-dropbox`, then `nautilus --quit`. Then I ran `dropbox start -i`. I got a pop up wanting to install the proprietary daemon. I clicked OK. This ran and then took me to the web browser to log in, which I did, and then the app changed to show it was syncing. Again when I click or right-click on the Dropbox app nothing happens.

 

I noticed that when I had run `dropbox start -i` the output included this warning, which I'm not sure is relevant:

 

 

(dropbox:9905): LIBDBUSMENU-GLIB-WARNING **: 09:52:22.423: About to Show called on an item wihtout submenus. We're ignoring it.

 

 

Again, I uninstalled Dropbox using the instructions here (first block of commands, except for `rm -rf /var/lib/dropbox` I had to run `sudo`).

 

This time I downloaded the .deb for "Ubuntu 22.10 or higher" from the Dropbox install page and installed this using `sudo apt install ./dropbox_2024.04.17_amd64.deb`. I ran `nautilus --quit` then a popup appeared saying "Dropbox Start Required Start Dropbox to finish installation." I clicked Start Dropbox and this brought the pop up that says to install the proprietary daemon. I clicked OK and it did its thing and took me to the Dropbox page to log in, which I did.

 

Again I have a Dropbox system tray icon but when I click or right click it doesn't do anything.

 

I noticed that this install had reinstated `/etc/apt/sources.list.d/dropbox.list`, which I guess is unsurprising. I left this in place.

 

I then noticed that FeRDNYC in this thread recommended turning the 'AppIndicator and KStatusNotifierItem Support' Extension off and on again. I did this by flipping the toggle in the 'Extensions' app and it turned off but wouldn't turn back on. I got a cross in a circle next to the toggle and when I clicked this it said "An error has occurred in this extension" with the details `TypeError: this._watchDog is null`.

 

I restarted my computer and on boot I both get a Dropbox icon in the system tray and a pop up asking me to install the proprietary daemon. When I click the icon, I get a menu. I clicked 'Cancel' on the pop up. I noticed the AppIndicator and KStatusNotifierItem Support' Extension has started turned on.

 

I left my computer alone for five minutes. When I returned the 'AppIndicator and KStatusNotifierItem Support' toggle is still on but greyed out and the circle-cross is back with the same error. The Dropbox icon is still clickable to get a menu.

 

It is possible the sequence of events that made this start working was this:


- install 'AppIndicator and KStatusNotifierItem Support' GNOME Extension.
- install Dropbox via .deb from Dropbox website.
- restart the computer

 

But I'm not confident this is what has worked. I'm not sure if the 'AppIndicator and KStatusNotifierItem Support' GNOME Extension is doing anything or whether I can uninstall it; for example whether it is loading briefly on system load and that is all Dropbox needs to get going, even though the Extension crashes shortly after. I'm not sure whether it mattered whether I installed Dropbox's .deb directly or `nautilus-dropbox'. Really, I'm not sure why I now have a menu on the Dropbox icon or whether it is actually fixed.

 

Fundamentally, it shouldn't be this much work to get it to work. And I think I still have the problem where on boot it loads Dropbox and tells me I have to install the proprietary daemon each time even though it's already installed. But I'm reluctant to touch anything now because this has eaten hours of my morning and I don't know if I can get back to this state after a change.

 

At present my plan is to not change anything and hope the app icon menu keeps working, and to put up with the annoyance of the pop up asking me to install the proprietary daemon each time I boot my computer. Any advice welcome.

  • netsurfer38's avatar
    netsurfer38
    New member | Level 2

    It does appear that one needs to have the AppIndicator and KStatusNotifierItem Support gnome extension installed for the Dropbox menu to work.

     

    However the menu no longer works after Powering Off or doing a Restart. However other forums state that the menu is restored after locking the screen by pressing "Windows+L" or "Super+L" and then unlocking the screen again. This has worked for me.

    see 2304_dropbox_icon_is_not_clickable & nautilus-dropbox/+bug/2015620

     

    It seems that Dropbox does not play well with some gnome extensions such as Dash to Panel. However the aforementioned Lock screen trick works with Dash to Panel enabled.

    Ref: https://github.com/ubuntu/gnome-shell-extension-appindicator/issues/346

     


  • prowlett wrote:

    .... And I think I still have the problem where on boot it loads Dropbox and tells me I have to install the proprietary daemon each time even though it's already installed. ...


    Hi prowlett,

    This is a very old bug existing since day zero of Dropbox. Linux users are not first class citizen here - something confirmed many times, unfortunately. This should not change anything in general. Dropbox application is so "intelligent" that cannot understand it is installed and ask for install again and again...🤦 If you follow the daemon' install, it will overwrite the files already installed - nothing more (i.e. no any change).

    Your main issue is something completely different and another example showing the significant lack of Linux support. The issue is not related to application install - since working it's definitely installed. This issue is also very old though. As seems, many coding solutions in the application (and not only) are based on different suppositions/assumptions, not on coding standards! In such a way small/negligible change in configuration may make big issues in icon and associated menu displaying. Such a reactions are difficult to predict and solve (securely) since the sloppy coding (and closed source) of the application. 🤷 That's it. Better don't rely on official solution - not in near future at least (will be glad Dropbox to refute me - it's still not fact for years).

    Good luck to all of us.

  • Jay's avatar
    Jay
    Icon for Dropbox Staff rankDropbox Staff

    Hi prowlett, thanks for bringing this to our attention.

     

    If you're still experiencing issues when installing the Dropbox desktop application on Linux, or seeing the menu bar icon, I'd recommend contacting the support team directly.

     

    Keep me updated with any progress.

    • prowlett's avatar
      prowlett
      New member | Level 2

      Hi @Jay,

       

      At present, I still have a menu and all is well. It's still asking me every time I boot up to install the daemon which I already have. I have installed a third-party extension that I don't know if I need, and fundamentally I don't think it should be this much hard work to get your program running.

       

      I pay a lot of money for Dropbox and many years ago I specifically choose it because it works across the different platforms I need, particularly Linux. I recommend you work to get it running more smoothly on Ubuntu. 

       

      Regards,

       

      Peter.

    • recchia's avatar
      recchia
      Explorer | Level 4

      I'm experienced the same issue with Dropbox icon, is there any workaround to fix the issue or we need to wait a fix from you?, thanks

  • DGA51's avatar
    DGA51
    Explorer | Level 3

    I'm in the same position. Upgraded Ubuntu and Dropbox disappeared. Just to complicate matters slightly, my previous Drobox folder is on an auxiliary drive which had to be mounted before using the icon (which is also gone now). I don't want to rebuild the entire thing but it looks like that will be necessary. Puke!

  • fbx33721129's avatar
    fbx33721129
    New member | Level 2

    hi

    Just try this :

    1 exit to login screen

    2 unlock

    3 The tray icon is working !

About Apps and Installations

Have a question about a Dropbox app or installation? Reach out to the Dropbox Community and get solutions, help, and advice from members.

Need more support

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!