Stunkymonkey / nautilus-open-any-terminal

GNU General Public License v3.0
555 stars 55 forks source link

Integrate Tabby.sh #50

Closed bumbummen99 closed 2 years ago

bumbummen99 commented 2 years ago

Integrate Tabby.sh

Stunkymonkey commented 2 years ago

please also add it to the README.md

Stunkymonkey commented 2 years ago

thanks for your contribution. is it ready to get merged? then please set it accordingly. Otherwise i can not merge the PR.

bumbummen99 commented 2 years ago

thanks for your contribution. is it ready to get merged? then please set it accordingly. Otherwise i can not merge the PR.

No it is not done at all. Tabby offers the open command to open here - it works on windows only right now so i can not test it. Also it does not seem to have a tab command but that does not seem mandatory. Still, without the open command working on Linux too this is not worth anything as it just opens the tabby window.

bumbummen99 commented 2 years ago

@Stunkymonkey Alright, i got to test it now and it does work tho the user has to manually create an precending or overwrite the PATH for which tabby as the default script installed by Repository does not redirect CLI arguments.

Note: https://github.com/Eugeny/tabby/issues/6540#issuecomment-1146841288

bumbummen99 commented 2 years ago

To install Tabby, fix the PATH script and add as update-alternative for default terminal (Ctrl+Alt+T).

curl -s https://packagecloud.io/install/repositories/eugeny/tabby/script.deb.sh | sudo bash && \
sudo ln -s /opt/Tabby/tabby /usr/local/bin/tabby && \
sudo chown root:root /usr/local/bin/tabby && \
sudo chmod +x /usr/local/bin/tabby && \
sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/local/bin/tabby 50

To change default terminal (Ctrl+Alt+T) sudo update-alternatives --config x-terminal-emulator

Stunkymonkey commented 2 years ago

nice to know. Thanks for your work :tada: