Here's a script that makes gnome-panel try twice to get loaded properly,
so it should avoid the need for a desktop launcher that kills the panel
for most of the cases; for the few that will remain, a logout/login
should suffice...
Greek teachers shouldn't apply it, it'll come as an update from our
ts.sch.gr PPA.
Create /opt/ltsp/i386/usr/local/bin/gnome-panel, with the following
contents:
#!/bin/sh
if [ "$LTSP_FATCLIENT" != "True" ]; then
exec /usr/bin/gnome-panel "$@"
fi
/usr/bin/gnome-panel "$@" &
sleep 10
if ! pgrep -nx indicator-sound -U $USER >/dev/null 2>&1; then
echo "$(date) - restarting gnome-panel" >> $HOME/.xsession-errors
exec /usr/bin/gnome-panel --replace
fi
And just a bit more debugging info, in case anyone's interested:
* On a client that has the problem, the gnome-panel process is there, but all
the applet processes (e.g. indicator-sound-service) aren't.
* The .xsession-errors of a client that doesn't have the problem, contains:
Initializing nautilus-gdu extension
** Message: applet now removed from the notification area
** Message: using fallback from indicator to GtkStatusIcon
** Message: moving back from GtkStatusIcon to indicator
...while on a client that does have the problem, the last line is missing (i.e.
it hangs somewhere between outputing those 2 lines)
* I tried removing everything from /etc/xdg/autostart, except for gnome-
settings-daemon.desktop, and the problem did appear to become more rare,
but eventually it did happen again on 1 client after rebooting 10
clients 6 times (while usually it happens on 1 out of 10 clients, every
time).
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1078679
Title:
Gnome fallback - intermittent menus on top panel
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-panel/+bug/1078679/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs