Author:   Lars Michelsen <[email protected]>
Date:     Sat Dec 24 14:05:30 2011 +0100
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Sat Dec 24 14:05:30 2011 +0100

docs: Added notes about firefox 3.5 ssh custom context menu howto

---

 docs/en_US/extending/custom_context_actions.html |   19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/docs/en_US/extending/custom_context_actions.html 
b/docs/en_US/extending/custom_context_actions.html
index 7ad1057..ef3fa5b 100644
--- a/docs/en_US/extending/custom_context_actions.html
+++ b/docs/en_US/extending/custom_context_actions.html
@@ -58,7 +58,7 @@ context_template=default-ssh</pre>
         
         <h3>4. Configure your client to handle ssh:// uris</h3>
         
-        In this case I configure firefox on Ubuntu Linux. This may differ on 
your system.
+        In this case I configure firefox (&lt; 3.5) on Ubuntu Linux. This may 
differ on your system.
         
         Open <code>about:config</code> in your firefox. Add some new options:
         
@@ -77,7 +77,14 @@ Value: true</pre>
         <pre>Name: network.protocol-handler.warn-external.ssh
 Type: Boolean
 Value: false</pre>
-        
+
+        <h3>4a. Firefox &gt; 3.5</h3>
+        <p>If you are using Firefox 3.5 or above you only need to set the 
following options:</p>
+        <pre>String:
+network.protocol-handler.app.ssh = /usr/local/bin/ssh-connect-handler
+Boolean:
+network.protocol-handler.expose.ssh = false</pre>
+
         <h3>5. Create a handler script</h3>
         
         Create the script at the given script path. In my case it is 
<code>/usr/local/bin/ssh-connect-handler</code>.
@@ -88,6 +95,14 @@ xterm -e ssh ${1#ssh:\/\/*}</pre>
         You need to make this script executable.
         
         <pre>chmod +x /usr/local/bin/ssh-connect-handler</pre>
+
+        <h3>5a. gnome-terminal + root-login</h3>
+        <p>If you need explicit root login and like to use root login this 
might be a better script for you:</p>
+        <pre>#!/bin/bash
+#
+# /usr/local/bin/ssh-connect-handler
+
+gnome-terminal --geometry=78x10 -e "ssh root@${1#ssh:\/\/*}"</pre>
         
         <h3>6. Test handler script</h3>
         


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to