Gracias hermano! Me falta hacerlo funcionar en kde plasma que trabaja de manera distinta.
Modo tecnico ON
Pero esto seria mas facil si los desarrolladores aparte de guardar la miniatura en el archivo lbrn2, directamente la guardan en la carpeta ~/.cache/thumbnails/large/ donde el nombte de archivo el la URI del mismo hasheada en md5 seguido de .png
De esa manera funciona en cualquier GNU/Linux Modo tectico OFF
Thank you brother! I need to make it work in kde plasma that works differently.
Technical mode ON
But this would be easier if the developers, apart from saving the thumbnail in the lbrn2 file, directly saved it in the ~/.cache/thumbnails/large/ folder where the file name is the URI of the file hashed in md5 followed by .png
That way it works on any GNU/Linux Tectic mode OFF
It didn’t work for me, but I’m not good at Linux either. I used the “automatic installation” on my work computer with Linux Ubuntu 24.04.
When I have time I will try again, nevertheless I want to thank you for your efforts.
I have the nice LightBurn logo on all lbrn2 files, but none of the files show content as a small preview like the one in @jkwilborn picture. But, I don’t have that on my Mac OS either, so I haven’t really noticed it.
To make sure everything is set up and you don’t miss any dependencies, run the following command in any folder with a Lightburn file
lbrn2-thumbnailer.py -i test.lbrn2 -o test.png
Replace the test.lbrn2 filename with a valid filename in the same directory, and you should see a new image that would be the thumbnail with the name test.png
And any bugs or outputs you see on the console paste it here, we’ll solve it
After I ran the command, the icons changed to show the content. I don’t understand how it works, but as long as the result is ok, I’m happy - thank you very much.
Works well. Some of these 12mb files take a few to create the thumbnail… I can see it load up the cpu.
I do have one dxf file that shows a blank box but it does have a line drawing of a lion head. Works when I open it in Lightburn. Here it is, if you’re interested… I’m living much better with your thumbnailer, so this is not really anything, so, no perspiration.
delete a log that created a file in the /tmp folder for each dxf, this should be the cause of cpu consumption, please check it
Try to see the lion, change so that the lines are black, in the resulting thumbnail, if you do not want to see everything in black, you will not be able to see your beautiful lion
If you still have the git repository, go to the folder and run git pull and run the installer again with ./dxf_thumbnailer_installer.sh
Otherwise, start all over again
And if you want to see everything in color again, knowing that you won’t be able to see the lion, you just have to comment a line in the script. Ask me anything, I don’t want to make you dizzy with so much information.