
bkodama
Source (link to git-repo or to original if based on someone elses unmodified work):
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.
Ratings & Comments
25 Comments
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
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)
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.
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?
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?
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
Uff thx for fixing it, I think I have to release bkodama-0.3.1 today with your fix :)
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.
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?
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.
@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.
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.
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!
under ubuntu you need to install "build-essential"
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.
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.
It forgets its size after a logout. Anyone else has this problem?
I second that, pity. Hope to be fixed someday, such a nice subtle desktop creature.
the new version : http://www.mediafire.com/file/emdybdy2zet/plasma-applet-bkodama-0.2.1-1mdv2009.1.i586.rpm
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.
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 :)
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.
mandriva 2009.1 rpm http://www.mediafire.com/file/3wdmnndt0j4/plasma-applet-bkodama-0.2-1mdv2009.1.i586.rpm
just great, such a great character...
Thank you. I don't really like these moving characters, but that one is just great. It looks pefectly at my desktop :)