From ee2cf2e14d10223e013105bc392f978293abb427 Mon Sep 17 00:00:00 2001 From: Milan Nikolic Date: Mon, 4 Nov 2024 16:18:31 +0100 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9678397..a302140 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,8 @@ Linux Flatpak is available at [Flathub](https://flathub.org/apps/io.github.gen2b ### Using cbconvert in file managers to generate FreeDesktop thumbnails -Copy `cbconvert` cli binary to your `PATH`, create file `~/.local/share/thumbnailers/cbconvert.thumbnailer` -and paste content from [thumbnailer](https://github.com/gen2brain/cbconvert/tree/master/cmd/cbconvert-gui/dist/linux/io.github.gen2brain.cbconvert.thumbnailer). +Copy/install `cbconvert` cli binary to your `PATH`, create file `~/.local/share/thumbnailers/cbconvert.thumbnailer` +and paste contents from [thumbnailer](https://github.com/gen2brain/cbconvert/tree/master/cmd/cbconvert-gui/dist/linux/io.github.gen2brain.cbconvert.thumbnailer). This is what it looks like in the `PCManFM` file manager: @@ -182,6 +182,8 @@ This table maps quality settings for JPEG to the respective AVIF and WEBP qualit ### Compile +You must have `CGO_ENABLED=1`. Note that `Go` will disable cgo when cross-compiling. + Install to `GOBIN` (you can point `GOBIN` to e.g. `/usr/local/bin` or `~/.local/bin`): `go install github.com/gen2brain/cbconvert/cmd/cbconvert@latest`