Thursday, December 28, 2017

Dropbox on Debian and therefore Ubuntu based distros

Below are my notes which fixed the continual headache which is Dropbox on Debian/Ubuntu based Linux distros.  I've just dragged and dropped with no editing for clarity.  Hopefully this might be useful to someone.

As a side note, installing Dropbox from the official software manager in Ubuntu and Mint seems to have finally been ironed out.  DO NOT INSTALL DROPBOX BY DOWNLOADING IT DIRECTLY FROM DROPBOX.COM!!  This advice holds true at the end of 2017, which is absolutely shameful by this point.  Hopefully they fix it in the future.  Rant over.  Enjoy!

A permanent fix:

Open terminal.

dropbox stop
sudo gedit /usr/bin/dropbox

Create a new line after "import os" and add the following:

os.environ['DBUS_SESSION_BUS_ADDRESS'] = ""

Save and restart


The following is a temporary fix which won't recur if rebooted.

If the icon is missing from the lower right hand corner, open up a terminal and type "dropbox stop && dbus-launch dropbox start"

Also, from:  https://www.dropboxforum.com/hc/en-us/community/posts/204928873-Dropbox-tray-icon-not-responding-now-totally-gone-in-Linux-Mint-17-3-Cinnamon-64-bit

1. System settings >> General

2. Uncheck "Enable support for indicators"

2.a If you are uncomfortable performing the following steps just restart your system now and continue with step 7. Otherwise continue with step 3.

3. Press [ALT]+[F2] to open the command window

4. Run "cinnamon --replace" to restart cinnamon

It might be necessary to also kill Dropbox and start it again. In this case continue below:

5. Press [CTRL] +[T] to open a bash terminal

6. Run the following command to kill all Dropbox processes:

kill $(ps aux | grep '[d]ropbox' | awk '{print $2}')

7. Start Dropbox as usual. The tray icon should behave correctly now.

Don't install Dropbox from their website.  Use the package in the Software Manager.  (At least it is now under Mint 18.)

And don't even try to move the default folder to a different hard drive.  You will fail because the drives don't auto-mount on reboot, and you will just get completely pissed off at the ridiculousness of the whole goddamned thing.

1 comment:

  1. The Venetian, MGM and Wynn Resorts begin joint venture
    The $2.2 billion 화성 출장샵 project, which will add 1,400 hotel 경산 출장마사지 rooms and 포천 출장안마 suites to 안산 출장샵 Wynn Macau's existing resort portfolio, will 삼척 출장마사지

    ReplyDelete