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

How to disable last used documents history in KDE4?

Tags: None
(comma "," separated)
bartek76
Registered Member
Posts
4
Karma
0
I would like to disable collection of information about used files/documents by the user. How can I do it?
ursh15
Registered Member
Posts
7
Karma
0
OS
Hello, i'm not sure if it's watt you want but on mine KD4 under OpenSuse, if i right click on the menu you may delete the list and there is as well a uninstall button (sorry my distro is not in English). Anyway i personally make a copy of my home before a do something like that !!!
bartek76
Registered Member
Posts
4
Karma
0
ursh15 wrote:Hello, i'm not sure if it's watt you want but on mine KD4 under OpenSuse, if i right click on the menu you may delete the list and there is as well a uninstall button (sorry my distro is not in English). Anyway i personally make a copy of my home before a do something like that !!!

I want to disable this. I don't have time to delete history every time I use some file. And I don't want system resources wasted for something I don't need.
User avatar
google01103
Manager
Posts
6668
Karma
25
wolfi323
Registered Member
Posts
1129
Karma
11
OS
bartek76 wrote:I want to disable this. I don't have time to delete history every time I use some file.

It is possible to enable/disable this (or change the number of items shown) in kdeglobals, there's just no GUI way to configure it.
See here for further details:
viewtopic.php?f=67&t=119324#p301110
Depending on your distribution it might also be ~/.kde4/share/config/kdeglobalsrc, and there should also be a path for system-wide config files ( /etc/kde4/share/config/kdeglobalsrc in openSUSE, run "kde4-config --path config" to get a list of directories that are searched).

Alternatively: The recent documents are stored in ~/.kde4/share/apps/RecentDocuments/. You can remove write permissions for that folder and the history should no longer be saved.

And I don't want system resources wasted for something I don't need.

This feature doesn't use any "system resources", except for a few KiB hard disk space for a maximum of 10 (with the default settings) .desktop files that contain the information.
bartek76
Registered Member
Posts
4
Karma
0
This feature doesn't use any "system resources", except for a few KiB hard disk space for a maximum of 10 (with the default settings) .desktop files that contain the information.

It uses disk I/O

P.S.
If there is no kdeglobalsrc file in ~/.kde4/share/config/ should I create it?
User avatar
google01103
Manager
Posts
6668
Karma
25
look at the kdeglobals file


OpenSuse Leap 42.1 x64, Plasma 5.x

wolfi323
Registered Member
Posts
1129
Karma
11
OS
bartek76 wrote:
This feature doesn't use any "system resources", except for a few KiB hard disk space for a maximum of 10 (with the default settings) .desktop files that contain the information.

It uses disk I/O

Ha ha, good joke.

Those files are in the range of 170 to 210 *Bytes* here on my system.
If that's a problem for you regarding disk I/O, you should start looking somewhere else first to fix it, I suppose...

If there is no kdeglobalsrc file in ~/.kde4/share/config/ should I create it?

Sorry, I got confused.
The file is called kdeglobals, not kdeglobalsrc.

But yes, you should create it if it doesn't exist. Although it should be there if you actually use KDE4.
bartek76
Registered Member
Posts
4
Karma
0
wolfi323 wrote:Ha ha, good joke.

If you have heavy disk load in your home folder already (copying something) and in the same time you are opening a lot of files which are located on another disk this will have huge impact on performance. But without writing file usage information I can open file on another disk and it will not impact disk usage in my home directory (and that is how it should work).
wolfi323
Registered Member
Posts
1129
Karma
11
OS
bartek76 wrote:If you have heavy disk load in your home folder already (copying something) and in the same time you are opening a lot of files which are located on another disk this will have huge impact on performance. But without writing file usage information I can open file on another disk and it will not impact disk usage in my home directory (and that is how it should work).

Again, we are talking about (10) files with a size of ~200 Bytes each.
If you open a new file, one such file is written and one deleted.
I don't see how this will have "huge impact on performance".

There might be good reasons to disable this feature, but this is not one of them IMHO.

Anyway, doesn't matter really, you did get the answers that you were looking for...


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar