Ubuntu – How to Restart Freezed/Hang Gnome Panel

After upgrading to Jaunty, in Compiz sometimes I get a lot of Gnome-Panel Freezes, hovering the mouse cursor over it won’t trigger any response.

This freezes usually triggered by pressing Alt-F2.

So, the gnome-panel has to be restarted with this command:

killall gnome-panel

nohup gnome-panel –replace &