Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open Terminal window does nothing on elementary OS #1054

Closed
1 task done
andrewdbate opened this issue Feb 16, 2022 · 3 comments
Closed
1 task done

Open Terminal window does nothing on elementary OS #1054

andrewdbate opened this issue Feb 16, 2022 · 3 comments
Milestone

Comments

@andrewdbate
Copy link

elementary OS 6.1 is a derivative of Ubuntu 20.04 LTS with a different desktop environment.

When I open the MiKTeX Console and click the terminal icon (shown in screenshot below), nothing happens.
miktex-console-screenshot

On elementary OS, the default terminal is the executable io.elementary.terminal.

I cannot find anywhere on the Settings pane to configure the terminal used. Is there somewhere this can be set in a configuration file?

Note that the button to launch TeXworks works as expected.

Here is the MiKTeX installation report:
miktex-report.txt

@edocevoli
Copy link
Member

edocevoli commented Feb 16, 2022

MiKTeX Console tries these executables:

  • konsole
  • gnome-terminal
  • xterm

Unfortunately, this is hard-coded.

@andrewdbate
Copy link
Author

So according to my Googling, there is no good way on Linux to determine the default terminal emulator AFAIK. (I was hoping that there would be some equivalent of xdg-open that would open the default terminal, but there is not.)

In my opinion, adding yet another terminal to the list of hard coded terminals is undesirable. However, Debian systems, including Ubuntu and elementary OS, have the "update alternatives" system which provides an alias x-terminal-emulator that points to the default terminal emulator. On elementary OS, x-terminal-emulator points to io.elementary.terminal.

Would it therefore be reasonable to add x-terminal-emulator to the list of hard-coded executables so that x-terminal-emulator is tried before others? This should help address the issue on Debian-based distros such as elementary OS.

What do you think?

@edocevoli
Copy link
Member

Sound good.

@edocevoli edocevoli added this to the 22.2 milestone Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants