Copy paste from outside does not work

Hello,

I am using TeXmacs-2.1.5-x86_64.AppImage within Ubuntu 26.01.1 LTS. I cannot copy paste in or from a .tm file (opened using the AppImage) to or from another software (for example pdf viewer, firefox, etc).
How can I solve this issue?

Many thanks!

Claire

Unfortunately this is a longstanding known bug. It seems to happen only in GNOME on Wayland.

A potential workaround is to run texmacs as ‘QT_QPA_PLATFORM=xcb texmacs’ from the terminal.

If that fixes it you can make it permanent in the desktop environment by copying the ‘texmacs.desktop’ file to ‘~/.local/share/applications/’, and edit the ‘Exec’ line in it to ‘env QT_QPA_PLATFORM=xcb texmacs’.

1 Like

This fix works! Thank you!

2 Likes

I’m on Gnome and Wayland, this issue doesn’t appear on the flatpak, so if you can use it, then that is also an option.

Yes, the flatpak uses the same workaround by forcing xcb.