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?