移除 Ubuntu 登入畫面的 Landscape 廣告

從 Ubuntu 9.04 開始,登入畫面會顯示一些有用的系統狀態資訊。如果你覺得 Graph this data and manage this system at https://landscape.canonical.com/ 這行字很礙眼的話,可修改 /etc/update-motd.d/50-landscape-sysinfo 這個檔案來讓它消失。

用你喜歡的文字編輯器打開 /etc/update-motd.d/50-landscape-sysinfo 檔案後,找到這行字:

/usr/bin/landscape-sysinfo

把那行字改成:

/usr/bin/landscape-sysinfo --exclude-sysinfo-plugins=LandscapeLink

記得存檔。改完以後可用以下指令測試看看:

/etc/update-motd.d/50-landscape-sysinfo

參考資料:Removing Landscape advert from Ubuntu login | Andrew Kember’s Blog

發表迴響

您的電子郵件位址並不會被公開。 必要欄位標記為 *

*

您可以使用這些 HTML 標籤與屬性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>