public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] pre-starting KDE libs
@ 2009-04-20 14:25 Philip Webb
  2009-04-20 14:57 ` Alan McKinnon
  0 siblings, 1 reply; 5+ messages in thread
From: Philip Webb @ 2009-04-20 14:25 UTC (permalink / raw
  To: Gentoo User

Can anyone tell me the command to pre-start KDE libs with another desktop ?

Xfce offers the option of pre-starting them,
but I can't see where it occurs in its start-up scripts.
I'm currently trying out Fluxbox (generally excellent!)
& would like to have it pre-start the libs for the KDE apps I use.

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] pre-starting KDE libs
  2009-04-20 14:25 [gentoo-user] pre-starting KDE libs Philip Webb
@ 2009-04-20 14:57 ` Alan McKinnon
  2009-04-20 19:15   ` Philip Webb
  0 siblings, 1 reply; 5+ messages in thread
From: Alan McKinnon @ 2009-04-20 14:57 UTC (permalink / raw
  To: Gentoo User

On Monday 20 April 2009 16:25:07 Philip Webb wrote:
> Can anyone tell me the command to pre-start KDE libs with another desktop ?
>
> Xfce offers the option of pre-starting them,
> but I can't see where it occurs in its start-up scripts.
> I'm currently trying out Fluxbox (generally excellent!)
> & would like to have it pre-start the libs for the KDE apps I use.

I believe it's kcminit but it doesn't show up in ps afterwards. Check this 
out:

$ kcminit --list
keyboard
energy
kcmaccess
khotkeys
keys
style
khtml_plugins
emoticons
keyboard_layout
bell
mouse

I once had to track down the command to initialise the fonts kde apps use when 
run under e17, and it turned out to be kcminit. You can also grep that word in 
the various kde session scripts, nearby text may provide further clues

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] pre-starting KDE libs
  2009-04-20 14:57 ` Alan McKinnon
@ 2009-04-20 19:15   ` Philip Webb
  2009-04-20 23:12     ` Philip Webb
  0 siblings, 1 reply; 5+ messages in thread
From: Philip Webb @ 2009-04-20 19:15 UTC (permalink / raw
  To: gentoo-user

090420 Alan McKinnon wrote:
> On Monday 20 April 2009 16:25:07 Philip Webb wrote:
>> Can anyone tell me the command to pre-start KDE libs with another desktop ?
> I believe it's kcminit but it doesn't show up in ps afterwards.

Thanks for the hint, which got me to look at what's running via 'htop'.
This reveals that 'konsole' -- the 1st app I started after Fluxbox --
caused the following processes to start & remain running :

  3863 kdeinit running ...
  3866 dcopserver [kdeinit] --nosid --suicide
  3868 klauncher [kdeinit] --new-startup
  3870 kded [kdeinit] --new-startup

So it looks as if the needed command is 'kdeinit'.

Does anyone else have any advice ?

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] pre-starting KDE libs
  2009-04-20 19:15   ` Philip Webb
@ 2009-04-20 23:12     ` Philip Webb
  2009-04-21 13:53       ` Alan McKinnon
  0 siblings, 1 reply; 5+ messages in thread
From: Philip Webb @ 2009-04-20 23:12 UTC (permalink / raw
  To: gentoo-user

090420 Philip Webb wrote:
> Can anyone tell me the command to pre-start KDE libs with another desktop ?
> Htop reveals that 'konsole' -- the 1st app I started after Fluxbox --
> caused the following processes to start & remain running :
> 
>   3863 kdeinit running ...
>   3866 dcopserver [kdeinit] --nosid --suicide
>   3868 klauncher [kdeinit] --new-startup
>   3870 kded [kdeinit] --new-startup
> 
> So it looks as if the needed command is 'kdeinit'.

I added 'kdeinit &' to  ~/.xinitrc  & it made a small difference :
Konsole starts  3 s  sooner (wry smile).  Also, that's only after a boot:
otherwise, the KDE libs stay in memory when the WM terminates
& are instantly reloaded when Konsole asks for them.

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] pre-starting KDE libs
  2009-04-20 23:12     ` Philip Webb
@ 2009-04-21 13:53       ` Alan McKinnon
  0 siblings, 0 replies; 5+ messages in thread
From: Alan McKinnon @ 2009-04-21 13:53 UTC (permalink / raw
  To: gentoo-user

On Tuesday 21 April 2009 01:12:07 Philip Webb wrote:
> 090420 Philip Webb wrote:
> > Can anyone tell me the command to pre-start KDE libs with another desktop
> > ? Htop reveals that 'konsole' -- the 1st app I started after Fluxbox --
> > caused the following processes to start & remain running :
> >
> >   3863 kdeinit running ...
> >   3866 dcopserver [kdeinit] --nosid --suicide
> >   3868 klauncher [kdeinit] --new-startup
> >   3870 kded [kdeinit] --new-startup
> >
> > So it looks as if the needed command is 'kdeinit'.
>
> I added 'kdeinit &' to  ~/.xinitrc  & it made a small difference :
> Konsole starts  3 s  sooner (wry smile).  Also, that's only after a boot:
> otherwise, the KDE libs stay in memory when the WM terminates
> & are instantly reloaded when Konsole asks for them.

Those 3 seconds could be vital. If you need to ssh into the control machine 
for a nuclear power station and shut down the reactor, those 3 seconds could 
be the difference between salvation and TheEndOfTheWorldAsWeKnowIt(tm)....


-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-04-21 13:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-20 14:25 [gentoo-user] pre-starting KDE libs Philip Webb
2009-04-20 14:57 ` Alan McKinnon
2009-04-20 19:15   ` Philip Webb
2009-04-20 23:12     ` Philip Webb
2009-04-21 13:53       ` Alan McKinnon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox