D11768: Add Desktop and Downloads to the default list of Places

Nathaniel Graham noreply at phabricator.kde.org
Thu Mar 29 15:33:28 BST 2018


ngraham added a comment.


  In D11768#236365 <https://phabricator.kde.org/D11768#236365>, @fabiank wrote:
  
  > In D11768#236349 <https://phabricator.kde.org/D11768#236349>, @ngraham wrote:
  >
  > > In Neon and Kubuntu, ~/Desktop exists for a new user by default. Is this not the case in other distros?
  >
  >
  > I'm not sure what is currently done, but I'm pretty sure in Chakra we used to create localized versions (and I think even Ubuntu did that), so instead of ~/Desktop,  a German user would have ~/Schreibtisch. There's actually an xdg standard for this, https://www.freedesktop.org/wiki/Software/xdg-user-dirs. ~~Afaik, Qt supports this with QStandardPaths, e.g. QStandardPaths::DesktopLocation.~~ Actually, scratch that, it doesn't support xdg-user-dirs, and returns a generic value.
  
  
  This patch uses `QStandardPaths::DesktopLocation()`, so that case is handled. In discussions here, I was just referring to "~/Desktop" as a placeholder for the appropriate location.

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D11768

To: ngraham, #dolphin, #gwenview, #frameworks, #vdg
Cc: fabiank, progwolff, broulik, michaelh, ngraham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20180329/bd2eb01b/attachment.htm>


More information about the kfm-devel mailing list