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 29 forks source link

Cannot install host application #33

Closed GeorgiKarapetrov closed 4 years ago

GeorgiKarapetrov commented 4 years ago

Describe the bug The host application is not a shell script. Maybe this is embarrassing and I should know. How can I execute ./kdeconnect-chrome-extension -install in terminal, (following the instructions here on Git,) if it is not a shell script?

To Reproduce Steps to reproduce the behavior:

  1. Go to latest release
  2. Download the tar.xz archive
  3. Extract the kdeconnect-chrome-extension application
  4. run # ./kdeconnect-chrome-extension -install
  5. See error bash: ./kdeconnect-chrome-extension: Permission denied or
  6. run # bash kdeconnect-chrome-extension -install
  7. See error kdeconnect-chrome-extension: kdeconnect-chrome-extension: cannot execute binary file

Expected behavior I expected the application to install.

Desktop:

Smartphone (please complete the following information):

Additional The gsconnect extension works with Gnome desktop and gsconnect. I would really prefer using KDEConnect if I may. Hopefully, I am running the wrong command.

pdf commented 4 years ago

For some reason your archiver or file system is not preserving the executable bit on the extracted file, or you're running an incompatible architecture:

tar -xvf kdeconnect-chrome-extension*.tar.xz

The above works correctly here. If it doesn't for you, you can try chmod +x kdeconnect-chrome-extension, if that fails, there is something unusual about the filesystem you're extracting this to (is it mounted with noexec or something?

Are you on the supported architecture (Linux, x86_64)? If you're running a 32-bit, or an alternative architecture, or OS, this binary won't work, and you'd need to build from source for your arch.

I haven't been building 32-bit binaries, because I didn't think there were many people using 32-bit processors anymore, and a number of distros are phasing out 32-bit support.

GeorgiKarapetrov commented 4 years ago

Thank you, you were right. I re-extracted the archive on an ext4 drive. The host application installs. The extension connects and sends pages to my phone now.