unity - Status bar icon indicators disappear when waking from suspend - Ask Ubuntu
so, when wake suspend, happens:
the missing icons skype , mega. when close 1 of programs, other icon appear, this:
how can fix or make script refreshes status bar?
as temporary solutions until bug fixed, can create file f.e. icons.sh (dont't forget give execution rights chmod +x) @ location:
#!/bin/bash dbus-monitor --session "type=signal,interface=com.canonical.unity.session,member=unlocked" | while read msg; lock_stat=`echo $msg | awk '{print $nf}'` if [[ "$lock_stat" == "member=unlocked" ]]; killall unity-panel-service /usr/lib/x86_64-linux-gnu/unity/unity-panel-service& fi done
after saving script, open ubuntu startup applications apps menu , configure script run after login:
every time unlock screen, unity panel service automatically killed , started, keeping icons in place.
Comments
Post a Comment