Plasma – How to remove the cashew

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

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.

Panel Cashew

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.

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.

Desktop Cashew

Edit 16 October, 2012: If you use a relatively new version of KDE Plasma Workspace, which you really should do, the instructions below probably won’t work. Instead I recommend that you install Stealth Cashew:

  1. Right click on your desktop -> Add widgets… -> Get new widgets -> Download New Plasma Widgets.
  2. Search for “Stealth Cashew” and then click on “Install” next to it.
  3. Also make sure that plasma-scriptengine-ruby (or equivalent) is installed; you usually install it using your distribution’s package manager.
  4. Now you can add the widget to your desktop, adjust the transparency levels, and suddenly you have invisible cashews! (May require that you log out and log in again.)

Original: 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.

Note: The preferable way to install this widget is through your package manager if it’s in the repositories. The steps below describe how to compile it from source.

  1. Download the plasmoid here and save it somewhere in your home directory.
  2. Extract the tbz file with the following command:
  3. tar -xjvf filename

    where filename is the name of the downloaded file, for example 91009-iHateTheCashew.tbz.

  4. Run the following commands:
  5. cd iHateTheCashew

    mkdir build

    cd build

  6. Now we’re ready to compile the plasmoid:
  7. cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..

    make

    If you run into errors in this step, it’s most likely a dependency problem. Check that you have all necessary packages installed.

  8. In most cases, you need root access to install the widget:
  9. 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 ..

  10. 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?

About these ads

13 Responses to “Plasma – How to remove the cashew”

  1. david Says:

    There is also a desktop containment withouth the cashew at KDE svn in playground/base/plasma/containments/cluttereddesktop/

  2. Hans Says:

    Yeah, the more “clean” way to get a desktop without the cashew is to use a containment which has disabled the toolbox.

    It seems that the default desktop activity in openSUSE 11.1 doesn’t have the desktop cashew.

  3. Tip: Eliminar el icono de Plasma en el escritorio de KDE « Ubuntu Life Says:

    [...] | Como eliminar el icono de Plasma | Errores al compilar con [...]

  4. Marjolein Katsma (marjoleink) 's status on Friday, 14-Aug-09 15:44:22 UTC - Identi.ca Says:

    [...] Plasma – How to remove the cashew « Who Says Penguins Can’t Fly? [...]

  5. John Rockefeller Says:

    Am I the only one in the world that really likes the cashew? It’s neat :D

  6. Hans Says:

    I don’t hate it, but I appreciate that you can remove the cashew. =)

  7. Newar Says:

    I tried to follow the instruction above but didn’t work. Then I discovered a tricky way to, not remove, but hide the cashew nut in the jar. That jar is your panel. Just move your main panel to one edge of the screen (probably left) and then drag the cashew right to the bottom of the screen (of course widgets must be in “unlock” mode). Now bring back the panel to its original position (bottom of the screen). The cashew is covered by the panel now. Might sound funny but at least its out of your sight. Ha ha…

  8. Hans Says:

    What exactly didn’t work Newar? Do you use KDE SC 4.4 RC or Beta? I haven’t tried yet, but I don’t think this plasmoid works well in 4.4. And even if it did, it’s not as easy to remove using the new widget explorer.

    If I remember correctly, it wasn’t possible to move the cashew when I published this post. But yeah, now your method works as well. :) There’s also another widget called Stealth Cashew to deal with that yellow thingy.

  9. Mi Escritorio [20] « cyb3rpunk Says:

    [...] Tma Glassfield + íconos Bespin-black – Cashew. [...]

  10. Dale Says:

    Just passing on that “I hate the cashew” plasmoid doesn’t work with KDE 4.6.2. Neither does the Stealth Cashew mentioned in one of the comments. The hiding behind a panel trick works fine. With at least KDE 4.6.2, the cashew is also part of the panel, beats me why. So I had two cashews, or 4 if I am using dual monitors. I really can’t find a use for even one. I’m looking for a way to remove them from the panels now.

  11. Hans Says:

    There’s a patch for iHateTheCashew that make it work with 4.6 (see comments on KDE-look for more details).

    The panel cashew has pretty much always been there, it disappears when you lock your widgets.

  12. Alex Says:

    Can’t make. Can anybody make a working edition for current KDE with cmake 2.8.x?
    I get a error message with „cmake -DCMAKE_INSTALL_PREFIX=`kde4-config –prefix` ..
    “. File was patched before run cmake.

    CMake Error at /usr/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE):
    ERROR: cmake/modules/FindKDE4Internal.cmake not found in
    /home/user1/.kde/share/apps;/usr/share/kde4/apps
    Call Stack (most recent call first):
    CMakeLists.txt:3 (find_package)

    CMake Warning (dev) in CMakeLists.txt:
    No cmake_minimum_required command is present. A line of code such as

    cmake_minimum_required(VERSION 2.8)

    should be added at the top of the file. The version specified may be lower
    if you wish to support older CMake versions for this project. For more
    information run “cmake –help-policy CMP0000″.
    This warning is for project developers. Use -Wno-dev to suppress it.

    — Configuring incomplete, errors occurred!

  13. Hans Says:

    @Alex:

    iHateTheCashew hasn’t been updated in a long time and probably won’t work even if you manage to compile it. Instead I recommend that you try the Stealth Plasmoid plasmoid, which I write about in the updated text.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 32 other followers

%d bloggers like this: