How do I completely ininstall Lightread?

Asked by anthropornis

I went into Synaptic, right clicked Lightread, selected "completely remove" (including config files), then re-installed ... and I was already still logged into my Google account.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu lightread Edit question
Assignee:
No assignee Edit question
Solved by:
anthropornis
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Yes, because uninstalling the app does ONLY that, it doesn't remove the configs in your home folder, the 'config files' are the ones in /etc and so forth. Uninstalling then reinstalling an application does not remove the configs in your home folder, you must do this manually.

Revision history for this message
anthropornis (anthropornis) said :
#2

Hence my question. Maybe someone who knows the actual paths to any relevant files and folders might now chime in.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Can you give the output of:

sudo updatedb; locate lightread | grep home; lsb_release -a

The first part of the command will take a while

Thanks

Revision history for this message
anthropornis (anthropornis) said :
#4

Sure. I ran the above with Lightread "completely removed" and reinstalled, and the output in both cases is as follows:

Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

If you run:

sudo updatedb; locate lightread | grep home

What is output (if anything), it will take a while to run

Revision history for this message
anthropornis (anthropornis) said :
#6

Running the above command does not yield any output (LightRead is currently uninstalled).

Does Ubuntu have some generic location to store "online account" credentials so that multiple apps can share the same logins?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

try:

ls ~/.config

What is output?

Thanks

Revision history for this message
anthropornis (anthropornis) said :
#8

No problem, and thank you as well

$ ls ~/.config > ls-out
autostart
chromium
compiz-1
dconf
enchant
eog
gedit
gedit-DEFAULT
gnome-control-center
gnome-disk-utility
gnome-session
goa-1.0
google-googletalkplugin
gpodder
gpodder-DEFAULT
gwibber
htop
ibus
indicator-sensors
libreoffice
monitors.xml
nautilus
nautilus-actions
nuvolaplayer
Skype
software-center
spotify
tomboy
totem
transmission
Trolltech.conf
ubuntuone
update-notifier
user-dirs.dirs
user-dirs.locale
vlc
yarpen.cz
yelp

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#9

Hmm, not there, is there anything that looks like the config if you run:

ls $HOME

I'll try using the web to find the config, it must be somewhere.....

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#10

Try running:

dconf-editor

and searching in there

Revision history for this message
anthropornis (anthropornis) said :
#11

Okay, it's not anywhere I would have expected. Got this in an email from one of the developers:
"Lightread stores data in ~/.local/share/webkit/databases. It should be the sqlite file. We're working on fixing apt-get purge. Logout should clear all data though."

I tried both logging out and rebooting but that doesn't clear data.

I looked in the above folder, but there are multiple databases (and another folder) within that folder. If any other application other than LightRead uses this webkit folder, I wouldn't know which database to nuke. (It would be preferable, for me at least, if databases specific to LightRead were segregated in some LightRead-specific directory).

I installed sqliteman and inspected the different databases. By process of elimination, it seems ~/.local/share/webkit/databases/file__0/file__00000000000000001.db is the one that contains my login data.

Re-installing LightRead (as well as running "select * from user;" in sqliteman) confirms that neither logout nor reboot after an apt-get purge clear the login info.

Right now my only workaround seems to be to rename the webkit folder and hope nothing else besides LightRead depends on it. After doing that, and re-installing LightRead, I can confirm this does indeed hide my login info from LightRead, which creates a new webkit folder and various Sqlite databases.

I'm going to mark this question as solved. Thanks again.