Author Topic: Reverting to original settings of a programme  (Read 1152 times)

0 Members and 1 Guest are viewing this topic.

Offline Sabinus

  • Jr. Member
  • **
  • Posts: 12
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Reverting to original settings of a programme
« on: December 25, 2019, 01:22:51 am »
How do I revert back to the original state of a programme if I have made a mistake in setting it up? So far, I have found it hard, if not impossible to go back to how a programme or application was when it was initially downloaded. It looks like, in linux mint, once you have set up an application/programme and confirmed it, you cannot change that setting even if you uninstall the programme and reinstall it. Once reinstalled, the new installation retains the settings you want to get rid of. Could someone please tell me if there is a way to correct mistakes made during the set up period?

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1833
  • Karma: 142
  • Gender: Male
    • View Profile
    • Awards
Re: Reverting to original settings of a programme
« Reply #1 on: December 25, 2019, 07:01:11 pm »
You could try purging the application while removing it:
Code: [Select]
sudo apt-get remove --purge <application>
then reinstalling it again

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: Reverting to original settings of a programme
« Reply #2 on: December 25, 2019, 09:02:24 pm »
Which application ?

There's a good chance it's storing its settings somewhere in a folder in somewhere like

~/.application_name
or
~/.config/application_name
or
~/.local/share/application_name

you'll need to delete those folders.



Personally I update the search index database by running:
Code: [Select]
sudo updatedb
then (using say 'clipit' here as an application example) do a case insensitive search for anything related to the application:
Code: [Select]
locate -i clipit
and delete anything that's listed in my home folder.



99 time out of 100, the settings will be stored in their own folder inside:-
Code: [Select]
~/.config
but not always, for example the Firefox settings are in
Code: [Select]
~/.mozilla/firefox
« Last Edit: December 25, 2019, 09:10:20 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Sabinus

  • Jr. Member
  • **
  • Posts: 12
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Reverting to original settings of a programme
« Reply #3 on: December 27, 2019, 11:10:08 pm »
Thanks for the suggestions guidance, I will make use of them and see what happens. Thanks again to all especially SeZo and Mark.

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal