10.04 upgrade from 8.04 firefox issues and other user settings

Charl Wentzel charl.wentzel at vodamail.co.za
Fri Aug 27 20:11:07 BST 2010


On Fri, 2010-08-27 at 11:03 -0400, Nicolas Roussi wrote:
> I have recently upgraded to 10.04 but now all my users have issues and
> I wanted to reset all their preferences. Do you recommend this
> command:
> sudo rm
> -rf /home/*/.gnome /home/*/.gnome2 /home/*/.gconf /home/*/.gconfd /home/*/.metacity

This has worked for me in the past.  These directories should be
recreated automatically.  If you want to be safe I would suggest backup
the directories first.

I'm not sure if the command will work with /home/*/.xxx, I've never
tried using a wildcard like that.  The following script will definitely
work:

for dir in $(ls /home); do 
  if [ -d /home/$dir ]; then  
    echo "*** $dir ***"; 
    for subdir in .gnome .gnome2 .gconf .gconfd .metacity; do 
      mv /home/$dir/$subdir /home/$dir/$subdir.bak;
      rm -rf /home/$dir/$subdir;
    done; 
  fi; 
done;

Just copy it to terminal.

> Also, I know that this will not reset any firefox issues that I have.
> Firefox crashes every time a website uses flash. I installed chromium
> but all the users are used to just clicking the Firefox icon on the
> panel. Is there a way that from the shell I can remove the Firefox
> icon from the panel and add Chromium?

Sorry, haven't had to do this on many machines at once.  I only know how
to do it from the desktop.

Regards
Charl




More information about the edubuntu-users mailing list