2

Docky keeps on crashing every time I plug in or unplug the AC cable. I tried solving the problem following the instructions on this website.

It worked fine for the suspend crash but when I try the power cable one I get this error in the terminal

(gedit:27944): Gtk-WARNING **: Calling Inhibit failed GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:27944): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

How can I solve it?

1

Unfortunately this is a known bug in Docky - see here.

That said, there is a fix if you're willing to delve into the Docky source code. Otherwise just sit tight until it's fixed on the master branch.

1

I needed a more step-by-step answer, and found this guide: http://www.tdrusk.com/wp-content/plugins/really-static/static/2015/01/24/how-to-fix-docky-crashes-when-suspended-or-unplug-in-ubuntu-14-04-and-14-10/

Basically, applies the fix mentioned by Jamie above using the "classic" instructions here How to download, modify, build and install a Debian source package? to fix, build, and install from source (easier than it sounds, maybe 5 or 6 lines).

For reference, for me the single-line fix was on line 281. enter image description here

And hooray, now I don't have to restart docky all the time!

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.