RSS | Archive | Random | E-mail

About

Hi, I'm Christian Castelli, a 28 years old italian programmer located in Pisa (Italy). Here I post small snippets of code which can be useful in my work.

Links

Codepuzzling main site
Development site
ByteStrike italian blog
Follow me on Twitter

My Life Style

while(passion) {
  try {
    myLife.run();
  }catch(LifeExceptions) {  
    stronger++;
    continue;
   }
}

Following

14 May 10

How to restore Ubuntu gnome panel and menu items

As simple as:

gconftool-2 --shutdown
rm -rf ~/.gconf/apps/panel
pkill gnome-panel
If you want to restore, in example, Games menu from Applications, you have to:
cd ~/.config/menus
vim applications.menu
and then remove (in my case) Deleted node:
        <Menu>
                 <Name>Games</Name>
                 <Exclude>
                         <Filename>mahjongg.desktop</Filename>
                 </Exclude>
                 <AppDir>/home/chris/.local/share/applications</AppDir>
                <!-- remove this node </Deleted> -->
         </Menu>
Via Ubuntu forums here and here.

Tags: ubuntu gnome
Comments (View)
Themed by Hunson. Originally by Josh