Plasma how to remove the cashew:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Qiii2006留言 | 贡献
无编辑摘要
Qiii2006留言 | 贡献
无编辑摘要
 
(未显示同一用户的12个中间版本)
第1行: 第1行:
'''Plasma – 如何删除腰果'''
'''Plasma – 如何删除腰果''' {{From|http://hanswchen.wordpress.com/2008/10/23/plasma-how-to-remove-the-cashew/}}  
{{From|http://hanswchen.wordpress.com/2008/10/23/plasma-how-to-remove-the-cashew/}}


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


One of the major complaints of Plasma is that you can’t remove the annoying icon from your panels or desktop. Oh yes, I’m talking about the infamous Cashew of Plasma.
之前


Before
[[Image:Removeyaoguo.png|400px]]


This is a small guide on how to get rid of the cashews. You probably need version 4.1 of KDE or higher and know a little bit about how to use the terminal.
这是份简单的移除腰果的向导. 你可能需要KDE4.1或更新和了解一些终端的使用.  


==面板腰果==
== 面板腰果 ==


The cashew here let’s you configure the panel by clicking on. If you feel that you’re satisfied with your setup and don’t need the cashew anymore, you can hide it be choosing “Lock Widgets”. This option can be found in many places, such as the right click menu, when you configure the panel or by clicking on the cashew in the upper right corner.
移除面板上的[[Image:Plasmasmall.png]],可以选择“锁定部件”,这个选项可以在很多地方找到,比如右键桌面,或者右上角的“腰果”[[Image:Plasmasmall.png]]菜单 <br> [[Image:Plasmamenu1.png|center]]


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


Once you’ve locked your widgets, they can’t be moved, resized/rotated or removed anymore. The option to add new widgets will also be gone. If you want to change anything, simply unlock the widgets in the same way as you locked them.
== 桌面腰果  ==


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


This one is a little bit tougher. You’ll notice that it won’t go away when you lock the widgets, which has caused frustration among many KDE4 users. One particular person decided to do something about it, and thus the I HATE the Cashew plasmoid was born.
*1. 下载这个[http://www.kde-look.org/content/show.php/I+HATE+the+Cashew?content=91009 部件],保存到用户主目录.
*2. 终端下面解压文件.
<pre> tar -xjvf 文件名</pre>
这里的文件名是91009-iHateTheCashew.tbz.  


  1. Download the plasmoid here and save it somewhere in your home directory.
[[Image:Reyaoguoextract.png]]
  2. Extract the tbz file with the following command:


          tar -xjvf filename
*3. 运行命令
<pre>cd iHateTheCashew</pre> <pre>mkdir build</pre> <pre>cd build</pre>
*4. 编译这个部件
<pre> cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..</pre> <pre>make</pre>
如果出错,很可能是依赖问题,检查是否安装了所有必需的软件包.


      where filename is the name of the downloaded file, for example 91009-iHateTheCashew.tbz.
*5. 通常情况,需要root权限来安装部件
<pre>sudo make install</pre>
输入密码,按回车,安装这个部件 如果没有sudo命令,输入
<pre>su</pre> <pre> &lt;输入root密码&gt;</pre> <pre>make install
</pre>
*6. 你应该能在"添加部件"对话框里找到他,添加"I HATE the cashhew"到桌面.


  3. Run the following commands:
[[Image:Rewidget.png|300px|cneter]]


          cd iHateTheCashew
然后再锁定部件,这样所有的腰果都没了


          mkdir build
之后


          cd build
[[Image:Renocashew.png|400px]]


  4. Now we’re ready to compile the plasmoid:
如果你想要[[Image:Plasmasmall.png]]回到桌面,简单的在"添加部件"里移除[[Image:List-remove.png]]"I HATE the cashew" 部件就行了.


          cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
[[Category:KDE]]
 
          make
 
      If you run into errors in this step, it’s most likely a dependency problem. Check that you have all necessary packages installed.
  5. In most cases, you need root access to install the widget:
 
          sudo make install
 
      When you’ve typed your password and hit Enter, the plasmoid will be installed – you should now be ready for step 6. Below are some corner cases.
 
      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?

2010年4月6日 (二) 14:49的最新版本

Plasma – 如何删除腰果


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

之前

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

面板腰果

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

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

桌面腰果

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

  • 1. 下载这个部件,保存到用户主目录.
  • 2. 终端下面解压文件.
 tar -xjvf 文件名

这里的文件名是91009-iHateTheCashew.tbz.

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

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

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

输入密码,按回车,安装这个部件 如果没有sudo命令,输入

su
 <输入root密码>
make install
  • 6. 你应该能在"添加部件"对话框里找到他,添加"I HATE the cashhew"到桌面.

cneter

然后再锁定部件,这样所有的腰果都没了

之后

如果你想要回到桌面,简单的在"添加部件"里移除"I HATE the cashew" 部件就行了.