Saturday, January 23, 2016

Open Telnet links from Chrome/Chromium Linux

Credit for all the following instructions to the author of the post  Open Telnet and SSH links from Chrom/Chromium Linux.
I just copy it here for my own reference.
1. Install putty. You can use any other terminal apps too. Change the Exec in the below desktop file accordingly
apt-get install putty
2. Create a telnet.desktop file on /$HOME/.local/share/applications
vi telnet.desktop
[Desktop Entry]
Version=1.0
Name=Telnet
GenericName=Telnet
Comment=Telnet Client
Exec=/usr/bin/putty %U
TryExec=/usr/bin/putty
Terminal=false
Type=Application
Categories=TerminalEmulator;Network;Telnet;Internet;BBS;
MimeType=x-scheme/telnet
X-KDE-Protocols=telnet
Keywords=Terminal;Emulator;Network;Internet;BBS;Telnet;Client;
3. Register the handler as
xdg-mime default telnet.desktop x-scheme-handler/telnet

No comments:

Post a Comment