Difference between revisions of "Panel - Reset to Default"

From FreekiWiki
Jump to navigation Jump to search
Line 20: Line 20:
  
 
<code>
 
<code>
#!/bin/bash
+
#!/bin/bash
#Doing these first two lines is probably overkill, but we want to reset the panels to default no matter the cause.
+
#Doing these first two lines is probably overkill, but we want to reset the panels to default no matter the cause.
gksudo apt-get purge gnome-panel indicator-applet-session
+
gksudo apt-get purge gnome-panel indicator-applet-session
gksudo apt-get install gnome-panel indicator-applet-session
+
gksudo apt-get install gnome-panel indicator-applet-session
gksudo restart network-manager
+
gksudo restart network-manager
gconftool --recursive-unset /apps/panel
+
gconftool --recursive-unset /apps/panel
rm -rf ~/.gconf/apps/panel
+
rm -rf ~/.gconf/apps/panel
pkill gnome-panel
+
pkill gnome-panel
 
</code>
 
</code>
  
 
[[Media:Restore-panel.sh]]
 
[[Media:Restore-panel.sh]]
 
[[Category: Tech support]]
 
[[Category: Tech support]]

Revision as of 17:59, 1 April 2011

How to Reset the Panel to Default

Open a Terminal and type the following

gconftool –recursive-unset /apps/panel (All panels will disappear)
rm -rf ~/.gconf/apps/panel
pkill gnome-panel 

Here's a script to fix all your panel problems = ) It will reset your panels to the ubuntu default and make sure everything is running properly.

BEFORE YOU RUN IT, however, open:

/etc/NetworkManager/nm-system-settings.conf

Now find:

[ifupdown]
managed = false

And change the second line to:

managed = true

Download this script anywhere, double-click it, and choose "run."

#!/bin/bash
#Doing these first two lines is probably overkill, but we want to reset the panels to default no matter the cause.
gksudo apt-get purge gnome-panel indicator-applet-session
gksudo apt-get install gnome-panel indicator-applet-session
gksudo restart network-manager
gconftool --recursive-unset /apps/panel
rm -rf ~/.gconf/apps/panel
pkill gnome-panel

Media:Restore-panel.sh