You are not logged in.

#1 2007-03-13 09:09:14

Master One
Member
From: Europe
Registered: 2007-01-21
Posts: 249

How to use KDE services without KDE?

I am actually playing around with a very interesting FVWM configuration, I found in the FVWM forum, but not using KDE, there is always something missing, like kmilo & klaptopdaemon or the KThinkBat panel applet (which is the only one using smapi for reading battery status).

I was wondering, if there is a way to start all of the usual KDE services without actually starting KDE as a DE, so I mean about everything that usually runs in the background, without kwin & the konqueror instance controlling the desktop icons and middle/right-click menus.

When I am in FVWM, I can use all installed KDE programs without problem (they even make use of stalontray as a replacement for the KDE systray), KDE on-demand-services (like KWallet) are started automatically when a program needs them, but I have no idea how to automatically start the KDE services, which normally get started when KDE starts (like kmilo). In case of kmilo, I can start it manually using the KDE control center, but of course I don't want to do that every time after I start FVWM.

Just replacing kwin with FVWM using "export KDEWM" did not work, it got pretty much messed up with a mix of FVWM & KDE (which maybe could have been fixed by killing some KDE processes, but I didn't try, because it didn't seem the be the best approach).

Anybody any idea? Anybody knows the command, how to start all the KDE services, which usually get started when KDE starts?

Offline

#2 2007-03-13 09:20:45

funkyou
Member
From: Berlin, DE
Registered: 2006-03-19
Posts: 848
Website

Re: How to use KDE services without KDE?

kdeinit is your friend... just start it with your fvwm startup script and give it some some to start up. I used it with fvwm without any problems...


want a modular and tweaked KDE for arch? try kdemod

Offline

#3 2007-03-13 12:25:25

Master One
Member
From: Europe
Registered: 2007-01-21
Posts: 249

Re: How to use KDE services without KDE?

That's the strange thing, kdeinit doesn't do it, I already tried before (by just starting it after FVWM has come up), and I tested it again by adding it to .xinitrc:

$ cat .xinitrc
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

kdeinit &
exec fvwm

But all it does, is the following:

4478 ?        Ss     0:00 kdeinit Running...
 4484 ?        S      0:00  \_ klauncher [kdeinit]
 4482 ?        S      0:00 dcopserver [kdeinit] --nosid
 4493 ?        S      0:00 kded [kdeinit]

Looking into the KDE Control Center shows, that only 1 out of 11 services, which should have been started on KDE start, is actually running.

kdeinit may be the way to go, but there is still something missing. But what?

Offline

#4 2007-03-13 12:47:32

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: How to use KDE services without KDE?

You can use dcop to enable extra services that you need.

For example, I used the below to enable the kde automounting:

        dcop kded kded loadModule medianotifier
        dcop kded kded loadModule mediamanager

James

Offline

#5 2007-03-13 18:22:34

Master One
Member
From: Europe
Registered: 2007-01-21
Posts: 249

Re: How to use KDE services without KDE?

iphitus, that's how it works! smile

Is there another way to list all available modules, than to start KDE and list the loaded modules?

Although individual modules can be loaded this way using dcop, I don't think that's how it's done when KDE is started. So is there another way by using just a single command? In the KDE Control Center I see 11 modules in the autostart-section, which can be selected and deselected individually, so the state for these modules is stored somewhere, and I assume there should be a command to load all selected modules at once, but which?

Last edited by Master One (2007-03-13 18:22:49)

Offline

#6 2007-03-14 07:48:03

Master One
Member
From: Europe
Registered: 2007-01-21
Posts: 249

Re: How to use KDE services without KDE?

Would it even be possible, to use KDE's session managment outside of KDE, so that apps get restored on next login, although I am using FVWM, and not KDE?

Offline

Board footer

Powered by FluxBB