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

Option to open a command in a new tab or in a new window #16

Closed
emanuelserpa opened this issue Jun 10, 2021 · 3 comments
Closed

Option to open a command in a new tab or in a new window #16

emanuelserpa opened this issue Jun 10, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@emanuelserpa
Copy link

emanuelserpa commented Jun 10, 2021

I asked yesterday a project (Stunkymonkey/nautilus-open-any-terminal#25) to support kermit and seems like kermit -c cd doesn't open a new kermit window. I tried kermit -e $SHELL cd as a workaround, and while it works on a terminal, it doesn't work with it.

Is there a way to add arguments like -w to open a command specifically in a new window and another to do the same in a new tab?

@emanuelserpa emanuelserpa changed the title [feature request] kermit -e cd doesn't open a kermit window or tab [feature request] option to open a command in a new tab or in a new window Jun 10, 2021
@orhun orhun added the enhancement New feature or request label Jun 10, 2021
@orhun orhun changed the title [feature request] option to open a command in a new tab or in a new window Option to open a command in a new tab or in a new window Jun 10, 2021
@orhun
Copy link
Owner

orhun commented Jun 11, 2021

I asked yesterday a project (Stunkymonkey/nautilus-open-any-terminal#25) to support kermit and seems like kermit -c cd doesn't open a new kermit window. I tried kermit -e $SHELL cd as a workaround, and while it works on a terminal, it doesn't work with it.

See Stunkymonkey/nautilus-open-any-terminal#25 (comment)

Is there a way to add arguments like -w to open a command specifically in a new window and another to do the same in a new tab?

Do you mean adding an argument similar to NEW_TAB_PARAMS?

@emanuelserpa
Copy link
Author

emanuelserpa commented Jun 16, 2021

Oh, sorry for the delay, and thank you very much for the -w and the MR!

Do you mean adding an argument similar to NEW_TAB_PARAMS?

Yes, like --new-tab opens in the same window but in another tab. Tried here with xfce4-terminal and works fine.

TBH it's not a use case of mine (I don't even know why I put tabs on this), as I use a tiling wm, and I'm pretty satisfied with -w.

@orhun
Copy link
Owner

orhun commented Jun 22, 2021

TBH it's not a use case of mine (I don't even know why I put tabs on this), as I use a tiling wm, and I'm pretty satisfied with -w.

Alright, closing it for now.

@orhun orhun closed this as completed Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants