BbalL

Plasma 4 Widgets

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

0
Score 78%
Description:

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

Last changelog:

11 years ago

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.

tromboneman

9 years ago

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

Report

ShadowKyogre

9 years ago

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

Report

FrostBlue

10 years ago

/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.

Report

orkybash

10 years ago

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.

Report

FrostBlue

10 years ago

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

Report

Charmed

10 years ago

That is Amazing, but wy did you stop your work? :(

Thats really sad :(

Please go on :)

Greetings Mark

Report

Kenichi

10 years ago

The ball dissapears and i cant find it anymore sometimes.

Report

someguyouknow

11 years ago

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?

Report

tagx

11 years ago

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 !

Report

sobonpiotr

11 years ago

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?

Report

sobonpiotr

11 years ago

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.

Report

C

gillespie

11 years ago

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

Report

C

gillespie

11 years ago

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

Report

oldfield

11 years ago

Haha - that is so cool :D Thanks !

########### Mar91

cmake -DCMAKE_INSTALL_PREFIX=(Your prefix)

make

make install

Report

Mar91

11 years ago

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

Report

MJD

11 years ago

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.

Report

koral

11 years ago

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!

Report

C

gillespie

11 years ago

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

Report

buschmann23

11 years ago

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.

Report

andresj

11 years ago

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

Report

nemti

11 years ago

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/

Report

puelocesar

11 years ago

Hey, that's a great plasmoid!

But how can I disable that plasma border? In your screenshot there's no border...

Report

nemti

11 years ago

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.

Report

nemti

11 years ago

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.

Report

pelzowski

11 years ago

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.

Report

11 years ago

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.

product-maker m4ktub Jan 29 2011

product-maker 17 73

File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.5
updated Feb 16 2008
added Oct 25 2007
downloads today
0
page views today 3