Welcome to my GitHub personal page. In this place I collect my personal projects I worked on my spare time.
I like creating libraries with clean code, clear documentation and proper data structures.
๐ผ๏ธ A thumbnailer for AppImages
License: MIT License
Right now the gnome thumbnailer is installed to /usr/bin/appimage-thumbnailer
, no matter the architecture. This makes different arch versions of the package conflicting with each other (moreover this would be silently ignored by apt
since the Conflicts
clause is not yet defined).
The same goes for the kde thumbnailer, which for some reason is installed to (partially fixed in 014ab3f)/usr/lib/plugins/libappimage-thumbnailer.so
instead of /usr/lib/x86_64-linux-gnu/qt5/plugins/libappimage-thumbnailer.so
, even thought I'm using the recommended cmake variable KDE_INSTALL_PLUGINDIR
.
For now we can assume that no one is willing to install multi-arch packages at the same time, but eventually this issue will need to be tackled.
Now that we are working on support for FreeBSD to use AppImages originally made for Linux, it would be nice to get the thumbnailer to run there, too.
Trying to compile this thumbnailer on FreeBSD leads to:
sed: 1: "configure": command c expects \ followed by text
find . -type file -exec sed -i -e "s|sed -e|sed -i'' -e|g" {} \;
results in a failure with another symptom.
Blocked by:
AppImageCommunity/libappimage#149
In the gnome thumbnailing system, the requested size for a thumbnail is passed with the %s
placeholder (see /resources/appimage-thumbnailer.thumbnailer
). The gnome thumbnailer should honor the argument and resize .DirIcon
to the requested size.
In the kde thumbnailing system, the requested size for a thumbnail is passed with arguments witdht
and height
. QImage
provides a method (scaled
) for resizing the icon.
In order to avoid the frame we need to cap the max size to 127px
(or actually 52px
to make the icon have the same size of native mime-icons).
This approach, however, has the drawback of affecting the image quality. I don't know if there's any other alternative, since the "framing" seems to be hardcoded:
Therefore, for now I will mark this issue as "wontfix".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.