You are not logged in.

#1 2011-01-30 15:57:16

sironitomas
Member
From: Cordoba, Argentina
Registered: 2009-11-28
Posts: 174
Website

How can I use KDE apps in Openbox?

I like using Openbox because it fits very well in my netbook, it's fast and lightweight. I also like to use a good file manager, like Dolphin and a image viewer like Gwenview. I can perfectly run those apps in Openbox, but there is a dark side.

When I execute them, a bunch of extra processes come in, like knotify, kded4, khelper, kacpid, and a lot with "k"! I hate that because even after all the apps are closed, knotify (and the others) still running and consume about 90% of the CPU (specially knotify) when in normal use (without KDE apps), the average usage of it is about 10%

Is there any way to use a "standalone" Dolphin or Gwenview or any other KDE app?

Thanks!

Last edited by sironitomas (2011-01-30 15:57:39)

Offline

#2 2011-01-30 16:09:20

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: How can I use KDE apps in Openbox?

khelper and kacpid are kernel threads, not kde processes. You probably can't stop kded4 and knotify from running, though you could stop knotify from using the sound system or disable [some] notifications using kde's systemsettings - those apps shouldn't be eating much cpu time. You could also just use apps which don't require kdelibs, like pcmanfm and gpicview.

Offline

#3 2011-01-30 16:32:09

Gumper
Member
From: U.S.A.
Registered: 2009-10-26
Posts: 132

Re: How can I use KDE apps in Openbox?

I'm seeing the same thing that you are, with the cpu being pretty much maxed out by knotify. I've been using kde apps with openbox for quite a while now and I can't recall ever seeing this problem before. I think that it started with one of the recent updates to kde.

I have to end up killing the kde processes that are running to reduce the cpu load back down to normal.


Ready yourselves, ready yourselves
Let us shine the light of Jesus in the darkest night
Ready yourselves, ready yourselves
May the powers of darkness tremble as our praises rise .... Casting Crowns-Until The Whole World Hears.

Offline

#4 2011-01-30 16:54:44

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: How can I use KDE apps in Openbox?

I use also some KDE applications in openbox, and I saw also the 7% cpu usage of knotify4 after the upgrade to KDE 4.6 with a new $HOME/.kde4.
I could suppress that the same way as mentioned in https://bbs.archlinux.org/viewtopic.php?id=77531 post #2
ie choosing "No audio output" for the notifications.

I use regularly Konsole and play some KDE games; here are the KDE related processes running continuously :

berbae    4400     1  0 10:32 ?        00:00:00 kdeinit4: kdeinit4 Runnin e
berbae    4402  4400  0 10:32 ?        00:00:00 kdeinit4: klauncher [kdei e
berbae    4404     1  0 10:32 ?        00:00:00 kdeinit4: kded4 [kdeinit]  
root      4412     1  0 10:32 ?        00:01:31 /usr/lib/upower/upowerd
berbae    4458     1  0 10:33 tty1     00:00:09 konsole
berbae    4460  4458  0 10:33 pts/0    00:00:00 /bin/bash
berbae    4562     1  0 10:44 ?        00:00:00 /usr/bin/knotify4

With these processes running I get 0-1% cpu usage, of course after the change with the notifications output.
Hope that will solve also your issue.

Offline

#5 2011-01-30 17:15:54

Gumper
Member
From: U.S.A.
Registered: 2009-10-26
Posts: 132

Re: How can I use KDE apps in Openbox?

How does one open up the kde system settings when running openbox? I'm not sure what the bin file is named in order to launch it.


Ready yourselves, ready yourselves
Let us shine the light of Jesus in the darkest night
Ready yourselves, ready yourselves
May the powers of darkness tremble as our praises rise .... Casting Crowns-Until The Whole World Hears.

Offline

#6 2011-01-30 17:24:49

Awebb
Member
Registered: 2010-05-06
Posts: 6,304

Re: How can I use KDE apps in Openbox?

Gumper wrote:

How does one open up the kde system settings when running openbox? I'm not sure what the bin file is named in order to launch it.

pacman -Ql name_of_the_package | grep bin/

This is relevant every time you don't know what the bin is called.

Last edited by Awebb (2011-01-30 17:25:26)

Offline

#7 2011-01-30 17:28:57

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: How can I use KDE apps in Openbox?

systemsettings

Offline

#8 2011-01-30 21:14:03

Gumper
Member
From: U.S.A.
Registered: 2009-10-26
Posts: 132

Re: How can I use KDE apps in Openbox?

skunktrader wrote:
systemsettings

I tried that and it returns a command not found message. I must not have the package installed that the system settings are a part of.

What package does this belong to?


Ready yourselves, ready yourselves
Let us shine the light of Jesus in the darkest night
Ready yourselves, ready yourselves
May the powers of darkness tremble as our praises rise .... Casting Crowns-Until The Whole World Hears.

Offline

#9 2011-01-30 21:15:41

SS4
Member
From: !Rochford, Essex
Registered: 2010-12-05
Posts: 699

Re: How can I use KDE apps in Openbox?

Gumper wrote:
skunktrader wrote:
systemsettings

I tried that and it returns a command not found message. I must not have the package installed that the system settings are a part of.

What package does this belong to?

[20:42:49] root #  pacman -Qo systemsettings                                                                                                                                           

I get that it's owned by kdebase-workspace


Rauchen verboten

Offline

#10 2011-01-31 00:29:40

Gumper
Member
From: U.S.A.
Registered: 2009-10-26
Posts: 132

Re: How can I use KDE apps in Openbox?

SS4 wrote:
[20:42:49] root #  pacman -Qo systemsettings                                                                                                                                           

I get that it's owned by kdebase-workspace

Thanks!

It looks like if I add that it's going to pull in another 147 megs of other stuff. Oh well, I guess I can install it, change the setting for the notifications and then remove the packages. Maybe that will work.


Ready yourselves, ready yourselves
Let us shine the light of Jesus in the darkest night
Ready yourselves, ready yourselves
May the powers of darkness tremble as our praises rise .... Casting Crowns-Until The Whole World Hears.

Offline

#11 2011-01-31 00:29:58

sironitomas
Member
From: Cordoba, Argentina
Registered: 2009-11-28
Posts: 174
Website

Re: How can I use KDE apps in Openbox?

I don't know why, but the architecture of the KDE sound system must be very bad. I have deactivated the sound output from systemsettings and now dolphin launches super fast, not to mention knotify is almost not consuming cpu.

Thanks for the tip!

Last edited by sironitomas (2011-01-31 00:30:44)

Offline

Board footer

Powered by FluxBB