Menu

#2431 Open terminal seems to still depend on OS specifics

open
nobody
None
5*
2019-04-29
2019-04-29
No

Tools-->Open Terminal does not work on certain OS, tested on Arch Linux. Most likely it still depends on certain variables that might or might not be present in all OS. This is related to previous issues in TexStudio, like:
https://sourceforge.net/p/texstudio/bugs/1634/
https://sourceforge.net/p/texstudio/feature-requests/1215/

Tested with:
TexStudio version: TeXstudio 2.12.14 (git n/a), Using Qt Version 5.12.3, compiled with Qt 5.11.2 R
OS: Arch Linux: stable, 29.4.2019

How to repreduce:
1. Open TexStudio on a Linux like Arch Linux
2. Open Tools-->Open Terminal. Nothing happens. Unfortunately, TexStudio also does not log anything to stdout or stderr (e.g. fork for external program crashing?). This is also true with Configure ->Build -> Show stdout --> "Always".

There does not seem to be an option in the settings to define which command should be executed when Tools-->Open Terminal is selected. My suggestion would be to include such settings, where users can define which commands are executed when the menu entries for e.g. opening a terminal, opening a file browser, etc, are selected. This makes TexStudio independent of the environment it runs in (it's pretty much impossible to get hold of all the variables that might or might not be set). Related projects do it this way, e.g. Kile (allows configuring which command is executed on when selecting those options; I don't have a link at hand to quickly point you this direction), or JabRef (see e.g. the old and solved issue https://github.com/JabRef/jabref/issues/4763).

Hope this helps. If you need more info on this just tell me.

Keep up the great work on TexStudio! :)

Discussion


Log in to post a comment.