Monitor GVFS metadata changes

I want to update a file name when the GVFS metadata for the file has changed. We set a checksum for trusted .desktop files in GVFS metadata. The code for this is in a plugin, so another binary and not the main program.

Are changes in GVFS metadata tracked by a GFileMonitor? Does it lead to a G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED event?

If this is not the case what else can I do to achieve this?

Many thanks in advance! :slight_smile:

Not now, but can be monitored over D-Bus. See Emit G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED when metadata are changed (#478) 路 Issues 路 GNOME / gvfs 路 GitLab and Notify changes in metadata (!84) 路 Merge requests 路 GNOME / gvfs 路 GitLab.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.