scrcpy icon indicating copy to clipboard operation
scrcpy copied to clipboard

[Question] about using the scrcpy as a work tool

Open kurt-steiner opened this issue 1 year ago • 2 comments

hey, I am using the laptop and find the memory is too few to run many programs with large memory need but to extend the memory size is too expensive, so I got an idea ---- use the phone as part of laptop, I just need to put most part of my work in the phone and show the result in the laptop, that sounds a good idea, right ? but I got some problem, I can't change the size of screen of the phone, the content size depends on the size of phone but not the window the scrcpy output. as a Linux user, it hits me that maybe the phone can be something like X-org server, and it can render the content onto the laptop(that is a window showing the content of phone with a qt-frame, mabye)

but I found nothing on google, do you know my request can be solved ?

kurt-steiner avatar Jul 16 '24 18:07 kurt-steiner

If your phone supports desktop mode—such as Samsung's DeX mode—you can try streaming to the second screen and launching desktop mode via adb commands. Apart from this, there are no other ways to meet your needs.

Tryanks avatar Jul 29 '24 10:07 Tryanks

I can't change the size of screen of the phone, the content size depends on the size of phone but not the window the scrcpy output.

use adb commands to set the phone screen size and density before launching scrcpy

I set mine like this...

adb -s $myIP shell wm size 1056x1600 adb -s $myIP shell wm density 175 scrcpy -s $myIP

chacalau avatar Aug 03 '24 05:08 chacalau