CreawsomeMod icon indicating copy to clipboard operation
CreawsomeMod copied to clipboard

How to install CreawsomeMod on Cura for Linux?

Open sakvaua opened this issue 7 years ago • 26 comments

I'm not deeply familiar with Linux packaging systems. Cura is supplied as an AppImage. I cannot edit it directly. But I can extract the contents of the image into a folder, replace resource folder and make AppImage with https://github.com/AppImage/AppImageKit But after I create a modified AppImage file it won't run cura. It just does nothing. No error or anything. Any ideas what else I can try to mod cura for linux?

sakvaua avatar May 25 '19 17:05 sakvaua

I don't know about the AppImage as I don't use them but I installed cura through the repos on arch. my method was this:

Install cura sudo pacman -S cura

Find where cura resources were kept whereis cura

backup current resources folder sudo mv /usr/share/cura/resources /usr/share/cura/resources_backup

extract zip and copy resources unzip CreawsomeMod-0.2.zip -d CreawesomeMod-0.2

sudo cp CreawesomeMod-0.2/resources /usr/share/cura/resources

obviously your mileage might vary.

Roxsen avatar May 26 '19 07:05 Roxsen

For an AppImage, please see https://github.com/trouch/CreawsomeMod/issues/9#issuecomment-496018790.

probonopd avatar May 26 '19 18:05 probonopd

@Roxsen I am running Arch Linux as well, and did the same steps as you described. Those are the correct steps.

stelgenhof avatar May 29 '19 01:05 stelgenhof

@trouch did you test the AppImage? A build for testing is available at

https://github.com/probonopd/CreawsomeMod.AppImage/releases/tag/continuous

Credits go to @TheAssassin for the bunch of the work.

CreawsomeMod

Is there still something to be done, hence you added "good first issue"?

probonopd avatar May 29 '19 05:05 probonopd

The instructions just the other day May 28 2019 on youtube < https://youtu.be/mOn-VNqg2ac> was Not to install the clone or download link but to download the Beta3 file. Here is that file link.. which should be updated.

https://github.com/trouch/CreawsomeMod/releases/download/20190527-0.3.0/CreawsomeMod-Beta3.zip

So that's what I did here with Linux Manjaro. It's working fantastic. My prints are absolutely amazing.

Install cura sudo pacman -S cura

Find where cura resources were kept whereis cura

backup current resources folder sudo mv /usr/share/cura/resources /usr/share/cura/resources_backup

extract zip and copy resources unzip CreawsomeMod-Beta3.zip -d CreawsomeMod-Beta3

sudo cp CreawesomeMod-Beta3/resources /usr/share/cura/resources (this did not work...so I just did it manually. It worked)

**Open up both file locations as ROOT. Go Copy (as Thunar Root in the right click menu) in the unzipped Downloads Folder and open up the extracted unzipped CreawsomeMod folder and drag that "RESOURCES" file into /usr/share/cura file location. You need to be in Root in both files... put the "RESOURCES" file... right beside the file named "resources_backup" **Done.

Greg-KB2QQM avatar Jun 03 '19 06:06 Greg-KB2QQM

@stelgenhof glad my instructions helped.

Roxsen avatar Jun 03 '19 07:06 Roxsen

The AppImage should remove the need for those manual steps.

probonopd avatar Jun 03 '19 07:06 probonopd

@probonopd you are right they would remove the need for manual steps but not everyone likes AppImages, I know I don't. but thats the beauty of open source and Linux, do things the way YOU like. :)

Roxsen avatar Jun 03 '19 07:06 Roxsen

Merging this mods enhancements into Cura itself removes the need for any manual steps, forks, offbeat hacks :)

stelgenhof avatar Jun 03 '19 07:06 stelgenhof

@stelgenhof there is that! :+1:

Roxsen avatar Jun 03 '19 07:06 Roxsen

I put together some instructions on rebundling the Ultimaker Cura AppImage with Creawesome on Linux: https://www.foell.org/justin/cura-creawesome-mod-for-linux/

jrfoell avatar Jun 03 '19 15:06 jrfoell

I put together some instructions

Thanks @jrfoell but are you aware that I am already doing that? So the user can just download the readymade AppImage.

probonopd avatar Jun 03 '19 17:06 probonopd

I didn't realize... I'll update my post with a link to your work (and fork).

jrfoell avatar Jun 03 '19 18:06 jrfoell

If this project here likes my work I can send a pull request to have it integrated into this repository here, I'd actually prefer that over having to maintain a fork of the fork ;-)

probonopd avatar Jun 03 '19 18:06 probonopd

Thanks everyone for your contributions to make it work on Linux. I've linked that thread on the README for reference and pinned it as well.

Feel free to submit a PR I could try in an Ubuntu VM; but I'll be honest this is not a priority. Given the popularity and discussion with Cura devs, we are looking to include my definitions by default that would streamline the process. No mod, no specific build...

trouch avatar Jun 03 '19 18:06 trouch

Indeed, I think that would be preferred by everyone! :+1:

probonopd avatar Jun 03 '19 18:06 probonopd

The official Cura AppImage keeps configuration files in ~/.local/share/cura. Each version of Cura you've installed makes a folder in this directory titled after the version number. This version number is the resources folder. I've successfully installed CreawesomeMod by doing the following in the past 5 minutes:

  1. Download the newest Cura AppImage (currently Cura 4.1)
  2. Download the CreawesomeMod for this version (4.1 beta currently here)
  3. Extract the CreawesomeMod zip
  4. Copy and rename resources to ~/.local/share/cura/4.1/
  5. Set the AppImage to executable and launch

Full disclaimer, I have yet to actually print anything with it, but the mod is working. Here's some quick screenshots.

FWIW I'm on Debian testing, but that should be irrelevant with AppImages.

kii-chan-reloaded avatar Jun 06 '19 04:06 kii-chan-reloaded

@WolfgangAxel why did you not just use the CreawsomeMod AppImage? No need to copy nor rename anything...

https://github.com/probonopd/CreawsomeMod.AppImage/releases

probonopd avatar Jun 06 '19 05:06 probonopd

@probonopd I didn't use the AppImage because I didn't feel it was necessary. Your AppImage is a valid and functional way to have the mod pre-installed, but I didn't see a reason why GNU/Linux needed its own unique method of installation. I knew ~/.local/share/cura existed, and I was curious if that's where the resources folder could be found. Lo and behold, it was there, just named differently. This means that the CreawesomeMod is installable in a nearly-identical manner to the other two main OS's listed in the README.

Yes, with your AppImage there's no need to copy or rename anything, but with using the method I used there's no need to trust another entity to extract, modify, rebuild, and reupload an entire AppImage after each update this way, even if it is automated.

I don't mean to sound rude. Both methods are functional and viable. One of them has 0 user input, the other doesn't require a 3rd party to modify 1st party files and redistribute them. Both have clear advantages and disadvantages related to convenience and security. It comes down to user preference, much in the same way that there are people who prefer to download prebuilt binaries and people who prefer compiling from source.

If nothing else, we now have multiple options for installation, which was the whole reason I made the comment in the first place. I wasn't trying to undermine anything you had done, I just wanted to notify the developers that the AppImage Cura builds don't have to change the method of installing the mod compared to the Windows executable builds or the Mac app builds.

Slight grammar edits

kii-chan-reloaded avatar Jun 06 '19 06:06 kii-chan-reloaded

@WolfgangAxel thanks for finding a manual method for Linux without needing root/Sudo :)

Roxsen avatar Jun 06 '19 06:06 Roxsen