-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
-t opens two tabs when no windows are open #498
Comments
Maybe related to #356 too, but different in that right clicking a folder and opening it in terminal opens one tab in your home directory and the second tab in the target directory. |
The same problem appears when open with |
On elementary 6.0 I am getting two extra tabs 😞 when |
This may be the result of a recent commit #478 |
Weirdly, launching e.g. So there seems something amiss with the way custom shortcuts work with Terminal. |
Is there a way to open a new window on the current desktop, or add a new tab if one already exists? I would love for ctrl+T to be more useful |
In OS7.1 you can open a new window with the "New Window" item in the dock context menu for Terminal. This opens a new window on the current workspace (even if Terminal is already open on another workspace). There is a keyboard shortcut There has been a fair amount work on this aspect of terminal since this issue was raised and OS5.1 is no longer supported so I think I'll close it. Please feel free to raise a new issue for OS7.1 or OS8 regarding new window issues. |
The exact behavior from my initial issue is still present in 8. |
Sorry, I didn't see the original issue was different from the latest message - I'll reopen. The problem is, the last time the relevant code was revised there was no consensus as to what the "correct" behaviour should be 😞 : At present Terminal does a "normal" startup (which either restores previous tabs or creates a default tab) and then carries out the option in a new tab. This is annoying but in most cases not a problem. I could try proposing a PR that changes the behaviour or maybe introduce a "--no-restore" option? |
@danirabbit Is there a reason Terminal always shows restored or default tabs as well as the requested tab when started from the commandline? |
That makes sense for being the reason since the option says |
Using the command
io.elementary.terminal -t
opens two tabs if non are currently open.To Reproduce
io.elementary.terminal -t
in the settings appExpected behavior
If there is currently no open terminal, it should just create the single window with the single tab
Screenshots or screen recordings
Platform Information
x I'm using the latest released stable version
The text was updated successfully, but these errors were encountered: