Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacksaur authored Mar 28, 2022
1 parent 9480c86 commit 2686e4c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# NoFoxGiven
Automated script to remove all traces of Snap, including reinstalling a standalone version of Firefox. Designed for Kubuntu.
This is my first script I'm making publically available. I have zero actual code knowledge and just put it together as I went. I'm certain elements can be done better and I've made amaturish mistakes in places. Any suggestions or improvements are welcome.
This is my first script I'm making publically available. I have zero actual code knowledge and just put it together as I went. I'm certain elements can be done better and I've probably made amaturish mistakes in places. Any suggestions or improvements are welcome.

This script will download the latest [Standalone version of Firefox from Mozilla](https://www.mozilla.org/en-GB/firefox/all/#product-desktop-release), uninstall all Snaps installed by default, then remove Snap itself and mark it to be held back: Preventing any further snaps from being installed in future.
This script is designed for use with Kubuntu 22.04 and above. It is untested on any other distro, and I do not recommend trying, as it removes a GNOME component.

# Backup your Firefox profile or you will lose everything!
Your Firefox profile contains the vast majority of your browser customizations. This includes positions of UI elements, any userchrome.css tweaks, installed addons, bookmarks, history and cookies. Addons' own settings are not saved. I'm afraid you'll have to reimplement those yourself.
You can back up your profile by navigating to *about:profiles*, and finding the profile marked as "Currently in use and cannot be deleted". Rename it to make it easier to locate, then click the Open Folder button in its Root Directory row. Copy the entire profile's folder and move it somewhere safe.
Your Firefox profile contains the vast majority of your browser customizations. This includes your Bookmarks, History, Cookies, Positions of UI elements, any userchrome.css tweaks and installed addons. Addons' own settings are not saved. I'm afraid you'll have to reimplement those yourself.
You can back up your profile by navigating to *about:profiles*, and finding the profile marked as "Currently in use and cannot be deleted". Rename it to make it easier to locate, then click the Open Folder button in its Root Directory row. Copy the profile's entire folder and keep it somewhere safe.

When running the newly installed Standalone Firefox, go to *about:profiles* again, open any profile's Root folder, and move up a directory. And paste the profile folder you backed up earlier here. You may need to restart Firefox to get it to appear in the profiles menu, but once it does choose *Set as Default Profile* and restart.
After you've run the script, open your newly installed Standalone Firefox, go to *about:profiles* again, open any profile's Root folder, and move up a directory. And paste the profile folder you backed up earlier here. You may need to restart Firefox to get it to appear in the profiles menu, but once it does choose *Set as Default Profile* and restart. Almost everything should now be in the same state as it was with your old version of Firefox, but again, you'll need to reconfigure your individual Addons.

# Installation and Usage
Ensure Curl is installed on your system. Use the command 'sudo apt install curl' to check, and install it if it isn't.
Ensure Curl is installed on your system.
Backup your profile as described above. Download the latest release and unzip it all to a folder. Right click on the script, go to properties, permissions, and tick *Is Executable*. Right click the script and choose Run in Konsole (or whichever Terminal Emulator you use). After the script finishes, restore your Profile backup as described above.

0 comments on commit 2686e4c

Please sign in to comment.