CeBIT汉诺威消费电子展

March 6, 2009 · Posted in digital life, electron · 7 Comments 

今天和房东两人开车去汉诺威看CeBIT。网上的价格说学生与退休人士17欧元的入场费,我和房东商量了一下,觉得还能接受,专门找了星期四人少的时候去,还专门和老板请了假。今天早晨到了汉诺威,收银处的小姐姐说要38欧元一个人。学生票只有星期六星期天才能买,我一下子就了,开车的钱停车的钱中饭估计也要花钱,这突然涨价也太不讲道理了。于是发挥男性魅力开始勾引小姐姐,小姐姐说你们去旁边找Supervisor说说,说不定可以便宜。于是我们去找了Supervisor,结果是,这位哥哥给了我们两张专业人员票,免费进去了…

Read more

Linux下的电子辞典-stardict

February 21, 2008 · Posted in electron, linux · Comment 

stardict.pngwindows下人人都知道金山词霸,Linux下的星际译王(Stardict)估计就没几个人听过了。

Stardict和金山词霸比较起来最大的有点在于辞典比较多,可以自己加入,这一点上来说,和Windows里的灵格斯差不多,但是字典的选择又比灵格斯要多得多。具体可以点这里查看。

安装方法:
1. 主程序安装很简单
sudo apt-get install stardict
这样安装的是Stardict的主程序,具体的字典需要自己添加(没人知道用户需要什么样的字典)

2. 安装字典
从官方网站下载字典的压缩包。和中文相关的字典看这里
http://stardict.sourceforge.net/Dictionaries_zh_CN.php
将下载的tar压缩包解压缩后移动到 /usr/share/stardict/dic

stardict.png

ubuntu 中的滚轮设置

February 18, 2008 · Posted in electron, linux · Comment 

有些时候默认的设置是:按住滚轮往左是后退;按住滚轮往右是前进。

修改方法:

打开 Firefox,地址栏输入 about:config,更改下列选项

mousewheel.horizscroll.withcontrolkey.action = 3;
mousewheel.horizscroll.withcontrolkey.numlines = 1;
mousewheel.horizscroll.withcontrolkey.sysnumlines = true;

mousewheel.horizscroll.withnokey.action = 0;
mousewheel.horizscroll.withnokey.numlines = 1;
mousewheel.horizscroll.withnokey.sysnumlines = true;

mousewheel.horizscroll.withshiftkey.action = 1;
mousewheel.horizscroll.withshiftkey.numlines = 1;
mousewheel.horizscroll.withshiftkey.sysnumlines = true;

附:通用滚轮设置
sudo gedit /etc/X11/xorg.conf
sudo kate /etc/X11/xorg.conf
或 sudo mousepad /etc/X11/xorg.conf
(看你具体什么系统了)

在 InputDevice 中找到的 Configured Mouse,然后在 EndScetion 前添加:
Option “EmulateWheel” “true”
Option “EmulateWheelButton” “2″
Option “XAxisMapping” “6 7″
Option “YAxisMapping” “4 5″
(后面两个是水平方向滚轮)

使用pidgin登录gtalk

January 26, 2008 · Posted in electron, linux, network · Comment 

1. 添加帐号 Accounts=>Add/Edit

2. 按照图片内的方式填写协议。
gtalk1.png
2.1 Gtalk需要填写XMPP为通讯协议。
2.2 Screen name 名称写 gmail 帐号@之前的部分
2.3 Domain 填写 gmail.com
2.4 Resource随便写,默认Home
2.5 密码不多说

3. 更改Advanced的内容
gtalk2.png
3.1 选择Force old (port 5223) SSL
3.2 连接端口 Connect port 填 443
3.3 连接服务器 Connect server 填写 talk.google.com
3.4 根据网络情况写 Proxy type,一般是 Use Global Proxy Settings

行了,完工

xubuntu下切换键盘布局

January 20, 2008 · Posted in electron, linux · Comment 

xubuntu下面什么都得自己弄

1. 新建一个更换键盘布局的脚本
$sudo mousepad /usr/bin/fixkeyboard
我要更换英语键盘(us)和德语键盘(de),所以脚本改成下面的:
#!/bin/bash
setxkbmap -option grp:switch,grp:alt_shift_toggle us,de

2. 把这个脚本设置为开机自动运行
Applications > Settings > Autostarted
名字和描述那里随便填,
命令那行写:/usr/bin/fixkeyboard

3. 重启…

注:第一步里面alt_shift_toggle可以换成其他的。
alts_toggle
ctrl_shift_toggle
ctrls_toggle

Next Page »