Hi All,
I am exploring on file properties.Specifically I want to know about file icon and other.
How does the process of file save is done when we create it first time?
And where all properties get save.
I want to change that icon file through code for any file.
Please Help me if anyone know how to do it.
Note : Any file i.e. File with any extention(ex. .txt,.html,.pdf etc)
Hi All,
I myself created this thread.I got little solution for this thread as follow
I got ingormation about file and its respective icon information.
In linux nautilus makes xml file for each folder in
/home/arun/.nautilus/metafiles/
That xml contains entry for each file.If we change icon for a any file it keep path for a icon file.
Foe ex. We have File abc.txt on Desktop(/home/arun/Desktop)
And we want to change its icon .For that we can edit this xml file named ad
"file:%2F%2F%2Fhome%2Farun%2FDesktop.xml" present in
/home/arun/.nautilus/metafiles/ directory
<?xml version="1.0"?>
We can edit those xml manually and also via programs(java).
But we also need to restart the nautilus to confirm the changes.
Thanks.