I would like to stay focussed on the editor when pressing F5 (build and show). Is this possible? My current command is txs:///view-pdf-internal --windowed.
Do I need to pass a new flag to the pdf viewer or change something inside texstudio? I am using Ubuntu 20.04
TeXstudio 2.12.22 (Build: 2.12.22+debian-1build1)
Using Qt-Version 5.12.8,
compiled with Qt 5.12.5 R

1 Answer 1


All you need to do is to add --no-focus to the field 'Default Viewer' in your TeXstudio settings

enter image description here

Edit: I tested this in a newer version (3.0.4) of TeXstudio only

  • Perfect thank you a lot! Mar 14, 2021 at 13:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.