recently-used.xbel

1 réponse [Dernière contribution]
meydlo
Hors ligne
A rejoint: 04/18/2015

Hi

I'm trying to disable recently-used history but is unfortunately not working as I expected.

I tried approach 1.

rm /home/meydlo/.local/share/recently-used.xbel
ln -s /dev/null /home/meydlo/.local/share/recently-used.xbel

I noticed that after reboot i got the file as follows

-rw------- 1 meydlo libvirtd 1539 Jul 4 21:17 /home/meydlo/.local/share/recently-used.xbel

So I tried approach 2.

rm /home/meydlo/.local/share/recently-used.xbel
touch /home/meydlo/.local/share/recently-used.xbel
chmod 000 /home/meydlo/.local/share/recently-used.xbel
chattr +i /home/meydlo/.local/share/recently-used.xbel

Still did not worked, I even tried to put it into roots crontab using @reboot.
Any idea how set the file to be not editable?

Thanks

meydlo
Hors ligne
A rejoint: 04/18/2015

I just had to messsed up something... Somehow it's working now as it supposed to by 2nd approach.
Sorry for the terrible thread

regards
meydlo