Re: systemd and KDE (was: Re: kdeinit)

2011-09-14 Thread Jaroslav Reznik
- Original Message -
 On Sun, Aug 21, 2011 at 4:54 PM, John Layt jl...@kde.org wrote:
  Ummm, Pulse Audio? It completely broke sound under KDE. It caused a
  lot of
  users a lot of pain before Colin come along to fix it for us and for
  Gnome
  users too. I don't want to see a repeat of that, so figuring out how
  to get
  Lennart to care becomes important.

Yes, it is - maybe something I can help internally but can't promise 
anything as you know Lennart but we're now in position we have to go
through our internal needs for systemd.
 
 During Desktop Summit, I've jumped on the systemd-KDE-integration
 bandwagon (which seems to be only me at the moment, or is there any
 work which I'm not aware of?).

Stefan,
thanks for stepping in. Some time ago I just tried systemd password 
agent, I have to check if you implement it, otherwise it would be
great to have it in one place.

But back to systemd and KDE integration. Is there something we can
be helpful? Especially regarding the problems in systemd you rushed
into etc.?

 As a very first step, there's libqsystemd [1], which I'll try to
 finish and polish in the next few weeks. This should make it easy to
 write apps that communicate with systemd. For example, what about a
 proper Plasma dataengine for systemd units/jobs and an applet that
 e.g. shows the state of a systemd unit? There's an proof-of-concept
 dataengine in the repo [1], but the subject is in need of someone who
 knows his way around Plasma dataengines and friends.
 
 The second integration point is the unified interfaces for system
 configuration that systemd provides. If systemd is present, it should
 be used to set (possibly also get) the hostname, locale, and system
 time. Also, KDM should be able to communicate with systemd-logind,
 which (as outlined by Lennart's talk at DS) seeks to replace
 ConsoleKit.
 
 The third integration point is to use systemd as a session manager,
 thereby (as already mentioned) possibly replacing big parts of our own
 startup sequence. Once I can get a current version of systemd to
 compile on my machine, I will try to look into this, but of course
 help is appreciated on all fronts.

Yes, these last two things are important for us. Usually we (Fedora) are
hit first :( And we're just really small team but we're trying at least :)
(PolicyKit, uDisk/uPower integration etc.)

So if you can include me and Lukas Tinkl in further discussion/development
it would be great.

Thanks,
Jaroslav

 Greetings
 Stefan
 
 [1] git clone kde:libqsystemd

-- 
Jaroslav Řezník jrez...@redhat.com
Software Engineer - Base Operating Systems Brno

Office: +420 532 294 275
Mobile: +420 602 797 774
Red Hat, Inc.   http://cz.redhat.com/


Re: systemd and KDE (was: Re: kdeinit)

2011-09-14 Thread John Tapsell
Regarding integration - for a long time I've been interested in adding
support to System Activity (ctrl+esc thingy).  In Windows, the task
manager has a tab for both processes and for services, and you can
switch between the two.  So you can right click on a process and jump
to its service, and vice versa.  This integration makes a lot of sense
since its often better to stop the service than to just kill the
process.

I've been somewhat waiting for the fight between upstart and systemd
to be resolved, and also it would be good to have the following DBUS
calls available to non-root users:

1) Return a list of currently running / stopped / runnable / etc  services
2) Provide user-friendly information about each service.  (Short
description that I can show to the user)
3) Provide a list of PIDs for a given service
4) Return the service for a given PID

Can these calls be added if necessary please?

JohnFlux


libkactivities moved to kactivities repository

2011-09-14 Thread Aaron J. Seigo
hi...

the library in kdelibs/experimental/libkactivities has been moved to a 
separate git repository: kactivities.

the reason for this is two fold:

1) this is what we want to do for Frameworks development anyways: multiple 
repositories ...

2) currently Plasma Active requires kdelibs to be built with the active-
development/4.7 branch. i merged all changes except the changes to 
libkactivities into KDE/4.7 (they were all bugfixes to libplasma, it turns 
out). the library had simply changed too much to merge it into the KDE/4.7 
branch. so .. into its own repository it goes. this will allow plasma-mobile 
and the share-like-connect repositories to be built and be functional with 
normal kdelibs (KDE/4.7 branch, e.g.) along with the kactivities repository

all developer of libkactivities should happen in this new repository. i will 
be removing the active-development/* branches in kdelibs shortly.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks


signature.asc
Description: This is a digitally signed message part.


Re: systemd and KDE (was: Re: kdeinit)

2011-09-14 Thread Tom Gundersen
On Wed, Sep 14, 2011 at 11:13 AM, John Tapsell johnf...@gmail.com wrote:
 Regarding integration - for a long time I've been interested in adding
 support to System Activity (ctrl+esc thingy).  In Windows, the task
 manager has a tab for both processes and for services, and you can
 switch between the two.  So you can right click on a process and jump
 to its service, and vice versa.  This integration makes a lot of sense
 since its often better to stop the service than to just kill the
 process.

 I've been somewhat waiting for the fight between upstart and systemd
 to be resolved, and also it would be good to have the following DBUS
 calls available to non-root users:

 1) Return a list of currently running / stopped / runnable / etc  services
 2) Provide user-friendly information about each service.  (Short
 description that I can show to the user)

These two are available.

 3) Provide a list of PIDs for a given service

I couldn't see this, but maybe I missed it. At least you can get the
cgroup, and then you can look in the procs file to get a list of
pids belonging to the group.

 4) Return the service for a given PID

This is available.

Cheers,

Tom


Re: systemd and KDE (was: Re: kdeinit)

2011-09-14 Thread Sebastian Sauer

Jaroslav Reznik wrote:
 - Original Message -
 On Sun, Aug 21, 2011 at 4:54 PM, John Layt jl...@kde.org wrote:
  Ummm, Pulse Audio? It completely broke sound under KDE. It caused a
  lot of
  users a lot of pain before Colin come along to fix it for us and for
  Gnome
  users too. I don't want to see a repeat of that, so figuring out how
  to get
  Lennart to care becomes important.

 Yes, it is - maybe something I can help internally but can't promise
 anything as you know Lennart but we're now in position we have to go
 through our internal needs for systemd.

I would suggest to have a look at the proposal from Federico Mena 
Quintero at 
http://mail.gnome.org/archives/desktop-devel-list/2011-May/msg00474.html 
which is wise, guiding into the right direction, would be portable and 
follows the unix-philosophie.