Description:

A friendly (yet very simple-minded) Kodama wandering on your desktop
Last changelog:

6 years ago

Changes since 0.3
- Make it compile with older Qt version than 4.7 (thx davgarcia)

Changes since 0.2.1
- Fix Volumeslider not immediately enabled/disabled when SoundEnable
is checked or unchecked
- Fix Volumeslider not setting the correct volume
- Added Icon
- Save settings across reboots
- Make it possible to make the kodama twice as big
- Added special hourly event
NOTE: The chance that it will successfully happen is very low
and it might not happen every hour.
- Make time between appearance configurable
NOTE: It is still a random value, you can just raise the maximum.

Wizzkid

6 years ago

I like your plasmoid very much. But the kodama is some kind of caught in it's plasmoid frame. Have you thought about to implement it as a KWin effect so that the kodama could wander the whole desktop. Even in front of windows.
Maybe you like my idea.

Bye, Alexander

Report

C

ibuscher

6 years ago

hm.. but if the kodama would walk in front of the windows, woudln't it quickly become one of the most annoying apps?
I mean this would really disrupt your normal workflow, so I rather not let it walk in front of them, the disturbance on the plasma desktop is rather low (or at least I hope so)

Report

Wizzkid

6 years ago

I just meant as an option like the snowflake effect has it. So as default the kodama walks in front of all plasmoids but behind all windows. As an option the kodama can walk in front of the windows too. It's just a fun option.

Report

luciform

6 years ago

Got this error on compilation:

/home/luciform/DOWNLOADS/bkodama-0.3/src/bkodama.cpp: In member function ‘void bkodamaapplet::checkSpecialEventTime(int)’:
/home/luciform/DOWNLOADS/bkodama-0.3/src/bkodama.cpp:735: ошибка: ‘class QDateTime’ has no member named ‘msecsTo’

Is this a Qt issue?

Report

davgarcia

6 years ago

Hi,

First of all thanks very much for the update!

Unfortunately, I'm also getting the same error others have reported in Ubuntu Lucid:

/home/david/bkodama-0.3/src/bkodama.cpp: In member function ‘void bkodamaapplet::checkSpecialEventTime(int)’:
/home/david/bkodama-0.3/src/bkodama.cpp:735: error: ‘class QDateTime’ has no member named ‘msecsTo’

Any ideas on how to fix it?

Report

davgarcia

6 years ago

Hi,

I managed to compile it in Ubuntu Lucid (Qt-4.6) by replacing the call to QDateTime::msecsTo() with something a bit more complex, but it should work.
Maybe someone else can review the new code?

This is the unified diff between the two versions:

--- bkodama-0.3/src/bkodama.cpp 2010-11-13 23:04:54.000000000 +0100
+++ bkodama-0.3.1/src/bkodama.cpp 2010-11-18 09:13:43.882196957 +0100
@@ -732,7 +732,11 @@

if (time.time().hour() != timeTo.time().hour())
{
- qint64 msecsTo = time.msecsTo(QDateTime(timeTo.date(), QTime(timeTo.time().hour(), 0)));
+ qint64 msecsTo = time.time().msecsTo(QTime(timeTo.time().hour(), 0));
+ if (time.date().day() != timeTo.date().day()) {
+ msecsTo += 24 * 60 * 60 * 1000;
+ }
m_animation = SpecialFadeIn;
m_alphaModifier = (float)cTimerFast * 100.0f / (float)cFadeInTime;
m_alpha = 0;

The easiest way to apply the diff is to copy it to a file diff.patch and from the bkodama-0.3 directory run:
cat path-to-diff.patch | patch -p1 -u

Report

C

ibuscher

6 years ago

Uff thx for fixing it, I think I have to release bkodama-0.3.1 today with your fix :)

Report

flowabcd

6 years ago

I am using opensuse and i got a problem when compiling...

here it is:

...bkodama-0.3/src/bkodama.cpp:735:31: error: ‘class QDateTime’ has no member named ‘msecsTo’

I have essential Qt and kde headers installed.Is there something wrong with my installed dependency or is there something else needed?

Thanks very much.

Report

Montblanc

7 years ago

Before everything else, let me thank you for the sincere smile this nice plasmoid has put on my face! :)

I thought it would be great to set an interval of user inactivity before appearing (and wandering) on the desktop. This way it would act like a screensaver and really feel like a real kodama appearing! :D What do you think about it?

Report

jasonoliveira

8 years ago

this is an awesome plasma widget, but I've experienced a few issues.

1) sound volume doesn't work. this would be wonderful at a low volume that doesn't interrupt my normal tasks.

2) what's with the sound effect? at least on my computer, the "rattle" is preceded by a grinding sound, as if it's a machine starting up.

3) for this to be really effective, it needs to have a) a ton more animations, or b) a way to make the kodama appear much less frequently. seeing the same thing ever 30-45 seconds is way to repetitive.

this widget is close to having a permanent place on my desktop. thanks for the work you've put into it.

Report

lemmy04

7 years ago

@jasonoliveira:

i can confirm #1... to "get" why #2 and #3 are the way they are:
watch the anime mononoke hime (princess mononoke).

in short: a different sound and/or different "behaviour" and it simply wouldn't be a kodama anymore.

Report

jasonoliveira

7 years ago

regarding 2):
I just re-watched Mononoke Hime, and I never heard the whirring/grinding sound before the kodama's "clicking" noises. often, you would hear a ratcheting sound before the clicking, which is not reflected in this animation.

regarding 3):
Kodama had a _ton_ of frames of animation during this movie. riding other kodama on piggyback, walking, running, playing, even dying (as they fell to the ground near the end). adding these other animations would still keep the character intact.

Report

cimdrap

8 years ago

i have this:
-- The CXX compiler identification is unknown
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:84 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/cimdrap/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
CMakeLists.txt:6 (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.6)

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!

Report

C

ibuscher

8 years ago

under ubuntu you need to install "build-essential"

Report

Jordan420

8 years ago

excellent work buddy. i was wondering though.. yesterday i was watching it and it kind of sat on another plasmoid i had on the screen. i know this wasnt planned or anything but i think it would be kind of cool for it to sit on the frames of other plasmoids sometimes.

Report

lucia

8 years ago

I've just filled a KDE brainstorm with something like this in mind:
http://forum.kde.org/pet-creature-on-the-screen-t-61757.html

And now I see your work and it's great, specially the election of the animation from Princess Mononoke.

It would be great if it could have more anime characters downloadable from Get Hot New Stuff.

Keep on with this great work!!

Thank you.

Report

MaddogG

8 years ago

It forgets its size after a logout. Anyone else has this problem?

Report

veeall

8 years ago

I second that, pity. Hope to be fixed someday, such a nice subtle desktop creature.

Report

dglent

8 years ago

the new version :

http://www.mediafire.com/file/emdybdy2zet/plasma-applet-bkodama-0.2.1-1mdv2009.1.i586.rpm

Report

Ekardnam

8 years ago

It's a shame that Kodama can't move when the desktop is locked. Is there any way to bypass it? Bball was able to do it in the earlier KDE4 series, but it hasn't worked for me in a while.

Report

C

ibuscher

8 years ago

Thanks for the hint, for some reason I never tried to lock my desktop with my kodama on it.
Will release 0.2.1 in a few minutes/hours :)

Report

Ekardnam

8 years ago

Thank you very much. I always have my desktop locked, so this is much appreciated!

Another feature I would like to see is regarding the sound: now it plays it (if you've enabled sound) regardless if the activity is active or not. I would like bkodama to not play a sound if the activity where it belongs is inactive. However, I don't know if it's possible with Plasma.

Report

dglent

8 years ago

mandriva 2009.1 rpm

http://www.mediafire.com/file/3wdmnndt0j4/plasma-applet-bkodama-0.2-1mdv2009.1.i586.rpm

Report

mirzaD

8 years ago

just great, such a great character...

Report

bittajam

8 years ago

Thank you.
I don't really like these moving characters, but that one is just great.

It looks pefectly at my desktop :)

Report

6 years ago

Changes since 0.3
- Make it compile with older Qt version than 4.7 (thx davgarcia)

Changes since 0.2.1
- Fix Volumeslider not immediately enabled/disabled when SoundEnable
is checked or unchecked
- Fix Volumeslider not setting the correct volume
- Added Icon
- Save settings across reboots
- Make it possible to make the kodama twice as big
- Added special hourly event
NOTE: The chance that it will successfully happen is very low
and it might not happen every hour.
- Make time between appearance configurable
NOTE: It is still a random value, you can just raise the maximum.

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.3.1
updated Nov 18 2010
added Jun 08 2009
downloads today
0
page views today 1