I have a 3D printing software that does not display well on Wayland. Instead of relogging to start a x11 session is there a way to force that one software to display in x11 instead of Wayland?

Edit

AddingQT_QPA_PLATFORM=xcb to the enviroment variables was the solution for me.

Thanks to everyone for the help.

  • KaRunChiy
    link
    fedilink
    141 year ago

    if its a qt application then run in a console “QT_QPA_PLATFORM=xcb program_name”, if it’s a gtk application i think it’s “GDK_BACKEND=x11” though I’m not entirely sure.

    I have to do this with LMMS as on sway click and drag doesn’t work for some odd reason

  • @rtxn@lemmy.world
    link
    fedilink
    English
    41 year ago

    Have you tried using Gamescope? It’s obviously made with games in mind, but you can use it to run any application inside a nested compositor.

    If not, you could try starting the application in Xwayland, or starting an X session inside Xwayland and then starting the application inside that.

  • @governorkeagan@lemdro.id
    link
    fedilink
    English
    21 year ago

    I’m in a similar situation. My time tracking software for work refuses to work on Wayland (I tried using xwayland as well).