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.

  • RedWeasel@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    7 months ago

    Additionally once you figure out the environment variable you can add in to the .desktop file so it will launch from a launcher in that way, though updates will reset that.

    On arch wiki is a page on wayland which includes info on toolkits, though you may need to figure out the x11 option it will include the variable/option needed. https://wiki.archlinux.org/title/wayland#GUI_libraries

    • fossphi
      link
      fedilink
      English
      arrow-up
      6
      ·
      7 months ago

      though updates will reset that.

      Copy the .desktop file from root (/usr/share/applications) to the local directory (~/.local/share/applications), then your package manger won’t overwrite your changes

      https://wiki.archlinux.org/title/desktop_entries

      See section 6.1, Modify desktop files