Comments (21)
Yes, it is possible, but works with roxterm only (maybe somewhere else).
At first, update eve-ng-integration to latest version.
- Copy
eve-ng-integration.desktop
to home directory:
cp -f /usr/share/applications/eve-ng-integration.desktop ~/.local/share/applications
- Open it for editing:
gedit ~/.local/share/applications/eve-ng-integration.desktop
- Add
env OVERRIDE_TERMINAL_CMD="roxterm --tab -e"
to Exec line to get the following code:
[Desktop Entry]
Name=eve-ng-Integration
Exec=env OVERRIDE_TERMINAL_CMD="roxterm --tab -e" eve-ng-integration %u
TryExec=eve-ng-integration
Type=Application
Categories=Network;
MimeType=x-scheme-handler/telnet;x-scheme-handler/capture;x-scheme-handler/docker;
X-KDE-Protocols=telnet,capture,docker
NoDisplay=true
- Save it and try to open several nodes in your browser.
CC @jidckii
from eve-ng-integration.
Hello, thanks for reply!
- I install roxterm.
- Install latest version of unetlab-x-integration.
- Copy and correct unetlab-x-integration.desktop file.
But, browser by clicking the devices, still open every session in separated x-terminal
What changes I need to do, to open the browser as expected?
update: from firefox is work as expected with roxterm!
from eve-ng-integration.
Does not work in Google Chrome only?
Try the command from #does-not-work-in-google-chrome-but-works-in-another-browser
from eve-ng-integration.
Yes. Does not work in Google Chrome only. I tried yet. But still in separated x-terminal, not in roxterm
from eve-ng-integration.
Did you get this window after click by nodes?
from eve-ng-integration.
Yes. When i click "Open...", open separated x-terminal console. I dont't know, why google chrome do not use roxterm
from eve-ng-integration.
Could you run command xdg-open "telnet://route-server.he.net"
multiple times to test it what works fine?
from eve-ng-integration.
Yes. It works fine. It's opens in separated x-terminal consoles.
route-server>
from eve-ng-integration.
Sorry, When I run "xdg-open...", I see error:
** (x-terminal-emulator:5888): WARNING **: Binding 'a' failed!
Unable to bind hide_window key, another instance/window has it.
<Window object at 0x7f68fa3399b0 (terminatorlib+window+Window at 0x280b040)> is not in registered window list
but, x-terminal console is opened and i see
route-server>
from eve-ng-integration.
It's should open telnet session in new roxterm tab.
Ok, try the next commands:
sudo update-desktop-database -q
xdg-mime default unetlab-x-integration.desktop x-scheme-handler/capture
xdg-mime default unetlab-x-integration.desktop x-scheme-handler/telnet
xdg-mime default unetlab-x-integration.desktop x-scheme-handler/docker
and test it again.
from eve-ng-integration.
As before, don't work as expected
from eve-ng-integration.
Please, run the next commands and paste result here
cat ~/.local/share/applications/mimeapps.list
cat ~/.local/share/applications/unetlab-x-integration.desktop
from eve-ng-integration.
$ cat ~/.local/share/applications/mimeapps.list
[Default Applications]
image/gif=bl-image-viewer.desktop
image/jpeg=bl-image-viewer.desktop
image/png=bl-image-viewer.desktop
image/svg+xml=bl-image-viewer.desktop
text/plain=bl-text-editor.desktop
text/html=bl-text-editor.desktop
application/xml=bl-text-editor.desktop
application/javascript=bl-text-editor.desktop
x-directory/normal=bl-file-manager.desktop
x-directory/gnome-default-handler=bl-file-manager.desktop
inode/directory=bl-file-manager.desktop
audio/mpeg=bl-mediaplayer.desktop
audio/mp4=bl-mediaplayer.desktop
audio/x-wav=bl-mediaplayer.desktop
audio/aac=bl-mediaplayer.desktop
video/webm=bl-mediaplayer.desktop
video/x-ms-asf=bl-mediaplayer.desktop
video/x-theora+ogg=bl-mediaplayer.desktop
x-scheme-handler/capture=unetlab-x-integration.desktop
x-scheme-handler/telnet=unetlab-x-integration.desktop
x-scheme-handler/docker=unetlab-x-integration.desktop
$ cat ~/.local/share/applications/unetlab-x-integration.desktop
[Desktop Entry]
Name=UNetLab-X-Integration
Exec= env OVERRIDE_TERMINAL_CMD="roxterm --tab -e" unetlab-x-integration %u
TryExec=unetlab-x-integration
Type=Application
Categories=Network;
MimeType=x-scheme-handler/telnet;x-scheme-handler/capture;x-scheme-handler/docker;
X-KDE-Protocols=telnet,capture,docker
NoDisplay=true
from eve-ng-integration.
Hmm, looks good. I have no idea why it not working on your system. Which desktop environment are you using?
from eve-ng-integration.
Openbox
from eve-ng-integration.
Oh, I try to install Openbox on a virtual machine and test it there.
Please, test this command too:
env OVERRIDE_TERMINAL_CMD="roxterm --tab -e" unetlab-x-integration "telnet://route-server.he.net"
and try to delete space after Exec=
in your ~/.local/share/applications/unetlab-x-integration.desktop
from eve-ng-integration.
env OVERRIDE_TERMINAL_CMD="roxterm --tab -e" unetlab-x-integration "telnet://route-server.he.net"
opened in roxterm.
and try to delete space after Exec=
not give effect
from eve-ng-integration.
Do you have same output?
from eve-ng-integration.
It is a bug in env (GNU coreutils) 8.23.
I found the workaround but it is ugly:
Delete double quotes, and replace spaces between arguments to the special characters (Ctrl-V + Enter in vi/vim), or just replace unetlab-x-integration.desktop with patched_unetlab-x-integration.desktop.zip
from eve-ng-integration.
Amazing! It's work fine in google chrome now! Thank you very march!
from eve-ng-integration.
Yes, it is possible, but works with roxterm only (maybe somewhere else).
At first, update eve-ng-integration to latest version.
- Copy
eve-ng-integration.desktop
to home directory:cp -f /usr/share/applications/eve-ng-integration.desktop ~/.local/share/applications
- Open it for editing:
gedit ~/.local/share/applications/eve-ng-integration.desktop
- Add
env OVERRIDE_TERMINAL_CMD="roxterm --tab -e"
to Exec line to get the following code:[Desktop Entry] Name=eve-ng-Integration Exec=env OVERRIDE_TERMINAL_CMD="roxterm --tab -e" eve-ng-integration %u TryExec=eve-ng-integration Type=Application Categories=Network; MimeType=x-scheme-handler/telnet;x-scheme-handler/capture;x-scheme-handler/docker; X-KDE-Protocols=telnet,capture,docker NoDisplay=true
- Save it and try to open several nodes in your browser.
CC @jidckii
I succeeded in making it work under KDE 5.x Konsole. Need to edit /usr/bin/eve-ng-integration, find this section:
elif url.scheme == 'telnet':
#cmd = 'telnet {host} {port}'.format(**data)
cmd = 'konsole --new-tab -e telnet {host} {port}'.format(**data)
term.execute(cmd)
This makes opening new tab for each link instead of new window. One drawback is that one extra-window opens and must stay opened. One thing I can not figure out is how to make each tab title be named the way as host is named it the topology or in device config.
from eve-ng-integration.
Related Issues (20)
- Integrate Clear Linux OS
- debian HOT 1
- Wireshark capture to a remote server using port forwarding HOT 1
- Wireshark wrapper configuration when using port forward for accesing remote eve-ng server HOT 1
- Capture start but no pachets are received on wireshark HOT 1
- Does not connect to mikrotik
- Ubuntu 22.04 HOT 2
- Unable to install eve-ng-integration in Ubuntu 22 LTS show dependence error HOT 1
- Installation - working usage instructions from the point when it is installed missing HOT 4
- Terminator new window / new tab behaviour
- access the app HOT 1
- improvement suggestion on readme HOT 1
- improvement suggestion HOT 1
- failed to install in RHEL 9.1
- ---
- launch server HOT 1
- Terminal opens and closes instantly HOT 1
- Eve-ng-integration with TMUX
- Arch linux EVE-NG Integration not working for all browsers
- error adding repository in linux CLI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eve-ng-integration.