Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I remember I deleted a built-in directory like "Documents", and it lost its custom document icon, even when I created a "Documents" directory anew. No amount of googling / asking forums and IRC could bring my custom icon back. :)

(Linux Mint, Cinnamon)



https://man.archlinux.org/man/user-dirs.dirs.5.en

If you delete one folder the file $HOME/.config/user-dirs.dirs will be updated sooner or later, and point to $HOME/ and the icon will not be restored by recreating any folder.

Just change the values in there to whatever.


Whoa! I will try that, thank you!




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: