Adding definition files to the cura-slicer snap?

Adam Funk a24061 at ducksburg.com
Fri Sep 13 09:57:03 UTC 2024


On 2024-09-13, Oliver Grawert wrote:

> hi,
> Am Donnerstag, dem 12.09.2024 um 11:49 +0100 schrieb Adam Funk:
>> Hi
>> 
>> I've installed the cura-slicer snap package but it doesn't have the
>> definitions for the Prusa Mini. I've found Prusa's instructions for
>> adding them to Ultimaker Cura [1] but when I try to copy the
>> definitions into /snap I get this:
>> 
>> /snap/cura-slicer/178/usr/share/cura/resources$ sudo cp
>> /home/adam/Downloads/Cura_OriginalPrusa_Profiles/Cura_OriginalPrusa_P
>> rofiles/Cura_4_0_0/MINI_cura_profiles/01_Cura_printer_definitions/Ori
>> ginal_Prusa_MINI.def.json definitions/
>> cp: cannot create regular file
>> 'definitions/Original_Prusa_MINI.def.json': Read-only file system
>> 
>> I have a ~/snap/cura-slicer/ directory which I can write in, but it's
>> almost empty
>> 
>> $ tree -A ~/snap/cura-slicer/
>> /home/adam/snap/cura-slicer/
>> ├── 178
>> ├── common
>> └── current -> 178
>> 
>> Can I put the definitions in there? What directory structure do I
>> need?
>> 
> yes, this is where you should put them, namely into:
>
> ~/snap/cura-slicer/178/.local/share/cura/4.13/definitions/


I think that's done it --- thanks! I figured it would involve
replicating part of the structure, but it wouldn't have occurred to me
to use '.local' in it.

The wild thing is that after I ran

mkdir -p 178/.local/share/cura/4.13/definitions

snap created a bunch of other stuff in there behind the scenes.


Thanks!





More information about the ubuntu-users mailing list