从浏览器地址栏启动shell脚本

sh/bash/dash/ksh/zsh等Shell脚本
回复
头像
titan.cn
帖子: 35
注册时间: 2009-07-26 11:04

从浏览器地址栏启动shell脚本

#1

帖子 titan.cn » 2009-08-25 16:44

RT,求教:

如何从firefox的地址栏启动指定程序

(就是原先要sh xxx的那种) :em01
头像
hcym
帖子: 15634
注册时间: 2007-05-06 2:46

Re: 从浏览器地址栏启动shell脚本

#2

帖子 hcym » 2009-08-25 16:50

常规用法吧

opera就一个`Execute Program`指定路径就可以随意启动指定程序

火狐也应该没问题
:em06
头像
titan.cn
帖子: 35
注册时间: 2009-07-26 11:04

Re: 从浏览器地址栏启动shell脚本

#3

帖子 titan.cn » 2009-08-25 16:53

是说 file:// 方式?我的打开的是源文件。。。
头像
hcym
帖子: 15634
注册时间: 2007-05-06 2:46

Re: 从浏览器地址栏启动shell脚本

#4

帖子 hcym » 2009-08-25 16:58

不是,就是启动外部程序

截图,播放器,音量,计算器,代理等等
头像
titan.cn
帖子: 35
注册时间: 2009-07-26 11:04

Re: 从浏览器地址栏启动shell脚本

#5

帖子 titan.cn » 2009-08-25 17:11

想起来了,那个功能似乎win下的火狐中国版有,插件实现的,我试试看。
头像
hcym
帖子: 15634
注册时间: 2007-05-06 2:46

Re: 从浏览器地址栏启动shell脚本

#6

帖子 hcym » 2009-08-25 17:21

插件?

火狐和系统集成度更高,想象中也不应该

你不妨等等其他人看看
头像
titan.cn
帖子: 35
注册时间: 2009-07-26 11:04

Re: 从浏览器地址栏启动shell脚本

#7

帖子 titan.cn » 2009-08-25 18:10

似乎不行,那个插件的win版本是可以选择启动程序的,linux下刚试过了,没有程序启动器功能。。。

难道linux下不可实现?
头像
hcym
帖子: 15634
注册时间: 2007-05-06 2:46

Re: 从浏览器地址栏启动shell脚本

#8

帖子 hcym » 2009-08-25 18:15

火狐更应该可以

别是想偏了有盲点,去火狐社区看看呗
头像
titan.cn
帖子: 35
注册时间: 2009-07-26 11:04

Re: 从浏览器地址栏启动shell脚本

#9

帖子 titan.cn » 2009-08-25 18:53

呵呵,谢谢,解决了

在深度上找到了一篇文章介绍火狐加按钮的:
http://soft.deepin.org/simple/index.php?t992547.html

里面介绍的插件有用,External Application Buttons mod for Firefox 3.0+,

本来要sh xxx的文件可以直接打开了 :em01
头像
O_O_BOT
帖子: 2461
注册时间: 2009-05-20 19:32

Re: 从浏览器地址栏启动shell脚本

#10

帖子 O_O_BOT » 2009-08-25 21:30

vimpreate
irc 聊天室
ubuntu-cn 的irc 频道为
irc.ubuntu.com 8001 #ubuntu-cn
UTF8编码 可用 irssi xchat pidgin weechat 登录

http://webchat.freenode.net/?channels=ubuntu-cn
[url]irc://irc.freenode.net/ubuntu-cn[/url]
回复