diff --git a/app/data/scrcpy.desktop b/app/data/scrcpy.desktop index 5933272d..082b75e0 100644 --- a/app/data/scrcpy.desktop +++ b/app/data/scrcpy.desktop @@ -2,7 +2,10 @@ Name=scrcpy GenericName=Android Remote Control Comment=Display and control your Android device -Exec=scrcpy +# For some users, the PATH or ADB environment variables are set from the shell +# startup file, like .bashrc or .zshrc… Run an interactive shell to get +# environment correctly initialized. +Exec=/bin/sh -c '"$SHELL" -i -c scrcpy' Icon=scrcpy Terminal=false Type=Application