Package Details: cura-5-bin 5.2.1-2

Git Clone URL: https://aur.archlinux.org/cura-5-bin.git (read-only, click to copy)
Package Base: cura-5-bin
Description: Cura is an open source slicing application for 3D printers
Upstream URL: https://ultimaker.com/software/ultimaker-cura
Licenses: LGPL3
Conflicts: cura-5-beta-bin, cura-5-modern-beta-bin, cura-5-modern-bin
Provides: cura
Submitter: michael.gruz
Maintainer: michael.gruz (dhtseany)
Last Packager: michael.gruz
Votes: 1
Popularity: 0.036916
First Submitted: 2022-08-16 23:06 (UTC)
Last Updated: 2022-11-30 06:22 (UTC)

Dependencies (4)

Required by (5)

Sources (4)

Latest Comments

Swivel commented on 2022-12-30 18:47 (UTC) (edited on 2022-12-30 18:47 (UTC) by Swivel)

Using i3, I can't seem to open any models. Attempting to open files doesn't seem to do anything.

On startup, I get the following logs in the console:

PyInstaller/loader/pyimod02_importers.py:499: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
Cyclic dependency detected between "file:///opt/cura5/share/cura/resources/qml/Actions.qml" and "file:///opt/cura5/share/cura/resources/qml/Actions.qml"
QQmlEngine::setContextForObject(): Object already has a QQmlContext

But that's about it. Attempting to Open File(s)... doesn't log anything. It just does nothing.

grinness commented on 2022-11-29 14:31 (UTC)

Hi,

to get cura5 to run correctly in KDE + Wayland the last line of the script /user/bin/cura5 should be as follows:

QT_QPA_PLATFORM=xcb LD_PRELOAD=/usr/lib/libstdc++.so.6 QT_QPA_PLATFORMTHEME=xdgdesktopportal QT_QPA_PLATAFORM=xdgdesktopportal ./Ultimaker-Cura $@

After the above is applied Cura5 works as espected. If run from terminal, the below warnings are outputted:

PyInstaller/loader/pyimod02_importers.py:499: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses Cyclic dependency detected between "file:///opt/cura5/share/cura/resources/qml/Actions.qml" and "file:///opt/cura5/share/cura/resources/qml/Actions.qml" QQmlEngine::setContextForObject(): Object already has a QQmlContext

dhtseany commented on 2022-11-27 15:14 (UTC)

Greetings, a clean build will finish creating and installing the package however the following errors are thrown when attempting to launch the app:

(Ultimaker-Cura:1156227): GLib-GIO-ERROR **: 10:11:22.258: Settings schema 'org.gnome.settings-daemon.plugins.xsettings' does not contain a key named 'antialiasing' /usr/bin/cura5: line 5: 1156227 Trace/breakpoint trap (core dumped) LD_PRELOAD=/usr/lib/libstdc++.so.6 QT_QPA_PLATFORMTHEME=xdgdesktopportal QT_QPA_PLATAFORM=xdgdesktopportal ./Ultimaker-Cura $@

Markus.N commented on 2022-09-11 09:21 (UTC) (edited on 2022-09-11 09:24 (UTC) by Markus.N)

I'd like to request a few changes too:

  • The start script /usr/bin/cura5 has permission 750, should be 755 to enable start by normal users.

  • In the start script /usr/bin/cura5, change the last line to

LD_PRELOAD=/usr/lib/libstdc++.so.6 QT_QPA_PLATFORMTHEME=xdgdesktopportal QT_QPA_PLATAFORM=xdgdesktopportal ./Ultimaker-Cura "$@"

see https://github.com/Ultimaker/Cura/issues/11856 for the reason why :-)

  • In the .desktop file, please set Categories=Graphics;3DGraphics;Engineering; (currently only Graphics). These are the categories set in e.g. the PrusaSlicer. It helps people who have the additional categories reflected as start menu folder.

kiankasad commented on 2022-08-23 06:31 (UTC)

The last line in cura5.sh should replace $1 with "$@" to preserve all command-line arguments:

#!/bin/bash
export QT_QPA_PLATAFORM=xdgdesktopportal
export QT_QPA_PLATFORMTHEME=xdgdesktopportal
cd /opt/cura5/
QT_QPA_PLATFORMTHEME=xdgdesktopportal QT_QPA_PLATAFORM=xdgdesktopportal ./Ultimaker-Cura "$@"