從 Dash 搜尋中刪除 Google Chrome 圖示

從 Dash 搜尋中刪除 Google Chrome 圖示

我今天剛安裝了 Chromium,並透過以下方式刪除了 Google Chrome:sudo apt-get purge Google-Chrome-stable

該應用程式消失了,但我的選單中的快捷方式仍然存在。有人對如何刪除它有任何想法嗎?

這是我輸入「Chr(om)」時看到的螢幕截圖,這就是我通常搜尋 Chromium 的方式。

答案1

讓我們檢查剩餘的啟動器:

ls /usr/share/applications/google-chrome.desktop

如果存在,請將其刪除

sudo rm /usr/share/applications/google-chrome.desktop

您可能還需要檢查應用使用者主目錄中的資料夾:~/.local/share/applications/並刪除google-chrome.desktop. (感謝查爾瓦克)

相關內容