Comments (10)
That's no problem, actually!
Reduce the window size of Cura in the docker or minimize temporarily. Then you can right click the desktop and click "File Explorer" visiting /prints should take you to your GCODE and STLs.
from cura-novnc.
Hi @RealCommerzpunk ,
This is likely due to Ultimaker/Cura#12266. I tried a few things locally to no avail so we might have to follow along on the upstream bug.
from cura-novnc.
Thank you for investigating! I now just hope for a quick solution by cura, because I cant use the common workarrond "drag and drop into cura" because its a docker, lol. ;)
from cura-novnc.
Thanks first of all for the Docker image.
But is there also another solution for exporting the G-code?
Opening is quite simple via drag and drop.
Thanks!
from cura-novnc.
Hi, could you try this WO:
sudo apt-get install xdg-desktop-portal-gtk
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY
It should fix the problem of not showing the open file window.
from cura-novnc.
I tried, but i cant run the commands. I tried 2 ways: The "console" window from the unraid docker menu and second, the "terminal" window in the running GUI. Both result with "sudo: not found".
Then I tried the command without "sudo".
Inside the GUI it results with "E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?"
From unraid "E: Unable to locate package xdg-desktop-portal-gtk"
So I cant help, what am I missing?
from cura-novnc.
On host:
sudo docker exec -it --user root <CONTAINER_NAME> /bin/bash
Then in container:
apt-get update
apt-get install xdg-desktop-portal-gtk dbus-x11 -y
service dbus start
export $(dbus-launch)
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY
Next open web browser, right click -> select terminal and paste:
export $(dbus-launch)
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORIT
And everything should working.
@helfrichmichael
Do you think about adding this WO to your Dockerfile? It should resolve the problem until cura resolves it on their site.
from cura-novnc.
Unfortunately on the new container with Cura 5.1.1 fix is not working.
@update
It is more complicated now. You need to do all that steps above but then run cura using command:
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6 /bin/sh -c /cura/squashfs-root/AppRun
I cannot find but in one of the open issue on cura was information to use:
Ultimaker-Cura-5.1.1-linux-modern.AppImage
for updated linux distros instead of normal version:
Ultimaker-Cura-5.1.1-linux.AppImage
That version should work.
from cura-novnc.
Thanks to Ultimaker/Cura#12266 (comment) I think we have a viable fix. Testing now and if all is good, I'll push shortly.
from cura-novnc.
Thanks for the patience!
https://github.com/helfrichmichael/cura-novnc/actions/runs/3238503566 is rolling out with the fix now. I'll mark this as resolved.
from cura-novnc.
Related Issues (13)
- Cura Not Loading HOT 10
- GPU support? HOT 9
- Possible Memory Leak HOT 2
- connect usb? HOT 5
- Any plan to update 5.5 ? HOT 4
- Cura restarts when trying to open a file HOT 7
- Support for RPI4
- Network printer not detected (unraid) HOT 1
- Asking to update HOT 9
- VNC direct connect HOT 2
- Scaling on Smartphone
- Custom command at startup HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cura-novnc.