bookmarks docklet has wrong path for bookmarks

Bug #1606758 reported by John
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Docky
New
Undecided
Unassigned

Bug Description

I just installed 2 different flavors of Ubuntu: Elementary OS Freya 14.04 and Ubuntu Gnome 16.04.1.

The first thing I installed on each was Docky, however on each the Bookmarks docklet was not functioning at all.

I ran docky with the --debug function and found that it was looking for the bookmarks in the wrong directory:

[Error 20:33:30.609] [BookmarksItemProvider] File 'file:///home/<username>/.gtk-bookmarks does not exist.

This is the wrong path AND wrong filename for the bookmarks it needs.

The correct path is:

/home/<yourusername>/.config/gtk-3.0

the correct filename is:

bookmarks

:~/.config/gtk-3.0$ ls
bookmarks

I would fix this if I knew where the docklet code was stored, and if it was in plain text format. But I don't know any of these things. So I hope someone fixes this asap.

There are some other problems like the weather and npr don't ever work (npr requires your gmail to accept less secure apps) but I don't really care about them since I don't need to use those features.

################### from Ubuntu Gnome 16.04.1 ########################

$ docky --version
[Info 20:36:35.883] Docky version: 2.2.1.1 Release
[Info 20:36:35.885] Kernel version: 4.4.0.31
[Info 20:36:35.885] CLR version: 4.0.30319.17020
[Error 20:36:35.969] [SystemService] Could not initialize power manager dbus: 'Could not load type 'Docky.Services.SystemService+IUPowerProxy' from assembly 'DBus.Proxies, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' because it is implements the inaccessible interface 'Docky.Services.SystemService+IUPower'.'
[Info 20:36:35.970] [SystemService] at System.Reflection.Emit.TypeBuilder.CreateTypeInfo () <0x7f60c399c000 + 0x00884> in <filename unknown>:0
  at System.Reflection.Emit.TypeBuilder.CreateType () <0x7f60c399bfe0 + 0x0000c> in <filename unknown>:0
  at DBus.TypeImplementer.GetImplementation (System.Type declType) <0x41308590 + 0x00283> in <filename unknown>:0
  at DBus.BusObject.GetObject (DBus.Connection conn, System.String bus_name, DBus.ObjectPath object_path, System.Type declType) <0x413083f0 + 0x00037> in <filename unknown>:0
  at DBus.Connection.GetObject (System.Type type, System.String bus_name, DBus.ObjectPath path) <0x41306f20 + 0x0007f> in <filename unknown>:0
  at DBus.Connection.GetObject[T] (System.String bus_name, DBus.ObjectPath path) <0x41306eb0 + 0x00037> in <filename unknown>:0
  at Docky.Services.SystemService.InitializeBattery () <0x41350ca0 + 0x000b3> in <filename unknown>:0
[Error 20:36:35.972] [SystemService] Could not initialize Network Manager dbus: 'Could not load type 'Docky.Services.SystemService+INetworkManagerProxy' from assembly 'DBus.Proxies, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' because it is implements the inaccessible interface 'Docky.Services.SystemService+INetworkManager'.'
[Info 20:36:35.972] [SystemService] at System.Reflection.Emit.TypeBuilder.CreateTypeInfo () <0x7f60c399c000 + 0x00884> in <filename unknown>:0
  at System.Reflection.Emit.TypeBuilder.CreateType () <0x7f60c399bfe0 + 0x0000c> in <filename unknown>:0
  at DBus.TypeImplementer.GetImplementation (System.Type declType) <0x41308590 + 0x00283> in <filename unknown>:0
  at DBus.BusObject.GetObject (DBus.Connection conn, System.String bus_name, DBus.ObjectPath object_path, System.Type declType) <0x413083f0 + 0x00037> in <filename unknown>:0
  at DBus.Connection.GetObject (System.Type type, System.String bus_name, DBus.ObjectPath path) <0x41306f20 + 0x0007f> in <filename unknown>:0
  at DBus.Connection.GetObject[T] (System.String bus_name, DBus.ObjectPath path) <0x41306eb0 + 0x00037> in <filename unknown>:0
  at Docky.Services.SystemService.InitializeNetworkManager () <0x41358160 + 0x00117> in <filename unknown>:0
[Info 20:36:35.976] [ThemeService] Setting theme: Classic
[Warn 20:36:35.980] [DesktopItemService] Could not find remap file '/home/<username>/.local/share/docky/remaps.ini'!
[Info 20:36:36.016] [DockServices] Dock services initialized.
[Info 20:36:36.121] [PluginManager] Loaded "Bookmarks".
[Info 20:36:36.121] [PluginManager] Loaded "Trash".
[Error 20:36:36.135] [BookmarksItemProvider] File 'file:///home/<username>/.gtk-bookmarks does not exist.

############################

Revision history for this message
John (webdevelopmentusa) wrote :

I fixed this temporarily by making a symbolic link from the missing file to the correct file:

ln -s /home/<yourusername>/.config/gtk-3.0/bookmarks /home/<yourusername>/.gtk-bookmarks

I did this because just copying the actual bookmark file caused the Workspace Switcher docklet to malfunction.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.