pdf / kdeconnect-chrome-extension

A browser extension to send pages and content from your browser to connected KDE Connect devices.
https://chrome.google.com/webstore/detail/kde-connect/ofmplbbfigookafjahpeepbggpofdhbo
MIT License
233 stars 30 forks source link

Support for Windows 10 #39

Open pixincreate opened 3 years ago

pixincreate commented 3 years ago

Is your feature request related to a problem? Please describe. On Windows 10, after installing the extension on Brave, got to know it doesn't work. "No devices found" is the only notificatino that is visible all the time.

Describe the solution you'd like A support for windows so that Windows users can enjoy using KDE extension.

Describe alternatives you've considered Using Brave sync to links from PC to Phone(Yeah, Brave is installed on Android too - unfortunately).

pdf commented 3 years ago

See #4 - unless something has changed, I don't know how to connect to the DBUS session on Windows

pixincreate commented 3 years ago

Is DBUS mandatory for it in order to work? Or you can implement an equivalent like COM on windows? Check-out this answer: https://stackoverflow.com/questions/482681/d-bus-equivalent-for-windows
Or you can even use WinDBus as it's now an official part of DBUS

pdf commented 3 years ago

Negative, the extension native host relies entirely on the DBUS API to communicate with the KDEConnect process. I know that the KDEConnect installation on Windows bundles a DBUS implementation, I'm not sure what flavour it is, but last time I investigated, I couldn't work out how to auth against it, since it functions differently to other platforms.

My ability and motivation to invest significant effort into this for a handful of users is low, but I'd be most happy if someone who uses Windows and has the required skills would investigate how to connect to the bundled DBUS instance.

Davester34 commented 2 years ago

I'm getting the same issue, no devices found. On the same windows computer, i installed the app from the microsoft app store and that sees my device fine.

4-FLOSS-Free-Libre-Open-Source-Software commented 1 year ago

I'm getting the same issue, no devices found. On the same windows computer, i installed the app from the microsoft app store and that sees my device fine.

Error: could not connect to native host

Error: no version response received from native host
No devices found...
ftoh commented 1 year ago

You can use External Application Launcher extension

Send to specific device Run `kdeconnect-cli.exe -l` to get device id, then use settings as at screen ![image](https://github.com/pdf/kdeconnect-chrome-extension/assets/5018813/a90dc072-3e70-42d9-871f-d199d2e6428d)
Always ask for device ![image](https://github.com/pdf/kdeconnect-chrome-extension/assets/5018813/5b80997b-a592-4ebf-8c7e-acddc90b642b)
csolisr commented 1 year ago

You can use External Application Launcher extension

Sorry for the delay replying, but I'm unable to configure the extension because I installed KDE Connect from the Microsoft Store. What would be the installation route in this case?

csolisr commented 1 year ago

OK, so I found that in my particular case the route would be C:\Program Files\WindowsApps\KDEe.V.KDEConnect_23.801.1463.0_x64__7vt06qxq7ptv8\bin\kdeconnect-app.exe. However, it seems like the route is not available to the extension itself due to what seems to be a permissions issue

ftoh commented 1 year ago

What would be the installation route in this case?

I found hacky method. This will ask on execute Executable Name: cmd.exe Arguments: /c start shell:AppsFolder\KDEe.V.KDEConnect_7vt06qxq7ptv8!KDEe.V.KDEConnect [HREF]

kdeconnect-cli from Microsoft Store available globally.

amphyvi commented 2 months ago

What would be the installation route in this case?

I found hacky method. This will ask on execute Executable Name: cmd.exe Arguments: /c start shell:AppsFolder\KDEe.V.KDEConnect_7vt06qxq7ptv8!KDEe.V.KDEConnect [HREF]

kdeconnect-cli from Microsoft Store available globally.

Thank you! Was able to get a tidy Powershell solution going using your workaround, to make things a little less hacky https://www.reddit.com/r/kde/comments/1et48c4/kde_connect_send_url_from_windows_to_other_devices/