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

Raspbian install instructions #26

Open Joreel opened 5 years ago

Joreel commented 5 years ago

Hi everyone,

First of all, I would like to thank the creators of this project. It is simply amazing! I installed it on my Raspberry Pi and I can now easily "cast" whatever I want to it. It took me some time to figure out how to install it on the Pi. So for future reference, I would like to leave here the install instructions for Raspbian that worked for me, in case somebody else ends up facing the same issues I did.

First of all, KDE Connect should be installed:

sudo apt install kdeconnect

It will install a lot of dependencies, so it might take a while. Now for the KDE Connect Browser Extension, we first need to install Go:

sudo apt install golang-go golang-glide

Create a new folder called "go" with a subfolder called "bin" in your home folder. You will also need to set GOPATH and GOBIN for the next steps to work.

mkdir ~/go
mkdir ~/go/bin
export GOPATH=$HOME/go
export GOBIN=$GOPATH/bin

Install dependencies:

go get -u github.com/Masterminds/glide
go get -u github.com/godbus/dbus
go get -u github.com/kardianos/osext
go get -u github.com/paulrademacher/climenu

Go to your home directory and obtain the source:

cd
git clone https://github.com/pdf/kdeconnect-chrome-extension.git

Install the project:

cd kdeconnect-chrome-extension
glide install
go install
cd ~/go/bin
./kdeconnect-chrome-extension -install

You'll see some options to choose from. Use the arrow keys to navigate them and the spacebar to select the ones you need. Press enter to confirm. Now you just need to add the extension to your browser and you're good to go.