xdg-user-dirs-update

Update XDG user directories. More information: <https://manned.org/xdg-user-dirs-update>.

Install

All systems
curl cmd.cat/xdg-user-dirs-update.sh
Debian Debian
apt-get install xdg-user-dirs
Ubuntu
apt-get install xdg-user-dirs
Arch Arch Linux
pacman -S xdg-user-dirs
image/svg+xml Kali Linux
apt-get install xdg-user-dirs
CentOS
yum install xdg-user-dirs
Fedora
dnf install xdg-user-dirs
Windows (WSL2)
sudo apt-get update sudo apt-get install xdg-user-dirs
Raspbian
apt-get install xdg-user-dirs

Update XDG user directories. More information: <https://manned.org/xdg-user-dirs-update>.

  • Change XDG's DESKTOP directory to the specified directory (must be absolute):
    xdg-user-dirs-update --set DESKTOP "path/to/directory"
  • Write the result to the specified dry-run-file instead of the `user-dirs.dirs` file:
    xdg-user-dirs-update --dummy-output "path/to/dry_run_file" --set xdg_user_directory "path/to/directory"

© tl;dr; authors and contributors