chrome 崩溃 恢复
Adventurous computer users are probably using either the beta or dev channels of Google Chrome. When these unstable versions crash and your profile is corrupted, how can you recover it?
冒险的计算机用户可能正在使用Google Chrome的Beta或dev渠道。 当这些不稳定的版本崩溃并且您的配置文件损坏时,如何恢复它?
Note: of course, this technique won’t work for every scenario, but we’ve had to do this a few times this week and figured we’d share.
注意:当然,这项技术并非在每种情况下都适用,但是我们本周不得不这样做几次,因此我们想分享一下。
Recently, we’ve been having problems with the dev channel of Google Chrome locking up, especially when viewing PDFs with the built-in PDF viewer. When this happens and we force quit Chrome, we get two error messages when we start it up again, noting that “Your profile could not be opened correctly.”
最近,我们一直在锁定Google Chrome浏览器的开发渠道方面遇到问题,尤其是在使用内置PDF查看器查看PDF时。 发生这种情况并强制退出Chrome时,再次启动它会收到两条错误消息,并指出“您的个人资料无法正确打开。”
Fortunately, the thing that we care about most – the tabs we had open before Chrome crashed – are still there. Our search engine shortcuts and web history, however, are not. How do we get rid of these error messages and recover our search engines and history?
幸运的是,我们最关心的是-Chrome崩溃前我们打开的标签-仍然存在。 但是,我们的搜索引擎快捷方式和网络历史记录并非如此。 我们如何摆脱这些错误消息并恢复搜索引擎和历史记录?
Well, we’re not quite sure how to recover the search engines and history, but we can get rid of the error messages and return your profile to a stable state. You’ll have to remap the search engine shortcuts and rebuild your web history, but at least you get to keep all of your other settings, and most importantly, your open tabs!
好吧,我们不太确定如何恢复搜索引擎和历史记录,但是我们可以摆脱错误消息,并使您的个人资料恢复稳定状态。 您必须重新映射搜索引擎快捷方式并重建您的网络历史记录,但是至少您必须保留所有其他设置,最重要的是,要保留打开的标签!
恢复您的个人资料 (Recover Your Profile)
Open a terminal window (Applications > Accessories > Terminal or Ctrl+Alt+T in Ubuntu). Enter the following commands.
打开一个终端窗口(Ubuntu中的应用程序>附件>终端或Ctrl + Alt + T)。 输入以下命令。
Note: As mentioned above, doing these commands will wipe out your search engines and web history. They were kind of gone to begin with anyway.
注意:如上所述,执行这些命令将清除您的搜索引擎和网络历史记录。 无论如何,它们已经一去不复返了。
cd ~/.config/google-chrome/Default/
rm Web\ Data
rm History
cd ~/.config/google-chrome/Default/
rm Web\ Data
rm History
The next time you load up Google Chrome, you’ll find that those error messages are gone, and you can now remap your search engine shortcuts and build up your web history.
下次加载Google Chrome时,您会发现这些错误消息已经消失,现在可以重新映射搜索引擎快捷方式并建立网络历史记录。
禁用内置的PDF查看器 (Disable the Built-in PDF Viewer)
If it’s the built-in PDF viewer that’s causing the crashes, you can disable it through Chrome’s plug-in settings page.
如果是导致崩溃的内置PDF查看器,则可以通过Chrome的插件设置页面将其禁用。
Open up Chrome and enter
打开Chrome并输入
about:plugins
about:plugins
into the address bar.
进入地址栏。
Find the Chrome PDF Viewer entry and click the Disable link.
找到Chrome PDF Viewer条目,然后单击“禁用”链接。
From now on, PDFs you click on will be handled as usual, instead of with the built-in PDF viewer. No need to restart Chrome, and hopefully, less crashes in the future!
从现在开始,您单击的PDF将照常处理,而不是使用内置的PDF查看器处理。 无需重启Chrome,希望以后崩溃的次数减少!
chrome 崩溃 恢复