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

SSH/Telnet multitab #39

Open
leribe opened this issue Dec 23, 2020 · 5 comments
Open

SSH/Telnet multitab #39

leribe opened this issue Dec 23, 2020 · 5 comments
Labels

Comments

@leribe
Copy link

leribe commented Dec 23, 2020

Thanks for the greate work, can you kindly implement telnet/ssh multitab instead of opening new window if you access new devices, if already addressed, on linux, how can i accomplish it.
Thanks in-advance.

@leribe
Copy link
Author

leribe commented Dec 23, 2020

reviewing this method, using konsole and want to open new tab, can you please advise, if bolded is right? still defaults to terminal when i access new devices. can i comment out others?

def _terminal_emulator_cmd(self):
if self.override_terminal:
return self.override_terminal.split()
elif self._is_command('x-terminal-emulator'):
return ['x-terminal-emulator', '-e']
elif self._current_desktop('cinnamon', 'gnome', 'unity'):
return ['gnome-terminal', '-e']
elif self._current_desktop('kde'):
return ['konsole', '--tab', '-e']
elif self._current_desktop('lxde', 'lxqt'):
return ['lxterminal', '-e']
elif self._current_desktop('mate'):
return ['mate-terminal', '-e']
elif self._current_desktop('pantheon'):
return ['pantheon-terminal', '-e']
elif self._current_desktop('xfce'):
return ['xfce4-terminal', '-e']
elif self._is_command('urxvt'):
return ['urxvt', '-e']
else:
return ['xterm', '-e']

@SmartFinn
Copy link
Owner

This #36 (comment) should help you.

@leribe
Copy link
Author

leribe commented Dec 23, 2020

Thank you very much, you a star, konsole working with multitab
one last request, want to use device name on tabs, tried this and not working, can you kindly advise:
konsole --new-tab -p tabtitle="%d" -e "telnet %h %p"
env OVERRIDE_TERMINAL_CMD="konsole --new-tab -e" eve-ng-integration %u
not sure how to combine into one statement, thanks

@SmartFinn
Copy link
Owner

If I remember correctly in URI no device name, so no way to provide this.

@shadowfeind99
Copy link

shadowfeind99 commented Nov 16, 2021

Hello @SmartFinn, I have followed the installation steps and cloned your repo. Then I follow the steps in #36 comment and made the appropriate changes in the file "~/.local/share/applications/eve-ng-integration.desktop" to include konsole with multi-tabs. However when I login to eve start a router and click on it to get console access, it opens konsole of my host machine in my home directory. It does not show the router console. I don't know what to do, some help will be greatly appreciated. Thank you.
I am running: "Linux 5.11.0-40-generic 20.04.2-Ubuntu" on eve-community (vmware workstation).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants