Uploaded image for project: 'ReactOS Build Environment'
  1. ReactOS Build Environment
  2. ROSBE-50

createshortcut.sh on Gnome should use $(xdg-user-dir DESKTOP) to find desktop directory

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • None
    • RosBE-Unix
    • None
    • Mate, SparkyLinux (Debian Testing)

    Description

      On Gnome, if you have locale? set to some language, the directory name of desktop is translated.
      For me $HOME/Bureau (french)

      http://www.freedesktop.org/wiki/Software/xdg-user-dirs/ suggest to use these 2 lines:
      test f ${XDG_CONFIG_HOME:/.config}/user-dirs.dirs && source ${XDG_CONFIG_HOME:-/.config}/user-dirs.dirs
      echo ${XDG_DESKTOP_DIR:-$HOME/Desktop}
      I believe create shortcut should use it as default... rather than what seems to be $HOME/desktop

      Attachments

        Activity

          People

            Colin Finck Colin Finck
            paul paul
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: