-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
media player + gotk3 on WLS2( #84
Comments
Hi @wunderbarb. I haven't tried running the GTK3 media player sample application on WSL. Have you tried setting the export GDK_BACKEND=x11
Yes, it probably is due to WSL2 X11 forwarding. Have you tried setting the Anyway, I can try running the sample too when I get some free time (hopefully sometime this week). EDIT: Maybe you need to install one of the preview drivers as well if you haven't done so already: |
First of all, thanks for your lightning fast reaction. I tried the
The application did not launch and the warning message was My WSL2 is running with the latest WSLg (Win11 build 22483 prerelease). With WSLg, there is no more need of defining some exports such as DISPLAY as we had to de before. I have numerous GOTK3 applications perfectly displayed with WSL2 (without video of course). |
I attempted to use the media player on GOTK3 with V3 using Ubuntu 20.04 under WSL2 (Windows Subsystem Linux)
During the realization phase, the following warning message appears on the terminal:
Thus, the display of the video is in an automatically full screen created vlc window rather than the
gtk.DrawingArea
. I guess that it is due to the WSL2 X11 forwarding. Have you a hint on how to cope with the issue?I am using the latest WSL2 version (insider program). Therefore, I do not use a X11emulator such as mobaxterm. Nevertheless, before WSLg, I used mobaxterm and other x11 viewers. I got the same behavior.
The text was updated successfully, but these errors were encountered: