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

Not working on my Linux Mint distro #122

Open
valenotary opened this issue Oct 25, 2024 · 3 comments
Open

Not working on my Linux Mint distro #122

valenotary opened this issue Oct 25, 2024 · 3 comments

Comments

@valenotary
Copy link
Contributor

I have an application that roughly emulates the example scap program -- I've ran it on Windows and Mac and those work fine.

I recently tried running the same example on my Linux Mint machine and it keeps panicking with the following:
Unsupported cursor mode: LinCapError { msg: "No such interface “org.freedesktop.portal.ScreenCast”" }

I'm new to Linux Mint (Linux in general), but as far as I can tell I should have all of the dependencies like pipewire and xdg-desktop-portal... If there is some other boilerplate setup I would need to make this work end-to-end, would love to know and then maybe we can also include it as a part of the README for scap linux usage.

@MAlba124
Copy link
Contributor

Scap currently only works for wayand compositors that implements the ScreenCast portal. If you are using X11 (can be checked with echo $XDG_SESSION_TYPE), scap won't work.

@valenotary
Copy link
Contributor Author

Ah thanks for the insight! That makes sense. Is there no like... Xorg equivalent we could write a backend for? E.g. Linux X11 vs Linux Wayland?

I think Linux Mint is eventually going to Wayland but not sure how long it will be until then...

@MAlba124
Copy link
Contributor

I've started to implement X11 support: #124. Hopefully I will have something test ready by the end of this week.

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