Bonjour,
Tu peux aussi essayer d'empêcher d'écrire sur :
~/.local/share/recently-used.xbel
Tu vides le fichier
>~/.local/share/recently-used.xbel
et tu en modifies les attributs
sudo chattr +i ~/.local/share/recently-used.xbel
L'inconvénient est que tu reçois un message d'erreur chaque fois qu'une application essaye d'écrire dans ce fichier.
Pour autoriser à nouveau l'écriture
sudo chattr -i ~/.local/share/recently-used.xbel
Voici un extrait de
man chattr :
A file with the `i' attribute cannot be modified: it cannot be deleted
or renamed, no link can be created to this file and no data can be
written to the file. Only the superuser or a process possessing the
CAP_LINUX_IMMUTABLE capability can set or clear this attribute.
Pour lister les attributs :
lsattr ~/.local/share/recently-used.xbel