Can I use Scrcpy in EasyOS?
Is posible add scrcpy in easyos last version ?
Discussion, talk and tips
https://forum.puppylinux.com/
Is posible add scrcpy in easyos last version ?
Yes, it looks like Easy has all the dependencies:
How ? Please
@jesudia follow these instructions should work the same in EasyOS:
These instructions are for Fatdog and debian-ubuntu but for easyos last versions how would be ?
Note, EasyOS already has adb, so everything should be good to go.
Is posible install scrcpy.deb ? If not where is the file for install ?
Scrcpy
Load the EasyOS devx via Menu > Setup > SFSget
Grab the source code from https://github.com/Genymobile/scrcpy/releases/tag/v1.23
Extract the source tarball archive
Enter extracted source top level directory
Open the script install_release.sh as text
Add --prefix=/usr to the meson options (Line 15)
( Now reads meson "$BUILDDIR" --prefix=/usr --buildtype=release --strip -Db_lto=true \ )
Run the script from the directory with ./install_release.sh
That installs scrcpy
Looks like adb is a daemon - so if necessary, start it - try adb & in terminal
My problem is that I don't normally use an android phone
So don't have one available to connect and test
When I run scrcpy in terminal it returns:-
Code: Select all
# scrcpy
scrcpy 1.23 <https://github.com/Genymobile/scrcpy>
ERROR: Could not find any ADB device
ERROR: Server connection failed
#
Note - see below for .pet of scrcpy by BarryK, the one I attached previously has now been removed.
@jesudia ,
I have also compiled scrcpy and created a PET:
https://bkhome.org/news/202204/scrcpy-d ... evice.html
A photo:
I can see various scenarios where this would be very useful, for example...
Clipboard copy and paste.
Snapshots of the phone screen.
Creating instructional video doing something on phone.
Drag and drop a file to phone.
Use computer keyboard for typing input.
I can see various scenarios where this would be very useful, for example...
I have found a few software vendors are making free android versions of their programs, otherwise they're SAAS models that cost $X per month. I use one in particular on my phone, that I don't want to pay for. It took me about an hour to do what needed to be done on my phone, now it takes me about ten minutes on my phone via scrcpy. Most of the extra time was undoing my mistakes from fat fingers on a touch screen.
I see the the scrcpy man page, it also supports APK drag and drop. You drag it onto the phone screen, and it installs. Cool.
Yeah, I also have apps on my phone that aren't available for Linux, paid or free.
"Safe-in Cloud" is one of them, a great password manager.
Thank you very much by your PET of scrcpy, i would like make sfs of others .deb, i do not know if this IS posible
I would like know how do .PET of .deb for easyos, i am interested for do this with puffin-internet-terminal.deb
jesudia wrote: Sun Apr 24, 2022 2:03 pmI would like know how do .PET of .deb for easyos, i am interested for do this with puffin-internet-terminal.deb
You can right-click on a .deb file and use Xarchive to open it up. Make sure you expand into a folder, named like <name>-<version>
Xarchive will also create folder <name>-<version>/DEBIAN, and you need to look in there for anything useful, such as the post-install script -- see if you need to apply anything. Then delete the DEBIAN folder.
Then you can use 'dir2pet' utility.
# dir2pet <name>-<version>
IS posible install this in easyos last versión ?
@jesudia
You can get this in the browsers settings. I know it's possible in Firefox, Chrome/Chromium.
For Firefox : https://support.mozilla.org/fr/kb/dns-via-https-firefox
There is now a GUI frontend for scrcpy:
https://bkhome.org/news/202205/easyshar ... aring.html
It is really neat that you can enable screen-sharing and file-sharing at the same time, as shown by the two ticked checkboxes. I tested with a video playing on the phone, and simultaneously drag a file from phone to PC, doesn't seem to be any conflict.
This will be in the next release of EasyOS, probably version 3.4.8.
I am not getting scrcpy tcpip to work using Barrys pet. The USB connection works fine but I get the following when I try using tcpip
Code: Select all
scrcpy --tcpip=192.168.0.16
scrcpy 1.23 <https://github.com/Genymobile/scrcpy>
INFO: Connecting to 192.168.0.16:5555...
unable to connect to 192.168.0.16:5555:5555
ERROR: Could not connect to 192.168.0.16:5555
ERROR: Server connection failed
anyone getting this to work?
Update:
Ok, so I got this to work on my Moto I suspect certain phones have somewhat different behavior. My laptop is connected by ethernet and my phone connected to wifi on same network.
Went to https://github.com/Genymobile/scrcpy and they have a manual connection procedure
Code: Select all
Manual
Alternatively, it is possible to enable the TCP/IP connection manually using adb:
Plug the device into a USB port on your computer.
Connect the device to the same Wi-Fi network as your computer.
Get your device IP address, in Settings → About phone → Status
Enable adb over TCP/IP on your device: adb tcpip 5555.
Unplug your device.
Connect to your device: adb connect DEVICE_IP:5555 (replace DEVICE_IP with the device IP address you found).
Run scrcpy as usual.
So after performing the above procedure to do a new connection I do
# adb start-server
# adb connect 192.168.0.16:5555
# scrcpy
Thats it.