TLDR
Enter a command. For example: bzegrep, pacstrap, postfix, needrestart.

xdg-user-dirs-update

 
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}}"

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.