#(Solved) Download Folder Randomly Deleted
44 messages · Page 1 of 1 (latest)
can you show me content of ~/.config/user-dirs.dirs?
@dire mountain
they're just running the file path so the shell is trying to execute it
and i guess it doesn't have x permission
oh yeah
didn't see that there's no cat lmao
yeah to see content of file, use cat
cat ~/.config/user-dirs.dirs
in your user shell, not root shell
@white yacht
hello?
now that i think about it if it was just a problem with xdg variables it wouldn't remove the old directory
what distro and what version of it are you running
also what desktop environment
judging by this
something-something i3, sway or dwm
oh i missed that yeah it's dwm
Naw its awesome
Using arch
lmao
but that happens when the previously set directory is nonexistant and user dirs are refreshed
so it probably won't fix it
Alright so how do I make sure this doesn't happen again tho
i'm not sure
I got a Linux virus or something?
there's probably a daemon of some sort deleting it
Oh
xdg-user-dirs-update can generate folders when needed tho
especially when changing user-dirs locale
idk how it is on WMs
but that's how it is on GTK DEs with user-dirs-update gtk helper
i doubt a malicious program for linux of all things would intentionally make itself detectable especially in a way like that
Yeah I created it when I first installed but it won't update now w the command
How can I recreate Downloads folder?
set the downloads variable to `$HOME/Downloads" and try
mkdir ~/Downloads
xdg-user-dirs-update
that may not be permanent though