Version: (using KDE KDE 3.5.7) Installed from: Compiled From Sources Compiler: gcc 4.1.2 OS: Linux On KDE 3.5.7 compiled from latest SVN tag, the systray icon from klaptopdaemon does not show up. The battery status is shown correctly in kcontrol, only the systray icon does not work.
Same problem here. Restarting KDE does not help.
Sorry, i was in a hurry before... Some more info: ACPI is configured correctly and the kcontrol module is also ok, showing me all options. Clicking on the "Start Battery Monitor" button does nothing... There is no error message when i start kcontrol or "kcmshell laptop" from a terminal and configure the klaptop settings, so i cant say more about this problem...
*** This bug has been confirmed by popular vote. ***
This problem is caused by lunakl ( well is why copy&paste is _bad_ and really bad if someone doesn't even compile and test that copy & pasted code ). He didn't updated the LDFLAGS so the daemon won't start at all. There an patch to fix it : http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=frugalware-current;a=plainblob;f=/source/kde/kdeutils/fix-copy_and_paste_shit.patch
*** Bug 146135 has been marked as a duplicate of this bug. ***
The patch that Gabriel C listed did not fix this issue for me.
It works when you regenerate the Makefiles with make -f admin/Makefile.common before proceeding with configure, make, make install etc...
Gabriel C can you pout the patch here please ? because the link doesn't seems to work
linking wasn't properly done, thix patch should fix the thing: problem: [arekm@tarm ~]$ gcc /usr/lib/kde3/kded_klaptopdaemon.so 2>&1 | grep XScreenSaver /usr/lib/kde3/kded_klaptopdaemon.so: undefined reference to `XScreenSaverQueryExtension' /usr/lib/kde3/kded_klaptopdaemon.so: undefined reference to `XScreenSaverQueryInfo' /usr/lib/kde3/kded_klaptopdaemon.so: undefined reference to `XScreenSaverAllocInfo' fix: diff -urN kdeutils-3.5.7.org/klaptopdaemon/Makefile.am kdeutils-3.5.7/klaptopdaemon/Makefile.am --- kdeutils-3.5.7.org/klaptopdaemon/Makefile.am 2007-05-14 09:40:45.000000000 +0200 +++ kdeutils-3.5.7/klaptopdaemon/Makefile.am 2007-06-24 19:07:27.305522457 +0200 @@ -10,7 +10,7 @@ MESSAGE_SOURCES = laptop_daemon.cpp kpcmcia.cpp xautolock.cc kpcmciainfo.cpp daemondock.cpp xautolock_diy.c xautolock_engine.c kded_klaptopdaemon_la_SOURCES = $(MESSAGE_SOURCES) laptop_daemon.skel kded_klaptopdaemon_la_LDFLAGS = $(all_libraries) -module -avoid-version -lXtst -kded_klaptopdaemon_la_LIBADD = $(LIB_KDEUI) libkcmlaptop.la +kded_klaptopdaemon_la_LIBADD = $(LIB_KDEUI) $(LIB_XSS) libkcmlaptop.la klaptop_acpi_helper_SOURCES = acpi_helper.cpp
How is this issue?
It's in svn: http://websvn.kde.org/branches/KDE/3.5/kdeutils/klaptopdaemon/Makefile.am?r1=663522&r2=700562 So I think this could be resolved as FIXED.
klaptopdaemon has been dropped from KDE 4.x