Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.7

Description:
A little distraction for plasma. Throw the ball around the screen to relieve stress. Email me with suggestions!
Last changelog:

Version 0.5: Very big update! Added lots of configuration options, including modifiable image and colour, physics settings, sound and an auto bounce feature. Please note that the sound is *strictly experimental* as in, it should work, but as my phonon is broken, I've never actually heard it work . Thanks to MJD for the initial config patch, and a HUGE thanks to Christoph Burger-Scheidlin for all his help, bugfixes and patches. Enjoy.

Version 0.3:
This has the david roberts patches, so it looks nice again . Still to do is some config, eg colour change, image change, and maybe physics change. Ill dig into the plasma api .

Version 0.2b:
Quick little bugfix

Version 0.2:
Got a new image, thanks to Chris Sharkot (http://openclipart.org/media/people/chris_sharkot) on openclipart.org

Version 0.1:
Initial release, basic functionality.


Ratings & Comments

28 Comments

tromboneman

First of all, I must say that this is the only plasmoid I currently use. Really nice! I seem to be having a problem, though. Whenever it hits either side of my screen, it will only move vertically. I initially thought it was only supposed to move vertically, but after taking a look at the source, realized that this wasn't supposed to be the case. I'm running Kubuntu 9.10. Thank you

ShadowKyogre

For some reason, I can't use your plasmoid...it just disappears on my screen when I add it.

FrostBlue

/home/user/bball-0.5/bball.cpp:36:26: error: plasma/phase.h: No such file or directory /home/user/bball-0.5/bball.cpp: In member function ‘void bballApplet::constraintsUpdated(Plasma::Constraints)’: /home/user/bball-0.5/bball.cpp:248: error: ‘setDrawStandardBackground’ was not declared in this scope make[2]: *** [CMakeFiles/plasma_applet_bball.dir/bball.o] Error 1 make[1]: *** [CMakeFiles/plasma_applet_bball.dir/all] Error 2 make: *** [all] Error 2 This is what I get when I try to make. Help please.

orkybash

Open up the file bball.cpp in your favorite text editor and delete the lines that it complains about (36 and 248 I think), then rebuild. It won't look perfect (there will be a background behind the ball), but at least it will compile and install.

FrostBlue

Thanks, that worked,I don't have transparency,but it bounces. Simple and fun, love it. Great Work.

Charmed

That is Amazing, but wy did you stop your work? :( Thats really sad :( Please go on :) Greetings Mark

Kenichi

The ball dissapears and i cant find it anymore sometimes.

someguyouknow

I tried to install it following the directions located in the link. I cannot seem to actually start the plasmoid though. Am I missing a step? Should it show up in the list of Widgets?

tagx

Nice work Wishlist: Make bball use applets as ground to so that it will bounce on applets too. Remember that game with pegs and you bounce a ball down? Join #plasma !

sobonpiotr

I type in console: iszczq@debian:~/bball$ cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4/ -- Found Qt-Version 4.3.3 (using /usr/bin/qmake) -- Found X11: /usr/lib/libX11.so -- Found KDE 4.0 include dir: /usr/include -- Found KDE 4 library dir: /usr/lib -- Found KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler -- Found KDE4 automoc: /usr/bin/kde4automoc -- Configuring done -- Generating done -- Build files have been written to: /home/miszczq/bball miszczq@debian:~/bball$ make [100%] Built target bball miszczq@debian:~/bball$ su Hasło: debian:/home/miszczq/bball# make install [100%] Built target bball Install the project... -- Install configuration: "RelWithDebInfo" -- Installing /usr/lib/kde4/lib/kde4/bball.so -- Installing /usr/lib/kde4/share/kde4/services/plasma-applet-bball.desktop -- Installing /usr/lib/kde4/share/apps/desktoptheme/default/widgets/bball.svg Restart plasma and... i can`t add bball to my plasma desktop. :{ Is anyone can help me?

sobonpiotr

I make it. I changed cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4/ into cmake -DCMAKE_INSTALL_PREFIX=/usr/ and all work good. And i have another questions, it is possilbe to make ball not go behind other applets... like K toolbar.

gillespie

I dont know anything about the layering off applets, but mine goes behind automatically, I'm still new to this plasma lark. Can anyone point me to a good short boing sound for the bounce please? Its really starting to annoy me that i cant find one :D

gillespie

Just to keep you up to date, I'm working on 0.4, integrating MJD's ideas, and adding some more on the config side of things, if you have anything you'd like to be configurable, let me know and ill give it a shot :) Tom

oldfield

Haha - that is so cool :D Thanks ! ########### Mar91 cmake -DCMAKE_INSTALL_PREFIX=(Your prefix) make make install

Mar91

Please add a readme, i can't understand how to compile with cmake.. THank you

MJD

Thanks for the great plasmoid! I created a patch (available from http://pastebin.ca/868115) to add a config dialog to edit the basic physics parameters.

koral

Nice applet! I really like it ;-) Thanks, this makes the desktop look more interactive.... It will be nice if the balls bounce one-over-the-other and if they stop issuing paint events when stopped (they still do) Compliments!

gillespie

Hi all, just uploaded verison 0.3. Sorry im a bit slow, A levels are time consuming :). If anyone has any ideas, or any info on the plasma api :D please email me. Thanks Tom

buschmann23

Hello, thank you for this nice plasmoid. I have build packages for openSUSE 10.2 and 10.3, you can find them here: http://software.opensuse.org/search?baseproject=ALL&p=1&q=kde4-plasmoid-bball They already include the no border patch from David Roberts.

andresj

I installed this using: $ cmake . $ make $ sudo make install And then closed plasma and opened it again: $ qdbus org.kde.plasma /MainApplication quit $ plasma & But when I click on Add Widgets and search for BBalL, I can't find it. I am using KDE 4.0.0 in Kubuntu. Any suggestions or ideas? I noticed that cmake configured Makefile to install with /usr/local as prefix, but I don't know how to change this...

nemti

I had the same problem. To fix it I did: sudo mv /usr/local/lib/kde4/bball.so /usr/lib/kde4/lib/kde4/ && sudo mv /usr/local/share/kde4/services/plasma-applet-bball.desktop /usr/lib/kde4/share/kde4/services/ && sudo mv /usr/local/share/apps/desktoptheme/default/widgets/bball.svg /usr/lib/kde4/share/kde4/apps/desktoptheme/default/widgets/

puelocesar

Hey, that's a great plasmoid! But how can I disable that plasma border? In your screenshot there's no border...

nemti

I agree - this was my favourite dashboard widget in OSX, and its great to be able to use it in KDE. However, it would be even better without the border :P. The color-picker plasmoid doesn't have a border, so I'm assuming its possible. I might try to make a patch to fix this if I have a chance.

nemti

Here's a patch to remove the border of the plasmoid: http://pastebin.ca/856905. It also fixes some compilation warnings and initial size of the ball.

pelzowski

patpi@KDE4:~/System> cd bball/ patpi@KDE4:~/System/bball> cmake . CMake Error: ERROR: cmake/modules/FindKDE4Internal.cmake not found in /home/patpi/.kde4/share/apps;/usr/share/kde4/apps -- Configuring done maybe I don't have some package in my system. But maybe I can't use cmake correctly. Some little compilation instructions would be nice. Thx in advance.

Pling
0 Affiliates
Details
license
version 0.5
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

Other Plasma 4 Extensions:

Icon Tasks deb build
N00bun2
last update date: 13 years ago

Score 4.3

Prayer Times Plasmoid
riyad
last update date: 13 years ago

Score 5.2

KPrayertime4 Islamic Prayer Times
ahaq
last update date: 15 years ago

Score 4.4

Hostinfo
mgraesslin
last update date: 13 years ago

Score 4.7

Monitor QuadCore Russian
kuchumovn
last update date: 16 years ago

Score 5.0

blaKjaK
werevire
last update date: 15 years ago

Score 5.0