天天看點

Linux有問必答:如何修複Chrome的"Your profile could not be opened correctly"Linux有問必答:如何修複Chrome的"Your profile could not be opened correctly"

提問:當我在linux打開google chrome 浏覽器時,我已經幾次收到彈出視窗,提示我的配置檔案沒有被正确打開(your profile could not be opened correctly.)。每次我打開chrome都要彈出來,我應該如何修複這個問題?

當你在你的chrome上看見"your profile could not be opened correctly"錯誤資訊時,從某種程度上講,那是因為你的chrome配置檔案資料已經損壞。這個問題經常發生在手動更新google chrome的時候。

Linux有問必答:如何修複Chrome的"Your profile could not be opened correctly"Linux有問必答:如何修複Chrome的"Your profile could not be opened correctly"

修複取決于到底哪個檔案損壞,你可以試試下面的幾個方法。

<a target="_blank"></a>

關掉所有chrome視窗和标簽頁。

進入~/.config/google-chrome/default,移除或者重命名"web data"檔案。

$ cd ~/.config/google-chrome/default

$ rm "web data"

再次開打google chrome浏覽器。

進入~/.config/google-chrome/"profile 1",并重命名"history"檔案。

$ cd ~/.config/google-chrome/"profile 1"

$ mv history history.bak

如果依然沒有解決,你可以試試移除所有預設配置檔案夾(~/.config/google-chrome/default)。注意:如果這樣做,你将會遺失所有之前打開的google标簽、導入的書簽,浏覽記錄和登入資料等。

在移除之前,先關掉所有chrome視窗和标簽頁

$ rm -rf ~/.config/google-chrome/default

之後重新開機google chrome,檔案夾~/.config/google-chrome/default會自動生成。

----------------------------------------------------------------------------------------------------------------------------

原文釋出時間:2015-02-25

本文來自雲栖合作夥伴“linux中國”

繼續閱讀