Skip to content

Now respecting XDG_DOCUMENTS_DIR variables#262

Open
danilown wants to merge 1 commit intoflathub:masterfrom
danilown:master
Open

Now respecting XDG_DOCUMENTS_DIR variables#262
danilown wants to merge 1 commit intoflathub:masterfrom
danilown:master

Conversation

@danilown
Copy link

Using the correct way to reference the /home/user/Documents folder that was previously hardcoded.

Using the correct way to reference the /home/user/Documents folder that was previously hardcoded.
@flathubbot
Copy link
Contributor

Started test build 42916

@flathubbot
Copy link
Contributor

Build 42916 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/41285/us.zoom.Zoom.flatpakref

@motorto
Copy link

motorto commented Apr 14, 2021

when will this push be accepted ? Its pretty annoying for me having a Documents folder in my system when I dont have the locale in english ...

@danilown
Copy link
Author

You can achieve the same results of this commit using Flatseal. You then go to the "Filesystem" section and toggle "filesystem=home" on.

However, the "Documents" folder will still be created if you try to save something from Zoom into your machine due to a Zoom / Portals conflict (for the lack of a better word). More about that on this discussion.

@motorto
Copy link

motorto commented Apr 14, 2021 via email

@alice-mkh
Copy link

You sure this is correct? See #208

@ramcq
Copy link

ramcq commented May 7, 2021

Perhaps the launcher script could also check if XDG_DOCUMENTS_DIR is not Documents, and create a symlink for Zoom?

@yajo
Copy link
Contributor

yajo commented May 30, 2021

Then how about removing the create part?

@alice-mkh
Copy link

Perhaps the launcher script could also check if XDG_DOCUMENTS_DIR is not Documents, and create a symlink for Zoom?

Could work, indeed.

Then how about removing the create part?

Well, it would mean it won't work until you manually create the dir. I mean zoom already sucks, no need to break it more. :p

camelCaseNick added a commit to camelCaseNick/us.zoom.Zoom that referenced this pull request Jun 17, 2025
To comply with custom and localized user document
directories, this modification of the wrapper creates a
symbolic link to the hard-coded Documents and hence
bypasses (i.e. hacks around) the limitation of Zoom, of
hardcoding the English default value for the
Freedesktop.org user directory for documents.

Link: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
Link: https://freedesktop.org/wiki/Software/xdg-user-dirs/

Link: flathub#262

Closes: flathub#208
Closes: flathub#259
Closes: flathub#497

Signed-off-by: Markus Göllnitz <[email protected]>
camelCaseNick added a commit to camelCaseNick/us.zoom.Zoom that referenced this pull request Jul 5, 2025
To comply with custom and localized user document
directories, this modification of the wrapper creates a
symbolic link to the hard-coded Documents and hence
bypasses (i.e. hacks around) the limitation of Zoom, of
hardcoding the English default value for the
Freedesktop.org user directory for documents.

Link: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
Link: https://freedesktop.org/wiki/Software/xdg-user-dirs/

Link: flathub#262

Closes: flathub#208
Closes: flathub#259
Closes: flathub#497

Signed-off-by: Markus Göllnitz <[email protected]>
camelCaseNick added a commit to camelCaseNick/us.zoom.Zoom that referenced this pull request Jul 6, 2025
To comply with custom and localized user document
directories, this modification of the wrapper creates a
symbolic link to the hard-coded Documents and hence
bypasses (i.e. hacks around) the limitation of Zoom, of
hardcoding the English default value for the
Freedesktop.org user directory for documents.

Link: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
Link: https://freedesktop.org/wiki/Software/xdg-user-dirs/

Link: flathub#262

Closes: flathub#208
Closes: flathub#259
Closes: flathub#497

Signed-off-by: Markus Göllnitz <[email protected]>
camelCaseNick added a commit to camelCaseNick/us.zoom.Zoom that referenced this pull request Jul 16, 2025
To comply with custom and localized user document
directories, this modification of the wrapper creates a
symbolic link to the hard-coded Documents and hence
bypasses (i.e. hacks around) the limitation of Zoom, of
hardcoding the English default value for the
Freedesktop.org user directory for documents.

Link: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
Link: https://freedesktop.org/wiki/Software/xdg-user-dirs/

Link: flathub#262

Closes: flathub#208
Closes: flathub#259
Closes: flathub#497

Signed-off-by: Markus Göllnitz <[email protected]>
camelCaseNick added a commit to camelCaseNick/us.zoom.Zoom that referenced this pull request Jul 23, 2025
To comply with custom and localized user document
directories, this modification of the wrapper creates a
symbolic link to the hard-coded Documents and hence
bypasses (i.e. hacks around) the limitation of Zoom, of
hardcoding the English default value for the
Freedesktop.org user directory for documents.

Link: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
Link: https://freedesktop.org/wiki/Software/xdg-user-dirs/

Link: flathub#262

Closes: flathub#208
Closes: flathub#259
Closes: flathub#497

Signed-off-by: Markus Göllnitz <[email protected]>
camelCaseNick added a commit to camelCaseNick/us.zoom.Zoom that referenced this pull request Aug 2, 2025
To comply with custom and localized user document
directories, this modification of the wrapper creates a
symbolic link to the hard-coded Documents and hence
bypasses (i.e. hacks around) the limitation of Zoom, of
hardcoding the English default value for the
Freedesktop.org user directory for documents.

Link: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
Link: https://freedesktop.org/wiki/Software/xdg-user-dirs/

Link: flathub#262

Closes: flathub#208
Closes: flathub#259
Closes: flathub#497

Signed-off-by: Markus Göllnitz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants