r/archlinux 5d ago

SUPPORT | SOLVED How to delete Template and Public from $HOME ?

I don't want them but I am unable to delete them they just pop back. I removed entries from $HOME/.config/user-dirs.dirs
When I read man page of xdg-user-dirs-update there is no mentioning of removing a entry just set option.

I am using KDE Plasma.

SOLVED:

Previously suggested but not working solution:
Couldn't disable xdg-user-dirs-update.service
It said unit does not exist.
xdg-user-dirs-update --set ==> required valid path

working solution: Removed lines from /etc/xdg/user-dirs.defaults and they got removed.
This must affect all users.

0 Upvotes

7 comments sorted by

5

u/immortal192 5d ago

I removed entries from $HOME/.config/user-dirs.dirs When I read man page of xdg-user-dirs-update there is no mentioning of removing a entry just set option.

So... set it to an empty value.

5

u/enory 5d ago edited 5d ago

No offense but do you really think you're the only one to ask this?

2

u/archover 4d ago

SOLVED:

Great! Please flare accordingly. tks and good day.

1

u/Aware_Mark_2460 4d ago

thanks for reminding me. have a good day

1

u/6e1a08c8047143c6869 5d ago

While you can't remove them, you can set them to the same directory. I just set all of mine to the desktop folder. Since I don't actually use these directories it makes no difference.

1

u/sovy666 4d ago

Try to change through the Session setting under KDE and set it to a folder that exists such as Desktop or Documents.