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.

Sessions menu (Lancelot)

Well, the first feature for 4.3 is finished even before the final 4.2 is in your favourite distro’s repositories.

Before today, when you clicked ‘Switch User’ in Lancelot, it would use KRunner and query it with the magic word ‘SESSIONS’. That would show the KRunner results inside Lancelot.

Lancelot Sessions Old

There were a couple of problems with that approach:

  • The first was that it induced a bug when you try to invoke the ‘Switch User’ a couple of times in a row.
  • The second is that although ‘SESSIONS’ is a magic keyword, it doesn’t get only the responses from the session runner, but also from Strigi [for example], so it produced rather unpleasant results.

Lancelot Sessions Menu

Why those two bugs weren’t fixed? Because I planned something a bit different for the ‘Switch User’ button, and, for that matter, the rest of the buttons. So the first step towards the goal has been done. Now, instead of loading the sessions inside the main list, you get a pop-up menu, as shown in the screenshot.

Next steps

Now, the next thing to do is to make a menu for the ‘Log Out’ button, and to make the buttons configurable. So, if you don’t have the use for ‘Lock Session’ or ‘Switch User’, you will be able to replace them with something different.

Enough for this time, cheerio!

2 Comments

  1. Hello,

    When I read sessions, I first thought you meant sessions in the sense of a group of applications(until I read further and saw you meant something else).

    But I find it interesting: Will you one day implement sessions in the sense that I can add a number of applications to a group, and then be able to start that group? With parameters for the applications in the group?

    E.g. a group called “webdevel” that starts “kwrite ftp://path/index.html” and also “konqueror http://mysite/index.html“. I think that could be interesting, don’t you think?

    Comment by Tom — 20 January 2009 @ 12:34 Reply to this comment

  2. @Tom: That idea appeared before on plasma-devel (or somewhere similar). There were plans to make a runner for it, but as far as I know, nobody started on it yet.

    I agree it would be a cool thing, although I wouldn’t make it to be Lancelot specific.

    Comment by Ivan Čukić — 20 January 2009 @ 13:40 Reply to this comment

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.