Package Details: stl-thumb 0.3.1-1

Git Clone URL: (read-only)
Package Base: stl-thumb
Description: A fast lightweight thumbnail generator for STL files
Upstream URL:
Licenses: MIT
Submitter: unlimitedbacon
Maintainer: unlimitedbacon
Last Packager: unlimitedbacon
Votes: 2
Popularity: 0.980873
First Submitted: 2018-07-28 04:25
Last Updated: 2019-03-19 03:19

Latest Comments

bartus commented on 2019-02-28 13:41

missing git in makedepend.

bartus commented on 2018-11-26 00:00

@unlimitedbacon: yep, works fine.

unlimitedbacon commented on 2018-11-04 21:44

Switched over to headless rendering. Should be working in Gnome now.

bartus commented on 2018-10-17 19:00

@unlimitedbacon: use gluim headless renderer or switch to software-based solution (rust-softrender perhaps)...

unlimitedbacon commented on 2018-09-25 04:27

@bartus, this is a known issue and I'm not sure what I can do about it. The sandboxing does not allow a connection to the X server or to the DRI since it would be a huge security hole. However, this is necessary for using OpenGL.

I'm open to suggestions.

bartus commented on 2018-09-24 21:54

@unlimitedbacon: Not working any more, since gnome starts using bwrap to isolate thumbnailers.

G_MESSAGES_DEBUG=all ./test-desktop-thumbnail /usr/share/opencascade/data/stl/head.stl /tmp/test.png
(process:5998): dconf-DEBUG: 23:49:32.571: watch_fast: "/org/gnome/desktop/thumbnailers/" (establishing: 0, active: 0)
(process:5998): dconf-DEBUG: 23:49:32.572: watch_established: "/org/gnome/desktop/thumbnailers/" (establishing: 1)
(process:5998): GnomeDesktop-DEBUG: 23:49:32.572: About to launch script: bwrap --ro-bind /var /var --ro-bind /usr /usr --ro-bind /lib /lib --ro-bind /lib64 /lib64 --proc /proc --dev /dev --symlink usr/bin /bin --symlink usr/sbin /sbin --chdir / --setenv GIO_USE_VFS local --unshare-all --die-with-parent --setenv G_MESSAGES_DEBUG all --bind /tmp/gnome-desktop-thumbnailer-VUPKPZ /tmp --ro-bind /usr/share/opencascade/data/stl/head.stl /tmp/gnome-desktop-file-to-thumbnail.stl --seccomp 8 stl-thumb -s 256 /tmp/gnome-desktop-file-to-thumbnail.stl /tmp/gnome-desktop-thumbnailer.png 

(process:5998): GLib-DEBUG: 23:49:32.572: posix_spawn avoided (fd close requested) (child_setup specified) 
(process:5998): GnomeDesktop-DEBUG: 23:49:32.718: Failed to launch script: thread 'main' panicked at 'Failed to initialize any backend!
    Wayland status: NoCompositorListening
    X11 status: XOpenDisplayFailed
', /build/.cargo/registry/src/
note: Run with `RUST_BACKTRACE=1` for a backtrace.

(process:5998): GnomeDesktop-DEBUG: 23:49:32.718: Thumbnail script ('stl-thumb -s %s %i %o') failed for 'file:///usr/share/opencascade/data/stl/head.stl': Child process exited with code 101

(process:5998): GnomeDesktop-WARNING **: 23:49:32.718: gnome_desktop_thumbnail_factory_generate_thumbnail() failed to generate a thumbnail for /usr/share/opencascade/data/stl/head.stl