Package Details: cura-bin 5.3.0-1

Git Clone URL: https://aur.archlinux.org/cura-bin.git (read-only, click to copy)
Package Base: cura-bin
Description: State-of-the-art slicer app to prepare your 3D models for your 3D printer
Upstream URL: https://ultimaker.com/software/ultimaker-cura
Licenses: LGPL3
Conflicts: cura
Provides: cura
Submitter: prurigro
Maintainer: prurigro
Last Packager: prurigro
Votes: 14
Popularity: 1.19
First Submitted: 2022-09-02 21:14 (UTC)
Last Updated: 2023-03-08 20:02 (UTC)

Latest Comments

1 2 3 4 Next › Last »

prurigro commented on 2023-02-06 02:21 (UTC)

Thanks @alphabyte for flagging this out of date- my update checker's regex skipped the latest update because they changed Ultimaker to UltiMaker :)

iamkarlson commented on 2023-01-27 13:54 (UTC) (edited on 2023-01-27 14:08 (UTC) by iamkarlson)

What would be a way to debug this package or collect logs? running it from the shell doesn't produce any meaningful error message or problems. it gives me black screen after a fresh install on sway/wayland.

Fixed by adding to /usr/bin/Ultimaker-Cura:

# Force to run in XWayland
export QT_QPA_PLATFORM=xcb

xiota commented on 2022-12-26 00:51 (UTC) (edited on 2022-12-26 00:53 (UTC) by xiota)

QT_QPA_PLATFORMTHEME controls the dialogs that Qt uses. xdgdesktopportal tries to use native dialogs, while gtk3 forces the use of GTK3 dialogs. If previously used paths are not recalled, there may be a problem with desktop configuration, like file history is disabled.

Rather than editing the script, the platform theme can be changed with a command-line parameter. This overrides the environment variable.

cura -platformtheme gtk3

It's probably best to leave the script in the package alone. Changing it could cause problems for other users, and most desktop environments provide an easy way to edit the app menu.

fermino commented on 2022-12-25 22:58 (UTC)

Just in case anyone has the problem with cura not opening any file dialogs at all, changing QT_QPA_PLATFORMTHEME to gtk3 in /opt/ultimaker-cura/AppRun solved it for me.

wallace11 commented on 2022-12-22 22:31 (UTC) (edited on 2022-12-22 22:32 (UTC) by wallace11)

@xiota
That did the trick! Thank you so much for the hint!
With that being said, I now had to change the desktop entry for how I launch Cura (using rofi).
Here's what I ended up doing and worked for me:

  • /opt/ultimaker-cura/AppRun: QT_QPA_PLATFORMTHEME change from xdgdesktopportal to gtk3

  • /usr/share/applications/cura.desktop: change Exec to Exec=/opt/ultimaker-cura/AppRun %F

I hope this information will help with fixing the issue without resorting to clunky solutions :)

prurigro commented on 2022-12-15 02:08 (UTC) (edited on 2022-12-15 02:09 (UTC) by prurigro)

@johnride: Yeah, as @xiota mentioned, base-devel is typically assumed to be installed when you're building packages. I'd recommend running pacman -S --needed base-devel right now to pull everything from there in.

@wallace11: Hey, I don't think the save or open dialogues have ever remembered the last path for me, are you saying it's done that correctly for you at one point or another? I just tested the installed package as well as the pure AppImage and got the same results in both cases (no memory). EDIT: Not having ever worked for me includes the old official package.

xiota commented on 2022-12-15 01:00 (UTC) (edited on 2022-12-15 01:00 (UTC) by xiota)

@wallace11 Does changing QT_QPA_PLATFORMTHEME=xdgdesktopportal to QT_QPA_PLATFORMTHEME=gtk3 in the AppRun make a difference? If not, can you comment out each export line one by one until you find which one may be causing problems?

wallace11 commented on 2022-12-15 00:00 (UTC)

AppRun patch has given me quite some headache because when saving to disk it would not remember the last path and would not insert the file name - it's completely empty. I downgraded to pkgver 2 for now until either me or someone else finds a solution.

For reference, I'm on a DE (bspwm) and got both xdg-desktop-portal and xdg-desktop-portal-gtk installed. The former got a couple of updates recently and I tried all versions with no success.

xiota commented on 2022-12-13 22:57 (UTC)

patch is part of base-devel. I've never seen a package with anything from base-devel included as a build dependency.

johnride commented on 2022-12-12 18:34 (UTC)

patch should be added as a build dependency. Just had a build fail because it was not installed.

Thanks for the package otherwise!