LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   KDE Battery Monitor Will Not Start (https://www.linuxquestions.org/questions/slackware-14/kde-battery-monitor-will-not-start-515278/)

CrEsPo 12-31-2006 10:51 PM

KDE Battery Monitor Will Not Start
 
I can't get the battery monitor for KDE to start up. In the Control Center it displays the battery usage, but I can't get it to go into the tray. "Show battery monitor" is checked, and "Start Battery Monitor" does nothing when clicked. If I disalbe the "Show battery monitor" option and I click the "Start Battery Monitor" it complains about the option being disabled, so it's working somewhat.

I did some searching and found a couple things to try:

Code:

> set the value of X-KDE-Kded-load-on-demand
> in /opt/kde3/share/services/kded/klaptopdeamon.desktop to true...?

I've looked at that, and the value was already set to true. So obviously that didn't work for me.

Code:

#!/bin/bash
dcop kded kded loadModule klaptopdaemon
dcop kded klaptopdaemon restart

That script commands load correctly, but does not solve anything as the problem still persists. Is there anything else I can try to correct this problem? Is there any log I can check for errors?

I'm running Slackware 11. Thanks :).

cwwilson721 01-02-2007 01:36 AM

What kernel did you install?

EX: On my laptop, I need to have ACPI compiled into the kernel, not as modules, to allow ACPI functions (i.e. Battery, Fan, etc...)

chrisg631 01-02-2007 02:05 AM

check lsmod,do you have the ac and battery modules loaded? If not, try
Code:

modprobe ac
modprobe battery

then try to start battery monitor again.

CrEsPo 01-02-2007 11:47 AM

I got the problem solved. I did compile the components as modules, but they have to be loaded at boot. For example, when having this problem I was using modprobe to load the modules after boot. For some reason KDE won't recognize them if they're loaded after the boot. When I put the modules into rc.modules and ran KDE after a reboot it showed up in the system tray.

I find that weird because the modules were loaded, but when pressing the "Start Battery Monitor" button, it fails to recognize them.

Thanks for the replies.


All times are GMT -5. The time now is 10:09 AM.