Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 4723  / 2 Years ago, wed, december 29, 2021, 8:26:40

I saw this post: Prevent gnome-shell's dash from listing Recent Items and I'm not able to remove the recently.used.xbel file.



Do I need to be root to do this?



-rw------- 1 ryan ryan 39157 2012-02-19 15:47 /home/ryan/.local/share/recently-used.xbel
--



When I run



rm ~/.local/share/recently-used.xbel


I get



rm: cannot remove `/home/ryan/.local/share/recently-used.xbel': Operation not permitted


Running the same command with sudo returns the same error, and running nautilus as root also returns a similar error.


More From » permissions

 Answers
3

what infinity said. Try ´sudo chattr -i
~/.local/share/recently-used.xbel´, and then try to delete the file
again.




– @severin



This did the trick. Thanks


[#40191] Wednesday, December 29, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eatack

Total Points: 245
Total Questions: 120
Total Answers: 113

Location: Estonia
Member since Wed, Jun 8, 2022
2 Years ago
;