www. O S N E W S .com
News Features Interviews
BlogContact Editorials

KDE SC4 Architecture and What it Means for the Future
By special contributor mtzmtulivu on 2010-08-02 03:51:44
KDE SC 4.0 was released in January of 2008 and KDE SC 4.5 will be released shortly (August 4th, 2010), roughly two and a half years later, and it is time to reflect on what KDE SC4 seeks to accomplish and how well it is doing in its goals. The critical shift KDE SC took in this series is abstracting the desktop from the underlying system through three pillars, phonon, plasma and solid making the desktop some sort of a virtual platform environment and easily portable to other operating systems.

Phonon abstracts the platform from multimedia backends like xine, mplayer, vlc, gstreamer on *nix based systems and DirectX (required by DirectShow) on Windows and QuickTime on Mac making it possible to easily write and port KDE SC-based multimedia applications to other supported operating systems. Solid abstracts the hardware components of the host system making it possible for applications to utilize hardware capabilities of the host operating system without really caring what operating system they are running on. Plasma, the KDE SC4 desktop is the last and most visible of the three pillars and it is the part that takes most of the criticism and least understood. Plasma currently ships with two desktop interfaces, "plasma-netbook" for smaller screen sizes like the ones in netbooks and smaller notebooks and the standard "plasma-desktop" for normal monitor sizes.

Plasma adds its own level of abstraction to the desktop. The traditional Linux desktop offers virtual desktops to only opened windows and hence only application windows can be tied to any particular virtual desktop and hence all virtual desktops shares the same desktop wallpaper and show all files in a user's desktop folder(~/Desktop). Plasma adds "containers" that are formally known as "activities" to the mix. All virtual desktops can be set to use the same activity making KDE SC desktop look and behave like the "traditional" desktop or different activities can be set to each virtual desktop making each virtual desktop totally different from each other. The latter option allows for different virtual desktops to have different wallpapers, different plasmoids, show different files from different places on the system and the list goes on.

KDE SC 4.5 continued this process of abstracting the desktop and most of the effort this time around was on the tray area. In the old days, the tray area was basically a dumb place to host tray applications and these applications were responsible for creating their own inconsistent UI and the only "intelligence" tray system had was hiding/unhiding icons and a user had to manually do this. In the old system, tray applications asked for attention by changing their icons and this necessitated having more icons shown than necessary because the tray system had no way of knowing and showing hidden icons that needed user attention. The new d-bus based protocol allows a tray applications to be hidden by default and to be shown only when it changes its status to "active" or "need attention". For example, a gmail-plasmoid can be set to passively check for new emails every ten minutes while hidden and to automatically get unhidden when it detects a new email and wish to inform the user. With the new protocol, a tray application sends the information to the user through the protocol and leave it up to the system to presence the information in a way that is consistent and predictable.

KDE SC platform libraries and a few applications are now installable on Windows and Mac and it is only a matter of time before KDE support on these platforms reach first class citizenship status as KDE SC is in Linux and BSD. The decoupling of the desktop from the underlying operating system seem to be nearly complete with this release and KDE SC is more or less at the same point that fish was when it took the first couple of step on land millions of years ago after it successfully concurred the ocean. KDE SC has its foundations set and it is time to claim its place on windows and Mac desktops.

About the Author.
The author is just a regular Linux and KDE user and a fan of OSNews.

71  Comments - Printer friendly - Related stories

Tell a friend
Your full name:
Your email address:
Your friend's email:
Anti-spam measure:

News Features Interviews
BlogContact Editorials

WAP site - RSS feed
© OSNews LLC 1997-2007. All Rights Reserved.
The readers' comments are owned and a responsibility of whoever posted them.
Prefer the desktop version of OSNews?