A Power Manager for Kubuntu.

The new power manager that will be used in Kubuntu

At the Ubuntu Dev Summit in Paris, we decided
that Kubunt needs its own powermanagement applet. We started designing it right there, and I
even wrote some backend code. Due to a vacation and other obligations, I wasn’t able to do much work
on it last month, but I picked it up again, and it’s progressing nicely — to the point where I’m
starting to use it myself. Jonathan had done some nice work on it, and I took it over again. Since
the initial test release, it has seen quite some improvements:

  • Part of the initial code from Jonathan Riddell
  • Beautiful icons, thanks to Ken Wimer
  • Lots of improvements in the user interface, thanks to \el
  • Display of cpu frequency (including multi cpu and cpu hotplugging support)
  • Largely refactored code so it’s actually fun to work
    with
  • And of course a bunch of bugfixes

Besides battery and CPU status reporting, you can configure the power manager to switch to a
lower power state by for example dimming the display a bit, and to perform various actions when the
power cable is plugged, unplugged, when the lid is closed and when the battery is nearly empty.

Special thanks go out to Jonathan Riddel and Luka Renko for testing it.

There’s a number of issues with power-manager at the moment, however. First, PyQt (and thus
PyKDE) can not ‘listen’ to dbus since the Qt event loop is not yet supported in the python dbus
bindings. We currently work around this by polling every 5 seconds. John “J5” Palmieri will be at
aKademy, so we might discuss a better solution in Dublin at the end of this month.
Second, power-manager does not support multiple batteries currently. I cannot work on that part
since I do not have two batteries I can use in my notebook at the same time. Patches for this are
welcome, of course. I someone wants to lend me a Thinkpad Ultrabay Slim battery, that’d also be
great (bring one to aKademy, if you’re there).

I’d like to get more feedback now, please download the
test package
(packaged for Edgy, it should work well also on Dapper but you might need to force
install it) and report back, either email me directly,
or add your feedback to the Wiki. You can also get the code
from KDE’s subversion
repository
.

Pimp your slides!

Oxygen template example in KPresenter

When trying to start Amarok in order to listen to some funky music (Leftfield at the
moment), I mistyped and put in “Akadem…”. Obviously our yearly world summit isn’t far away
anymore. Adriaan noted the same, and blogged that he needed a KPresenter oxygen template. I had offered to look up the one I
used for FrosCon earlier this year. After dinner, I sat down with a glass of
decent Portwine and created templates:

So pimp your aKademy slides!

The artwork has obviously not been created by me, but by our famous Oxygen Team, thanks David, Nuno, Ken! I’ve also added the
slides to www.kde.org/kdeslides, so you can find them
back more easily in the future.

In other aKademy-related news, today at the office we had a short discussion what we were
looking forward to most at aKademy, for me it’s the social aspect of this conference. Not that I’m
not interested in the talks — quite the opposite indeed, but what I’m really looking forward to is
teaming up with all you guys.

Offtopic: This clip is
hilarious.

KDE Press Channel.

The KDE Marketing Team is creating a press channel for journalists that are not able
to follow KDE and what’s going too closely. We’re collecting the addresses of journalists that
would
like to be subscribed to a low-traffic mailinglist we’re using to distribute news and
announcements
regarding the KDE project. The amount of traffic on this mailinglist will probably be no more
than one
message a week. As to the contents, you can think of:

  • authorised links to interesting weblog entries (basically labelling
    certain blogentries “reliable source for journalists”)
  • pre-press releases (“KDE x.y.z will be released in one week,
    $changelog, $important_changes, $key_messages)
  • KApp got $keyfeature
  • Official news and announcements

If you’re a journalist, and you would like to be invited to our press channel, please
drop me a note.

Freedom and a Broken Market.

Photos taken on my vacation in Portugal

I’ve had quite some fun lately. First to mention is a three week-long vacation in the
South-West of this lovely continent. Portugal has quite some nice things to offer, most memorably
its famous Port wine. Having gotten into it
already some time before the vacation, those three weeks took care of a decent addiction — an
addiction that might get pretty expensive in the long term, as Kim noticed while tasting different
sorts at a winery where mostly wines from smaller wineries are being sold. Most of Portugal’s (or
more specific, the Douro region’s) wine is being sold by bigger corporations, Sandeman for example.
There are about 30 of those. Lately, there is a trend towards more independant distribution, and
Vinologia (the shop we visited for a couple of times to taste and learn more about this special sort
of wine) specialises in this. As a result, they’ve got some very fine “single quinta” wines (wines
from one particular winery). I’ve came to think about a business model that allows those smaller
distributors to circumvent the big corporations and in the course make the Port wine experience in
the rest of the world more special and diverse. I’ll most probably get back to the owner of that
store with my ideas, since they were planning for making better use of online shopping anyway.

Last weekend, I’ve been to Haldern Pop, a small
music festival in the west of Germany. Nice about this festival is that it’s pretty
non-commercialised. Sure, they have a main sponsor, but that’s a local brewery. Most of the needed
commercial stuff (think food, drinks, t-shirts) there is being done by locals, a bar that took care
of an ‘Open Air Music Bar’ at the camping site, local food stores supplying the music fan with good
food and drinks, and pretty much the most exciting thing is a small lake amid the woods, horse farms
and right next to the festival where you can swim in the summer sun. Pure relaxation.

At the festival, I talked with Thorsten, a friend of mine (and obviously a big fan of music)
about his relationship with the music industry. Thorsten collects vinyl records and I think he puts
quite some money into that hobby. Yet he’s completely fed up with how the music industry deals with
him as a customer. For example, he wants to listen to music in his car but not necessarily take the
special edition CD with booklet in his car to save it from damage, being stolen or covered with
lemonade accidentally. If he’d bought the CD, he would’ve been forced to break the law by copying
the CD and using that cheap copy in his car — while he paid for it. Or even worse: he gets a virus
on his PC for free, or is not even able to play the CD he bought on his computer.

He has also not the slightest problem with paying for a nice CD or vinyl record, yet the
music industry does it’s very best to criminalise his way of using the product he bought and in the
course of that, pissing him off.

A festival such as Haldern Pop offers a way out. At those festivals, and at a lot of smaller
concerts as well, you can buy CDs or records directly from the artist. Often, those CDs are produced
by smaller lables which do not (yet?) act in the same way as Sony, Warner, Bertelsmann and all the
others big companies that are seriously ignoring what the customer wants for more than a
decade
already. Personally, I’ve been a good customer of the local CD store quite some time
ago, but completely refrained from buying music some years ago. Right now, I’m getting my fix from
services such as Last.fm, Simuze
and also buy CDs at smaller concerts, but I’m just not anymore picking the kind of crap the music
industry (and in pretty much the same extent the software industry) is trying to push through to its
customers.

Clearly, the way everybody would’ve preferred it if the industry would’ve used the new
possibilities that arise from globalisation and the rise of new technologies such as the Internet to
make products the customer wants? Why is it so much easier to download a movie from an illegal
source than paying for it, getting it in high quality and be able to play it? Note: I’m
willing to pay for it, it’s just not possible, while the technology is there for
several years already. One would assume that if there’s a demand in the market, an offer will arise
quickly. The fact that this has not happend shows one thing very clearly: The system is broken in
that respect, it just does not work in situations where large corporations can decide not to offer a
solution for a demand. Corporations that do not act in reponse to a demand have — in our current
system — just no right to survive, and that’s a good thing. This principle takes care of the supply
of the people, be it music, software or even food. And that means that one of the very basics of the
society I’m living in — and the society itself — is being undermined.

So why did I write down these three anecdotes?

I think that Free Software projects such as KDE should make use of that feeling of being fed
up and ignored by the big industry and at the same time use the distribution channels offered by the
Internet to change the way things go. The way the industry is dealing with consumers will cause this
very feeling of not being taken seriously as a customer to grow, and to grow more. With companies
getting bigger and bigger, they also seem to take less care of their customers.

KDE as a free software project and other projects such as Simuze, Wikipedia and all
those free content providers out there should stick their heads together and give the user back what
he deserves. His freedom.

Chaosradio.

I’m on Chaosradio, a podcast done by the
famous Chaos Computer Club. The podcast is in German, so probably not suitable for the complete
audience of planet.(kde|kubuntu).

FrOSCon — wrap-up.

Drafting creating Kubuntu's Edgy Eft

So FrOSCon is over, everone is tired — especially after
last night’s social events (500l of fine German beer sponsored by O’Reilly). For me it’s the 7th
night in one go ‘doing event’, so I’m becoming a bit tired. It was great though, played dirty games
with “Saint Hermann” (\sh, evidence), took care that Jutta can get drunk (she doesn’t like beer, other than beer,
there were only softdrinks, but we managed to get a bottle of Vodka from the nearby store), teamed
up with the Xorg guys, the Debian guys and a couple of others — all in all well done. A big thanks
to the people who organised it and helped to make it a smooth, relaxed, interesting and productive
event: You guys did great work, I’d love to attend again next year.

My talk yesterday went very well and it was followed up by interesting discussions. Today, I’ve
discussed a couple of the non-developing contributors issues with an employee of MySQL AB, Lenz
Grimmer and that was pretty interesting and reassured me that there’s more people around that think
it’s important to reach out of the geek world.

Tonight, we went out to eat with some guys
from the OpenSuse team, the duck I had was good, the espresso
sucked badly, the discussions were interesting and it was fun.
My eye starts to recover, parts begin to turn brown. It looks like shit, but doesn’t ache. I
rather look like shit than feel like it, so that’s fine with me. Tomorrow, I’ll travel back to the
Netherlands, after one week one the road for the sake of the Free Desktop. I’m starting to getting
used to travelling a lot, and I very much enjoy the opportunity to meet all those nice, smart and
interesting people.

When we went to the conference venue yesterday morning, I was pretty lucky to take a nice photo
of a cornflower, enjoy!

FrOSCon — first morning.

I’m at FrOSCon right now, which is a community event in Western Germany.

Attended the keynote by Martin Michlmayr (former Debian dude). He’s talking about quality in
Free Software projects, which is pretty interesting for my “work-work” (as opposed to just “work”).
As some people know, I’m a researcher in software quality. Let’s see what this guy has to tell us.
Interesting talk, certainly useful for our research. I need to find him later on to exchange
emailaddresses and ask a couple of questions. A lot of the talk was certainly nothing new to me, but
I guess some input from a research.

My talk Roadmap to World Domination is right now scheduled at 17:00 which in fact is a
good slot. Annoying detail: The german soccer team will play against Sweden at
exactly the same time. We already talked to the organisation team (which is friendly, helpful and
does obviously does an excellent job here), and we might be able to schedule the talk after the
match, right before the social event. Drop by in Bonn if you have some time!

Update: My talk has been re-scheduled to 19:00h. Phew.

Ubuntu Dev Summit in Paris.

Drafting creating Kubuntu's Edgy Eft

So this release cycle’s Ubuntu Dev Summit has ended. 60 people from the wider Ubuntu community
gathered in Paris to draft the next release, Edgy Eft — and it will be rocking (although probably
edgy, as its name says). Some highlights are an event-based replacement for the init system, SysV
init does not fit today’s use cases very well anymore, a system nowadays is almost never booted with
all kinds of pluggable hardware, suspend and resume functionality. Speaking of
suspend, I’ve talked to Ben Collins, Ubuntu’s kernel maintainer about integrating
suspend2 in Edgy’s kernel. He had a quick look at the patches
and was quite surprised by the improved quality. Nigel Cunningham, suspend2’s main developer has put
quite some work in making the patches less intrusive and more mergeable. Last week, I benchmarked
both, suspend2 and vanilla’s software suspend. The results were simply amazing: swsusp needs 45
seconds to bring the machine back up, whereas suspend2 does that in 25s (mainly caused by image
compression). suspend2 also adds a nice userinterface (framebuffer splash, textmode progress bar —
pick your poisoln) and is much more reliable under high memory load. The least
thing you want is a system not suspending when you run away in a hurry and drop your laptop in a
train. That’s definitely a big plus. Hope Ubuntu will be the first distro shipping this cutting edge
technology by default.

We also talked about the benefits and disadvantages of decoupling Ubuntu’s and Kubuntu’s
release schedules
. It would make sense from a branding point of view. Putting out a press
release of Ubuntu and Kubuntu at the same time doesn’t make sense, it’d only harm the clarity of the
message to the outside. That is mainly why Kubuntu didn’t have a separate press release. To create a
stronger brand, however, it’d make sense to have a real opportunity to notify the public. From a
technical point of view, releasing for example 3 weeks after a Ubuntu release makes it possible to
get the first wave of bugfixes onto the CD, so one might expect to be of higher quality. I talked
about that with Jonathan of Kubuntu fame, and also with a couple of guys that’d probably be affected
by it, notably Daniel Silverstone from the Soyuz team (package archives infrastructure), and Colin
Watson and Matt Zimmerman from the release team. They were not directly opposed and certainly see
that it’d add benefit. The details however need to be sorted out first.

One thing I’m really excited about is the level of cross-desktop collaboration
I was confronted with last week. On Thursday, we had a BoF that was called gst-umbrella. We talked
about how GNOME system tools could be improved, and how we can share more code between the three
desktops living in the Ubuntu world — KDE, GNOME and XFCE. The atmosphere was really relaxed and we
were very much on the same line. There is quite an opportunity to use the same configuration
manipulation backends for all those desktops. Currently, according to the GNOME guys, the GNOME
system tools source package is a tarball of 12MB of perl backends, C frontends and XML-based GUI
files. Feel the pain. There is a common understanding that it makes sense to move that stuff to
Python in the future. Those issues have to be checked back with GNOME-upstream. We might even have
the first results of that ready for edgy, which has a pretty tight release schedule — feature
freeze in 11 weeks.

The people that might worry about me after Ken’s
report from wednesday night in Paris
: I’m fine. Only have to wear my (prescribed)
sunglasses now all day (and night!) which makes me look a bit stupid. Can’t say I’m
unhappy with that acutally, people should basically never expect me to be too serious. :P Still a
good thing that it’s really summer here in Western Europe.

Myriam from the FSFE was kind enough to take me to Germany, we had a nice chat in the car
about Freedom, messaging, the Free Software world in general, buy in from other organisations,
political stuff …

That’s about it for now, I’ll probably blog some about FrOSCon more later on. Ow, thanks to \sh (who’s also here at FrOSCon) and it seems I’m now also
aggregated on Planet Kubuntu, so hi there!

KDE 4 Multimedia Meeting :: Done!

Getting in touch with wild peacocks.

So the KDE 4 Multimedia meeting is finished with only minor casualties. Leinir missed his train
and will be back here soon to spend another night in the beautiful village of Zundert – not
completely voluntarily though. We will give it another try to send him back home to Denmark
tomorrow. Today finally the sun showed up, resulting in a nice set of photos of the wild
peacocks
that are living in the neigbourhood of the Annahoeve.
One of the first things that grabbed our attention this morning was Gábor announcing that
the Qt4 port of amaroK actually started.
Matthias told me that he redesigned the core of Phonon to make some neat introspection features
available. We also discussed some vague use cases for Phonon which really showed why Phonon is an
incredibly good idea, and that a simple audio / video backend such as GStreamer just doesn’t cut it:
Imagine you’re listening to music while surfing the web. Then you’re clicking on a link playing a
video file embedded in a website, your music volume will be lowered so your the sound of the movie
file, the movie file finishes playing and the music volume increases again – all done automatically.
I’m obviously really looking forward to all that goodness.
Allan who already left earlier this
afternoon showed us that seeking in KIO does actually work already for KIO file. That will make a
wealth of new stuff possible, I’m imagining running amaroK with your music collection on a remote
machine (and then of course playing your files using Phonon’s NMM backend outputting the music to a
remote machine), using digikam with the photo collection on a remote machine …

All in all, the meeting has exceeded all our expectations by far. Not only have we seen a wealth
of new stuff going into svn (check Danny
Allen’s latest svn digest
, for example). We were able to offer the developers the possibility to
meet each other in person, to exchange ideas that are not easily communicated via the Internet. The
network effects of the meeting are not measurable, but probably even more important than the code
that has actually been written, improved (or killed, such as the sexb^W eeh moodbar that’s gone
because it was unmaintained). We were also able to get the amaroK developers integrated more into
the KDE community, probably another thing that’s not measurable but a long-term important thing.

The concept of making an event possible where everything is taken care of – from
quality food to travel expenses, computers for those that don’t own a laptop, a great location,
information material and above all a friendly host who is
contributing in a very unique way to our project: Thanks Cees and José!

Tonight, after having dinner in a Wok restaurant where you could compile your own wok meal and
have it prepared right in front of your eyes we couldn’t resist and hooked up our notebooks onto the
random neighbour’s access point again and read blogs, comments on dot stories, e-mail and of course
write a blogentry after a terrific and very special and productive KDE event.
Paraphrasing our good friend:
I love this community.

Multimedia :: Productivity!

getting things done.

The KDE 4 Multimedia Meeting is running smoothly now after some problems getting the network
stable enough for compiling using icecream.

Intermediate results of the meeting are:

  • Vastly improved startup time of amaroK (about 50%!)
  • A Phonon media queue class which makes it easy to, well, queue media for
    playing
  • Importing of playlists from last.fm into amarok (of course you can only play the
    things you have
  • Allan began working on seeking in KIO slaves (applause!)
  • Kmix integration with Phonon
  • Usability work on amarok, use cases for Phonon’s volume handling
  • Porting amaroK to Qt4 / KDE4
  • Improvements in the scripting support of amaroK
  • Of course: APIDOX, mostly making it work again using cmake

AmaroK 2 design boF is coming up, so stay tuned!

Meanwhile, the marketing people are working on streamlining events
documentation.