Ubuntu 16.04 解決釘釘、微信等打開chrome時無法打開鏈接,只能停留在主頁的問題

其實這個問題網上有很多童鞋都已經進行了踩坑填坑的實踐了,但是具體到我自己這邊就還是跳坑填坑了一遍,主要是來自大神的解答中間一個符號的問題,我沒有能夠完全理解。特此記錄:

解決方案來自這位大神:膜拜一下
一篇來自AskUbuntu某大神的解答

The issue is with google-chrome.desktop, and it is missing the %U argument .
Open file: $HOME/.local/share/applications/google-chrome.desktop
Find the line:
Exec=/opt/google/chrome/chrome
Add a space and %U:
Exec=/opt/google/chrome/chrome %U
Then save the file.

跟這篇帖子裏不同的是,把下面的這條命令

$HOME/.local/share/applications/google-chrome.desktop

改成

gedit ~/.local/share/applications/google-chrome.desktop

再把

Exec=/opt/google/chrome/chrome

改成

Exec=/opt/google/chrome/chrome %u

就OK了

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