Under Ubuntu using GDM not KDE the follwing was accomplished.
Using your Wii remote for watching DVDs, Elisa Media Center, Music Players, etc:
I've setup on my system 2 icons in my gnome panel that I can click on if I want to connect to my Wii Remote and use it's IR light tracking ability as a mouse, and the other to turn off the wminput daemon that I started on the other icon.
Right click on an empty part of the Gnome panel and select "Add to Panel...", then "Custom Application Launcher" then press the "+Add" button.
Type in a name for it, for the command, use this:
gksudo wminput -d -c ir_ptr <your wiimote's bluetooth address here>
For IR mode. If you want to use ACC (accelerometer mode) the command should be:
gksudo wminput <your wiimote's bluetooth address here>
The gksudo is important because if you use sudo only you won't see any prompt to type in your password, and in Intrepid it IS necessary to be root to activate wminput.
Select a nice icon for it if you wish, then press close.
To create another icon to kill all running wminput processes, do the same as above, but for the command use this:
gksudo killall wminput
Use gksudo here too because you might need to type in your password again.
The advantage of using these two icons to run wminput, is that you can turn off your Wii remote (by pressing and holding the power button on your Wii remote) when you start watching a DVD / listening to music to save battery power, then if you wish to start using your Wii remote again, simply press buttons 1 + 2 on your Wii remote and Ubuntu will automatically connect to your Wii remote again as before without having to pick up a keyboard or mouse to do so.
If you want to do something like the above you can figure it out for KDE.
This was a section in the following link...http://ubuntuforums.org/showthread.php?t=993376