Option -e Does Nothing When Start With Preset Is Set To Split Terminal

by ADMIN 71 views

Option -e Does Nothing When Starting with Preset Set to Split Terminal

QTerminal is a powerful and feature-rich terminal emulator for Linux systems. It offers a wide range of options and features to customize the user experience. However, there are some issues that need to be addressed. One such issue is the behavior of the -e option when the Start with preset: setting is set to split terminal. In this article, we will explore this issue, its expected behavior, possible solutions, and the steps to reproduce it.

When you run qterminal -e <cmd>, it opens a new terminal like normal but no commands are executed. You will simply have 2 or 4 empty shells depending on the preset setting. This behavior is not what is expected when using the -e option.

At least, the command should be executed in the new terminal. This is the expected behavior when using the -e option. The command should be run in the new terminal, and the user should be able to interact with it.

There are several possible solutions to this issue. One solution is to make the -e option ignore the split preset setting. This would allow the user to run commands in the new terminal without being affected by the preset setting. Another solution is to add new options to QTerminal that would allow the user to customize the behavior of the -e option. For example, the user could choose to open the commands in new tabs or assign them to split terminals.

There are several new options that could be added to QTerminal to improve its functionality. Some of these options include:

  • -e option to open commands in new tabs
  • -t option to assign commands to split terminals
  • -v option to split terminals vertically
  • -h option to split terminals horizontally

These options would give the user more control over the behavior of the -e option and would make QTerminal more powerful and flexible.

To reproduce this issue, follow these steps:

  1. Go to File -> Preferences -> Appearance
  2. Set option Start with preset: to 2 or 4 terminals
  3. Run qterminal -e htop
  • QTerminal version: 2.1.0-1
  • Distribution & Version: Arch Linux 6.13.5

In conclusion, the -e option in QTerminal does not work as expected when the Start with preset: setting is set to split terminal. This issue can be fixed by making the -e option ignore the split preset setting or by adding new options to QTerminal that would allow the user to customize the behavior of the -e option. The steps to reproduce this issue are simple and can be followed by anyone who wants to test it.
Q&A: Option -e Does Nothing When Starting with Preset Set to Split Terminal

In our previous article, we discussed the issue of the -e option in QTerminal not working as expected when the Start with preset: setting is set to split terminal. In this article, we will answer some frequently asked questions related to this issue.

A: The -e option in QTerminal is used to execute a command in a new terminal. It allows the user to run a command in a separate terminal window, without affecting the current terminal.

A: The -e option is not working as expected when the Start with preset: setting is set to split terminal because the preset setting is overriding the behavior of the -e option. This is a known issue in QTerminal, and it is being worked on to be fixed.

A: There are several possible solutions to this issue. One solution is to make the -e option ignore the split preset setting. Another solution is to add new options to QTerminal that would allow the user to customize the behavior of the -e option.

A: Yes, you can customize the behavior of the -e option in QTerminal. However, this requires adding new options to QTerminal, which is a feature that is being worked on.

A: Some new options that could be added to QTerminal to improve its functionality include:

  • -e option to open commands in new tabs
  • -t option to assign commands to split terminals
  • -v option to split terminals vertically
  • -h option to split terminals horizontally

A: You can report this issue to the QTerminal developers by submitting a bug report on the QTerminal website or by contacting the QTerminal community on social media.

A: This issue is specific to QTerminal and cannot be replicated in other terminal emulators. However, it is possible that other terminal emulators may have similar issues.

In conclusion, the -e option in QTerminal does not work as expected when the Start with preset: setting is set to split terminal. This issue can be fixed by making the -e option ignore the split preset setting or by adding new options to QTerminal that would allow the user to customize the behavior of the -e option. We hope that this Q&A article has provided you with the information you need to understand this issue and its possible solutions.