PDA

View Full Version : [ubuntu] gvfs: how to unset/remove attribute?



geod
July 2nd, 2010, 09:26 AM
How do I unset/remove attribute metadata::custom-icon?

I've set a custom icon to a folder via terminal eg:
gvfs-set-attribute myfolder metadata::custom-icon
file:///usr/share/pixmaps/gnome-spider.png

but I want to be able to undo this with a terminal command.

geod
July 5th, 2010, 01:19 PM
bump

Dart00
August 18th, 2010, 05:27 AM
BUMP

Been wondering this too....

nicegiving
September 7th, 2010, 06:11 PM
How do I unset/remove attribute metadata::custom-icon?

I've set a custom icon to a folder via terminal eg:
gvfs-set-attribute myfolder metadata::custom-icon
file:///usr/share/pixmaps/gnome-spider.png

but I want to be able to undo this with a terminal command.

I find the solution on "http://old.nabble.com/How-do-I-change-a-folder-icon-from-a-script--td25832597.html":
gvfs-set-attribute myfolder -t unset metadata::custom-icon

But I have another question, my system is Ubuntu 9.04 desktop edition, there is no command gvfs-set-attribute on it, why?