Reset an application

Asked by Luis M.Jacinto on 2015-05-11

Ubuntu 12.04

After install QuitCount by mistake enter wrong data, now I find theres no way to edit or reset the data.
I uninstall and reinstall the application, when start the same wrong data is shown.
How to reset this application
Thank you

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Solved by:
Manfred Hampl
Last query:
Last reply:

Most likely there is a "hidden folder" with application data in it that you need to delete. You can view hidden files in Nemo (a file browser) by choosing "View->Show Hidden Files". If you are using different file browser such as Nautilus the procedure should be somewhat similar.

Locate the hidden folder for QuitCount and open it - delete all the files it contains. Then relaunch the application and you should be reset.

You can also do this using a terminal - Press Ctrl-Alt-T. Type the command ls -a and it should give a listing of all files and folders . The hidden files/folders will all begin with a period so most likely you will see a folder named .quitcount . If so then enter the command rm .quitcount/* .

Luis M.Jacinto (ljacinto) said : #2

Found Quitcount all over folders of File System but can't delete the files, I eventual uninstall with
Synaptic and now I have left 3 files one is quitcount.png second is quitcount_1.8-2_i386.deb and last
QuitCount (open properties, it says “desktop configuration file (application/x-desktop)”) click Delete
on these files nothing happens.
How can I delete theme?
Thank you

Manfred Hampl (m-hampl) said : #3

The general security concept of Unix allows modification on system files only by the root user.
On Ubuntu putting "sudo" in front of a command temporarily gives you administrative privileges.

What is the output of the terminal commands

sudo updatedb
locate --ignore-case quitcount

Luis M.Jacinto (ljacinto) said : #4

luis@luis-G41M-Combo:~$ sudo updatedb
[sudo] password for luis:
luis@luis-G41M-Combo:~$ locate --ignore-case quitcount
/home/luis/Ubuntu Help NEW/Reset QuitCount.odt

Best Manfred Hampl (m-hampl) said : #5

Your private configuration file for quitcount (that most probably contains the wrong settings is /home/luis/.config/quitcount/config

Start nautilus (the file explorer program), use ctrl-h to display also hidden files, navigate into the .config folder in your home directory and delete the whole quitcount subfolder.

This should remove your settings, and after new installation of quitcount you most probably start with standard vanilla settings.

The command to delete the config file from within a terminal is

rm -rf ~/.config/quitcount

Luis M.Jacinto (ljacinto) said : #6

Thanks Manfred Hampl, that solved my question.