You are using an obsolete web browser, or you have the page styles (CSS) disabled. You'll be able to access this site, but only a visually simplified version.

Tokamak 4: Lancelot Mobile

Lancelot (the menu) was not really designed to run on mobile devices (although it could be used on such devices as a full screen application quite well), but the Lancelot Part applet proved to be a rather good fit.

I wasn’t involved in any mobile-related developments at Tokamak 4 (I had too much to work on krunner and activities) but I found some time to test the KDE/Plasma enabled Jax 10 devices.

Placing a Lancelot Part inside the newspaper activity that showed favourite applications and a search box was a breeze and it worked quite well. Marco did a really good job of adapting the plasma-netbook edition to mobile (touch screen) devices so the Parts applet required no changes at all to fit in the new environment.

Here is an obligatory blurred screenshot:

I’m planning to make a screencast about using Lancelot in Plasma Netbook, but I’m not finding the time. I hope I’ll be able to make it soon.

Cheerio!

Tokamak 4: Plasma is too fancy

If anybody tells you that KDE SC 4 is too fancy and not configurable enough, just show them this:



A product of a temporary idle mind – ASCII theme for Plasma

edit: It’s is creating a wallpaper to fit this…

Tokamak 4: Activities

This one will be short, I don’t really have the will for writing – it is half past midnight here.

The activities infrastructure is mostly finished – now only polishing is left to be done.

The new organization goes like this:

The core activity-related features are placed into a kded module which doesn’t depend on anything but Qt and the core kde libraries. The class for writing the clients of this service (any program that wants to be able to react to activity changes etc.) will be in kdelibs. The API is minimal and very easy to use – it took me only a couple of minutes to patch KWrite to be able to use activities.

The second part is the revamped Nepomuk Activities service (I already blogged about it – the changes made at T4 were mainly related to make it fit the new arhitecture). If it is running, the above class passes all the info to it. Running the service enables the access to extra meta-data regarding documents and activities.

The third, and last part is the manager class which will be in kdebase/workspace (most probably) because it is only intended to be used by kwin and plasma. Normal programs shouldn’t use it.

The next step is the UI – kwin and plasma

Cheerio.

Runner drag and drop, serialization

Until now, drag and drop and some other things in krunner based launchers (lancelot, kickoff, and maybe SAL?) are based on a small hack – manual detection whether the result is in fact a .desktop file of an application provided by the service runner, and if it is, then we can use it.

So, the first thing I decided to make is some way of allowing serialization of the search results. I decided that the best way is to allow the results to have mime data assigned to them. Naturally, since most of the time you don’t need the mime data, it doesn’t load by default – it is loaded only when requested and only for the specific search result.

That is all for now from T4… I’m sleepy and I can’t really write more…

Mmm, more pies!

A small visual update of Lancelot‘s pies:

Concerning bars instead of pies:

  1. Bars below the text (like in dolphin) will not be implemented:

    I’m trying to keep everything in Lancelot generic enough with a complete model-view separation, so introducing a widget just for a specific model is not an option.
    Comment by Ivan Čukić — 7 February 2010

  2. Bars as a part of the icon
  3. This one would be allowed when concerning the above statement. But I don’t really see the point in doing it.

    When the usability is concerned, bars are more desired when comparing multiple statistical variables (national growth per year), while when percentages are concerned, pies are the way to go (and to increase the usability even more – these are color coded – from blue, through yellow to red).

    Introducing a new feature just for the sake of it is not something I’m willing to do. If you can convince me that bars* are better** than pies, I’m ready to listen.

    * bars that can fit into the icon itself like the current pies do.
    ** better as in “should replace the pies” – having a configuration option for something this insignificant would be a waste of space.

I’m going to Tokamak 4

Mmm pies! (aka Disk usage in Lancelot)

Just one image of a new Lancelot feature:

New icon

The original Lancelot icon is usually considered weird-looking when seen on a panel (or desktop). Even I have had Lancelot set up not to use it.

I like the old icon very much, and I’m still proud I succeed in making something like that with a vector-graphics program (Inkscape) so it still is, and will be until the end of time, the main icon of the Lancelot project. But from now on, it will not be used for the applet button.

Now, the default icon is the standard KDE icon – the same one other launchers use.

For those of you who want to have a normal-looking icon but still want others to see that you are using Lancelot and not something else, you can use the following one:

The new icon can be set through the applet configuration dialogue.

New Lancelot icon Lancelot New Icon

I’m going to Tokamak 4

Less “wasted” space

There was a wish once upon a time to make the section buttons in Lancelot smaller, that is narrower, because people thought that they waste too much space.

At first, I was reluctant since I didn’t see the point in doing it, but I changed my mind recently – Lancelot is pretty much feature-complete as it is (at least from my point of use/view), so I decided to implement something that I absolutely have no use for, but somebody else will. The fact that I’m missing the vertical tabs in Amarok could be another reason in making this :)

So, if you want to have the buttons as shown in the following image, just right-click them and choose the appropriate* option. (mind that this is available in trunk, not in the KDE SC 4.4).

Lancelot with narrow sections

*It says ‘toggle collapsed sections’ at the moment, but I’ll change it as soon as I think of a better name.

I’m going to Tokamak 4