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

Unable to launch X11 programs on Wayland #40

Open
ascent12 opened this issue Apr 28, 2018 · 1 comment
Open

Unable to launch X11 programs on Wayland #40

ascent12 opened this issue Apr 28, 2018 · 1 comment
Labels

Comments

@ascent12
Copy link

When you're trying to launch a program, DISPLAY is incorrectly getting set to "wayland-0", which is supposed to be for WAYLAND_DISPLAY.
So any X11 programs that get launched would fail to open the X11 display (with Xwayland) and exit.

The offending lines would be:

libfm/src/base/fm-action.c

Lines 734 to 736 in 9ce974e

data.display = g_app_launch_context_get_display(launch_context,
G_APP_INFO(action),
launched_files);

g_setenv("DISPLAY", data->display, TRUE);

I'm not sure what the purpose of setting DISPLAY like this is, but it seems like g_app_launch_context_get_display is returning WAYLAND_DISPLAY in a wayland session.

@ib ib added the bug label Sep 12, 2023
@ib
Copy link
Member

ib commented Sep 12, 2023

An attempt was made to fix this in #62. The fix is incorrect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants