Re: [Ubuntu-zh] [shlug] Re: 一个翻译脚本,用于终端的命令行

2012-05-17 文章 Hex Lee
返回的结果中,音标特殊字符,不知在终端下如何显示,所以就没有弄,知道的同学赶快跳出来啊。
发音的问题,这里也是可以实现的,返回结果中有音频文件的地址,不过需要mp3播放的支持,确实有需要的同学可以折腾折腾。

在 2012年5月18日 上午12:09,HappyPoly Yang 写道:

> 不错不错,正在使用中,感谢~``:)加个音标就更完美了,如果还能够实现发音。。
>
> 在 2012年5月12日 下午4:16,Hex Lee 写道:
>
> > 大家好:
> > [image: 内嵌图片 1]
> > 我根据chrome 插件halo word dictionary 写了一个新版本的bash脚本与大家分享,另外感谢他们提供的翻译服务
> > 功能:
> > 纯粹的字典功能,一次只能查一个单词
> > 特色:
> > 更详细,带词性,带例句
> >
> > 效果如下:
> > $ ts apple
> > n.苹果, 珍宝, 家伙
> >
> > My uncle has an apple orchard.
> > 我叔叔拥有一个苹果园。
> > The apple pie and custard are delicious.
> > 苹果饼和软冻的味道好极了。
> > The apple trees are blossoming.
> > 苹果树正在开花。
> >
> > $ ts driver
> > n.驾驶员, 司机, 驱动器
> >
> > The driver was not to blame for the accident.
> > 这次事故怪不着司机。
> > I'm a hopeless driver, but the examiner let me through.
> > 我开车的技术糟透了,但考官让我及格了。
> > The driver was weaving his way through the traffic.
> > 司机在车辆和人流中曲折前进。
> >
> > bash脚本,使用方法和以前一样加入到~/.bashrc(for linux) :
> >
> > ts(){
> > result=`curl -s \
> >"http://dict.cn/ws.php?utf8=true&q=$1"; `;
> >
> > echo $result | sed -r -n 's/.*([^<]+)<\/def>.*/\1/p';
> >
> > #examples
> > echo $result \
> >| sed -r -n 's/.*def> (.*<\/sent>).*/\1/p' \
> >| sed 's/<em>//g' \
> >| sed 's/<\/em>//g' \
> >| sed 's//\n/g' \
> >| sed 's//\n/g' \
> >| sed 's/<[^<>]*>//g';
> >
> > return 0;
> >
> > }
> >
> >
> > 2012/4/13 codewalkertse 
> >
> > > 非常好的一个脚本 感谢分享
> > >
> > >
> > > 在 2012年3月23日星期五UTC+8下午11时26分10秒,Hex Lee写道:
> > >>
> > >> ts(){
> > >>
> > >> curl -s \
> > >> "http://fanyi.youdao.com/**translate?smartresult=dict&**
> > >> smartresult=rule&smartresult=**ugc&sessionFrom=dict.top<
> >
> http://fanyi.youdao.com/translate?smartresult=dict&smartresult=rule&smartresult=ugc&sessionFrom=dict.top
> > >"
> > >> \
> > >>  -d \
> > >> "type=AUTO&
> > i=$1&doctype=json&xmlVersion=**1.4&keyfrom=fanyi.web&ue=UTF-*
> > >> *8&typoResult=true&flag=false" \
> > >> | sed -E -n 's/.*tgt":"([^"]+)".*/\1/p' ;
> > >>
> > >> return 0;
> > >> }
> > >>
> > >> 设置如下:
> > >> linux用户:
> > >> 1.添加此脚本到~/.bashrc的末尾
> > >> 2.source ~/.bashrc
> > >> Mac osX用户:
> > >>
> > >> 1.添加此脚本到~/.bash_profile的末尾,**没有就新建
> > >> 2.source ~/.bash_profile
> > >>
> > >> 使用:
> > >>
> > >>
> > >> Shell代码
> > >> $ ts hello
> > >> 你好
> > >> $ ts "how are you?"
> > >> 你好吗?
> > >>
> > >> 也可以翻译中文。
> > >>
> > >> 原文地址 <http://hexlee.iteye.com/blog/1442506>
> > >>
> > >
> > > 在 2012年3月23日星期五UTC+8下午11时26分10秒,Hex Lee写道:
> > >>
> > >> ts(){
> > >>
> > >> curl -s \
> > >> "http://fanyi.youdao.com/**translate?smartresult=dict&**
> > >> smartresult=rule&smartresult=**ugc&sessionFrom=dict.top<
> >
> http://fanyi.youdao.com/translate?smartresult=dict&smartresult=rule&smartresult=ugc&sessionFrom=dict.top
> > >"
> > >> \
> > >>  -d \
> > >> "type=AUTO&
> > i=$1&doctype=json&xmlVersion=**1.4&keyfrom=fanyi.web&ue=UTF-*
> > >> *8&typoResult=true&flag=false" \
> > >> | sed -E -n 's/.*tgt":"([^"]+)".*/\1/p' ;
> > >>
> > >> return 0;
> > >> }
> > >>
> > >> 设置如下:
> > >> linux用户:
> > >> 1.添加此脚本到~/.bashrc的末尾
> > >> 2.source ~/.bashrc
> > >> Mac osX用户:
> > >>
> > >> 1.添加此脚本到~/.bash_profile的末尾,**没有就新建
> > >> 2.source ~/.bash_profile
> > >>
> > >> 使用:
> > >>
> > >>
> > >> Shell代码
> > >> $ ts hello
> > >> 你好
> > >> $ ts "how are you?"
> > >> 你好吗?
> > >>
> > >> 也可以翻译中文。
> > >>
> > >> 原文地址 <http://he

Re: [Ubuntu-zh] [shlug] Re: 一个翻译脚本,用于终端的命令行

2012-05-16 文章 Hex Lee
Mac版本,因为unix 和 linux的sed命令有差异,注意换行符号的处理:
# Mac Version
# notic: ^M^L = Ctrl+v Ctrl+Enter Ctrl+v Ctrl+l
ts(){
result=`curl -s \
"http://dict.cn/ws.php?utf8=true&q=$1"; `;

echo $result | sed -E -n 's/.*([^<]+)<\/def>.*/\1/p';

#examples
echo $result \
| sed -E -n 's/.*def> (.*<\/sent>).*/\1/p' \
| sed 's/<em>//g' \
| sed 's/<\/em>//g' \
| sed 's//^M^L/g' \
| sed 's//^M^L/g' \
| sed 's/<[^<>]*>//g' ;

return 0;

}

在 2012年5月12日 下午4:16,Hex Lee 写道:

> 大家好:
> [image: 内嵌图片 1]
> 我根据chrome 插件halo word dictionary 写了一个新版本的bash脚本与大家分享,另外感谢他们提供的翻译服务
> 功能:
> 纯粹的字典功能,一次只能查一个单词
> 特色:
> 更详细,带词性,带例句
>
> 效果如下:
> $ ts apple
> n.苹果, 珍宝, 家伙
>
> My uncle has an apple orchard.
> 我叔叔拥有一个苹果园。
> The apple pie and custard are delicious.
> 苹果饼和软冻的味道好极了。
> The apple trees are blossoming.
> 苹果树正在开花。
>
> $ ts driver
> n.驾驶员, 司机, 驱动器
>
> The driver was not to blame for the accident.
> 这次事故怪不着司机。
> I'm a hopeless driver, but the examiner let me through.
> 我开车的技术糟透了,但考官让我及格了。
> The driver was weaving his way through the traffic.
> 司机在车辆和人流中曲折前进。
>
> bash脚本,使用方法和以前一样加入到~/.bashrc(for linux) :
>
> ts(){
> result=`curl -s \
> "http://dict.cn/ws.php?utf8=true&q=$1"; `;
>
> echo $result | sed -r -n 's/.*([^<]+)<\/def>.*/\1/p';
>
> #examples
> echo $result \
> | sed -r -n 's/.*def> (.*<\/sent>).*/\1/p' \
> | sed 's/<em>//g' \
> | sed 's/<\/em>//g' \
> | sed 's//\n/g' \
> | sed 's//\n/g' \
> | sed 's/<[^<>]*>//g';
>
> return 0;
>
> }
>
>
> 2012/4/13 codewalkertse 
>
>> 非常好的一个脚本 感谢分享
>>
>>
>> 在 2012年3月23日星期五UTC+8下午11时26分10秒,Hex Lee写道:
>>>
>>> ts(){
>>>
>>> curl -s \
>>> "http://fanyi.youdao.com/**translate?smartresult=dict&**
>>> smartresult=rule&smartresult=**ugc&sessionFrom=dict.top<http://fanyi.youdao.com/translate?smartresult=dict&smartresult=rule&smartresult=ugc&sessionFrom=dict.top>"
>>> \
>>>  -d \
>>> "type=AUTO& i=$1&doctype=json&xmlVersion=**1.4&keyfrom=fanyi.web&ue=UTF-
>>> **8&typoResult=true&flag=false" \
>>> | sed -E -n 's/.*tgt":"([^"]+)".*/\1/p' ;
>>>
>>> return 0;
>>> }
>>>
>>> 设置如下:
>>> linux用户:
>>> 1.添加此脚本到~/.bashrc的末尾
>>> 2.source ~/.bashrc
>>> Mac osX用户:
>>>
>>> 1.添加此脚本到~/.bash_profile的末尾,**没有就新建
>>> 2.source ~/.bash_profile
>>>
>>> 使用:
>>>
>>>
>>> Shell代码
>>> $ ts hello
>>> 你好
>>> $ ts "how are you?"
>>> 你好吗?
>>>
>>> 也可以翻译中文。
>>>
>>> 原文地址 <http://hexlee.iteye.com/blog/1442506>
>>>
>>
>> 在 2012年3月23日星期五UTC+8下午11时26分10秒,Hex Lee写道:
>>>
>>> ts(){
>>>
>>> curl -s \
>>> "http://fanyi.youdao.com/**translate?smartresult=dict&**
>>> smartresult=rule&smartresult=**ugc&sessionFrom=dict.top<http://fanyi.youdao.com/translate?smartresult=dict&smartresult=rule&smartresult=ugc&sessionFrom=dict.top>"
>>> \
>>>  -d \
>>> "type=AUTO& i=$1&doctype=json&xmlVersion=**1.4&keyfrom=fanyi.web&ue=UTF-
>>> **8&typoResult=true&flag=false" \
>>> | sed -E -n 's/.*tgt":"([^"]+)".*/\1/p' ;
>>>
>>> return 0;
>>> }
>>>
>>> 设置如下:
>>> linux用户:
>>> 1.添加此脚本到~/.bashrc的末尾
>>> 2.source ~/.bashrc
>>> Mac osX用户:
>>>
>>> 1.添加此脚本到~/.bash_profile的末尾,**没有就新建
>>> 2.source ~/.bash_profile
>>>
>>> 使用:
>>>
>>>
>>> Shell代码
>>> $ ts hello
>>> 你好
>>> $ ts "how are you?"
>>> 你好吗?
>>>
>>> 也可以翻译中文。
>>>
>>> 原文地址 <http://hexlee.iteye.com/blog/1442506>
>>>
>>
>> 在 2012年3月23日星期五UTC+8下午11时26分10秒,Hex Lee写道:
>>>
>>> ts(){
>>>
>>> curl -s \
>>> "http://fanyi.youdao.com/**translate?smartresult=dict&**
>>> smartresult=rule&smartresult=**ugc&sessionFrom=dict.top<http://fanyi.youdao.com/translate?smartresult=dict&smartresult=rule&smartresult=u

Re: [Ubuntu-zh] [shlug] Re: 一个翻译脚本,用于终端的命令行

2012-05-12 文章 Hex Lee
大家好:
[image: 内嵌图片 1]
我根据chrome 插件halo word dictionary 写了一个新版本的bash脚本与大家分享,另外感谢他们提供的翻译服务
功能:
纯粹的字典功能,一次只能查一个单词
特色:
更详细,带词性,带例句

效果如下:
$ ts apple
n.苹果, 珍宝, 家伙

My uncle has an apple orchard.
我叔叔拥有一个苹果园。
The apple pie and custard are delicious.
苹果饼和软冻的味道好极了。
The apple trees are blossoming.
苹果树正在开花。

$ ts driver
n.驾驶员, 司机, 驱动器

The driver was not to blame for the accident.
这次事故怪不着司机。
I'm a hopeless driver, but the examiner let me through.
我开车的技术糟透了,但考官让我及格了。
The driver was weaving his way through the traffic.
司机在车辆和人流中曲折前进。

bash脚本,使用方法和以前一样加入到~/.bashrc(for linux) :

ts(){
result=`curl -s \
"http://dict.cn/ws.php?utf8=true&q=$1"; `;

echo $result | sed -r -n 's/.*([^<]+)<\/def>.*/\1/p';

#examples
echo $result \
| sed -r -n 's/.*def> (.*<\/sent>).*/\1/p' \
| sed 's/<em>//g' \
| sed 's/<\/em>//g' \
| sed 's//\n/g' \
| sed 's//\n/g' \
| sed 's/<[^<>]*>//g';

return 0;

}


2012/4/13 codewalkertse 

> 非常好的一个脚本 感谢分享
>
>
> 在 2012年3月23日星期五UTC+8下午11时26分10秒,Hex Lee写道:
>>
>> ts(){
>>
>> curl -s \
>> "http://fanyi.youdao.com/**translate?smartresult=dict&**
>> smartresult=rule&smartresult=**ugc&sessionFrom=dict.top<http://fanyi.youdao.com/translate?smartresult=dict&smartresult=rule&smartresult=ugc&sessionFrom=dict.top>"
>> \
>>  -d \
>> "type=AUTO& i=$1&doctype=json&xmlVersion=**1.4&keyfrom=fanyi.web&ue=UTF-*
>> *8&typoResult=true&flag=false" \
>> | sed -E -n 's/.*tgt":"([^"]+)".*/\1/p' ;
>>
>> return 0;
>> }
>>
>> 设置如下:
>> linux用户:
>> 1.添加此脚本到~/.bashrc的末尾
>> 2.source ~/.bashrc
>> Mac osX用户:
>>
>> 1.添加此脚本到~/.bash_profile的末尾,**没有就新建
>> 2.source ~/.bash_profile
>>
>> 使用:
>>
>>
>> Shell代码
>> $ ts hello
>> 你好
>> $ ts "how are you?"
>> 你好吗?
>>
>> 也可以翻译中文。
>>
>> 原文地址 <http://hexlee.iteye.com/blog/1442506>
>>
>
> 在 2012年3月23日星期五UTC+8下午11时26分10秒,Hex Lee写道:
>>
>> ts(){
>>
>> curl -s \
>> "http://fanyi.youdao.com/**translate?smartresult=dict&**
>> smartresult=rule&smartresult=**ugc&sessionFrom=dict.top<http://fanyi.youdao.com/translate?smartresult=dict&smartresult=rule&smartresult=ugc&sessionFrom=dict.top>"
>> \
>>  -d \
>> "type=AUTO& i=$1&doctype=json&xmlVersion=**1.4&keyfrom=fanyi.web&ue=UTF-*
>> *8&typoResult=true&flag=false" \
>> | sed -E -n 's/.*tgt":"([^"]+)".*/\1/p' ;
>>
>> return 0;
>> }
>>
>> 设置如下:
>> linux用户:
>> 1.添加此脚本到~/.bashrc的末尾
>> 2.source ~/.bashrc
>> Mac osX用户:
>>
>> 1.添加此脚本到~/.bash_profile的末尾,**没有就新建
>> 2.source ~/.bash_profile
>>
>> 使用:
>>
>>
>> Shell代码
>> $ ts hello
>> 你好
>> $ ts "how are you?"
>> 你好吗?
>>
>> 也可以翻译中文。
>>
>> 原文地址 <http://hexlee.iteye.com/blog/1442506>
>>
>
> 在 2012年3月23日星期五UTC+8下午11时26分10秒,Hex Lee写道:
>>
>> ts(){
>>
>> curl -s \
>> "http://fanyi.youdao.com/**translate?smartresult=dict&**
>> smartresult=rule&smartresult=**ugc&sessionFrom=dict.top<http://fanyi.youdao.com/translate?smartresult=dict&smartresult=rule&smartresult=ugc&sessionFrom=dict.top>"
>> \
>>  -d \
>> "type=AUTO& i=$1&doctype=json&xmlVersion=**1.4&keyfrom=fanyi.web&ue=UTF-*
>> *8&typoResult=true&flag=false" \
>> | sed -E -n 's/.*tgt":"([^"]+)".*/\1/p' ;
>>
>> return 0;
>> }
>>
>> 设置如下:
>> linux用户:
>> 1.添加此脚本到~/.bashrc的末尾
>> 2.source ~/.bashrc
>> Mac osX用户:
>>
>> 1.添加此脚本到~/.bash_profile的末尾,**没有就新建
>> 2.source ~/.bash_profile
>>
>> 使用:
>>
>>
>> Shell代码
>> $ ts hello
>> 你好
>> $ ts "how are you?"
>> 你好吗?
>>
>> 也可以翻译中文。
>>
>> 原文地址 <http://hexlee.iteye.com/blog/1442506>
>>
>
> 在 2012年3月23日星期五UTC+8下午11时26分10秒,Hex Lee写道:
>>
>> ts(){
>>
>> curl -s \
>> "http://fanyi.youdao.com/**translate?smartresult=dict&**
>> smartresult=rule&smartresult=**ugc&sessionFrom=dict.top<http://fanyi.youdao.com/translate?smartresult=dict&smartresult=rule&smartresult=ugc&sessionFrom=dict.top>"
>&

[Ubuntu-zh] 一个翻译脚本,用于终端的命令行

2012-03-23 文章 Hex Lee
ts(){

curl -s \
"
http://fanyi.youdao.com/translate?smartresult=dict&smartresult=rule&smartresult=ugc&sessionFrom=dict.top";
\
 -d \
"type=AUTO&
i=$1&doctype=json&xmlVersion=1.4&keyfrom=fanyi.web&ue=UTF-8&typoResult=true&flag=false"
\
| sed -E -n 's/.*tgt":"([^"]+)".*/\1/p' ;

return 0;
}

设置如下:
linux用户:
1.添加此脚本到~/.bashrc的末尾
2.source ~/.bashrc
Mac osX用户:

1.添加此脚本到~/.bash_profile的末尾,没有就新建
2.source ~/.bash_profile

使用:


Shell代码
$ ts hello
你好
$ ts "how are you?"
你好吗?

也可以翻译中文。

原文地址 
-- 下一部分 --
一个HTML附件被移除...
URL: 

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


[Ubuntu-zh] 一个讲解 vim 使用技巧的新浪微博,求关注求贡献

2012-03-01 文章 Hex Lee
http://weibo.com/u/2628187703
内容主要来自推忒的英文翻译,求关注,求扩散!求贡献!
-- 下一部分 --
一个HTML附件被移除...
URL: 

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 敲的是关机命令,结果机子重启了

2011-11-26 文章 Hex Lee
ubuntu11.10
一直在用 shutdown -h now 没有问题

在 2011年11月26日 上午7:14,许林念 写道:

> 嗯,有可能
>
> Shou Ya 编写:
>
> >我�岩���是BIOS的���}�N?
> >
> >在 2011年11月25日 下午8:14,wxg  写道:
> >> 仅仅一个异常的现象 是不是其它关机命令就正常呢 。 一个关机的程序在实现上有没有安全性,是否受电源管理以及电脑硬件设备的影响,你自己查查贝.
> >>
> >> 在 Fri, 25 Nov 2011 18:54:24 +0800,Zind  写道:
> >>
> >>> 我勒个去..
> >>> 关机的方法多了个去了..我不是学什么关机命令,而是想知道为什么我敲的关机命令却重启了..
> >>> 别跑题了   :-)
> >>>
> >>> 2011/11/25 dulio 
> >>>
>  可以试试sudo poweroff
>  windows下我用shutdown来关机,但是linux似乎还是poweroff比较好用
> 
>  BlackBerry(R) wireless device
> 
> 
>  -- original message --
>  "ubuntu-zh mailing lists"  @11-25 2011
> 15:06
>  > 一直在用
>  > shutdown -h now
>  >
>  > 在 2011年11月25日 下午3:01,ZhanLin Shang  写道:
>  > > ..反正我一直是sudo halt关机的,最开始用Linux输shutdown的确会重启..求高手解答
>  > >
>  > > 在 2011年11月25日 下午2:58,Zind  写道:
>  > >> 那样是肯定可以关机的,当然不排除还有其它的方法..
>  > >> 不信的话,两条关机命令,楼上的两位可以一人试一个 :-)
>  > >>
>  > >> 2011/11/25 ZhanLin Shang 
>  > >>
>  > >>> 关机指令是sudo halt..
>  > >>>
>  > >>> 在 2011年11月21日 下午8:05,Zind  写道:
>  > >>> > OS, Fedora 15
>  > >>> > 有时侯,敲的是关机命令,比如说 sudo init 0 或者 sudo shutdown -P now
>  > >>> > 结果机子却重启了..
>  > >>> > 神马情况?这种问题,应该怎么入手呢?
>  > >>> > -- 下一部分 --
>  > >>> > 一个HTML附件被移除...
>  > >>> > URL: <
>  > >>>
> 
> 
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/2021/aa205523/attachment.html
>  > >>> >
>  > >>> > --
>  > >>> > ubuntu-zh mailing list
>  > >>> > ubuntu-zh@lists.ubuntu.com
>  > >>> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>  > >>> >
>  > >>> --
>  > >>> ubuntu-zh mailing list
>  > >>> ubuntu-zh@lists.ubuntu.com
>  > >>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>  > >>>
>  > >> -- 下一部分 --
>  > >> 一个HTML附件被移除...
>  > >> URL: <
> 
> 
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/2025/8c372f0e/attachment.html
>  >
>  > >> --
>  > >> ubuntu-zh mailing list
>  > >> ubuntu-zh@lists.ubuntu.com
>  > >> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>  > >>
>  > > --
>  > > ubuntu-zh mailing list
>  > > ubuntu-zh@lists.ubuntu.com
>  > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>  > >
>  > --
>  > ubuntu-zh mailing list
>  > ubuntu-zh@lists.ubuntu.com
>  > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> 
>  --
>  ubuntu-zh mailing list
>  ubuntu-zh@lists.ubuntu.com
>  https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> 
> >>> -- 下一部分 --
> >>> 一个HTML附件被移除...
> >>> URL:
> >>> <
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/2025/c18fa918/attachment.html
> >
> >>
> >>
> >>
> >> --
> >> ubuntu-zh mailing list
> >> ubuntu-zh@lists.ubuntu.com
> >> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> >>
> >
> >
> >
> >--
> >Ya Shou
> >zxyzxy12...@gmail.com
> >http://54c3.tk
> >--
> >ubuntu-zh mailing list
> >ubuntu-zh@lists.ubuntu.com
> >https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 回复: ibus 的谷歌拼音输入法发布

2011-09-11 文章 Hex Lee
嗯,谢谢,可以用了,效果不错

在 2011年9月8日 下午8:55,Shellexy Wang  写道:
> 你只安装了 lib,没安装 ibus-googlepinyin,
>
> 见我后边发的邮件:
>
> ibus-googlepinyin 已经拆包,安装请见更新后的 INSTALL
> http://code.google.com/p/libgooglepinyin/wiki/INSTALL#ibus-googlepinyin
>
>
> 2011/9/8 Hex Lee 
>
>> 安装了,但在IBUS首选项里的输入法选项卡里,没有发现googlepinying可添加,这这么回事?
>> 我用的事mint 11
>>
>> Install the project...
>> -- Install configuration: ""
>> -- Installing: /usr/lib/libgooglepinyin.so.0.1.0
>> -- Installing: /usr/lib/libgooglepinyin.so.0
>> -- Installing: /usr/lib/libgooglepinyin.so
>> -- Installing: /usr/include/googlepinyin/atomdictbase.h
>> -- Installing: /usr/include/googlepinyin/dictbuilder.h
>> -- Installing: /usr/include/googlepinyin/dictdef.h
>> -- Installing: /usr/include/googlepinyin/dictlist.h
>> -- Installing: /usr/include/googlepinyin/dicttrie.h
>> -- Installing: /usr/include/googlepinyin/lpicache.h
>> -- Installing: /usr/include/googlepinyin/matrixsearch.h
>> -- Installing: /usr/include/googlepinyin/mystdlib.h
>> -- Installing: /usr/include/googlepinyin/ngram.h
>> -- Installing: /usr/include/googlepinyin/pinyinime.h
>> -- Installing: /usr/include/googlepinyin/searchutility.h
>> -- Installing: /usr/include/googlepinyin/spellingtable.h
>> -- Installing: /usr/include/googlepinyin/spellingtrie.h
>> -- Installing: /usr/include/googlepinyin/splparser.h
>> -- Installing: /usr/include/googlepinyin/sync.h
>> -- Installing: /usr/include/googlepinyin/userdict.h
>> -- Installing: /usr/include/googlepinyin/utf16char.h
>> -- Installing: /usr/include/googlepinyin/utf16reader.h
>> -- Installing: /usr/share/googlepinyin/dict_pinyin.dat
>> -- Installing: /usr/lib/pkgconfig/googlepinyin.pc
>>
>>
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
> <https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110908/745d8da2/attachment.html>
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 回复: ibus 的谷歌拼音输入法发布

2011-09-08 文章 Hex Lee
安装了,但在IBUS首选项里的输入法选项卡里,没有发现googlepinying可添加,这这么回事?
我用的事mint 11

Install the project...
-- Install configuration: ""
-- Installing: /usr/lib/libgooglepinyin.so.0.1.0
-- Installing: /usr/lib/libgooglepinyin.so.0
-- Installing: /usr/lib/libgooglepinyin.so
-- Installing: /usr/include/googlepinyin/atomdictbase.h
-- Installing: /usr/include/googlepinyin/dictbuilder.h
-- Installing: /usr/include/googlepinyin/dictdef.h
-- Installing: /usr/include/googlepinyin/dictlist.h
-- Installing: /usr/include/googlepinyin/dicttrie.h
-- Installing: /usr/include/googlepinyin/lpicache.h
-- Installing: /usr/include/googlepinyin/matrixsearch.h
-- Installing: /usr/include/googlepinyin/mystdlib.h
-- Installing: /usr/include/googlepinyin/ngram.h
-- Installing: /usr/include/googlepinyin/pinyinime.h
-- Installing: /usr/include/googlepinyin/searchutility.h
-- Installing: /usr/include/googlepinyin/spellingtable.h
-- Installing: /usr/include/googlepinyin/spellingtrie.h
-- Installing: /usr/include/googlepinyin/splparser.h
-- Installing: /usr/include/googlepinyin/sync.h
-- Installing: /usr/include/googlepinyin/userdict.h
-- Installing: /usr/include/googlepinyin/utf16char.h
-- Installing: /usr/include/googlepinyin/utf16reader.h
-- Installing: /usr/share/googlepinyin/dict_pinyin.dat
-- Installing: /usr/lib/pkgconfig/googlepinyin.pc


在 2011年9月7日 上午11:36,陈翔宇  写道:
> 我也很好其,你用的是什么终端啊?》?   :)
>
> 在 2011年9月5日 下午1:00,Jianlei Zhang  写道:
>> 呵呵,不懂别乱说,我的终端可以看文字,看图片,看视频,聊QQ,你还想说什么?
>>
>> 还有不知道你在X环境下干了些什么"有用"的东西?
>>
>> 再者我只会写点Perl程序,确实不需要一些华丽丽的UI。
>>
>>
>> PS.我一直觉得我很低调,没有觉得CLI是件很装逼的事情。莫非你受过这方面的刺激?这么敏感啊!
>>
>> On Mon, Sep 05, 2011 at 11:37:19AM +0800, Shellexy Wang wrote:
>>> 乃使用计算机就是看看屏幕能显示出点中文,然后敲点 ls/dir 之类么
>>>
>>> 你写程序就是打印点 hello world 么
>>>
>>> 当然不理解纯 console 在现在还能干些什么有用的东西
>>>
>>> 2011/9/5 Jianlei Zhang 
>>>
>>> > 没觉得不方便啊,用fbterm+文泉驿字体完美显示中文。而且还有那么多的命令行程序。
>>> >
>>> > 很奇怪你用"自虐"这个词来形容只用终端界面的用户。
>>> >
>>> >
>>> -- next part --
>>> An HTML attachment was scrubbed...
>>> URL: 
>>> 
>>> --
>>> ubuntu-zh mailing list
>>> ubuntu-zh@lists.ubuntu.com
>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>>
>> --
>> 此致
>>
>> 张建雷 敬上
>>
>> --
>> ubuntu-zh mailing list
>> ubuntu-zh@lists.ubuntu.com
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>>
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] [求助]让 tree 命令输出中文

2011-06-28 文章 Hex Lee
谢谢

在 2011年6月14日 下午11:49,xxzj990  写道:
> 谢谢!
>
> 在 2011年6月14日 下午7:53,Xunzhen Quan 写道:
>
>> tree -N
>>
>> 2011/6/14 @ Google xxzj990 
>>
>> > 如题,如何操作?谢谢!
>> > http://www.xxzj990.neezyl.com/
>> >
>> > --
>> > ubuntu-zh mailing list
>> > ubuntu-zh@lists.ubuntu.com
>> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>> >
>> -- 下一部分 --
>> 一个HTML附件被移除...
>> URL: <
>> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110614/d448d13c/attachment.html
>> >
>> --
>> ubuntu-zh mailing list
>> ubuntu-zh@lists.ubuntu.com
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>>
>
>
>
> --
> -=我的博客=- 
> -- 下一部分 --
> 一个HTML附件被移除...
> URL: 
> 
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 大家喜欢哪一种时钟格式?

2011-03-17 文章 Hex Lee
er

在 2011年3月18日 上午11:34,Xhacker Liu 写道:

> 上午 11:33 五
> or
> 上午 11:33 星期五
>
> ?
>
> 第一种更节省面板的空间,第二种更直观。
> -- 下一部分 --
> 一个HTML附件被移除...
> URL: <
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110318/a41fda59/attachment.html
> >
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 有没有可以滚动截屏的软件

2011-03-09 文章 Hex Lee
shutter 试试

在 2011年3月10日 下午12:25,Xilin Sun 写道:

> chrome有网页截页面插件,但是系统中的就不知道了。
>
> 在 2011-3-10 上午11:54,"RLP" 写道:
> > 我屏幕较小,有时候手里的chm电子文档中的图形超出了屏幕高度,无法完整截取。
> > 有些chm中的图形可以通过在图形上点击右键,选择链接地址,放到浏览器中去另存。但有些不行,不知道为什么。
> >
> > Windows下这类软件较多。
> > 求办法……
> >
> > 我现在是启用一个vmware……晕
> >
> > --
> > ubuntu-zh mailing list
> > ubuntu-zh@lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> -- 下一部分 --
> 一个HTML附件被移除...
> URL: <
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110310/d02642e9/attachment.html
> >
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 有没有在深圳的UBUNTU朋友

2011-03-08 文章 Hex Lee
同时ubuntu爱好者,但不在深圳,不过大家还是可以通过邮件交流嘛

在 2011年3月8日 下午11:58,张海波 写道:

> 本人对UBUNTU一直热衷,想找些开源爱好者朋友一起聚聚讨论些问题。如果有在深圳的兄弟联系我。谢谢
>
> --
>
>
> 张海波
>
> Mobile:13923782121Q Q:45207
>
> 深圳市云计算产业协会  www.szccia.org
>
> 地址:深圳市福田区上步中路1001号科技大厦7楼
>
> Tel:0755-86059335 fax:0755-26978620
>
> Emai:zhb...@163.com
>
> msn:zhangh...@hotmail.com
>
>
>
>
> At 2011-03-08,Earthson  wrote:
>
> >错误看图。。有附件
> >
> >2011/3/8 Rosun Guo 
> >
> >> On 2011年03月06日 13:46, Earthson wrote:
> >>
> >>> 华硕N61 JQ
> >>> 显卡  5730M
> >>> cpu i7 720M
> >>> 内存 2Gx2 ddr3 1333
> >>>
> >>> 安装镜像 10.10 desktop
> >>> U盘光盘均出现错误。。
> >>> 在acer 4745G 及华硕EPC都出现类似问题。。
> >>>
> >>> alternate版本可安装。。
> >>>
> >> 错误呢?
> >>
> >> --
> >> ubuntu-zh mailing list
> >> ubuntu-zh@lists.ubuntu.com
> >> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> >>
> >
> >
> >
> >--
> >
> >这个世界不会因为没有你而失去什么
> >但是,却有可能因为你的存在而发生一些改变。。
> >-- 下一部分 --
> >一个HTML附件被移除...
> >URL: <
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110308/826770e8/attachment.html
> >
> >--
> >ubuntu-zh mailing list
> >ubuntu-zh@lists.ubuntu.com
> >https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> -- 下一部分 --
> 一个HTML附件被移除...
> URL: <
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110308/dbec9a09/attachment.html
> >
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 更改开机grub

2011-03-04 文章 Hex Lee
我是用gru4dos做双重引导的,没用ubuntu的grub2

2011/3/4 Xilin Sun 

> 我挺吃惊的,ubuntu中文列表中很多人不知道ubuntu已经用grub2了。事实上4个版本之前就改了。另外知道改了的人很多不会使用。
>
> 在 2011-3-4 下午6:02,"lds" 写道:
> > *那是grub1
> > *
> > 2011/3/4 Hex Lee 
> >
> >> 对,直接打开menu.lst,找到位置调换秩序就可以了
> >>
> >> 在 2011年3月4日 下午4:46,landsufo 写道:
> >>
> >> > 8.04 /boot/gurb/menu.lst 里更改..
> >> > 10.04 忘了..改名字了..貌似叫grub.conf
> >> > 问google,呵呵
> >> >
> >> > 2011-03-04
> >> >
> >> >
> >> >
> >> > landsufo
> >> >
> >> >
> >> >
> >> > 发件人: 段会强
> >> > 发送时间: 2011-02-27 13:09:37
> >> > 收件人: ubuntu-zh
> >> > 抄送:
> >> > 主题: [Ubuntu-zh] 更改开机grub
> >> >
> >> > 你好,
> >> > 我的电脑开机时grub有三个选项,现在默认第一个选项。我想让其默认第二个启动
> >> > 项。请教详细设置方法,谢谢!
> >> > --
> >> > ubuntu-zh mailing list
> >> > ubuntu-zh@lists.ubuntu.com
> >> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> >> > -- 下一部分 --
> >> > 一个HTML附件被移除...
> >> > URL: <
> >> >
> >>
>
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110304/7c383c41/attachment.html
> >> > >
> >> > --
> >> > ubuntu-zh mailing list
> >> > ubuntu-zh@lists.ubuntu.com
> >> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> >> >
> >> -- 下一部分 --
> >> 一个HTML附件被移除...
> >> URL: <
> >>
>
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110304/7bc58a77/attachment.html
> >> >
> >> --
> >> ubuntu-zh mailing list
> >> ubuntu-zh@lists.ubuntu.com
> >> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> >>
> > -- 下一部分 --
> > 一个HTML附件被移除...
> > URL: <
>
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110304/24e33b74/attachment.html
> >
> > --
> > ubuntu-zh mailing list
> > ubuntu-zh@lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> -- 下一部分 --
> 一个HTML附件被移除...
> URL: <
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110304/f83bad67/attachment.html
> >
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 
<https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110305/bc1455f9/attachment.html>
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 关于软件源的混用

2011-03-04 文章 Hex Lee
你下个ubuntu tweak 清理PPA试试,google ubuntu tweak

在 2011年3月4日 下午4:12,nuo mi 写道:

> 如果有合适的ppa会好一些
>
> https://launchpad.net/ubuntu/+ppas
>
>
> 2011/3/4 greensea 
>
> > 虽然现在看不出问题,但是用一段时间就会发现问题的
> > 最具体的表现就是依赖关系混乱,upgrade之后很多软件包都升级了,这时候如果
> > 再把源改回旧版本,相互间引用的软件包的版本就可能不满足要求,结果是你没法
> > 顺利安装软件
> > 以前我这样做过,最后以重装系统收场
> >
> > 于 2011年03月04日 13:47, Earthson 写道:
> > > �濉!�upgrade一下之后,系统变成了10.10了。。
> > >
> > > 2011/3/4 Earthson 
> > >
> > >> 机器上装的是Ubuntu 10.04 server。。
> > >> 因为要装squid3.1,图方便,我就把软件源改成了10.10的源。。
> > >> 目前还没有改回来,并且已经试图更新了。。貌似还没有出现问题。。
> > >> 不知道这样做会不会有问题,有没有人尝试过?
> > >>
> > >> --
> > >>
> > >> 这个世界不会因为没有你而失去什么
> > >> 但是,却有可能因为你的存在而发生一些改变。。
> > >>
> > >>
> > >
> > >
> >
> > --
> > ubuntu-zh mailing list
> > ubuntu-zh@lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> >
> -- 下一部分 --
> 一个HTML附件被移除...
> URL: <
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110304/69be10ea/attachment.html
> >
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 更改开机grub

2011-03-04 文章 Hex Lee
对,直接打开menu.lst,找到位置调换秩序就可以了

在 2011年3月4日 下午4:46,landsufo 写道:

> 8.04  /boot/gurb/menu.lst 里更改..
> 10.04  忘了..改名字了..貌似叫grub.conf
> 问google,呵呵
>
> 2011-03-04
>
>
>
> landsufo
>
>
>
> 发件人: 段会强
> 发送时间: 2011-02-27  13:09:37
> 收件人: ubuntu-zh
> 抄送:
> 主题: [Ubuntu-zh] 更改开机grub
>
>  你好,
> 我的电脑开机时grub有三个选项,现在默认第一个选项。我想让其默认第二个启动
> 项。请教详细设置方法,谢谢!
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> -- 下一部分 --
> 一个HTML附件被移除...
> URL: <
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110304/7c383c41/attachment.html
> >
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh