在Debian Testing + [本週桌面]中安裝和配置Plank

昨天我們看到了我那台裝有KDE 的PC 上的桌面,今天我們將看到我那台上網本上的桌面,如你所知,它是Xfce (我最喜歡的桌面,儘管有些人可能不這麼認為),我為它添加了一個我一直很喜歡的簡潔的 Dock:Plank。

對於那些不了解的人來說,Plank是Elementary專案中使用的 Dock ,該專案是用Vala編寫的,因此非常簡單,消耗的資源也很少(就我而言,大約 15MB)。

儘管Plank非常簡單,但它具備我所需的Dock的所有功能;也就是說,我可以輕鬆地添加和刪除項目,並且當有窗口覆蓋它時,它會自動隱藏,這樣我稍後只需將遊標懸停在屏幕底部邊緣即可訪問該應用程序。

可惜的是,Debian 系統中沒有Plank ,但我們可以使用Launchpad PPA中的軟體包進行安裝。總之,以下是我的安裝步驟:

1. 我在桌面上建立了一個名為「Down」的文字文件,並將以下內容放入其中:

http://ppa.launchpad.net/ricotz/docky/ubuntu/pool/main/p/plank/plank_0.2.0~bzr659+dnd357-0ubuntu1~11.04~ricotz1_i386.deb
http://ppa.launchpad.net/ricotz/docky/ubuntu/pool/main/p/plank/libplank0_0.2.0~bzr659+dnd357-0ubuntu1~11.04~ricotz1_i386.deb
http://ppa.launchpad.net/ricotz/docky/ubuntu/pool/main/p/plank/libplank-common_0.2.0~bzr659+dnd357-0ubuntu1~11.04~ricotz1_all.deb
http://ppa.launchpad.net/ricotz/docky/ubuntu/pool/main/b/bamf/libbamf3-0_0.2.106-0ubuntu1~natty3_i386.deb
http://ppa.launchpad.net/ricotz/docky/ubuntu/pool/main/b/bamf/libbamf0_0.2.106-0ubuntu1~natty3_i386.deb
http://ppa.launchpad.net/ricotz/docky/ubuntu/pool/main/b/bamf/libbamf-dev_0.2.106-0ubuntu1~natty3_i386.deb
http://ppa.launchpad.net/ricotz/docky/ubuntu/pool/main/b/bamf/bamfdaemon_0.2.106-0ubuntu1~natty3_i386.deb
http://ppa.launchpad.net/ricotz/docky/ubuntu/pool/main/libw/libwnck3/gir1.2-wnck-3.0_3.4.0-0ubuntu1~natty1_i386.deb
http://ppa.launchpad.net/ricotz/docky/ubuntu/pool/main/libw/libwnck3/libwnck-3-0_3.4.0-0ubuntu1~natty1_i386.deb
http://ppa.launchpad.net/ricotz/docky/ubuntu/pool/main/libw/libwnck3/libwnck-3-common_3.4.0-0ubuntu1~natty1_all.deb

2.-我在桌面上打開了一個終端,然後輸入:

$ wget -c -i Down

3.-下載完所有我在終端中寫的軟件包後:

$ sudo dpkg -i *.deb

4.-它可能會給我們帶來依賴錯誤,因此我們必須執行:

$ sudo apt-get -f install

5. 我們安裝/更新必要的軟體包,如果Plank仍然沒有安裝,我們將再次執行步驟 3。

設置木板

然而,預設情況下, Plank圖示的大小為 48 像素,這對於上網本畫面來說太大了。由於沒有設定工具,我們必須手動編輯一個檔案:

$ nano ~/.config/plank/dock1/settings

從該文件中,我們感興趣的參數是:

IconSize=48

在這裡我們可以將值48更改為32、24 ...等。 裡面的文件夾 ~/.config/plank/ 我們可以找到其他配置文件,除其他事項外,我們可以在其中更改底座主題的樣式。

要新增項目,只需將條目從選單拖曳到Plank,然後排列它們以放置在您想要的任何位置。


在 Google 中將其新增為首選來源