官方 Google gears 0.5.29.0 for Firefox3.5 (32位)+自编译64位
前2天写了 非官方版Google gears for Firefox3.5 (32位,64位) 没想到才隔2天,官方已发布正式版的Google gears
http://gears.google.com/
由自编经验Google Gears For Ubuntu 9.04 amd64 Firefox 1.5-3.0.*这次很快出了最新的 0.5.29.0 linux amd64 版
下载gears-linux-x86_64-opt-0.5.29.0 (3M)
原文:http://www.jiangmiao.org/blog/450.html
有问题请留言 希望大家支持
编了个最新Google gears 0.5.29.0 for Firefox3.5 64位
-
- 帖子: 30
- 注册时间: 2009-07-15 13:03
编了个最新Google gears 0.5.29.0 for Firefox3.5 64位
Ubuntu 9.04 中, 我的BLOG
-
- 帖子: 76
- 注册时间: 2009-05-03 16:54
Re: 编了个最新Google gears 0.5.29.0 for Firefox3.5 64位
请问linux 的GERS怎么创建快捷方式?我在GMAIL里启用离线访问点创建快捷方式桌面上没有!
-
- 帖子: 30
- 注册时间: 2009-07-15 13:03
Re: 编了个最新Google gears 0.5.29.0 for Firefox3.5 64位
分析:
这个是Gears的bug
根据Gears源文件gears/desktop/desktop_linux.cc 99行描述
static bool CanWriteShortcut(const Desktop::ShortcutInfo &shortcut) {
std::string home_path = getenv("HOME");
std::string16 shortcut_path;
if (!UTF8ToString16(home_path.c_str(), home_path.length(), &shortcut_path)) {
return false;
}
shortcut_path += STRING16(L"/Desktop/");
shortcut_path += shortcut.app_name;
shortcut_path += STRING16(L".desktop");
return !File::Exists(shortcut_path.c_str()) &&
!File::DirectoryExists(shortcut_path.c_str());
}
原因:
Gears认为的桌面就是$HOME/Desktop
而中文版的Ubutnu桌面是$HOME/桌面
所以Gears创建桌面快捷方式失败。
解决方法:
mkdir $HOME/Desktop
#Gears创建快捷方式
mv $HOME/Desktop/*.desktop $HOME/桌面
#即可在桌面看到Gmail.desktop
其它:
快捷方式调用的是/usr/bin/firefox 所以在ubuntu里会起动firefox-3.0需要改成/usr/bin/firefox-3.5或其它自已喜欢的浏览器。
这个是Gears的bug
根据Gears源文件gears/desktop/desktop_linux.cc 99行描述
static bool CanWriteShortcut(const Desktop::ShortcutInfo &shortcut) {
std::string home_path = getenv("HOME");
std::string16 shortcut_path;
if (!UTF8ToString16(home_path.c_str(), home_path.length(), &shortcut_path)) {
return false;
}
shortcut_path += STRING16(L"/Desktop/");
shortcut_path += shortcut.app_name;
shortcut_path += STRING16(L".desktop");
return !File::Exists(shortcut_path.c_str()) &&
!File::DirectoryExists(shortcut_path.c_str());
}
原因:
Gears认为的桌面就是$HOME/Desktop
而中文版的Ubutnu桌面是$HOME/桌面
所以Gears创建桌面快捷方式失败。
解决方法:
mkdir $HOME/Desktop
#Gears创建快捷方式
mv $HOME/Desktop/*.desktop $HOME/桌面
#即可在桌面看到Gmail.desktop
其它:
快捷方式调用的是/usr/bin/firefox 所以在ubuntu里会起动firefox-3.0需要改成/usr/bin/firefox-3.5或其它自已喜欢的浏览器。
Ubuntu 9.04 中, 我的BLOG
- U半兔
- 帖子: 82
- 注册时间: 2009-06-08 19:02
Re: 编了个最新Google gears 0.5.29.0 for Firefox3.5 64位
这个东西是干什么的 ??
everyday everynight everything it's you!
-
- 帖子: 30
- 注册时间: 2009-07-15 13:03
Re: 编了个最新Google gears 0.5.29.0 for Firefox3.5 64位
Google Gears 允许网站在本地保存数据。加快速度。甚至可以让网站支持离线版。
Ubuntu 9.04 中, 我的BLOG