-
-
Notifications
You must be signed in to change notification settings - Fork 220
[SUGGESTIONS] Keep settings & snap toolbars to window & Create .desktop files #112
Comments
@Thyrador can you check if your configuration is saved with guiscrcpy from the pip package or the AppImage?
this is possibly because you are running the snap. The pip package has all support for configuration management and saving them and restoring them on the next start.
I am not sure if I can snap a window to scrcpy's window. The code for scrcpy and guiscrcpy are completely different. scrcpy is written in c++, guiscrcpy is written in Python.
Cool feature. Can you create another issue for this (3) so that I can reference it separately. I am interested in working on that :) |
Neither of them will remember the settings.
Had looked into that and it's all in chinese. The only thing I am good at in chinese is loving the food :D |
Can you check if you have
And then, can you copy paste the configuration json?
Similar opinions :P
I will try |
guiscrcpy.json: {
"adb": "/usr/bin/adb",
"bitrate": 8000,
"cmx": "",
"dimension": null,
"dispRO": true,
"extra": "",
"fullscreen": false,
"paths": [
"bin",
"/usr/bin",
"~/.local/bin",
"~/bin",
"/usr/local/bin"
],
"scrcpy": "/usr/bin/scrcpy",
"scrcpy-server": null,
"swtouches": false
} Not sure if it got installed with snap, AppImage or pip. but it's definitely there and I have access to it |
@Thyrador can you change the bitrate, execute
All of them should respect the same |
{
"adb": "/usr/bin/adb",
"bitrate": 8000,
"cmx": "",
"dimension": null,
"dispRO": true,
"extra": "",
"fullscreen": false,
"paths": [
"bin",
"/usr/bin",
"~/.local/bin",
"~/bin",
"/usr/local/bin"
],
"scrcpy": "/usr/bin/scrcpy",
"scrcpy-server": null,
"swtouches": false
} Still the same, not getting updated. |
Can you give me the output of which guiscrcpy |
|
ok, now it makes sense
Please retry with this #112 (comment) and then let me know of the output changed To make it work on the snap, you have to connect the sudo snap connect guiscrcpy:home |
After deleting all of the guiscrcpy related files (and removing snap/python module) it somehow works. But only for the bitrate, it seems. Still won't remember which toolbars I don't want to show. |
Yes, the toolbars are all enabled by default. If you prefer, I can save that also in v3.10? |
That would be great. Also which custom command-line arguments you provided in the gui (if not already there). |
I guess custom command line args are already there. You can open KSysGuard on Plasma, and then type |
Great! Looks good. thanks for testing guiscrcpy |
No problem. Let me know if you need something else tested. EDIT: feel free to close the issue, if you want. |
I will close it after I update the |
@Thyrador If you would like to have some more features, please let me know, It would help to make |
Well, yeah. There are 2 I am still thinking of. But not sure if possible or too much to ask. Which ultimately results in some sort of real monitoring: having a ui where you can see which clients are available and quickly select and connect to them. Similar to how VMWare or Veyon works. But that would be way too much to ask, I guess. I'm no ordinary user, as you can guess :P |
What does all Chinese mean? Should readme and software interface be in English? I am also looking for foreign friends to help translate other documents, is anyone willing to help? |
@barry-ran I guess you should have UI and Readme in English. Your project is cool; I will try to translate it to English. |
That's so grateful |
Hey @barry-ran . It just meant that your UI and documentation is in Chinese, so for people outside of your country it is not possible to understand it. If you will it open to the rest of the world is up to you, but it wouldn't be just me being grateful about it :) |
@Thyrador, In case you missed this: #113 (comment) |
Hey @Thyrador, QtScrcpy currently supports Chinese and English. English should be displayed on non-Chinese systems. Otherwise, this is a bug. Is the software ui in Chinese on your system? |
@barry-ran I wanted to inform you; The |
I didn't @srevinsaju but thanks for reminding :D Let me check again, @barry-ran |
Thanks a lot, there is indeed this problem, I will fix it |
@barry-ran also detailed instructions would be good since and it is easy to compile does not tell how to build it :P Tried meson and make, didn't get it to build. |
@Thyrador Are we seeing the same document? |
@barry-ran I'm not a Qt-developer, so I don't really know how to compile it. |
@Thyrador |
I should have stated that I am running linux here :D |
Sorry, it's really not very good to compile |
So you advise to not use it on Ubuntu? |
@Thyrador, what Linux libraries are based on LDD library definition and symlinks. Even if you have a binary of the QtScrcpy module, the compiled executable might not find some libraries on your system, and later fail. This is the basis of AppImages / snap package. This can later cause segmentation faults and |
@srevinsaju thanks for clarification. Since I am not a Qt developer I am not aware of these things but it makes sense. |
Yes @Thyrador , many of the users are also not familiar with Qt on C++/Python; this is the possible reason I had to put a lot of effort into packaging guiscrcpy and making it available for other users and for a wider distribution. See README.md for more information on the different modes of packaging / distribution |
Wish I'd started with linux development instead of windows 10 years ago so I would understand more of it as I do now. |
@Thyrador Same here; I started with windows too 😉 |
Finally someone who understands why I hate windows so much, right? :D |
Yes; I feel quite relieved; and indeed happy that I started using Linux at least now (I started only a year ago)
This project has been started because of some personal necessity. I had to view my online classes on an android phone; because I didn't have an ethernet connection; So I developed
Wow! Thats cool. I do not know C#; I tried learning that; But I did not understand pointers and all.
Yes; I concur. I have the same opinion. The best way to start. is to get involved. To start from knowing nothing; to becoming a project board developer is to start from documentation. If you are interested in helping guiscrcpy's development; I would suggest you to look into #60; I am very poor in documentation; or help scrcpy has a client that communicates the This is the master brain of @rom1v. The problem is that; I have no knowledge of C# or C; which forces me to depend on I have been looking for contributors and sponsors; No one yet: lol |
Haha, now I feel bad :D
Whew, now I feel old :D
C#, not C++. C# makes use of the .NET framework so you need either wine to run it on Linux (would impact the performance I guess) or developing in .NET Core would require Mono (I'm at the beginning on learning how .NET Core works).
Well, translating is the least problematic, I guess :D
Same with C#, Razor, HTML, CSS, JS, etc :D
That sounds interesting. But there's quite a difference between C and C#.
It's because of what scrcpy actually is and that it isn't something that is widely used (most people just take their phone instead of mirroring it to the screen.
No need to apologize. Just don't make sure you won't miss your classes because you are excited or too busy answering my silly questions :D |
I like the Jetbrains IDE; guiscrcpy is built completely on Jetbrains PyCharm; They might sponsor me a professional version of PyCharm because of
Have the same feeling; For every release of
I had got tired of reinstalling Windows again and again; Windows systems don't last for long; I never had to reinstall Linux; because of the way it is. I still have to keep a VM for development purposes.
Similar opinions; I am a KDE Plasma user too 😉
I did not know. thanks for that information; I thought C++ and C# are similar just like how C and GNU C++ are
No worries; Its only if you have time; Everyone are busy
Yes every open source development teaches us something. I work part time for a non-profit educational organization; I actually learnt how to manage things by working in an organization; Code must be readable; must have formatting; etc. And everyone have their opinions to put in; Some disagree; Some like it. I learnt Object Oriented Programming at the Google Code-In. You should look at release v1.11 of
Yes, its a quite while ago indeed. But thanks for helping make
Sure; Its fine 😄 |
Nice :)
Well, I am a gamer too. There are a handful games I have to run on Windows (otherwise I can't play them or with friends). Other than that I use Linux for most of the games I play. Running them through Lutris and Proton works like a charm (most of the time :D)
Tbh. I had to reinstall Linux on a few occasions, but that was due to my own fault (completely messed up the system without making any backups). But that was in my experimental phase where I knew nothing :D
Haha, I wish it would be that easy. They're worlds apart from each other.
Sure. If I can help, I'm glad if I can contribute something.
Yeah, I can imagine. Not sure how big my flaws are currently, but I sometimes look over some older code and think: "Who the fuck wrote that shit?" 😆
Well, you did the work. So thank you for it. I just waved my finger pointing at things I think could be better. :P |
@Thyrador ping |
1. After closing the gui, for some reason the settings won't stay.
If I choose to change the bitrate, disable/enable toolbars or pass various arguments, it all will be lost after I restart the application.
2. When having multiple scrcpy windows open, it gets hard to determine which toolbar is used for which window. If possible, they should get snapped to the scrcpy-window (will switching orientations be okay with it?)
3. Creating *.desktop-files from the settings: so you can easily create shortcuts to devices you frequently use.
This would be very convenient.
The text was updated successfully, but these errors were encountered: