-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow config path configuration on linux #963
Comments
See slic3r/Slic3r#832 in the upstream repo, with a possible solution. |
It would be nice if we could follow the XDG recommendation and it would be fairly easy to implement, however, there's the issue of continuity / backwards compatibility. Users already have their configs in |
We can discuss it for the next release, not for 1.40.0
…On Mon, Jun 11, 2018 at 9:59 AM, Vojtech Kral ***@***.***> wrote:
It would be nice if we could follow the XDG recommendation and it would be
fairly easy to implement, however, there's the issue of continuity /
backwards compatibility. Users already have their configs in ~/.Slic3rPE
and expect them to be there... I'm not sure how we'd go about that.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#963 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AFj5IzXap95K-HQRySP_CIo7BUpbl8t2ks5t7iNIgaJpZM4UhK-e>
.
|
This is now relevant again. Since the rename, we already break backward compatibility. |
Are you compiling PrusaSlicer yourself? |
On the build server to build our binary packages we are using the wxWidgets 3.1.1. This version should support XDG automatically wxString wxStandardPaths::GetUserDir(Dir userDir) const https://docs.wxwidgets.org/trunk/classwx_standard_paths.html#a86bd7b0187fd299826060f06c7cff5ed Does it work for you? |
I am sorry, I don't quite understand what you want me to test. The current binary still creates a new directory |
I want you to test the binary slicer (appimage) that we compiled using wxWidgets 3.1.1. |
I have tested both the binary in the |
I can confirm.
|
any news on this ? |
Any more news on this? |
This was implemented for PrusaSlicer 2.3.0-alpha2, see #2911. XDG specification should now be respected, users will get an alert when they first run the new version so they know where their config went and where to move it. Closing. |
Version
1.40.0-beta
Operating system type + version
"x86_64-linux"
Linux 4.16.14, NixOS, 18.03.132618.0f73fef53a9 (Impala)
yes
yes
nix-env (Nix) 2.1pre6148_a4aac7f
"nixos-18.03.132618.0f73fef53a9, nixos-unstable-18.09pre140958.696c6bed4e8"
"nixos-18.03"
/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
Behavior
On linux the user configuration currently is saved in
~/.Slic3rPE
.It would be nice though if it would follow the XDG Base Directory Specification, esp. the convention for config directories.
This would reduce clutter in the users home directory, and also would allow the user to choose where she saves her config files (via setting the $XDG_CONFIG_HOME).
This is a feature request.
The text was updated successfully, but these errors were encountered: