Results 1 to 8 of 8

Thread: rm -rf

  1. #1
    Join Date
    Aug 2007
    Location
    Karma BC
    Beans
    1,215
    Distro
    Ubuntu 10.04 Lucid Lynx

    rm -rf

    Hi -- I came across a posting on how to restore a messed up desktop. This is what they suggest:
    cd /home/username
    rm -rf .gnome2 .gconf .gconfd .metacity
    and then a reboot.

    Anybody know if this would have the desired effect of restoring default settings as the poster suggests?

    Original blog-post:Thanks

    The above commands DO restore desktop to original state
    Last edited by utnubuuser; July 18th, 2009 at 05:43 AM.
    Kipling - "if"

  2. #2
    Join Date
    Apr 2008
    Location
    /home/ibutho
    Beans
    1,365

    Re: rm -rf

    I think you should backup any files first before running "rm -rf". AFAIK deleting those files should restore GNOME back to the defaults.

  3. #3
    Join Date
    Feb 2009
    Beans
    8

    Re: rm -rf

    any files in the /home/username/ directory are either your files or preferences specific to your account, so deleting them would do exactly that (and rm = remove = delete), however you do not need to reboot, instead (I think) you can just kill gnome.

  4. #4
    Join Date
    Apr 2007
    Location
    Indiana
    Beans
    1,275
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Exclamation Re: rm -rf

    before you run that rm -rf command read this first http://ubuntuforums.org/showthread.p...rmful+commands
    to reinstall the desktop
    Code:
    sudo aptitude reinstall ubuntu-desktop
    The Maximum Effective Range of An Excuse is Zero Meters

  5. #5
    Join Date
    Dec 2006
    Beans
    Hidden!

    Re: rm -rf

    Quote Originally Posted by utnubuuser View Post

    Anybody know if this would have the desired effect of restoring default settings as the poster suggests?
    Yes, it will. The command is safe to run if you want to delete your preferences, nothing malicious about it.

    Also, don't waste your time re-installing the entire desktop since that will NOT reset you personal preferences.

  6. #6
    Join Date
    Aug 2007
    Location
    Karma BC
    Beans
    1,215
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: rm -rf

    Thanks Guys

    I had no intentions of using the command, I just happened to find it in a blog, - wondered because I'd seen warnings about rm -rf, and wanted to make sure it wasn't some malicious blogger tricking people into deleting their Ubuntu installs.
    Kipling - "if"

  7. #7
    Join Date
    Jun 2011
    Beans
    5

    Re: rm -rf

    What would be the corresponding action now that Ubuntu comes with Unity instead?

  8. #8
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 19.10 Eoan Ermine

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •