I am running Xubuntu 14.04 XFCE4 and experiencing similar problems.
I fixed issue by creating a file called /etc/pm/sleep.d/20_docky and making it 
executable with:
sudo chmod ugo+x /etc/pm/sleep.d/20_docky

#!/bin/sh
case $1 in
  resume)
    USER=`who | grep ":0" | head -1 | cut -d" " -f1`
    USERHOME=/home/$USER
    export XAUTHORITY="$USERHOME/.Xauthority"
    export DISPLAY=":0"
    su $USER - -c "dbus-launch /usr/bin/docky >/dev/null" &
    exit 0;
    ;;
esac

So far, so good..

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1321713

Title:
  docky keeps crashing!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/docky/+bug/1321713/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to