Ubuntu 部署 Chrome

1 Install Chrome

基於 Google Chrome 79.0.3945.88 版本

$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
$ sudo dpkg -i google-chrome-stable_current_amd64.deb

2 Run Chrome when system startup

Go to the "Dash", and open "Startup Application Preferences".
Press the "Add" button.
Open "Startup and custom command", enter: google-chrome --kiosk --noerrdialogs --app=http://www.baidu.com


3 解決 Ubuntu 下打開 Chrome 出現“輸入密碼以解鎖您的登錄密鑰環”的問題

刪除現在密鑰環:在終端輸入 seahorse 打開管理密鑰環的軟件,視圖 -> 根據密碼環,在密碼區會有一個“登錄”爲名字的密鑰環,右擊將其刪除。
添加新的密鑰環:在終端輸入 seahorse 打開管理密鑰環的軟件,文件 -> 新建 -> 密碼和密鑰 -> 輸入名字(這裏是以“chrome”爲例),密碼設置爲空,重啓後問題得以解決。
開機直接點擊繼續。

4 Enable auto save password
Go to Settings Search
for 'password' in the search box Uncheck 'Offer to save your web password' this option to never save passwords Click 'Manage passwords' button to delete existing saved passwords

5 System Program Problem detected
網上很多教程不加任何解釋,就是關閉這個report功能。作爲強迫症的我,是不願意不明不白的這樣做的。看過上述的解釋,有兩種解決辦法:

  5.1刪除crash文件

  crash報告存儲在/var/crash路徑下,執行以下命令即可:

  sudo rm /var/crash/*

  5.2關閉pop up功能

sudo gedit /etc/default/apport 將其中的enable=1改爲enable=0即可

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章