MSS icon indicating copy to clipboard operation
MSS copied to clipboard

better handling of default storage directories

Open joernu76 opened this issue 4 years ago • 4 comments

Follow XDG convention and use may

In [1]: import xdg

In [2]: xdg.XDG_CONFIG_HOME
Out[2]: PosixPath('/home/icgXXX/.config')

In [3]: xdg.XDG_CACHE_HOME
Out[3]: PosixPath('/home/icgXXX/.cache')

In [4]: xdg.XDG_DATA_HOME
Out[4]: PosixPath('/home/icgXXX/.local/share')

for default paths.

  • .config/mss is already used and correct.
  • FTML files should go in ~/Documents/mss
  • MSCOLAB local stuff should go to .cache/mss or .local/share/mss

joernu76 avatar May 05 '21 10:05 joernu76

I still want to be able to use a mss_settings.json from a nextcloud server or save images from topview by fs to a webdav system, or export to a network storage.

ReimarBauer avatar May 05 '21 13:05 ReimarBauer

Should not be a problem if fs handles native paths gracefully.

joernu76 avatar May 05 '21 13:05 joernu76

I want to use webdav urls of the pyfilesystem2 not os mounted pathes. Currently I can open a shell on my docker container and can add a fs path url so it did store outside of the container.

Any change to the current pathes needs a tutorial or/and migration script for our users.

ReimarBauer avatar May 06 '21 04:05 ReimarBauer

This is postponed after https://open-mss.github.io/develop/GSOC/replace_pyfilesystem2

ReimarBauer avatar Nov 27 '24 15:11 ReimarBauer