-
-
Notifications
You must be signed in to change notification settings - Fork 11k
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
MR #3817 Breaks launching scrcpy-console using the .desktop file #4367
Comments
Thank you for your report. After #4130 (on Could you please open a PR based on |
I sure can. Its 3 AM here so I'll do it when I wake up.
…On Sat, Oct 21, 2023, 2:59 AM Romain Vimont ***@***.***> wrote:
Thank you for your report.
After #4130 <#4130> (on dev
branch), the .desktop scripts have been simplified a bit.
Could you please open a PR based on dev branch which fixes this issue?
—
Reply to this email directly, view it on GitHub
<#4367 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AM5Y33ZPHUCWOMKGZ7Z6VGLYANXFBAVCNFSM6AAAAAA6J36Z7GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZTGY4TQMRZHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Did you have time to take a look? |
rom1v
pushed a commit
that referenced
this issue
Nov 24, 2023
rom1v
pushed a commit
that referenced
this issue
Nov 24, 2023
There were too many backslashes in the Exec line. Fixes #4367 <#4367> PR #4448 <#4448> Signed-off-by: Romain Vimont <[email protected]>
rom1v
pushed a commit
that referenced
this issue
Nov 24, 2023
This does not work properly on some desktop environments (KDE), and $SHELL is unlikely to require quoting. Fixes #4367 <#4367> PR #4448 <#4448> Signed-off-by: Romain Vimont <[email protected]>
rom1v
pushed a commit
that referenced
this issue
Nov 25, 2023
This does not work properly on some desktop environments (KDE), and $SHELL is unlikely to require quoting. Fixes #4367 <#4367> PR #4448 <#4448> Signed-off-by: Romain Vimont <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Describe the bug
#3817 breaks
scrcpy-console
, because there are one too many backslashes in theExec
line./bin/bash --norc --noprofile -i -c "\"\\$SHELL\" -i -c scrcpy || read -p 'Press Enter to quit...'"
errors out, because it reads it as
\/bin/zsh
(or\/bin/bash
,\/bin/fish
, etc) and gives you a\/bin/zsh: no such file or directory
error.Removing one of the backslashes before
$SHELL
fixes the problem completely and you can launch scrcpy-console from the .desktop file as intended.Here's what happens when I run
/bin/bash --norc --noprofile -i -c "\"\$SHELL\" -i -c scrcpy || read -p 'Press Enter to quit...'"
:Obviously I don't have adb running so that error can be ignored, when I have adb running and a device connected, it functions.
This may be a new issue due to Plasma updating or , but during my update I got this warning and many similar other warnings about other desktop files:
The text was updated successfully, but these errors were encountered: