Slashdot Mirror


Ars Technica: Deep Inside KDE 3.2

binner writes "Ars Technica features an article 'Deep inside the K Desktop Environment 3.2' written by Datschge and Henrique Pinto. After introducing KDE and the project's structure the authors present some new applications of KDE 3.2. After that they explain the key KDE technologies KParts, DCOP, KIO, Kiosk and KXMLGUI and give examples for code reusage and an overview of efforts to integrate non-KDE applications. For developers Umbrello, Cervisia and Valgrind with KCachegrind are introduced and of course KDevelop 3.0. An examination of licenses precedes the positive conclusion."

26 of 318 comments (clear)

  1. For more on cool things about KDE... by Telex4 · · Score: 5, Interesting

    This series of articles I wrote with a friend might also be of interest.

    It outlines some practical nicities that are a result of the technologies like KIO slaves mentioned in the Ars Technica piece, including:

    Managing web sites (handling content without an FTP application, web gallery creation)

    Extending Konqueror with view profiles (replace FTP/Samba applications with Konq, and browse Google easily)

    Using KPrinter in any app

    Enjoy :-)

  2. I've stayed away from KDE...until now. by ScottGant · · Score: 3, Interesting

    I just read up on it from Ars, and it certainly looks interesting.

    I'm currently using Fluxbox, but at the moment I'm emerging kde...should take a good long time to compile everything...but I'm going to give it a run-through and kick the tires a bit.

    If I don't like it, there's always 'emerge -C kde'

    --

    "Music is everybody's possession. It's only publishers who think that people own it." - John Lennon.
    1. Re:I've stayed away from KDE...until now. by molnarcs · · Score: 2, Interesting

      Hey, thanks :) That's how I do it btw, but its an excellent advice for those who think compiling kde is too long. Of course, I usually end up installing almost all of the packages (well, all except edutainment, which is a pretty big package). You also have to remember to leave kdeaddons for last, because it brings in 2 or 3 other kde* dependencies. I use fbsd btw, my friend here uses gentoo :) - and me when trying to help with something :)

  3. As a long time... by Chris_Stankowitz · · Score: 5, Interesting

    fan of gnome who always stayed away from kde and then evanutally dropped gnome in favor of fluxbox. I have to admit, that I tried the 3.2 release an I'm hooked. I will still run flux on machines that just can't hand;e KDE's needs but KDE has come a *very* long way. My suggestion to others now is to run kde if their machines are fast and flux if it is slow (like my old p3 500).

    1. Re:As a long time... by Anonymous Coward · · Score: 1, Interesting

      Scary that you recommend flux on a P3-500 which is a hell of a fast system, but on a *BSD system rather than most of today's Linux distro's and that KDE takes a lot more resources than a Windows XP box would.

    2. Re:As a long time... by clymere · · Score: 2, Interesting

      Amen. Thats exactly what I do. Of course my "slow" machines are p1 200mghz, and my "fast" machine is a p3 500 mghz :) I've honestly seen very little performace difference between KDE on that P3 and on my 1.44Ghz Athalon XP. I can only assume that its because the P3 is loaded with about 328MB of ram. But my point remains: KDE is a a bit of a beast, but i don't think its anywhere near the resource hog that people seem to think it is.

      --
      once you go slack, you never go back
    3. Re:As a long time... by Anonymous Coward · · Score: 5, Interesting

      When I started using Linux (5 years ago) I gave KDE a shot and dropped it in favour of Gnome. Only a few weeks ago I tried KDE 3.2 rc1 and never went back.

      Interestingly I always thought that there would be no way for KDE to make it better than Gnome and I only tried it because my brothers nearly forced me to.

      I think the most striking feature in KDE was the wallet-manager. I just love the possibility to store everything with a masterpassword.

      And since K3B startet working with ATAPI drives (ie. without ide-scsi) I stopped using the command line for cd-burning as well. (You should also try the emovix feature of K3B: amazing!)

      There's one thing I really learned from the switch: I don't try to persuade my friends any longer to use the same DM as I use. (I don't like to admit that I was wrong ;)

  4. Re:KDE just gets better and better... by Anonymous Coward · · Score: 3, Interesting

    I find a usability problem in kcalc (the calculator program). That is, I don't see an obvious way to compute the square root of a number. I know that the square root can be computed by raising a number to 0.5 but to many folks, this is not very obvious. I also know that one can use the INV function. Let the powers that be put a squre root button of the kcalc interface. I must say that kde3.2 has supprised me in that my text was "spell checked" as I was writing this text. It was a pleasant supprise indeed. Thanks to the KDE team though.

    Cb..

  5. What is reasonable though? by SerpentMage · · Score: 3, Interesting

    >>> For commercial development of closed source software, the licensing fees for Trolltech are generally accepted and favored among KDE developers since this ensures support for KDE/Qt in both ways: either someone contributes code to the open source community, or he pays the developers of Qt, both which directly benefit KDE in the end.

    The problem with the closed source software fees is that they are outrageous. Shareware developers need not apply, which happen to make the Windows platform what it is today. Shareware developers should not be underestimated in their importance.

    To get a license for both Windows and Linux for QT you would have to pay 2500 USD minimum. Gee for that I can get a universal subscript to MSDN, which gives me an IDE, OS, Office, Windows, Windows Server, etc,etc. And what do I get from Trolltech? And SDK! Gee, yippee...

    My point is that shareware developers are not against paying money. Contrary they would pay money, but reasonable amounts!

    --

    "You can't make a race horse of a pig"
    "No," said Samuel, "but you can make very fast pig"
  6. Re:I mostly agree.. by twener · · Score: 2, Interesting

    Shaded and animated menus are not activated unless you select in KPersonalizer the highest eye-candy level. And neither fish, cpu display, network monitor nor timezone applet are default in KDE, they must be your distribution's defaults.

  7. Re:KDE 3.2 by bogie · · Score: 4, Interesting

    "and as someone who will go on record as disliking Trolltech and their business model,"

    But why did you dislike their business model in the first place? I mean they've bent over backwards for the OSS community and they've also produced some dam fine software. Want to write free software? QT is Free. Want to write closed source software? Pay for QT just like you do with your software tools in the win-32 world. Should Trolltech have busted their ass for the last 7 years for for Free just out of the goodness of their hearts? Why do you begrudge someone who wants to support OSS but also wants to be able to make a living? Do you just dislike any company who wants to market a product and make money? Geez.

    --
    If you wanna get rich, you know that payback is a bitch
  8. I'm with you by bonch · · Score: 1, Interesting

    I'm with you, I love the underlying technologies of KDE. But I dislike the desktop implementations of them.

    I always end up going back to Gnome because the interface is cleaner and more elegant. 2.6 is due out in March. I just run Gnome and run KDE apps inside Gnome when I need to. If I had to make a poor analogy, I would compare KDE to Windows and Gnome to MacOS--one has the wider support for technologies and applications, but the other actually feels like a GUI should.

  9. Why no MDK rpm? by haeger · · Score: 3, Interesting
    What I can't figure out is why Mandrake hasn't put out a good rpm for this. It seems that almost every other distro has a package on the download page.
    I find it interesting that Mandrake that is supposed to be one of the major players that supports KDE doesn't have a package there. Nor can I find it in PLF's (Penguin Liberation Front) packages.

    Anyone know what's up with this?

    .haeger

    --
    You are not entitled to your opinion. You are entitled to your informed opinion. -- Harlan Ellison
  10. On the other hand... by Kjella · · Score: 4, Interesting

    ...I've found that most of the smaller tools, that are typically shareware in Windows, is GPL'd in Linux anyway.

    At least when it comes to hobby projects that grew into a "shareware" size project, it's very convienient to grab some GPL code here and there - and then you don't have much choice but to GPL it all, if you want others to use and enjoy it.

    Shareware makes Windows what it is today? Huh? If I look at my programs they're usually either a) Free (as in beer, not speech) or b) Full-blown commercial. What's shareware? Mirc and a few other, not much.

    Unless you count those that are "trial" or "evaluation" versions, but they are typically what I'd consider full-blown commercial, stuff like e.g. Paint Shop Pro doesn't strike me as standard "shareware". That'd be more like Mastersplitter or some such tool someone whipped up on a slow day.

    If anything, it is the lack of shareware that makes Linux what it is. Somewhere around there's this tool that'll do what you want, or reasonably close, and it's free. And you can tinker with it until it *does* what you want.

    What I really miss on Linux is the juggernaughts... when you *know* GIMP etc. just won't cut it, but there is no real powertool available, no matter what you're willing to pay.

    In addition, you can take the "the market knows best" position. Trolltech is a business, trying to maximize profits. Issuing shareware licences would cost them basicly nothing. Since any company would want free profit, why aren't they offering one? Either Trolltech is irrational, or there simply is no interest, no volume.

    Kjella

    --
    Live today, because you never know what tomorrow brings
  11. Re:imo by Anonymous Coward · · Score: 2, Interesting

    I'm a Gnome user, but I decided to give KDE 3.1.5 a try about a month ago. I wanted to like it, but I felt the interface was too ornate. I eventually gave up without giving KDE a truly earnest go of it, but I will probably give 3.2 a try on another box. The main reason I gave up was because I had to repeatedly minimize and maximize Konqueror to get the main scroll bar on the right to reappear. It would disappear whenever I opened a new page. Still, I was impressed with Konqueror's quickness.

    In a nutshell, I like Gnome because of its simple interface. I use the default theme in 2.4.2.

  12. Re:GUI Cleanliness by Pxtl · · Score: 4, Interesting

    Personally, I find apps that have options not available in the GUI to be personally offensive. Text files are not intuitive, they are generally poorly documented, and are a poor way to configure a program.

    If a feature is only available through modifying configuration files, I consider it incomplete.

    The problem is this: lets say I want to change a setting. I can
    a) search through the menus - hopefully I will find it before my third attempt or

    b) use a programmer style configuration. This involves
    - determining if it is in a text file or is a command line option
    - determining which text file it is in
    - determining what the name of the command/flag/whatever is
    - determining the form of its parameters
    - determining what its operational limits are

    where in a GUI system, that is all handled out front. The worst part is one of getting help. Where do I look for help on a config parameter? I can't just point and wait for the tooltip, or pop-open a context sensitive help system. I have to find where the developer has hidden the documentation.

    If its not available in some intuitive, context-documented options screen, then its not finished. I do not work for my applications - they work for me.

    IMHO, more focus on framework is needed. Make a configuration file system where for each option you simply describe a simple widget and its tooltip. Keep it super simple so developers would be encouraged to use it as it would be quick to describe a new variable. Then, just make all the little widgets appear in an "advanced options" menu. No layout, no struggling, just a giant scrollable list of widgets with pop-up documentation. That's what a modern config file should be. And make it work on a text file in the back-end so that power-users can do their thing.

  13. noatun by minus_273 · · Score: 3, Interesting

    atleast they got rid of noatun or whatever that crap that KDE media player was. Good god! was it awful.
    You dont know the pain of being a kde user and having to run XMMS!
    oh well i use itunes on OSX now :)

    --
    The war with islam is a war on the beast
    The war on terror is a war for peace
  14. I'm Konvinced, but powerless by zpok · · Score: 4, Interesting

    About installation ease of use, I guess.

    I've read a lot about KDE and KOffice, enough to try and get it to work on my little Cube (mac). For a couple of weeks I've tried a number of approaches.
    - First, install Yellowdog on my main machine. No Go, unless they'll get the Boot from Firewire Disk problem resolved. I'm not convinced I have the skills to install this on my main computer on the main hard-drive.
    - Next: installing the OS X "native" alpha, which indeed installed nicely but managed to do exactly nothing.
    - Finally I've tried the X11/fink route which was very entertaining (if you're into that kind of mind-numbing fun) but in the end - despite following lots of advice I didn't really get from faq/help/manuals/fora, it managed to do just the same: nothing.

    Now why would I share this with a bunch of geeks who can do this with their eyes closed?

    Not to be humiliated by you, I'm already quite used to "you're stoopid, zat's ze problem" comments.

    But to make you aware that a no-nonsense/no command line/no "first install this, then that, then go through the manuals, then ask help" installer should be highest priority in every project that tries to bridge the gap between superhuman users and regular users.

    Of course I'm stupid. But I'm also quite adept on my own platform, I've been using it for the last 20 years (god, I'm old).

    Let's wrap this up and tell you what I'm now considering, and please remember that I'm not a regular patient. I'm one of those people who still wants to use something even after being told he's actually too stupid to even install it. The normal reaction - I think - would be to feel better about ones own OS and think less of the one that doesn't want to be friends with you.

    My next options are:
    - waiting a couple of months until I can safely install Yellowdog on a Tangerine iBook I still have here, but which is still needed as backup machine for me and my wife in case our computers blow up.
    - waiting a couple of months until the "native" darwin version of KOffice is out. I think they take installation ease of use very seriously. Although ultimately useless, the installation process was painless. That at least is pleasantly reassuring.

    What I'm not going to do: tinker and tinker until I get KOffice to work under the X11/Fink setup. It's just too much of a hassle. There's no joy, and in the end I already have everything I really *need* to enjoy my computer. Curiosity can kill some other cat.

    Rant over, have a nice day!

    --
    I think, therefore I am...I think.
  15. Nice Feature of KMAIL by polyp2000 · · Score: 5, Interesting

    i've been using kde3.2 for a while...

    Today this rather wonderful dialog popped up just after I clicked to send an email in Kmail...

    Attachments?

    Often its the little things that really make the difference.

    nick ..

    --
    Electronic Music Made Using Linux http://soundcloud.com/polyp
    1. Re:Nice Feature of KMAIL by asteinberg · · Score: 4, Interesting
      That's awesome - I can definitely think of a few times it would have come in handy for me.

      Another new feature of 3.2 I'm surprised I haven't seen anyone here mention yet is the new hotkeys system. It is amazing in its flexibility - you can tell it to do anything from starting a program to performing a DCOP call to pressing a button in any open window in response to just about any type of input - a mouse gesture, a keyboard shortcut, a window opening up. For example, I used it to make mouse gestures to change tracks in XMMS. You can make the input "global" or "local" to any specific program (with the option to set it to only be triggered if a particular window has focus). My only complaint is that the new LIRC remote control setup doesn't integrate into this framework.

      --
      The first ever Ultimate Frisbee video game: here (now
  16. Re:killer app? by Anonymous Coward · · Score: 1, Interesting

    I can't recall a killer app that provided the same (or even slightly better) functionality as a popular pre-existing one.

    Google?

  17. Re:GUI Cleanliness by Anonymous Coward · · Score: 1, Interesting

    I find that yes/no is the normal order in English, no/yes isn't as natural...

  18. Re:Gnome - KDE - Gnome by 10Ghz · · Score: 4, Interesting
    Also it was still a little bloated/slow on my pretty nice laptop (Centrino 1.6Ghz)


    I run it on my 300Mhz P2-laptop and it's fast enough. I also tried it on my 1GHz P3 laptop, and it ran REALLY fast.

    It uses massive amounts of ram even when idle


    On my laptop, full-blown KDE-desktop with Kopete and Konsole uses about 50 megs of RAM (well, that's an estimate. Running CLI-only showed about 5 megs of RAM being used, adding Xfree, KDE and Konsole in to the mix, bumbed that figure to about 58megs. So I would say that KDE might be using under 50 megs of RAM, rest being used by Xfree Konsole and Kopete. I don't consider that to be that much)
    --
    Lesbian Nazi Hookers Abducted by UFOs and Forced Into Weight Loss Programs - -all next week on Town Talk.
  19. Re:Integrating Gnome and KDE technologies by RPoet · · Score: 2, Interesting

    I would love to see some of the lower-level KDE features made available to gnome through some kind of thunk layer. For example, blending gnome-vfs modules into the KIO subsystem, or blending KIO slaves into the Gnome VFS subsystem would be very very useful to me.

    With fuse_kio, you can mount any KIO slave directoy on the file system, making them available to GNOME applications as well as GNU command line programs and any other *nix app.

    Theming integration is also cool. Right now there is a gtk theme that uses the current KDE theme engine to draw the widgets. I would love to see a QT theme that uses the current GTK engine to draw widgets. Then a program like KDevelop might actually fit into my desktop.

    The KDE people have done their part of the job (bringing Qt/KDE styles to GTK/GNOME), we're just waiting for the GNOME people's answer ;)

    --
    "Oppression and harassment is a small price to pay to live in the land of the free." -- Montgomery Burns.
  20. Re:Perhaps it's just my setup by Merk · · Score: 4, Interesting

    Then you'll love what is, for me, one of the killer features of KDE 3.2: prevention of focus stealing.

    Go to "Desktop", "Window Behaviour", "Advanced" and at the bottom there's an option "Focus stealing prevention level". I've set mine to 'high' and I love it. Never again will a popup in another application, window, or desktop mess with what I'm typing. This is especially important for me because I have to deal with a flaky mail server all the time, and at least once while I was typing this short message, it popped up a window saying "... the server may have gone down or there may be a network problem".

    Now I have a beef with the Mozilla/Thunderbird developers for such a stupid UI and way of dealing with transient network issues, but that's another topic.

  21. Re:GUI Cleanliness by Anonymous Coward · · Score: 2, Interesting

    What application does rc.conf configure?