如何从bash中更改目录的图标/徽标 [英] How to change icon/emblem of a directory from bash

查看:130
本文介绍了如何从bash中更改目录的图标/徽标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在玩 get_iplayer (太棒了),每隔几个小时运行一次,即可获取任何新的剧集....

I'm playing around with get_iplayer (fantastic) it's running every few hours to grab any new episodes of whatever....

完成抓取任何新内容后,我想更改〜/ Videos 添加一个加号或明星(最好是鹦鹉螺徽标)

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?

欢呼任何链接和建议。

推荐答案

gvfs-set-attribute〜/视频-t stringv metadata :: emblems new urgent

gvfs-set-attribute ~/Videos -t stringv metadata::emblems new urgent

gvfs-set-attribute -t​​ string $ FOLDER metadata :: custom-icon file:///home/user/path/to/icon.jpg

gvfs-set-attribute -t string $FOLDER metadata::custom-icon file:///home/user/path/to/icon.jpg

这篇关于如何从bash中更改目录的图标/徽标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆