Results 1 to 4 of 4

Thread: How do I back out / Undo these commands?

  1. #1
    Join Date
    May 2008
    Beans
    49

    How do I back out / Undo these commands?

    sudo apt-add-repository ppa:alanbell/unity
    sudo apt-get update
    sudo apt-get install unity-window-quicklists
    sudo sed -i 's/OnlyShowIn=UNITY/OnlyShowIn=Unity/g' /etc/xdg/autostart/unity-window-quicklists.desktop (This command line allows for the Unity Window Quicklists to start automatically when you log into the system.)

  2. #2
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How do I back out / Undo these commands?

    It should be something like this

    Code:
    sudo apt-get remove unity-window-quicklists
    sudo apt-add-repository -r ppa:alanbell/unity
    sudo apt-get update
    sudo cp /etc/xdg/autostart/unity-window-quicklists.desktop /etc/xdg/autostart/unity-window-quicklists.desktop.old
    sudo sed -i 's/OnlyShowIn=Unity/OnlyShowIn=UNITY/g' /etc/xdg/autostart/unity-window-quicklists.desktop
    It would have been good to keep a backup copy of /etc/xdg/autostart/unity-window-quicklists.desktop the first time around
    Last edited by Lars Noodén; October 30th, 2013 at 12:59 PM. Reason: moved update, not that it matters

  3. #3
    Join Date
    May 2008
    Beans
    49

    Re: How do I back out / Undo these commands?

    Thanks Lars!

  4. #4
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How do I back out / Undo these commands?

    No worries. BTW I updated the 4th line, since I managed to leave out the "cp" but it does not matter much. With editing files, even if the instructions don't call for it, I prefer to make a backup copy. It is so much easier just to replace the file from the backup than to go through notes to undo changes.

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
  •