Announcement

Collapse
No announcement yet.

using PowerDevil in other desktop environments

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    using PowerDevil in other desktop environments

    I am a big fan of KDE applications, but I generally prefer to use another desktop environment. Specifically, I use ion3 as a window manager and no desktop manager. But, nothing about this post is specific to ion3. It would hold for any session besides KDE that one starts from kdm.

    I would like to be able to use KPackageKit and PowerDevil from this other environment. Right now, I can run
    Code:
    kdeinit4 +ksmserver
    from the command-line. But, there are two problems with this. First, it doesn't start PowerDevil, although it does start KPackageKit. Second, it launches the Desktop,
    Code:
    /usr/lib/libkdeinit4_plasma-desktop.so
    Of course, I can then manually start PowerDevil from the System Settings panel, and I can close the Desktop. But, I would like this to be automatic.

    What I imagine to be the correct behavior is to run
    Code:
    kdeinit4 +kded_kpackagekitd.so +kded_powerdevil.so
    But, this terminates with an error:
    Code:
    varanir /usr/lib/kde4: kdeinit4 +kded_powerdevil.so +kded_kpackagekitd.so
    kdeinit4: Shutting down running client.
    klauncher: Exiting on signal 15
    kdeinit4: preparing to launch /usr/lib/libkdeinit4_klauncher.so
    kdeinit4: preparing to launch /usr/lib/libkdeinit4_kded4.so
    KDE Daemon (kded) already running.
    kdeinit4: preparing to launch /usr/lib/libkdeinit4_kbuildsycoca4.so
    kbuildsycoca4 running...
    kdeinit4: preparing to launch /usr/lib/kde4/kded_powerdevil.so
    Could not find kdemain: Cannot resolve symbol "kdemain" in /usr/lib/kde4/kded_powerdevil.so: (/usr/lib/kde4/kded_powerdevil.so: undefined symbol: kdemain)
    Could not find 'kdemain' in '/usr/lib/kde4/kded_powerdevil.so'.
    Cannot resolve symbol "kdemain" in /usr/lib/kde4/kded_powerdevil.so: (/usr/lib/kde4/kded_powerdevil.so: undefined symbol: kdemain)
    kdeinit4: preparing to launch /usr/lib/kde4/kded_kpackagekitd.so
    Could not find kdemain: Cannot resolve symbol "kdemain" in /usr/lib/kde4/kded_kpackagekitd.so: (/usr/lib/kde4/kded_kpackagekitd.so: undefined symbol: kdemain)
    Could not find 'kdemain' in '/usr/lib/kde4/kded_kpackagekitd.so'.
    Cannot resolve symbol "kdemain" in /usr/lib/kde4/kded_kpackagekitd.so: (/usr/lib/kde4/kded_kpackagekitd.so: undefined symbol: kdemain)
    I've looked around on google, but I cannot figure out what to do about this.

    Short version of question: how to I use KPackageKit and PowerDevil outside of KDE?

    Background: I am running kubuntu-9.10 on x32.
Working...
X