Skip to content

fix: use convert as fallback for imagemagick v6#251

Open
Alexander-Hou wants to merge 1 commit into
vinceliuice:masterfrom
Alexander-Hou:fix-imagemagick-v6-compat
Open

fix: use convert as fallback for imagemagick v6#251
Alexander-Hou wants to merge 1 commit into
vinceliuice:masterfrom
Alexander-Hou:fix-imagemagick-v6-compat

Conversation

@Alexander-Hou

@Alexander-Hou Alexander-Hou commented Feb 21, 2026

Copy link
Copy Markdown

First of all, thank you for this amazing project! These GRUB themes are incredibly well-designed and bring a modern look to my Linux setup.

On some stable distributions like Ubuntu 24.04 LTS, ImageMagick v6 is still the default, which uses the convert command instead of magick. This PR adds a fallback check to ensure compatibility across different ImageMagick versions.

Here is the problem before altering the code.
On Ubuntu 24.04 LTS (ImageMagick v6), the script fails because the magick command does not exist:
图片

After altering the code, the script correctly handles the command fallback. Here is the successful output:
alexander-ThinkBook-16-G7-IAH% sudo ./install.sh -t stylish -c 3200x1600
图片

Thanks again for your hard work on these themes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant