title: How to run a shell script on a user machine after calling the script through url
body: <p>I have a script called <code>xyz.sh</code> which uses zenity.which when executed gives the users  a selection menu.issue is this is one of our team mate <code>/home/dir</code> which is nfs based.
  usally we run the <code>path/xyz.sh</code> from terminal.it gets executed. What i was trying to make this as a url and which when called by the user should run the script and pops the selection menu. </p>
  
  <p>example : <code>http://abc.com/xyz</code> which should execute the <code>xyz.sh</code> on user remote machine. not on server. </p>
  
  <p>i don't mind if it is in python or in cgi/php. </p>
  
  <hr>
  
  <p>Update:
  Thanks for sharing the link.I have tried and created protocol handler in firefox. As mentioned the below.</p>
  
  <p>First open <code>about:config</code> and then I have created a external protocol. <code>network.protocol-handler.external.app.xyz.sh</code> and in the string I have provided the path of my script <code>/home/xyz/xyz.sh</code></p>
  
  <p>But, when I call this from the browser xyz: it is again giving me error as "firefox does know how to open this address. Because protocol is not associated with any programme".</p>
  
  <p>Please help me in this. Thanks in advance.</p>