
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
A friendly (yet very simple-minded) Kodama wandering on your desktop
10 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.
10 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
10 years ago
Maybe you like my idea.
Bye, Alexander
Report
ibuscher
10 years ago
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
10 years ago
Report
luciform
10 years ago
/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
10 years ago
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
10 years ago
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
ibuscher
10 years ago
Report
flowabcd
10 years ago
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
10 years ago
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
11 years ago
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
10 years ago
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
10 years ago
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
11 years ago
-- 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
ibuscher
11 years ago
Report
Jordan420
11 years ago
Report
lucia
11 years ago
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
11 years ago
Report
veeall
11 years ago
Report
dglent
11 years ago
http://www.mediafire.com/file/emdybdy2zet/plasma-applet-bkodama-0.2.1-1mdv2009.1.i586.rpm
Report
Ekardnam
11 years ago
Report
ibuscher
11 years ago
Will release 0.2.1 in a few minutes/hours :)
Report
Ekardnam
11 years ago
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
11 years ago
http://www.mediafire.com/file/3wdmnndt0j4/plasma-applet-bkodama-0.2-1mdv2009.1.i586.rpm
Report
mirzaD
11 years ago
Report
bittajam
11 years ago
I don't really like these moving characters, but that one is just great.
It looks pefectly at my desktop :)
Report