Installing scrcpy in Bookworm Puppy
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.
Load the devx sfs file.
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.