desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #66030
[Bug 44082] Re: GNOME Panel icons (on right side) move apparently randomly on session start in some situations
As the upload tool of launchpad doesn't work right now, here is my lazy
lock down script:
#!/bin/sh
### Config
NOTIFY=on #(on/off)
LOCK_TITLE="Panel Lock Down"
LOCK_MSG="Locking the GNOME panel"
UNLOCK_TITLE="Panel Lock Down"
UNLOCK_MSG="Unlocking the GNOME panel"
LOCK_ICON="/usr/share/icons/hicolor/48x48/apps/gdu-encrypted-lock.png"
UNLOCK_ICON="/usr/share/icons/hicolor/48x48/apps/gdu-encrypted-unlock.png"
### Dependency checking
if [ -z "$(which gconftool-2)" ]; then
if [ -n "$(which gconftool-2)" ]; then
zenity --warning --text "Error. No binary found for gconftool-2!" --title "Panel Lock Down"
else
echo "Panel Lock Down: Error. No binary found for gconftool-2!"
fi
exit 1
fi
if [ "$NOTIFY" = "on" ] && [ -z "$(which notify-send)" ]; then
SCRIPT_LOCATION="$(pwd)/$(basename $0)"
if [ -n "$(which zenity)" ]; then
zenity --warning --text "Notifcations failed! Please install the libnotify-bin package or disable notifications in $SCRIPT_LOCATION" --title "Panel Lock Down"
else
echo "Panel Lock Down: Notifcations failed! Please install the libnotify-bin package or disable notifications in $SCRIPT_LOCATION"
fi
NOTIFY="off"
fi
### Main
if [ "$(gconftool-2 -g /apps/panel/global/locked_down)" = "true" ]; then
[ "$NOTIFY" = "on" ] && notify-send -i $UNLOCK_ICON "$UNLOCK_TITLE" "$UNLOCK_MSG"
gconftool-2 -s /apps/panel/global/locked_down --type=bool false
elif [ "$(gconftool-2 -g /apps/panel/global/locked_down)" = "false" ]; then
[ "$NOTIFY" = "on" ] && notify-send -i $LOCK_ICON "$LOCK_TITLE" "$LOCK_MSG"
gconftool-2 -s /apps/panel/global/locked_down --type=bool true
else
if [ -n "$(which zenity)" ]; then
zenity --warning --text "Error. Undefined state of global panel lock down!" --title "Panel Lock Down"
else
echo 'Panel Lock Down: Error. Undefined state of global panel lock down!'
fi
exit 1
fi
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-panel in Ubuntu.
https://bugs.launchpad.net/bugs/44082
Title:
GNOME Panel icons (on right side) move apparently randomly on session
start in some situations
Status in Desktop panel for GNOME:
Fix Released
Status in One Hundred Paper Cuts:
Invalid
Status in “gnome-panel” package in Ubuntu:
Triaged
Status in “gnome-panel” source package in Hardy:
Triaged
Bug description:
The items on the gnome panel is disordered in some cases, one of these
being changing the screen reolution, possibly other, more random,
cases as well.
-----
Temporary solution:
Backup the state of your panel:
gconftool-2 --dump /apps/panel > panel_backup.xml
and then restore it whenever it gets messed up:
gconftool-2 --load panel_backup.xml
killall gnome-panel (kills and auto-respawns, possibly need to run gnome-panel & as well)
-----
I have noticed for a while now that the above-mentioned phenomenon
occurs when I, say, return from a shut-down. However, the strange
thing is that it only happens on some occations. I don't really know
what the problem is, so I can't, unfortunately, post more information.
To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-panel/+bug/44082/+subscriptions