$ uname -a
Linux nw8440 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 02:39:34 UTC 2010 x86_64 GNU/Linux
$ date
Mon Mar 1 18:43:41 CST 2010
如何安装
推荐先安装如下软件包,
$ sudo apt-get install wv catdoc # 用于对 Windows Office 的文件,如 Word, Powerpoint,Excel 等文件进行索引
$ sudo apt-get install
然后到这个页面 http://desktop.google.com/zh/linux/download.html 下载对应的 Google Desktop 并安装
如何卸载
$ sudo dpkg -r google-desktop-linux
注意
如果是覆盖安装,不会删除已经存在的索引文件;
如果是卸载安装,则会删除已经存在的索引文件。
快捷方式
默认是快速敲击 Ctrl 键两次出现 Google Desktop 输入框。这个是可以修改的。
如何备份索引文件
备份如下两个文件
~/.google # 这是个文件
/var/cache/google/desktop # 这是个目录
如何恢复索引文件
先停止 Google Desktop,然后覆盖上面备份的两个文件或目录。
如何停止和开启 Google Desktop
1. 右键点击运行在任务栏的 Google Desktop 图标;
2. 选择 Exit,出现”Are you sure you want to quit Google Desktop?”的提示;
3. 选择 Yes 退出。
可以在开始菜单中选择 “Google Desktop” > “Google Desktop.” 开启。
注意,在安装 Google Desktop 之后,用户每次登录 GUI 界面都是都是自动启动 Google Desktop 的。
关于索引的更新频率
Google Desktop 的索引在系统处于闲置状态时自动在后台运行,一般初次索引完毕需要数个小时,最好在初次索引的时候在完成之前不要关机。
一旦初次索引完成之后,会自动根据计算机的数据变化自动更新。注意:Only kernel versions 2.6.13 and up support immediate real-time indexing. For Kernels lower than 2.6.13, Google Desktop will refresh the index periodically to keep you up to date。
关于 Google Desktop 软件本身的自动升级
Linux 平台的 Google Desktop 软件本身会自动升级,无需用户干预。具体看:http://desktop.google.com/support/linux/bin/answer.py?answer=62874&cbid=eohtea7rchsb&src=cb&lev=answer
关于搜索的技巧
Google Web Search 中适用的高级搜索技巧对于 Google Desktop 同样适用,如:
filetype:pdf # 只搜索 pdf 后缀的文件
dogs -cats # 搜索包含 dogs 同时不包含 cats 的结果
“like this” # 使用引号搜索包含空格等特殊符号的内容
支持索引的文件类型
支持如下类型的文件
* PDF and PostScript
* Text files (including source code)
* HTML
* OpenOffice.org Writer, Calc, and Impress files
* Microsoft .doc (Word), .xls (Excel), and .ppt (Powerpoint) files
* Media files and metadata (such as artist and album information)
* File names for most other files on your internal hard drives
Linux 版本的 Google Desktop 不支持如下文件
1. Filenames starting with a dot (“.”) which are hidden files.
2. Filenames ending with a tilde (“~”), which are usually backup files generated by text editors like VIM.
不搜索如下目录的文件
* /boot
* /dev/
* /lib
* /proc
* /tmp
参考:
http://desktop.google.com/en/linux/gettingstarted.html
http://desktop.google.com/support/linux/?hl=en