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

CI/AppImage: Add I_WANT_A_BROKEN_WAYLAND_UI environment variable #10200

Merged
merged 1 commit into from
Oct 29, 2023

Conversation

stenzek
Copy link
Member

@stenzek stenzek commented Oct 29, 2023

Description of Changes

Slightly better version of #10179 which enables users to set an environment variable to force the use of Wayland if they want a rubbish, broken experience.

The way I had to do this was utterly disgusting, but LinuxDeploy doesn't let you add your own apprun-hooks, so we have to inject them in after the fact. Hopefully it won't break with some future LinuxDeploy update........

This'll probably have to stay around for years at least, because of the fundamental design flaws in the WL protocol, and if anything gets fixed, GNOME doesn't adopt it, so it's pointless. Guess we could check XDG_SESSION_TYPE, but as it stands, WL on KWin is broken too.

tldr, set I_WANT_A_BROKEN_WAYLAND_UI=YES ./PCSX2.AppImage (or any other value) if you want pain and suffering, and don't complain.

Rationale behind Changes

Giving users the choice.

image image

Suggested Testing Steps

Test new option, make sure X11 gets used with it off.

@stenzek stenzek changed the title CI/AppImage: Allow WL override with I_WANT_A_BROKEN_WAYLAND_UI CI/AppImage: Add I_WANT_A_BROKEN_WAYLAND_UI environment variable Oct 29, 2023
@stenzek stenzek merged commit bb7e08c into PCSX2:master Oct 29, 2023
11 of 12 checks passed
@stenzek stenzek deleted the linux branch October 29, 2023 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants