This forum has been archived. All content is frozen. Please use KDE Discuss instead.

removing history

Tags: None
(comma "," separated)
glupie
Registered Member
Posts
67
Karma
0
OS

removing history

Wed Apr 25, 2018 9:47 am
Musing: I wish KDE had a mode similar to what most browsers now offer where nothing is remembered.

Anyway, when I go into any application (not necessarily even KDE applications) and open a file selection dialog, there is a line at the top that says "Look in:" with several directories selected. If I click the drop down arrow, at the bottom of the list, there are "Recent Places" (which are unique to each application). I want to get rid of these. I would prefer that no "Recent Places" ever be stored under any circumstances, but for now, I would like to know where these histories are being stored (I have done several searches throughout my home directory, but haven't been able to find them), so that I can remove them.
User avatar
Rog131
Registered Member
Posts
828
Karma
10

Re: removing history

Wed Apr 25, 2018 11:01 am
Maybe this ?: KDE System Settings > Desktop Behavior > Activities -> Privacy

Image

There are: Remember opened documents / Keep history /Clear recent history

The settings are for the kactivitymanagerd and the database is in $HOME/.local/share/kactivitymanagerd/resources/
glupie
Registered Member
Posts
67
Karma
0
OS

Re: removing history

Thu Apr 26, 2018 1:04 am
Thanks for the quick reply.

I have reset the settings to "Do not remember," but I am having trouble deleting the current data. I thought I selected "Forget everything" (as one of the options in the dropdown box on the right), but the directory has actually grown, and I can still see all of the entries by looking at the database file with less (or a hex editor).

Here are the before and after listings:

Code: Select all
$ ls -l /home/user/.local/share/kactivitymanagerd/resources/
total 832
-rw-r--r-- 1 user user 589824 2018-04-22 10:37:42 database
-rw-r--r-- 1 user user  32768 2018-04-25 19:27:11 database-shm
-rw-r--r-- 1 user user 220112 2018-04-25 14:51:46 database-wal

$ ls -l /home/user/.local/share/kactivitymanagerd/resources/
total 1296
-rw-r--r-- 1 user user 589824 2018-04-22 10:37:42 database
-rw-r--r-- 1 user user  32768 2018-04-26 00:22:59 database-shm
-rw-r--r-- 1 user user 693808 2018-04-26 00:22:59 database-wal


So I went back into the settings to try again, and now (paying close attention this time), I can't select anything in the dropdown box other than "Clear recent history" (if I select anything else, as soon as I release the mouse button, it goes back to "Clear recent history." Can I just zap those files (and if so, do I have to wait until I am not logged in to make sure that they don't just reappear with cached data)?


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]