I am working on a zeitgeist integration for a clipboard manager (diodon). For this I have been using the uri "clipboard://[sha1 checksum of content]" to identify the different clipboard contents. Unfortunatetly there is a uri filter regex in fts which excludes all not defined uris. As none of those uri really fit for clipboard managers did I wanted to ask whether it would be possible to add clipboard scheme as an exception as well? Have a look here https://bazaar.launchpad.net/~diodon-team/diodon/zeitgeist-storage/view/head:/libdiodon/zeitgeist-clipboard-storage.vala to see how I currently store the clipboard manager events. Thanks, Oliver
Created attachment 97251 [details] [review] Adding clipboard uri scheme as exception in fts indexer I for now have a workaround to change my uris to dav before they are added to Zeitgeist and changing them back again to clipboard when reading events from Zeitgeist. However this is a bit of a hack and has draw backs like how the events show up in other application like Activity Manager etc. I have attached a patch which adds clipboard as an exception so it will be indexed in fts as well. As discussed on IRC before have I tried to make this uri as general as possible so it can be easy usable by other clipboard managers as well. Also the uri clipboard is going to be registered so that means when a clipboard uri is being activated in e.g. Activity Manager the referenced content will be copied to the clipboard. It would be great if this patch could be applied.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/zeitgeist/zeitgeist/issues/11.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.