Installing scrcpy in Bookworm Puppy

Moderator: Forum moderators

Post Reply
dancytron
Posts: 722
Joined: Fri Dec 13, 2019 6:26 pm
Has thanked: 520 times
Been thanked: 217 times

Installing scrcpy in Bookworm Puppy

Post by dancytron »

edit: added screenshot

Scrcpy, a program to mirror your android phone on your pc, didn't make it into bookworm and the version is sid is ancient. MX has it packaged with a huge kde based frontend (edit: it's a flatpack, MX didn't build that awful thing).

But it is really easy to compile. Basically, follow the instructions at https://github.com/Genymobile/scrcpy/bl ... c/linux.md but without sudo.

  1. Load the devx sfs file.

  2. Open a terminal and run.

Code: Select all

apt install ffmpeg libsdl2-2.0-0 adb wget \
                 gcc git pkg-config meson ninja-build libsdl2-dev \
                 libavcodec-dev libavdevice-dev libavformat-dev libavutil-dev \
                 libswresample-dev libusb-1.0-0 libusb-1.0-0-dev

Then run:

Code: Select all

git clone https://github.com/Genymobile/scrcpy
cd scrcpy
./install_release.sh

It will almost finish, but will fail because it doesn't find sudo.

Open up /root/scrcpy/install_release.sh in geany or leafpad, search for and find the use of "sudo" toward the end of the script, delete it, and then run the script again.

It should then finish the install fine.

Code: Select all

./install_release.sh

Then follow the instructions to set up your phone, plug it in, and run "scrcpy" from the terminal or set up a .desktop file.

screenshot-1-800.jpg
screenshot-1-800.jpg (89.69 KiB) Viewed 439 times
dancytron
Posts: 722
Joined: Fri Dec 13, 2019 6:26 pm
Has thanked: 520 times
Been thanked: 217 times

Re: Installing scrcpy in Bookworm Puppy

Post by dancytron »

edit: There is now a .pet file for bookworm puppy.

see viewtopic.php?p=113539#p113539

These instructions, minus the sudo trick at the end, work on MX. I will test it on Debian Dog sometime. It should work just like puppy.

edit: worked on Debian Dog bookworm too.

Post Reply

Return to “BookwormPup”