News for hackers. Stuff that matters.
Re:Dotfiles being hidden is a UNIXv2 mistake (2012) by Beltalowda on Thursday August 11, 2022 @02:57PM (#32430184)
> Experienced users ignore them or delete them

I wish I could! But ~/Desktop and ~/Downloads keep getting re-created by ... something :-/ I tried setting XDG_{DESKTOP,DOWNLOAD}_DIR but it seems to get ignored. Been annoying me for years.

Re:Dotfiles being hidden is a UNIXv2 mistake (2012) by epakai on Thursday August 11, 2022 @04:15PM (#32431166)
Modify ~/$XDG_DIRNAME_DIR/user-dirs.dirs (usually ~/.config/user-dirs.dirs). You can just point them all to $HOME if you don't want any sub-directories created.
Re:Dotfiles being hidden is a UNIXv2 mistake (2012) by Beltalowda on Thursday August 11, 2022 @04:32PM (#32431352)
I'm fairly certain I tried this in the (distant) past but that it didn't take, but I've tried again; we'll see if it gets re-created.
Re:Dotfiles being hidden is a UNIXv2 mistake (2012) by nobody9999 on Thursday August 11, 2022 @04:21PM (#32431243)
>I wish I could! But ~/Desktop and ~/Downloads keep getting re-created by ... something :-/ I tried setting XDG_{DESKTOP,DOWNLOAD}_DIR but it seems to get ignored. Been annoying me for years.

Perhaps something like:

   ln -s /dev/null ~/Desktop

   ln -s /dev/null ~/Downloads 

   etc.
That would solve the problem, no?
Re:Dotfiles being hidden is a UNIXv2 mistake (2012) by layer8 on Thursday August 11, 2022 @04:29PM (#32431319)
It wouldn’t solve the problem of those directory entries being present.