You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to select the "SauceCodePro Nerd Font" as a clock font, but the clock could not show in wallpaper.
Context
There are some errors log like this:
WARNING: apply_clock() 'Could not execute clock convert command. Missing ImageMagick or bad filter defined? Resultcode: 256'
But I have the ImageMagick installed, and Variety works correctly before I change the clock font. If I run the clock convert command manually, it produces errors output like this:
convert: unable to open image 'Code': No such file or directory @ error/blob.c/OpenBlob/3496.
convert: no decode delegate for this image format `' @ error/constitute.c/ReadImage/562.
Finally, I run the command fc-match -f '%{file[0]} 'SauceCodePro Nerd Font:70', the output is /home/username/.local/share/fonts/Sauce Code Pro Regular Nerd Font Complete.ttf. So the reason caused this bug is that font file name contains spaces.
So it can be fixed by adding double quotes to the "fc-match -f '%{file[0]} 'SauceCodePro Nerd Font:70'" in the clock converts command.
To Reproduce
download "SauceCodePro Nerd Font" to ~/.local/share/fonts, and run fc-cache
select "SauceCodePro Nerd Font" as the clock font
the clock does not show in the wallpaper
The text was updated successfully, but these errors were encountered:
Non-native speaker
Version of Variety
0.7.2
Describe the bug
I try to select the "SauceCodePro Nerd Font" as a clock font, but the clock could not show in wallpaper.
Context
There are some errors log like this:
But I have the ImageMagick installed, and Variety works correctly before I change the clock font. If I run the clock convert command manually, it produces errors output like this:
Finally, I run the command
fc-match -f '%{file[0]} 'SauceCodePro Nerd Font:70'
, the output is/home/username/.local/share/fonts/Sauce Code Pro Regular Nerd Font Complete.ttf
. So the reason caused this bug is that font file name contains spaces.So it can be fixed by adding double quotes to the "
fc-match -f '%{file[0]} 'SauceCodePro Nerd Font:70'
" in the clock converts command.To Reproduce
~/.local/share/fonts
, and runfc-cache
The text was updated successfully, but these errors were encountered: