个人工具

Plasma how to remove the cashew

来自Ubuntu中文

Qiii2006讨论 | 贡献2009年7月31日 (五) 13:14的版本 桌面腰果

跳转至: 导航, 搜索
Plasma – 如何删除腰果


对Plasma有一个抱怨就是你无法删除烦人的“腰果”图标。下面,我讨论Plasma臭名昭著的"腰果"图标Plasmasmall.png

之前

Removeyaoguo.png

这是份简单的移除腰果的向导. 你可能需要KDE4.1或更新和了解一些终端的使用.

面板腰果

移除面板上的Plasmasmall.png,可以选择“锁定部件”,这个选项可以在很多地方找到,比如右键桌面,或者右上角的“腰果”Plasmasmall.png菜单

Plasmamenu1.png

一旦你锁定了部件,你就无法再移动/伸缩/移除他们. 添加部件的选项同样会消失。如果你想操作部件,简单的解锁部件就可以了。

桌面腰果

这个比较麻烦,你注意到锁定部件并不会移除桌面上的腰果,这很烦,有人就决定做些什么,于是" I HATE the Cashew"这个桌面部件就诞生了.

  • 1. 下载这个部件,保存到用户主目录.
  • 2. 终端下面解压文件.
 tar -xjvf filename
     where filename is the name of the downloaded file, for example 91009-iHateTheCashew.tbz.

Reyaoguoextract.png

  • 3. 运行命令
cd iHateTheCashew
mkdir build
cd build
  • 4. 编译这个部件
 cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
make

如果出错,很可能是依赖问题,检查是否安装了所有必需的软件包.

  • 5. 通常情况,需要root权限来安装部件
sudo make install

输入密码,按回车,安装这个部件

     If the sudo command isn’t available, you can use the regular su command:
         su
         <type root password>
         make install
     Sometimes your user has write access to the directory where KDE4 is installed, for example if you have a KDE development environment set up according to this Techbase Tutorial. In that case, you can run make install without using sudo or su.
     If you use the .bashrc in the link above, you can compile and install the plasmoid with a single command:
         cmakekde ..
  6. You should find your new plasmoid in the Add Widgets dialog. Add I HATE the cashew to your desktop (remember that you have to unlock the widgets first).

And we’re done! Lock your widgets again and all cashews should have disappeared.

After

If you want back on your desktop, simply remove the I HATE the cashew plasmoid by clicking on in the Add Widgets dialog. Nice, isn’t it?