-
-
Notifications
You must be signed in to change notification settings - Fork 221
[SUGGESTION] Save settings to *.desktop file #113
Comments
@Thyrador I have implemented the desktop file functionality you have asked for. For prebuilt binaries, see: Please let me know if anything is not working regarding the same |
@srevinsaju Tested the AppImage and although it prints that the desktop file was created, I can nowhere seem to find it. Tried finding it via find and locate to no avail. |
@Thyrador try export GUISCRCPY_DEBUG=True It should be found on ~/Desktop under normal conditions |
They won't get generated. Can't find an |
This is what I get:
|
export XDG_DESKTOP_PATH to your desktop path |
@Thyrador https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html guiscrcpy respects XDG paths to find the desktop path' Export the XDG_DESKTOP_PATH for guiscrcpy to find where to save the file; export the XDG PATH and then rerun the guiscrcpy file |
Could you give me instructions on how to do that? |
export XDG_DESKTOP_DIR=/path/to/where/you/want/shortcut |
Thanks. Tested it and it indeed get saved to the desktop. Unfortunately adb path is messed up. It will generate something like this:
When trying to execute it it just stops with the error, that adb is not to be found on this path. |
Also |
Most probably because its an AppImage; maybe you can try the pypi wheel from the releases pip3 install guiscrcpy*continuous*.whl Download the wheel and then run the above command; Hope it works |
Ok, I will add support for appimages, and automatically start scrcpy along with guiscrcpy so it becomes easier. Hope the current implementation is ok, Any suggestions about the UI for Device View? |
Does look okay to me, except that if I add a second device it won't show up in the list |
@Thyrador You might need to refresh then; Sorry for the delay |
Doesn't seem to work either:
After closing and restarting it, guiscrcpy now won start at all:
Deleting guiscrcpy.json doesn't seem to help. |
Ok; thanks for the suggesstion. I will add the auto start scrcpy argument too |
@Thyrador can you give me the output of
|
Sure.
|
Thanks; I will have to add a check for unauthorized devices too. Meanwhile I fix it; you can try to authorize your device and try again; it should work |
Oh well, that worked. Didn't even notice the "unauthorized" attribute, lol. Things like this happen while answering questions while working :D Will check it later and report back :) |
Okay, after unauthorizing the device it seem to work (displays it as unauthorized now). If I try to connect to the unauthorized device (which obviously won't work) guiscrcpy gets stuck at 70%, progress bar becomes red and I can't connect to another device (until I restart guiscrcpy). That's a bit inconvenient, tbh :P |
Yes, it used to prevent connecting to an unauthorized device before; I have to rewrite the previous logic to stop continuing to start scrcpy so that I will have to test with unauthorized devices now ;) to fix it completely
I will check that out; I am not sure why that happens |
@Thyrador I have added support for connection to devices and as well as AppImages I guess. If you have time; please test it and let me know if I can add any more features |
@Thyrador I will wait another 2 days before closing this issue, in case you have time; please test |
As per request:
Creating *.desktop-files from the settings: so you can easily create shortcuts to devices you frequently use.
This should support connections to devices connected to usb aswell as devices connected via WiFi. For example (connection via WiFi):
The text was updated successfully, but these errors were encountered: