/srv/irclogs.ubuntu.com/2024/10/30/#xubuntu.txt

=== rud0lf_ is now known as rud0lf
=== Tom is now known as Guest3319
=== Tom is now known as Guest3337
DimmskiiHey guys so tumblerd is working on xub 2415:24
DimmskiiWith thunar15:24
DimmskiiBut what I did is manually copy over files to /usr/... *correctly* of the *old* exe thumbnailer15:25
DimmskiiI tested the command as per the .thumbnailer file in /usr/share/thumbnailers as a regular user15:25
DimmskiiExe thumbnailing is the only one that doesn't seem to work15:26
DimmskiiAnd no I don't want to use the thumbnailer from icoextract... unless there's a compat problem?15:26
DimmskiiWith the % arguments? 15:27
DimmskiiExec=/usr/bin/exe-thumbnailer %i %o %u15:27
DimmskiiAgain, everything is in place and perms are set correctly. I can run the command... pretty sure. Unless xub24 changed something about the user cache folder? Or perhaps the thumbnailers in /usr/share are not enabled by default?15:28
DimmskiiLibera svg seems to work in thunar with tumblr.15:29
oerheksexe-thumbnailer is deprecated https://github.com/exe-thumbnailer/exe-thumbnailer and no longer in our repos15:37
oerhekssee https://launchpad.net/ubuntu/noble/+package/exe-thumbnailer15:37
oerheksgithub points to icoextract15:37
DimmskiiI'll give it a try. Brb rebooting15:44
DimmskiiHmm I apt'd icoextract and icoextract-thumbnailer from preinstalled xub 24 repos15:50
DimmskiiConfirmed that (oof) /usr/bin/exe-thumbnailer was overwritten with its version. Cats out python code15:51
DimmskiiI'm going to hook up my portable hdd with a million windows binary files on it15:52
DimmskiiMaybe I'm just unlucky with mkp.exe and the stuff in ~/.wine15:52
DimmskiiThen again how could that be if the manual command gives out a proper icon with the border and stuff as it used to 15:53
DimmskiiEven though it's deprecated manually testing it seems to work15:53
DimmskiiAnd now with the new replacement package... seems to be a thunar or tumbler issue15:53
DimmskiiOr just a skill issue and I'm configuring something wrong 15:54
DimmskiiOk so the new one works on roughly half the files. Can confirm15:56
Dimmskiihttps://imgur.com/qD5DpOw15:57
DimmskiiFar less than half to be honest. The old thumbnailer was much better. I used to modify that shell script to fix max icon size and get rid of the 'icon theme' backgrounds too 15:58
DimmskiiFor instance, it does thumbnail things like my mortal kombat project exe. This new one doesn't :(15:59
DimmskiiIt uses icoutils I think while icoextract is self-explanatory.15:59
DimmskiiOh also the old one has imagemagick dep for resizing and stuff16:03
tomreynDimmskii: "But what I did is manually copy over files to /usr/..." - that's not something I would ever recommend - unless it's /usr/local/... maybe, but even then, that's not really a good idea IMO. That's because in doing so, you will end up with outdated software which will likely be subject to known vulnerabilities, introduce incompatibilities which can be difficult to diagnose / understand the root cause of)16:09
tomreynIn Debian derivatives such as Ubuntu, most of /usr is managed by the package manager, and should be managed by that only (IMO).16:10
DimmskiiThat's a valid point16:14
DimmskiiI'm going to go over configs again maybe the package manager adds it to /etc/xdg/tumbler/ rc file or something16:14
DimmskiiWhat's sad is that I kept planning on githubing my version of the old exe-thumbnailer prior to the deprecation of the package. That method is slower than the newer python one, though16:17
DimmskiiPart of the reason it got deprecated if I recall correctly16:17
DimmskiiGotta reboot again. Also battling with a screen flicker issue. The intel power state kernel params or whatever didn't seem to help  :P 16:19
tomreyni'm not familiar with the reasoning. another theory for its replacement could be security issues - parsing file contents and possible image data possibly provided by untrustable third parties is a difficult thing to do safely. so this might prompt developers to only handle what is exactly in line with specifications or some of the more 'safe' data/file formats. but that's really just yet another theory.16:20
DimmskiiOh wow I got it to work to the same extent as the icoextract packages16:54
Dimmskiihttps://imgur.com/a/VvGYtCS16:54
DimmskiiSo I can manually generate a thumbnail out of more files but thunar only does a handful16:54
DimmskiiI'm starting to think this is a mimetype issue or something16:54
DimmskiiThere's also filesize limits in tumblerd. Gonna play around with that as well16:56
tomreyni'm not familiar with the reasoning. another theory for its replacement could be security issues - parsing file contents and possible image data possibly provided by untrustable third parties is a difficult thing to do safely. so this might prompt developers to only handle what is exactly in line with specifications or some of the more 'safe' data/file formats. but that's really just yet another theory.16:56
DimmskiiWait let me just sort the !INASTALL folder by file size16:56
tomreyn^ i wrote this previously, when you had just dosconnected16:56
DimmskiiHmm16:57
DimmskiiSOLVED18:01
DimmskiiI'm going to open this issue on GitHub. Affects both deprecated and icoextract-thumbnailer package (!!!)18:02
DimmskiiThumbnailing won't happen on a great portion of windows .exe files unless you add mime type application/vnd.microsoft.portable-executable18:03
DimmskiiThe original deprecated script I'm using just hung tumblerd on hwi_740.exe (hwinfo installer) it seems though18:06
DimmskiiGonna check if icoextract is more tolerant. If so, it's at least a viable temporary remedy.18:06
=== Tom is now known as Guest8794
oerheksDimmskii, oke, have fun!18:43
Dimmskii:D19:13

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!