Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] about using the scrcpy as a work tool #5101

Open
nesteiner opened this issue Jul 16, 2024 · 2 comments
Open

[Question] about using the scrcpy as a work tool #5101

nesteiner opened this issue Jul 16, 2024 · 2 comments

Comments

@nesteiner
Copy link

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 ?

@Tryanks
Copy link

Tryanks commented Jul 29, 2024

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.

@chacalau
Copy link

chacalau commented Aug 3, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants