Skip to content
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

Linux: Help -> Show Configuration Folder should open ~/.local/share/cura #1490

Closed
probonopd opened this issue Mar 5, 2017 · 12 comments
Closed
Labels
Type: Improvement Improvement to existing functionality.

Comments

@probonopd
Copy link
Contributor

  • Cura 2.4 AppImage on Ubuntu 16.04
  • Help -> Show Configuration Folder
  • Manually create a directory plugins there (there is none by default)
  • Put a plugin into it
  • Restart Cura

The plugin is not found.

This is my directory structure:

/home/me/.config/cura/
/home/me/.config/cura/cura.cfg
/home/me/.config/cura/plugins
/home/me/.config/cura/plugins/WirelessPrinting/
/home/me/.config/cura/plugins/WirelessPrinting/...

I also tried to put the WirelessPrinting directory directly into the /home/me/.config/cura/ directory but that also does not work.

It would be nice if there was a plugins directory by default in the Configuration Folder, and if plugins would actually be loaded from there.

@fieldOfView
Copy link
Collaborator

Could you check if there is a ~/.local/share/cura folder which may contain a plugins folder?

@probonopd
Copy link
Contributor Author

Sure enough, I do have

me@host:~$ find ~/.local/share/cura/
/home/me/.local/share/cura/
/home/me/.local/share/cura/machine_instances
/home/me/.local/share/cura/extruders
/home/me/.local/share/cura/user
/home/me/.local/share/cura/materials
/home/me/.local/share/cura/variants
/home/me/.local/share/cura/quality
/home/me/.local/share/cura/cura.log
/home/me/.local/share/cura/plugins

@fieldOfView
Copy link
Collaborator

That's the plugins folder you're supposed to use.

@probonopd probonopd reopened this Mar 5, 2017
@probonopd
Copy link
Contributor Author

probonopd commented Mar 5, 2017

Help -> Show Configuration Folder should open ~/.local/share/cura.

@probonopd probonopd changed the title Linux: Does not load plugins from Configuration Folder Linux: Help -> Show Configuration Folder should open ~/.local/share/cura Mar 5, 2017
@awhiemstra
Copy link
Contributor

Strictly speaking, the entry is correct since ~/.config/cura is the 'configuration' folder. It is just that on Linux according to XDG specs the configuration and local data folders are separated and we have no real way of distinguishing the two.

That said, the menu entry should open the folder with the logs and other stuff you usually want to actually look at and so should open the local data folder on Linux instead of the config folder.

@Ghostkeeper
Copy link
Collaborator

Or both? Or would that be annoying.

@ianpaschal ianpaschal added Type: Improvement Improvement to existing functionality. Status: Deferred We don't have time to work on this for now but intend to in the future. labels Feb 27, 2018
@alekseisasin
Copy link
Contributor

@probonopd , Did you try adding plugins in Cura version 3.3.1. Since 2.4 version the Cura was significantly improved and adding plugins also.

@probonopd
Copy link
Contributor Author

@alekseisasin I haven't re-tested it so far since I didn't assume this aspect had been worked on so far. Can't test right now since not on a Linux system atm.

@alekseisasin
Copy link
Contributor

I only tested in master build, the plugin structure will be changed and I think the new solution will be available in next release.
(master build)For the testing I added manually plugin to the
/home/me/.local/share/cura/plugins
Adjusted packages.json /home/me/.local/share/cura/
And it will work.

@probonopd
Copy link
Contributor Author

@alekseisasin what does Help -> Show Configuration Folder open on your system?

@alekseisasin
Copy link
Contributor

I see difference on different OS.
On Mac I have: machine_instances, extruders, variants, materials etc, and cura.log file
On Linux I have: /home/asasin/.config/cura/3.3
On Windows ?

@alekseisasin
Copy link
Contributor

I think this is the most simplest way to add manually plugin. All these steps I did in Cura 3.3.1
1- Archive your plugin folder. I used zip (like "yourplugin.zip")
2- Change zipped file extension to .curaplugin (like "yourplugin.curaplugin")
3- Drag and drop the plugin into cura.
After it you will see the message whether plugin was installed or not. To finish please restart the Cura.

@Ghostkeeper Ghostkeeper added Type: Bug The code does not produce the intended behavior. Status: Fixed/Solved and removed Status: Deferred We don't have time to work on this for now but intend to in the future. Type: Bug The code does not produce the intended behavior. labels Jun 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Improvement Improvement to existing functionality.
Projects
None yet
Development

No branches or pull requests

6 participants