How do I unset this attribute (metadata::custom-icon)?


Marcus Carlson-6 wrote:
> 
> Perl Whore skrev:
>> In nautilus, I can go into properties and change the icon of a folder
>> to a custom one. Can the same be done from the commandline or is it
>> possible with DBus? If so, how?
>>
>>   
> In gvfs 2.28 you can use gvfs-info and gvfs-set-attribute to get and set 
> any metadata.
> To get the custom icon value;
> # gvfs-info -a metadata::custom-icon myfolder
> 
> To set a custom icon
> # gvfs-set-attribute myfolder metadata::custom-icon 
> file:///usr/share/pixmaps/gnome-spider.png
> 
> Marcus
>> I want to use it in a script.
>>
>> Also how do I check if it has an icon set already?
>>
>> Thanks
>>   
> 
> -- 
> nautilus-list mailing list
> nautilus-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/nautilus-list
> 
> 

-- 
View this message in context: 
http://old.nabble.com/How-do-I-change-a-folder-icon-from-a-script--tp25832597p29045313.html
Sent from the Gnome - Nautilus mailing list archive at Nabble.com.

-- 
nautilus-list mailing list
nautilus-list@gnome.org
http://mail.gnome.org/mailman/listinfo/nautilus-list

Reply via email to