Skip to content

System Command component: Add terminal emulator field#1646

Merged
ra3xdh merged 1 commit intora3xdh:currentfrom
andresmmera:FixCMDComponent
Apr 27, 2026
Merged

System Command component: Add terminal emulator field#1646
ra3xdh merged 1 commit intora3xdh:currentfrom
andresmmera:FixCMDComponent

Conversation

@andresmmera
Copy link
Copy Markdown
Collaborator

On Linux, when a system command component is used, Qucs-S searches a hardcoded list of terminal emulators and uses the first one available [1]. In Lubuntu and Fedora, this fails because the terminal emulator shipped with those distros are not in the list:

image

This PR adds a new property field to specify which terminal emulator to use. If left blank, Qucs-S falls back to trying the hardcoded list, as before.

image

Two terminal emulators were added to the default hardcoded search list:

  • Qterminal, shipped with Lubuntu
  • Ptyxis, shipped with Fedora

[1] https://github.com/ra3xdh/qucs_s/blob/current/qucs/qucs.cpp#L4048

On Linux, when a system command component is used, Qucs-S searches a hardcoded list of terminal emulators and use the first one available. It may happen that none of them is actually installed. This commit adds a new property field to specify which terminal emulator to use. If left blank, Qucs-S falls back to trying the hardcoded list, as before.

Added qterminal (shipped with Lubuntu) and ptyxis (Fedora)
@ra3xdh ra3xdh merged commit fbf91f5 into ra3xdh:current Apr 27, 2026
8 checks passed
@ra3xdh
Copy link
Copy Markdown
Owner

ra3xdh commented Apr 27, 2026

Thanks for finding this. Merged.

@andresmmera andresmmera deleted the FixCMDComponent branch April 27, 2026 12:47
@ra3xdh ra3xdh added this to the 26.2.0 milestone Apr 27, 2026
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

Successfully merging this pull request may close these issues.

2 participants