You are only browsing one thread in the discussion! All comments are available on the post page.

Return

KaRunChiy ,
@KaRunChiy@kbin.run avatar

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

RedWeasel ,

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. wiki.archlinux.org/title/wayland#GUI_libraries

fossphi ,

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

wiki.archlinux.org/title/desktop_entries

See section 6.1, Modify desktop files

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • [email protected]
  • All magazines