I am trying to assign custom icons via the bash shell using "gio set" in the following manner: "gio set -t string $FOLDERPATH metadata::custom-icon file://$FILEPATH" where $FOLDERPATH is the folder, and $FILEPATH is the image to be assigned, and receive the following error: gio: Setting attribute metadata::custom-icon not supported
"gio info --query-writable $FOLDERPATH" does not show metadata::custom-icon as writable, but it appears that this used to be possible using "gio set" or "gvfs-set-attribute". Is there any method to set a custom icon via command line or has this been fully deprecated?
EDIT: Here's an example of the command I am trying without variables: "gio set -t string /home/dud/test metadata::custom-icon file:///home/dud/test/test.jpg". Has anyone tested this or set custom icons via command line in Ubuntu 20.04?