Texstudio does not have global menu is Plasma Wayland

I am using TexStudio in a Plasma Wayland session, and it does not export the global menu.

How to fix it?

I found that QT_QPA_PLATFORM=xcb texstudio works.

A workaround is to create a .desktop file in .local/share/applications with the following contents in Exec.

Exec=sh -c 'QT_QPA_PLATFORM=xcb texstudio %F'
1 Like

An alternative and preferable way to add environment variables in commands is with env:

Exec=env QT_QPA_PLATFORM=xcb texstudio %F
2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.