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

Reply via email to