EnglishFrenchSpanish

OnWorks favicon

xdg-user-dirs-update - Online in the Cloud

Run xdg-user-dirs-update in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command xdg-user-dirs-update that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


xdg-user-dirs-update - Update XDG user dir configuration

SYNOPSIS


xdg-user-dirs-update [OPTION...] [--set NAME PATH...]

DESCRIPTION


xdg-user-dirs-update updates the current state of the users user-dirs.dir. If none existed
before then one is created based on the system default values, or falling back to the old
non-translated filenames if such directories exists. The list of old directories used are:
~/Desktop, ~/Templates and ~/Public.

If an old configuration exists it is updated with any new default directories.
Additionally, any configured directories that point to non-existing locations are reset by
pointing then to the users home directory. This typically happens when the users removed
the directory, so they likely don't want to use it anymore.

On the first run a user-dirs.locale file is created containing the locale that was used
for the translation. This is used later by gui tools like xdg-user-dirs-gtk-update to
detect if the locale was changed, letting you to migrate from the old names.

xdg-user-dirs-update is normally run automatically at the start of a user session to
update the XDG user dirs according to the users locale.

OPTIONS


The following options are understood:

--help
Print help output and exit.

--force
Update existing user-dirs.dir, but force a full reset. This means: Don't reset
nonexisting directories to HOME, rather recreate the directory. Never use backwards
compatible non-translated names. Always recreate user-dirs.locale.

--dummy-output PATH
Write the configuration to PATH instead of the default configuration file. Also, no
directories are created.

--set NAME PATH
Sets the XDG user dir with the given name.

NAME should be one of the following:
DESKTOP
DOWNLOAD
TEMPLATES
PUBLICSHARE
DOCUMENTS
MUSIC
PICTURES
VIDEOS

PATH must be an absolute path, e.g. $HOME/Some/Directory.

Use xdg-user-dirs-update online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    oStorybook
    oStorybook
    oStorybook l'outil privil�gi� des
    �crivains. ATTENTION : voir sur
    http://ostorybook.tuxfamily.org/v5/
    --en_EN oStorybook the right tool for
    writers. WARNIN...
    Download oStorybook
  • 2
    Asuswrt-Merlin
    Asuswrt-Merlin
    Asuswrt-Merlin is a third party
    firmware for select Asus wireless
    routers. Based on the Asuswrt firmware
    developed by Asus, it brings tweaks, new
    features and ...
    Download Asuswrt-Merlin
  • 3
    Atom
    Atom
    Atom is a text editor that's
    modern, approachable and full-featured.
    It's also easily customizable- you
    can customize it to do anything and be
    able to ...
    Download Atom
  • 4
    Osu!
    Osu!
    Osu! is a simple rhythm game with a well
    thought out learning curve for players
    of all skill levels. One of the great
    aspects of Osu! is that it is
    community-dr...
    Download Osu!
  • 5
    LIBPNG: PNG reference library
    LIBPNG: PNG reference library
    Reference library for supporting the
    Portable Network Graphics (PNG) format.
    Audience: Developers. Programming
    Language: C. This is an application that
    can also...
    Download LIBPNG: PNG reference library
  • 6
    Metal detector based on  RP2040
    Metal detector based on RP2040
    Based on Raspberry Pi Pico board, this
    metal detector is included in pulse
    induction metal detectors category, with
    well known advantages and disadvantages.
    RP...
    Download Metal detector based on RP2040
  • More »

Linux commands

Ad