nautilus-open-any-terminal icon indicating copy to clipboard operation
nautilus-open-any-terminal copied to clipboard

Custom terminal aliases

Open p5 opened this issue 1 year ago • 6 comments

Hello team!

It would be great if the extension could set a custom gsettings option to change the alias of the terminal that appears in the context menu.

For example, as a distribution maintainer I want to ship Ptyxis terminal, but would prefer it to be called just "Terminal" in the context menus so it's more understandable for the user. This could be an option like terminal-alias or terminal-custom-name. If not set, use "Open in Ptyxis". If it is set, the menu should display "Open in <ALIAS>".

image

p5 avatar Mar 04 '24 01:03 p5

I have mixed feeling about this. I get the idea behind it, but I am seeing a bunch of unneeded ssues in this repo.

With the current way we can easily spot the problem by getting a screenshot. With your proposed method debugging could get more complicated.

Assume the case: you install terminal A and change the "alias" to "A-Terminal" and then switch to B but it still shows A-Terminal. Seems very unintuitive.

Same as with gnome-terminal how would we distinguish it with our extension or any another application.

Stunkymonkey avatar Mar 04 '24 21:03 Stunkymonkey

I completely understand, and agree with the increase in effort it may take to debug issues. Feel free to close this issue if it's not something you feel would fit in here.

I just thought it would be a good way to abstract the terminal implementation details from the user.

p5 avatar Mar 04 '24 23:03 p5

I was looking for this feature. I just want it to say "Open Terminal Here" not "Open kitty Here" it's a little visually unappealing. Just my 2cents.

namefailed avatar Mar 22 '24 08:03 namefailed

I was looking for this feature. I just want it to say "Open Terminal Here" not "Open kitty Here" it's a little visually unappealing. Just my 2cents.

I even tried to set an alias alias Terminal="kitty" and setting as Terminal, but that doesn't work.

namefailed avatar Mar 22 '24 08:03 namefailed

How about the idea of making a new dconf key called "use-generic-terminal-name" of type "b" for a toggle b/w "Open Terminal Here" vs "Open <yourterminal> Here" @Stunkymonkey?

Sayan505 avatar Apr 30 '24 15:04 Sayan505

This could work. The generic terminal name could even be translatable using our existing translation framework. Might make a PR soon.

On Tue, Apr 30, 2024, 17:29 Sayan B @.***> wrote:

How about the idea of making a new dconf key called "use-generic-terminal-name" of type "b" for a toggle b/w "Open Terminal Here" vs "Open Here" @Stunkymonkey https://github.com/Stunkymonkey?

— Reply to this email directly, view it on GitHub https://github.com/Stunkymonkey/nautilus-open-any-terminal/issues/146#issuecomment-2085673115, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUV2BDO2STMU3JSTW3ASZDDY762ELAVCNFSM6AAAAABEEN2WU2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBVGY3TGMJRGU . You are receiving this because you are subscribed to this thread.Message ID: @.*** com>

lvxnull avatar Apr 30 '24 18:04 lvxnull