Problems with the dropbox icon in the panel (UM 18.04.1)

Hi everyone, after upgrading from UM 16.04.5 to UM 18.04.1 I have a little problem with dropbox, it runs, but I can not access the icon on the top panel, as shown in the image.

I have to stop that run on the terminal dropbox stop.
When executing caja-dropbox in the terminal the output is:
Gtk-Message: 14:08:51.926: Failed to load module "topmenu-gtk-module"
dropbox: load fq extension '/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90/PyQt5.QtDBus.cpython-35m-x86_64-linux-gnu.so'
(dropbox:28413): GLib-GObject-WARNING **: 14:08:52.030: cannot register existing type 'GdkDisplayManager'
(dropbox:28413): GLib-CRITICAL **: 14:08:52.030: g_once_init_leave: assertion 'result != 0' failed
(dropbox:28413): GLib-GObject-CRITICAL **: 14:08:52.030: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
Done!

Thank you.

Hi Juanjo,
I suggest you to clear this icon, create a launcher dropbox icon in the bar, and save your personal panel in mate tweak.
usr/share/mate-panel/layout/youruser.panel and youruser.layout will be updated.
This is a ‘normal’ procedure to include or clear a new icon. Perhaps in your case is not working. I tried in my panel and sometimes worked and others not (duplicate icons, others dissapears). Update panel since previous versions of ubuntu isn’t always easy, specially xenial to bionic.
Other more difficult option is manually edit youruser.panel and youruser.layout, change panel to ‘familiar’ f.ex. and turn again to your panel.

Hope it helps you.

@Juanjo: This is the way I solved the issue with Dropbox in Ubuntu MATE 17.10 (should also apply if you upgrade to Ubuntu MATE 18.04): Caja Dropbox not showing popup menu after starting (Mate 17.10)

Thanks for answering radax05 . I’ve tried it but it does not work.

Thank you for responding Tim, I use the traditional panel, I have tested with different panels and follow the problem.

On my clean installation of Ubuntu MATE 18.04.1 I have simply installed Caja Dropbox with

sudo apt-get install caja-dropbox

Then rebooted, logged in, entered my DropBox credentials and have icon in place and fully functional:

I recommend to remove all parts of DropBox from your system and from home folder and start again:

killall dropbox
sudo apt-get purge caja-dropbox
rm -rf ~/.dropbox
sudo apt-get install caja-dropbox

It is very likely that proprietary DropBox components are too old for new Ubuntu 18.04 LTS.

Hi Norbert_X, thanks for answering, I’ve already tried with the same result, it still does not work.
The icon does not appear in the panel and when executing from the terminal it leaves:

juanjo@Vant:~$ caja-dropbox start
Starting Dropbox…dropbox: locating interpreter
dropbox: logging to /tmp/dropbox-antifreeze-44E4qs
dropbox: initializing
dropbox: initializing python 3.5.4
dropbox: setting program path ‘/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90/dropbox’
dropbox: setting home path ‘/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90’
dropbox: setting python path ‘/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90:/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90/python-packages-35.zip’
dropbox: python initialized
dropbox: running dropbox
dropbox: setting args
dropbox: applying overrides
dropbox: running main script
dropbox: load fq extension ‘/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90/cryptography.hazmat.bindings._constant_time.cpython-35m-x86_64-linux-gnu.so’
dropbox: load fq extension ‘/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90/cryptography.hazmat.bindings._openssl.cpython-35m-x86_64-linux-gnu.so’
dropbox: load fq extension ‘/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90/cryptography.hazmat.bindings._padding.cpython-35m-x86_64-linux-gnu.so’
dropbox: load fq extension ‘/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90/psutil._psutil_linux.cpython-35m-x86_64-linux-gnu.so’
dropbox: load fq extension ‘/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90/psutil._psutil_posix.cpython-35m-x86_64-linux-gnu.so’
dropbox: load fq extension ‘/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90/linuxffi.pthread._linuxffi_pthread.cpython-35m-x86_64-linux-gnu.so’
dropbox: load fq extension ‘/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90/linuxffi.fcntl._linuxffi_fcntl.cpython-35m-x86_64-linux-gnu.so’
dropbox: load fq extension ‘/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90/linuxffi.sys.compiled._linuxffi_sys.cpython-35m-x86_64-linux-gnu.so’
dropbox: load fq extension ‘/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90/tornado.speedups.cpython-35m-x86_64-linux-gnu.so’
dropbox: load fq extension ‘/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90/cpuid.compiled._cpuid.cpython-35m-x86_64-linux-gnu.so’
dropbox: load fq extension ‘/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90/linuxffi.resolv.compiled._linuxffi_resolv.cpython-35m-x86_64-linux-gnu.so’
dropbox: load fq extension ‘/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90/posixffi.libc._posixffi_libc.cpython-35m-x86_64-linux-gnu.so’
dropbox: load fq extension ‘/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90/librsyncffi.compiled._librsyncffi.cpython-35m-x86_64-linux-gnu.so’
dropbox: load fq extension ‘/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90/PyQt5.QtWebKit.cpython-35m-x86_64-linux-gnu.so’
Dropbox isn’t running!
Done!
juanjo@Vant:~$ dropbox: load fq extension ‘/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90/PyQt5.QtCore.cpython-35m-x86_64-linux-gnu.so’
dropbox: load fq extension ‘/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90/PyQt5.QtNetwork.cpython-35m-x86_64-linux-gnu.so’
dropbox: load fq extension ‘/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90/PyQt5.QtGui.cpython-35m-x86_64-linux-gnu.so’
dropbox: load fq extension ‘/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90/PyQt5.QtWebKitWidgets.cpython-35m-x86_64-linux-gnu.so’
dropbox: load fq extension ‘/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90/PyQt5.QtWidgets.cpython-35m-x86_64-linux-gnu.so’
dropbox: load fq extension ‘/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90/PyQt5.QtPrintSupport.cpython-35m-x86_64-linux-gnu.so’
Gtk-Message: 07:55:31.371: Failed to load module “topmenu-gtk-module”
dropbox: load fq extension ‘/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-54.4.90/PyQt5.QtDBus.cpython-35m-x86_64-linux-gnu.so’
(dropbox:3621): GLib-GObject-WARNING **: 07:55:31.671: cannot register existing type ‘GdkDisplayManager’
(dropbox:3621): GLib-CRITICAL **: 07:55:31.671: g_once_init_leave: assertion ‘result != 0’ failed
(dropbox:3621): GLib-GObject-CRITICAL **: 07:55:31.671: g_object_new_with_properties: assertion ‘G_TYPE_IS_OBJECT (object_type)’ failed

Did do-release-upgrade on my Ubuntu 16.04.5 LTS MATE virtual machine.
So it is Ubuntu 18.04.1 LTS MATE now.
And got the same error messages as you have.
Also there is no DropBox icon/indicator in the tray.

So I reported bug 1785622 to LaunchPad.

The solution is to remove one file

sudo rm /etc/X11/Xsession.d/99mate-environment

as it contain references to non-existent topmenu-gtk-module and then reboot.

Note: this file came from ubuntu-mate-default-settings package, it was replaced with newer version during upgrade to newer version. It has corresponding new file named /etc/X11/Xsession.d/80mate-environment for the same purpose.

@Wimpy , @popey please make upgrade process smoother.

3 Likes

Thanks now I am going to try it, also report the bug https://bugs.launchpad.net/ubuntu-mate/+bug/1785558

1 Like

Perfect, it works. Thank you very much.

1 Like

I still couldn’t get the icon to display properly. However, I finally fixed it by doing the following:

  • apt-get purge all dropbox related packages
  • download the 64 bit DEB file from the Dropbox site: https://www.dropbox.com/download?dl=packages/ubuntu/dropbox_2015.10.28_amd64.deb
  • Install it (“sudo dpkg -i . . . .”)
  • Log out and log in again.
  • Use ‘ps’ to look for a dropbox process (‘ps ax | grep dropbox’).
  • Copy the launch line to the clip board
  • For both the Menu|Internet|Dropbox launch line and the System|Preferences|Personal|Startup Applications|Dropbox change the launch line to ‘dbus-launch [paste launch line from clipboard]’

It’s now working perfectly with an icon on the launch bar.

1 Like

I’ve also found that doing the same with the launch line from the caja-dropbox package works. But as Norbert_X suggested, you have to remove the 99mate-eenvironment file before installing.

Thk for this solution !!!

1 Like

Thank you rabinnh,
I installed Ubuntu Mate 18.04 on 16.04 without formatting the home partition, and the other solution didn't work for me either.