Status bar icon indicators disappear when waking from suspend
Solution 1:
As a temporary solutions until the bug is fixed, you can create a file f.e. icons.sh (dont't forget to give it execution rights with chmod +x) at any location:
#!/bin/bash
dbus-monitor --session "type=signal,interface=com.canonical.Unity.Session,member=Unlocked" |
while read MSG; do
LOCK_STAT=`echo $MSG | awk '{print $NF}'`
if [[ "$LOCK_STAT" == "member=Unlocked" ]]; then
killall unity-panel-service
/usr/lib/x86_64-linux-gnu/unity/unity-panel-service&
fi
done
After saving the script, open Ubuntu Startup Applications from Apps menu and configure this script to run after you login:
Every time you unlock the screen, unity panel service will be automatically killed and started, keeping your icons in place.