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

Remote desktop support #2

Open
emersion opened this issue Jan 20, 2019 · 6 comments
Open

Remote desktop support #2

emersion opened this issue Jan 20, 2019 · 6 comments
Labels
enhancement New feature or request

Comments

@emersion
Copy link
Owner

emersion commented Jan 20, 2019

See https://github.com/flatpak/xdg-desktop-portal/blob/master/data/org.freedesktop.impl.portal.RemoteDesktop.xml

We can use the wlroots virtual-keyboard and virtual-pointer protocols.

@emersion emersion added the enhancement New feature or request label Jan 20, 2019
@noomly
Copy link

noomly commented Jan 23, 2023

Hey, is there any plan to support this feature?

Kdeconnect recently merged a feature that'll make the remote input plugin compatible with Wayland and it relies on RemoteDesktop. See https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/501. This will make the Kdeconnect smartphone app able to control the desktop's cursor & keyboard remotely, which is one of the few things I've been missing since I made the transition to Wayland and I'm sure I'm not the only one.

I'd be ok with trying to work on a PR but I'd need some guidance as to what to do and where, as I'm not familiar at all with this project and xdg-desktop-portal's internals in general.

@emersion
Copy link
Owner Author

Feel free to come and ask questions on IRC. It all boils down to implementing the D-Bus interface (this repo has some example code, mako too) by using the Wayland protocols.

@Dark-Kernel
Copy link

Hey, is there any plan to support this feature?

Kdeconnect recently merged a feature that'll make the remote input plugin compatible with Wayland and it relies on RemoteDesktop. See https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/501. This will make the Kdeconnect smartphone app able to control the desktop's cursor & keyboard remotely, which is one of the few things I've been missing since I made the transition to Wayland and I'm sure I'm not the only one.

I'd be ok with trying to work on a PR but I'd need some guidance as to what to do and where, as I'm not familiar at all with this project and xdg-desktop-portal's internals in general.

What do you mean by "it relies on remote desktop"? and Is it working now?

@haselwarter
Copy link

Hey, is there any plan to support this feature?
Kdeconnect recently merged a feature that'll make the remote input plugin compatible with Wayland and it relies on RemoteDesktop. See https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/501. This will make the Kdeconnect smartphone app able to control the desktop's cursor & keyboard remotely, which is one of the few things I've been missing since I made the transition to Wayland and I'm sure I'm not the only one.
I'd be ok with trying to work on a PR but I'd need some guidance as to what to do and where, as I'm not familiar at all with this project and xdg-desktop-portal's internals in general.

What do you mean by "it relies on remote desktop"? and Is it working now?

The KDE connect client allows you to use your phone as keyboard / touchpad for your KDE connect server. Running the server under sway currently only supports some of KDE connect's features (volume and multimedia controls work) while the remote input would require support for the RemoteDesktop extension in the wlr portal.

@Dark-Kernel
Copy link

Hey, is there any plan to support this feature?
Kdeconnect recently merged a feature that'll make the remote input plugin compatible with Wayland and it relies on RemoteDesktop. See https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/501. This will make the Kdeconnect smartphone app able to control the desktop's cursor & keyboard remotely, which is one of the few things I've been missing since I made the transition to Wayland and I'm sure I'm not the only one.
I'd be ok with trying to work on a PR but I'd need some guidance as to what to do and where, as I'm not familiar at all with this project and xdg-desktop-portal's internals in general.

What do you mean by "it relies on remote desktop"? and Is it working now?

The KDE connect client allows you to use your phone as keyboard / touchpad for your KDE connect server. Running the server under sway currently only supports some of KDE connect's features (volume and multimedia controls work) while the remote input would require support for the RemoteDesktop extension in the wlr portal.

So how we can do that?

@haselwarter
Copy link

As @emersion wrote,

Feel free to come and ask questions on IRC. It all boils down to implementing the D-Bus interface (this repo has some example code, mako too) by using the Wayland protocols.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants