介紹兩個Ubuntu上的案頭小工具,ubuntu案頭
經常使用Windows10,Sticky Notes和壁紙自動切換功能挺好用的。我經常會使用Sticky Notes來記錄一些資訊,內容是即時儲存的,而且啟動的時候會自動顯示在案頭上。其實Ubuntu上也有類似的一些小工具。
1. Variety
Variety可以在Ubuntu上實現案頭壁紙的自動輪播,壁紙定期更換,以及一些特效等。官方網站:http://peterlevi.com/variety/。通過以下命令進行安裝:
sudo add-apt-repository ppa:peterlevi/ppasudo apt-get updatesudo apt-get install variety
sudo add-apt-repository ppa:umang/indicator-stickynotessudo apt-get updatesudo apt-get install indicator-stickynotes
或者直接下載.deb進行安裝http://ppa.launchpad.net/umang/indicator-stickynotes/ubuntu/pool/main/i/indicator-stickynotes/
$ sudo apt-get update$ sudo apt-get dist-upgrade$ sudo dpkg -i youdao-dict_1.1.0-0-ubuntu_amd64.deb
安裝過程中如果出現錯誤,嘗試通過sudo apt-get -f install以及sudo apt-get dist-upgrade和sudo apt-get update來更新依賴包。
sudo add-apt-repository ppa:user/ppa-name
由於時間的積累,我們可能在系統中添加了許多不同的PPA源,有的PPA源可能無法使用從而導致sudo apt-get update命令在執行的時候報錯。如何刪除無效的PPA源呢?PPA源一般儲存在/etc/apt/sources.list.d/目錄下,切換到該目錄然後找到對應的源刪除即可。