You are not logged in.

#1 2021-09-04 10:48:48

Cassus
Member
Registered: 2021-07-15
Posts: 18

[SOLVED] User directories are being created in ~/Documents folder

Hello,

The title says it. It only happens on reboots. I haven't messed with xdg-user-dirs at all since GNOME managed everything for me.
Interestingly, not all typical folders are being created, only Videos, Templates, Pictures, Music and Downloads.
It might be a problem with some config file, but the only one I could think of (user-dirs.dirs) looks like nothing out of the ordinary:
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"

Last edited by Cassus (2021-09-04 16:19:23)

Offline

#2 2021-09-04 10:59:13

Ammako
Member
Registered: 2021-07-16
Posts: 267

Re: [SOLVED] User directories are being created in ~/Documents folder

These usually come from Wine, for what it's worth. Because Wine sets the folders in the prefix as symlinks to your actual folders, but it also puts additional Downloads, Music, Pictures, Templates, and Videos folders inside /Documents, probably for compatibility with very old programs that might expect these to be in there.

Offline

#3 2021-09-04 13:11:08

Flemur
Member
Registered: 2012-05-24
Posts: 72

Re: [SOLVED] User directories are being created in ~/Documents folder

If due to wine, check
winecfg -> "Desktop Integration" tab, and
ls -l ~/.wine/dosdevices


"If you do not change direction, you may end up where you are heading." -- L.T.

Offline

#4 2021-09-04 15:54:53

Cassus
Member
Registered: 2021-07-15
Posts: 18

Re: [SOLVED] User directories are being created in ~/Documents folder

Flemur wrote:

If due to wine, check
winecfg -> "Desktop Integration" tab, and
ls -l ~/.wine/dosdevices

Hmm.. in the Desktop Intergration tab, a folder linked to ~/.wine/dosdevices/c:/users/user/Documents/Templates
I unlinked it, rebooted, and voila, no unneeded folders! However, I wonder if this will lead to anything wine-related getting broken?

Offline

#5 2021-09-04 16:20:43

Ammako
Member
Registered: 2021-07-16
Posts: 267

Re: [SOLVED] User directories are being created in ~/Documents folder

Cassus wrote:

However, I wonder if this will lead to anything wine-related getting broken?

Most likely not. All that will really change is that Windows programs running through Wine will read/save their files to the folders inside Wine prefix instead of having those files mixed in with your regular files.

Offline

#6 2021-09-04 18:02:27

Cassus
Member
Registered: 2021-07-15
Posts: 18

Re: [SOLVED] User directories are being created in ~/Documents folder

Ammako wrote:
Cassus wrote:

However, I wonder if this will lead to anything wine-related getting broken?

Most likely not. All that will really change is that Windows programs running through Wine will read/save their files to the folders inside Wine prefix instead of having those files mixed in with your regular files.

Great then! Thanks for the help, everyone.

Offline

Board footer

Powered by FluxBB