diff --git a/pages/common/xdg-user-dirs-update.md b/pages/common/xdg-user-dirs-update.md new file mode 100644 index 0000000000..9888d82418 --- /dev/null +++ b/pages/common/xdg-user-dirs-update.md @@ -0,0 +1,12 @@ +# xdg-user-dirs-update + +> Update XDG user directories. +> More information: . + +- 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}}"`