Cura-packaging/Cura/cura.envhack
Thomas Karl Pietrowski a6e69e4338 Cura: Adding hack for KDE
This one simply unsets and modifies some environment variables before running "cura.real".
There are many problems with QML under KDE, but these disappear when running Cura on Gnome for example.
So the problem was deskop related.

Since KDE is being started using some startup scripts which set some environment variables, I simply looked for these, which disable the middleware by KDE.
Now everything seems to work fine again!

Signed-off-by: Thomas Karl Pietrowski <thopiekar@gmail.com> (github: thopiekar)
2019-05-04 17:51:23 +02:00

11 lines
182 B
Bash
Executable File

#!/bin/sh
export XDG_CONFIG_DIRS=/etc/xdg
unset XDG_SESSION_DESKTOP
unset XDG_CURRENT_DESKTOP
unset KDE_FULL_SESSION
unset KDE_SESSION_UID
unset KDE_SESSION_VERSION
cura.real "$@"