Feature Suggestion: Sharing between applications

I have put together a simple demo (in Python) of how this could look.
I think it would be a useful addition to the desktop experience and not too much effort to implement.
Demo here: https://github.com/brainstormtrooper/gnome_sharing
Documentation (in repository): https://github.com/brainstormtrooper/gnome_sharing/blob/main/Sharing%20Spec%20Doc.pdf
To run the demo, simply run in order in three consoles:

  1. service.py
  2. receiver.py
  3. sender.py

In sender.py, select “example app” (com.example.GtkApplication) to send test content.

Are you aware of the ongoing freedesktop intents work? Sharing would be hooked up and standardized through that, not through a bespoke intents system.

No, I am not aware of such a project.
Is there documentation or code samples?

It’s all very WIP, but here:

Indeed. Thanks for sharing.
The specifications describe where to store/find information about what applications handle what content and intents (my demo was not concerned with that aspect), but they do not describe a process for actually passing content from one application to another - actually acting on the intent.
I’ll update my demo based to the specifications in the hopes of illustrating the work to be done to bring this to fruition.
I have compiled some notes in the demo repository illustrating my understanding of how this would work based on the current specifications.
Please don’t hesitate to comment back here if I missed something.
Notes are here:

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