[3dprinter-general] Bug#951033: Workaround found

Gregor Riepl onitake at gmail.com
Tue Aug 25 17:01:07 BST 2020


> I shall see if I can set this in Cura itself, but the quick workaround
> would seem a wrapper script that sets the environment variable. Such
> tweaks are in fact the main content of the cura script itself (aka
> cura_app.py), so something like:
> 
> os.environ["QT_QUICK_CONTROLS_STYLE"] = "material"
> 
> before the CuraApplication creation (next to last line) should do.

One possible alternative, if you're using a desktop environment:

sed 's#^Exec=/usr/bin/cura#Exec=env QT_QUICK_CONTROLS_STYLE=material
/usr/bin/cura#' /usr/share/applications/cura.desktop

This will patch the launch menu entry. Running Cura from the console
will still exhibit the old behaviour.



More information about the 3dprinter-general mailing list