~~NOTOC~~ {{ :thunar:dev:thunar.png?nolink|}} ====== Thunar - Using gfvs metadata ====== gio info -a 'metadata::*' $HOME $ touch /tmp/myfile $ gio info -a 'metadata::*' /tmp/myfile attributes: $ gio set attribute -t string /tmp/myfile 'metadata::mynote' 'Please remember to delete this file!' $ gio info -a 'metadata::*' /tmp/myfile attributes: metadata::mynote: Please remember to delete this file! $ gio move /tmp/myfile /tmp/newfile $ gio info -a 'metadata::*' /tmp/newfile attributes: metadata::mynote: Please remember to delete this file! (Info from [[https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/desktop_migration_and_administration_guide/using-gvfs-metadata|Redhat]]) Check used emblems of a file: $ gio info 22 | grep emblem metadata::emblems: [emblem-favorite-symbolic.symbolic, emblem-generic] Set some other emblems: $ gio set 22 metadata::emblems --type=stringv emblem-debian emblem-default Note that it is required to refresh the folder to see the changes ---- [[:thunar:dev:|Back to Thunar Dev Notes]] [[https://docs.xfce.org/xfce/thunar/start|Back to Thunar main page]]