Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我用过这个命令
nautilus_file_info_add_emblem("NautilusFileInfo" new_file const char urgent)
还
gvfs -set -attribute -t stringv new_file metadata::emblems Urgent
但这些都行不通。
有了这个,你可以获得徽章:
gvfs-info -a metadata::emblems <folder>
有了这个,你可以改变它:
gvfs-set-attribute -t stringv <folder> metadata::emblems <emblem>