Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Clipboard Push" menu option #1349

Closed
alecpetrosky opened this issue May 8, 2022 · 4 comments
Closed

"Clipboard Push" menu option #1349

alecpetrosky opened this issue May 8, 2022 · 4 comments
Labels
duplicate An issue that has already been reported

Comments

@alecpetrosky
Copy link

Is your feature request related to a problem? Please describe.
As @andyholmes explained in #1215 currently there's no easy workaround/fix for global shortcuts on latest Gnome Wayland. On the other hand, the problem is some way similar to the Android 10+ path taken by Google restricting global clipboard access.

Describe the solution you'd like
We have a nice and secure solution on Android side when we can manually send Clipboard content to another device:

20220508_165828_Screenshots

In my opinion, it could be great to have something similar in Gnome version of GSConnect (such as "Clipboard Push" menu option for each individual connected device):

Screenshot from 2022-05-08 16-53-54

Additional context
It would be quite straightforward solution which shouldn't require much effort to implement and which fits in the current security paradigm offered by Android/Gnome. I have no experience with Gnome Extension development but I could try to implement it if you'd like me to do so.

@andyholmes
Copy link
Collaborator

This seems like a duplicate of #1167.

The menu editor code was never completed, but clipboardPull and clipboardPush could be added to the GSettings default:

<key name="menu-actions" type="as">
<default>["sms", "ring", "mount", "commands", "share", "photo", "keyboard"]</default>
</key>

@alecpetrosky
Copy link
Author

@andyholmes thanks for your valuable reply. Is the any global config for "stock" system-wide installed extension? If not, is downloading the source, changing defaults in gschema.xml and installing the extension the possible solution?

@andyholmes
Copy link
Collaborator

That file is basically the source of defaults, but it is compiled into a shared file by the system (or session). If you're installing from RPM or something, I guess a vendor override would be the easiest way to change that downstream.

Alternatively you could submit a PR with the changes to the above file. I don't usually weigh in on user-visible changes anymore, but if say @ferdnyc or @daniellandau don't have a problem with it we could probably merge it.

@andyholmes andyholmes added the duplicate An issue that has already been reported label May 18, 2022
@andyholmes
Copy link
Collaborator

Going to close this as a duplicate of #1167 now, feel free to ask more questions if you need help with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate An issue that has already been reported
Projects
None yet
Development

No branches or pull requests

2 participants