Ok, so I think I've got a pretty good theory of how this works.
Whenever you change icons, position, or scale data, it is first added to
Code:
~/.local/share/gvfs-metadata/home########.log
This acts as a queue for icon changes. ######## is a hex value, and is found within the first few bytes of the file. It is 32768 bytes with a list of changes, and the rest is null bytes. When changes are pending, they are written to
Code:
~/.local/share/gvfs-metadata/home
the next minute. The queue file is then deleted and a blank one is created with a new ########.
With this information, I can replace
Code:
~/.local/share/gvfs-metadata/home
with a similar one, logout and back in, and the icons with change accordingly. So far, so good.
Unfortunately, this only works if the home directory has the same files. So now my question is, is there any reliable method of backing up the layout data of the desktop?
Thanks in advance,
Merv
Bookmarks