Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > General Help
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

General Help
All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.

 
Thread Tools Display Modes
Old May 9th, 2007   #1
Mr. Brownstone
5 Cups of Ubuntu
 
Mr. Brownstone's Avatar
 
Join Date: Jan 2005
Location: Relative
Beans: 28
Opening TELNET from a web-link

In Windows I could click a link that was prefixed with telnet:// and my default TELNET program (PuTTY) would open it.

How can I do this in Ubuntu? Firefox complains that the protocol (telnet) is not associated with any program.

Many thanks.
__________________
Of course, that’s just my opinion. I could be wrong.

Last edited by Mr. Brownstone; May 15th, 2007 at 08:07 AM..
Mr. Brownstone is offline   Reply With Quote
Old May 10th, 2007   #2
Mr. Brownstone
5 Cups of Ubuntu
 
Mr. Brownstone's Avatar
 
Join Date: Jan 2005
Location: Relative
Beans: 28
Re: Opening TELNET from a web-link

Has anyone done this? Thanks.
__________________
Of course, that’s just my opinion. I could be wrong.
Mr. Brownstone is offline   Reply With Quote
Old May 10th, 2007   #3
asipi
Gee! These Aren't Roasted!
 
asipi's Avatar
 
Join Date: Jun 2005
Location: Hungary
Beans: 156
Ubuntu 9.10 Karmic Koala
Send a message via Skype™ to asipi
Re: Opening TELNET from a web-link

the howto is browser dependent, what browser do you use?
the "key" is external protocol handling... the easiest in opera
__________________
Why use windows, if you have open doors... to linux...
asipi is offline   Reply With Quote
Old May 10th, 2007   #4
Mr. Brownstone
5 Cups of Ubuntu
 
Mr. Brownstone's Avatar
 
Join Date: Jan 2005
Location: Relative
Beans: 28
Re: Opening TELNET from a web-link

Thanks for the reply. I use Firefox.
__________________
Of course, that’s just my opinion. I could be wrong.
Mr. Brownstone is offline   Reply With Quote
Old May 10th, 2007   #5
asipi
Gee! These Aren't Roasted!
 
asipi's Avatar
 
Join Date: Jun 2005
Location: Hungary
Beans: 156
Ubuntu 9.10 Karmic Koala
Send a message via Skype™ to asipi
Re: Opening TELNET from a web-link

ok for firefox it is also not too difficult...
open a new tab and type in the url address field about:config
it will bring up the configuration page of firefox

you have to create 2 new line.
on an empty space on the page right-click and choose 'New->logical'
the name of the new key should be: network.protocol-handler.external.telnet
value should be: true

again on an empty space on the page right-click and choose 'New->string' (or could be other, I use FF in my native language but my tip is string )
the name of the new key should be: network.protocol-handler.app.telnet
value should be: /path/to/your/favorite/telnet/application

that's all
simple, isn't it?
__________________
Why use windows, if you have open doors... to linux...
asipi is offline   Reply With Quote
Old May 15th, 2007   #6
Mr. Brownstone
5 Cups of Ubuntu
 
Mr. Brownstone's Avatar
 
Join Date: Jan 2005
Location: Relative
Beans: 28
Re: Opening TELNET from a web-link

Simple when you know how indeed.

Thanks a lot for that, I managed to use your advice to run a BASH script that pulled out the "telnet://" part of the address before passing the IP to gnome-terminal. (It seems that leaving it in causes problems.)

Here is the script if anyone else is interested:
Code:
#!/bin/bash
gnome-terminal -e "telnet ${1##telnet://}"
__________________
Of course, that’s just my opinion. I could be wrong.
Mr. Brownstone is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:05 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry