• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Skip to footer
WebSetNet

WebSetNet

Technology News

  • Technology News
    • Mobile
    • Games
  • Internet Marketing
  • System Admin
    • Windows
    • Linux
    • Mac & Apple
    • Website Scripts
      • Wordpress

Fix Dropbox Indicator Menu Not Working In Ubuntu 17.04 Zesty Zapus (Unity)

August 5, 2020 by Martin6

Update: this issue was fixed (thanks Martin), although you may still encounter it in other applications.
The Dropbox indicator is broken in Ubuntu 17.04 Zesty Zapus (currently in beta): the menu doesn’t work and Dropbox uses a different icon, probably because it tries to use the tray instead of the indicator.
Dropbox indicator menu bug Ubuntu 17.04 Zesty Zapus
This is caused by the fact that the XDG_CURRENT_DESKTOP environment variable was changed from “Unity” to “Unity:Unity7” for Ubuntu 17.04.
Until this is fixed in Dropbox, here’s a quick fix / workaround. To get the Dropbox indicator to work in Ubuntu 17.04 Zesty Zapus (with Unity), you’ll need to launch Dropbox with “env XDG_CURRENT_DESKTOP=Unity”, like this:

dropbox stop
env XDG_CURRENT_DESKTOP=Unity dropbox start -i

To get this to work automatically is a bit tricky because Dropbox overwrites any modifications to its autostart file.
Here are all the steps required to fix the Dropbox indicator menu in Ubuntu 17.04 Zesty Zapus so that Dropbox works when you login / when launched from the menu:

  • rename the Dropbox autostart file from ~/.config/autostart and edit it, changing the “Exec” line to “Exec=env XDG_CURRENT_DESKTOP=Unity dropbox start -i”;
  • disable the built-in Dropbox autostart because it automatically creates an autostart file.
  • optional: if you want to also fix the Dropbox menu entry (this isn’t used in most cases since Dropbox starts automatically), copy the Dropbox desktop file from /usr/share/applications/ to ~/.local/share/applications/, so it’s not overwritten by updates, and change the “Exec” line to “Exec=env XDG_CURRENT_DESKTOP=Unity dropbox start -i”

Initially this article mentioned using “dropbox autostart n” to disable Dropbox from autostarting using its default desktop file, but that apparently only works once now. So here are exact step by step instructions on fixing the Dropbox indicator menu in Ubuntu 17.04, with commands to simplify things.
1. Create a new autostart .desktop file for Dropbox, based on the default one, but modifying the Exec line to use XDG_CURRENT_DESKTOP=Unity:

cp ~/.config/autostart/dropbox.desktop ~/.config/autostart/start_dropbox.desktop
sed -i 's/^Exec=.*/Exec=env XDG_CURRENT_DESKTOP=Unity dropbox start -i/' ~/.config/autostart/start_dropbox.desktop

2. Stop Dropbox and start it using XDG_CURRENT_DESKTOP=Unity so you can access its settings:

dropbox stop
env XDG_CURRENT_DESKTOP=Unity dropbox start -i

3. In the Dropbox AppIndicator menu, select “Preferences”, then disable “Start Dropbox on system startup”.
4. Optional: modify the Dropbox menu entry to use XDG_CURRENT_DESKTOP=Unity:

mkdir -p ~/.local/share/applications/
cp /usr/share/applications/dropbox.desktop ~/.local/share/applications/
sed -i 's/^Exec=.*/Exec=env XDG_CURRENT_DESKTOP=Unity dropbox start -i/' ~/.local/share/applications/dropbox.desktop

The next time you login, the Dropbox indicator menu should now work and it should use the correct icon.
via Dropbox forums

Originally published at WebUpd8: Daily Ubuntu / Linux news and application reviews.

Related posts:

  1. Ubuntu 17.04 "Zesty Zapus" All Flavors Download Links
  2. 10 Best Indicator Applets For Ubuntu 16.04
  3. Customize GNOME Desktop With These Tips in Ubuntu 17.10
  4. 10 Tips To Use Dropbox More Effectively
  5. Ubuntu Unity 21.10 Review
  6. GNU/Linux Review: Ubuntu 17.04 Zesty Zapus
  7. Fix AppIndicator Not Working For Electron Apps In Ubuntu 17.04 Zesty Zapus w/ Unity
  8. Things to do After Installing Ubuntu 18.04
  9. 50 Best Ubuntu Apps You Should Be Using Right Now
  10. How to remove Files from Dropbox without deleting them?

Filed Under: Unity

Primary Sidebar

Trending

  • How to fix Windows Update Error 80244019
  • Windows 10 Update keeps failing with error 0x8007001f – 0x20006
  • How To Change Netflix Download Location In Windows 10
  • Troubleshoot Outlook “Not implemented” Unable to Send Email Error
  • How do I enable or disable Alt Gr key on Windows 10 keyboard
  • How To Install Android App APK on Samsung Tizen OS Device
  • 3 Ways To Open PST File Without Office Outlook In Windows 10
  • FIX: Windows Update error 0x800f0986
  • How to Retrieve Deleted Messages on Snapchat
  • Latest Samsung Galaxy Note 20 leak is a spec dump revealing key features
  • Install Android 7.0 Nougat ROM on Galaxy Core 2 SM-G355H
  • 192.168.1.1 Login, Admin Page, Username, Password | Wireless Router Settings
  • Websites to Watch Movies Online – 10+ Best Websites Without SignUp/Downloading
  • How to Backup SMS Messages on Your Android Smartphone
  • How to delete a blank page at the end of a Microsoft Word document
  • Fix: The Disc Image File Is Corrupted Error In Windows 10
  • Android 11 Custom ROM List – Unofficially Update Your Android Phone!
  • Samsung Galaxy Z Fold 3 could be scheduled for June 2021, with S Pen support

Footer

Tags

Amazon amazon prime amazon prime video Apple Application software epic games Galaxy Note 20 Galaxy S22 Plus Galaxy S22 Ultra Google Sheets headphones Huawei icloud Instagram instant gaming ip address iPhone iphone 12 iphone 13 iphone 13 pro max macOS Microsoft Microsoft Edge Mobile app office 365 outlook Pixel 6 Samsung Galaxy Samsung Galaxy Book 2 Pro 360 Samsung Galaxy Tab S8 Smartphone speedtest speed test teams tiktok Twitter vpn WhatsApp whatsapp web Windows 10 Windows 11 Changes Windows 11 Release Windows 11 Update Windows Subsystem For Android Windows 11 Xiaomi

Archives

  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org