Stunkymonkey / nautilus-open-any-terminal

GNU General Public License v3.0
595 stars 60 forks source link

Custom terminal aliases #146

Closed p5 closed 6 months ago

p5 commented 8 months ago

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 \".

image

Stunkymonkey commented 8 months ago

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.

p5 commented 8 months ago

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.

namefailed commented 7 months ago

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 commented 7 months ago

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.

Sayan505 commented 6 months ago

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?