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

Incorrectly detects bash processes as scrcpy-console #112

Closed
solomongrundy6 opened this issue Dec 5, 2023 · 2 comments
Closed

Incorrectly detects bash processes as scrcpy-console #112

solomongrundy6 opened this issue Dec 5, 2023 · 2 comments

Comments

@solomongrundy6
Copy link

When installing scrcpy, it adds two .desktop files to /usr/share/applications, scrcpy.desktop and scrcpy-console.desktop. scrcpy.desktop launches the program by just calling 'scrcpy', but scrcpy-console.desktop launches:

/bin/bash --norc --noprofile -i -c "\"\\$SHELL\" -i -c scrcpy || read -p 'Press Enter to quit...'"

This causes Resources to show scrcpy-console in the applications list when it's not running - it's detecting every bash process as scrcpy-console. There are a couple ways I can workaround this specifically for scrcpy, but this is probably something that could come up with other .desktop files for people in the future so I figured I'd report it as an issue. Resources is still properly showing my terminal emulator (kitty) separately in the applications list, so it's not interfering with that.

@nokyan
Copy link
Owner

nokyan commented Dec 6, 2023

Hi, thanks for reporting the issue.
I'll look into it, I'll probably blacklist bash from being recognized as an application.

@nokyan
Copy link
Owner

nokyan commented Dec 26, 2023

Closing this because it has been resolved with Resources 1.3 (still not on Flathub unfortunately). If there's still an issue related to this, don't hesitate to reopen :)

@nokyan nokyan closed this as completed Dec 26, 2023
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

2 participants