恢复Ubuntu初始面板
一行命令恢复Ubuntu初始面板
转自: http://tumutanzi.com/archives/1825
Ubuntu是个不错的操作系统,我一直在使用它,免费,安全,自由。Gnome面板有时候会出现错位的小问题,要恢复初始状态也简单。下面的一行命令即可恢复面板至初始状态。打开终端(可同时按住Ctrl+Alt+t三个按键),输入下面的命令回车即可。
gconftool –recursive-unset /apps/panel && rm -rf ~/.gconf/apps/panel && pkill gnome-panel
Ubuntu 10.04 i386经过博主测试通过,其它版本理论上应该没有问题。网上的方法乱七八糟,有感而总结在此,简单有效,正本清源。
English version is as follows:
If you did something wrong with your Panels of Ubuntu Gnome desktop, it is easy to restore it. Press “Ctrl+Alt+t” or “Applications”, “Accessories”, “Terminal”, then copy and paste the following command in Terminal window, press Enter, the default panels of Ubuntu Lucid Lynx Gnome Desktop should be restored.
gconftool –recursive-unset /apps/panel && rm -rf ~/.gconf/apps/panel && pkill gnome-panel
It is tested on Ubuntu 10.04 i386 by myself, for other versions, it should work too.
Ubuntu的默认面板菜单栏删除后恢复的方法
转自: http://www.php-oa.com/2008/09/21/gnome-panel.html
我在一次不小心给Ubuntu的面板菜单栏删除了,害我很多事情不能做,因为没有面板.研究了一下怎么恢复的方法.
其实很容易,在个人的主目录.然后
rm -rf .gconf
这样就行了,在重新进入,是不是面板都恢复成默认的啦.
如果还不行,那就
rm -rf .gconfd 这个也删除啦
另外,如果只是面板上面应用程序的面板菜单没有了
给.config/menus/application.menu 删除后重新登录好了