如何改变从bash的一个目录图标/徽 [英] How to change icon/emblem of a directory from bash
问题描述
我在玩弄 get_iplayer (太棒了),它的运行每隔几个小时抢无论任何新的情节....
I'm playing around with get_iplayer (fantastic) it's running every few hours to grab any new episodes of whatever....
它已经完成抓住任何新的东西后,我想改变徽〜/影片
来添加一个加号或星(鹦鹉螺徽preferably)
After it has finished grabbing anything new i'd like to change the emblem of ~/Videos
to add a plus or star (nautilus emblem preferably)
我去通过这个鹦鹉螺?结果
我是否需要更改的gnome-Config中的东西吗?结果
我敢肯定,这不可能是FS水平?
Do i go about this via nautilus?
Do i need to change something in gnome-config?
I'm sure this can't be FS level?
对于任何链接和建议干杯。
Cheers for any links and advice.
推荐答案
GVFS设置属性〜/影片::徽记-t stringv元新的紧急
gvfs-set-attribute ~/Videos -t stringv metadata::emblems new urgent
GVFS设置属性-t字符串$文件夹中的元数据::自定义图标文件:///home/user/path/to/icon.jpg
gvfs-set-attribute -t string $FOLDER metadata::custom-icon file:///home/user/path/to/icon.jpg
这篇关于如何改变从bash的一个目录图标/徽的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!