Slashdot Mirror


GNOME/KDE Integration Gets A Few Boosts

Balinares writes "Great bunch of news on the Linux desktop unification front. After the unification of GTK and Qt themes that Slashdot already reported on, it is OpenOffice's turn to get the unified look treatment (screenshot 1, screenshot 2, screenshot 3). In related news, the recently released QtGTK library allows to merge the Qt event loop with that of GTK. In other words, this means you can now easily use KDE's DCOP, IOslaves, and, last but not least, file dialogs, from inside your GTK apps. (Screenshot of this feature used in XMMS2: 1 2). It comes with a tutorial that explains the basics. Finally, the new fuse_kio tool now makes it possible to use KDE's IOslaves directly at the filesystem level, from any Linux app. 2004 is really beginning well for all those of us who use Linux as their primary desktop!"

40 of 339 comments (clear)

  1. Sweet First Post! by iLL_L0gic · · Score: 3, Insightful

    I can't wait for this to happen, I'm tired of there being so many desktops in linux. You can argue all you want about "it offers better choices for people." But the truth is, people don't want to choose, they want you to choose for them. Once they learn your system, then they can go in and tweak it for themselves.....I've always seen this as a drawback for Desktop Linux, some programs work in one window maker, others work in another. It's too hard for the average user.

    1. Re:Sweet First Post! by FooBarWidget · · Score: 5, Insightful

      That reasoning makes no sense.

      "But the truth is, people don't want to choose, they want you to choose for them."

      Well, just because there IS choice doesn't mean you HAVE to choose. If those people don't want to choose then why don't they just let their distributor/geek friend/vendor/whatever choose for them?

      And you forgot why there is choice in the first place: one size does not fit all! The only way to satisfy as many people as possible is to provide choice. The people who don't like that their distributor/vendor/whatever chose for them will choose, and the people who don't want to choose will let their distributor/vendor/whatever chooce for them. What's wrong with that?

    2. Re:Sweet First Post! by Vann_v2 · · Score: 4, Insightful

      Or better yet, provide sane defaults and then they will neither have to nor want to change. Those people who want to do so still can, and everyone wins.

    3. Re:Sweet First Post! by alakon · · Score: 5, Interesting

      When I first installed Linux I flipped a coin to decide between the two :) Yes, I didn't want to make a choice, as Redhat gave no background to base my decision.

    4. Re:Sweet First Post! by mickwd · · Score: 3, Insightful

      "Contrary to what you believe, providing a bunch of choices doesn't please everybody, it just confuses and spreads energy across various, conflicting projects."

      So much for capitalism and competition, then.

      Why don't we get rid of political parties, too ? Surely it just confuses and spreads energy across various different parties ?

      Why don't we just have one single government that tells us what to do ? Because choice is a bad thing, right ?

    5. Re:Sweet First Post! by Joe+Tie. · · Score: 3, Insightful

      It's too hard for the average user.

      While I don't agree that it's too hard for the average user, I have to say, so what if it is? Is it so terrible to have an operating system that's not dumbed down to the lowest common denominator?

      --
      Everything will be taken away from you.
    6. Re:Sweet First Post! by nathanh · · Score: 3, Insightful
      But the truth is, people don't want to choose, they want you to choose for them.

      I partially agree. For desktops, some people do want to have many options to choose from and other people want to have the choice made for them. But even when that choice is made for them, almost everybody wants some level of control over certain aspects of the desktop (eg, the backgrounds, the colours).

      I agree with you that there are many desktops in Linux, but only KDE and GNOME seem to have any significant mindshare. I see it as very similar to the early days of GUIs on MS-DOS. We had options that included GEM, GeOS, Desqview and Windows (of course). It was a mess. Eventually the market made a decision and Windows now dominates.

      But even when Windows became hugely successful (with version 3.0) there were multiple competing widget sets. I don't know what your experience is like, but I still recall the big battle between Borland and Microsoft. Some applications used the (IMO ugly) Borland widget set with the Big Green Tick for the OK button and the nasty 3D border effects. Other applications used the Microsoft widgets. Over time, Borland lost marketshare, and Microsoft improved at a faster rate than Borland, and now we have "consistency" on Windows. Though I think if you look hard enough you can still find some applications aren't consistent (eg, recently I installed an ASUS motherboard and the AsusProbe software looks nothing like the rest of Windows).

      I see something similar eventually happening in the KDE/GNOME war. Right now we have two strong desktops and that causes confusion to some users (admittedly the users who can least deal with the confusion). I expect over the next five years we'll see more "integration stories" like this. Eventually the superficial differences will disappear - the user experience will at last be consistent - and all that will be left will be the programming models. That's no different to any of the existing platforms; they all offer multiple programming models that have superficially similar appearance. We're already seeing improved levels of integration in drag and drop, Desktop folders, metadata formats, etc. This story now says we're soon going to see improvements in integration in widgets, themes, event loops, etc. It's all slowly getting better.

      Ok, I've rambled. My point is that Linux on the desktop is immature. What we're seeing now has been replayed on every other platform as it "grew up". Eventually the inconsistency is all settled from the users point of view, though I don't think it's ever consistent from the programmer's point of view. These "integration stories" are (IMO) normal and expected. It might be confusing now but it is going to get better if history repeats (and I think it will).

  2. License? by DAldredge · · Score: 3, Interesting

    What effect will the QT/GTK event loop intergration tech have on licensing? In other words, does your app have to be GPL to use this tech?

    1. Re:License? by JimDabell · · Score: 5, Informative

      That depends on what license you pick for Qt. Qt is available under a number of different licenses. For Free Software, you need to follow either the GPL or the QPL.

    2. Re:License? by loucura! · · Score: 4, Informative

      No, your application could be BSD, but the entire distribution of your application plus this technology would be GPL. Or, you could distribute your application as a proprietary application and require the USER to link them together, which while not completely kosher, doesn't appear to violate the letter of the GPL license.

      Why do you insist on trolling every single KDE topic with this complaint though? Trolltech has every right to restrict you to the GPL (or compatible licenses) if you choose to use their software. If you don't like it, don't use it--no one is forcing you to. Or, if you absolutely have to use QT, and you absolutely cannot use the GPL, buy a commercial license.

      So, in conclusion, no your application needn't be GPL, but when you distribute your application with the GPL software, you have to abide by the terms of the license.

      --
      Black and grey are both shades of white.
    3. Re:License? by fidget42 · · Score: 3, Informative
      Since the GTK license allows keeping the source closed and the QT doesn't I desired to know if this could be used in closed source apps. How is that a troll?
      I would guess that it is considered a troll because Qt does allow you to keep your source closed. All you have to do is purchase a Qt license from Trolltech. Considering the quality of the toolset, and its reasonable price, most people don't think this is a problem.
      --
      The dogcow says "Moof!"
    4. Re:License? by rking · · Score: 4, Insightful

      I would guess that it is considered a troll because Qt does allow you to keep your source closed.

      Okay, step by step:

      1. You can't normally link proprietary software to QT without paying licensing fees, agreed? No criticism here, no condemnation, just those are the rules, agreed?

      2. GTK normally does allow you to link with proprietary software without requiring licensing fees, agreed?

      3. The system this article is about apparently allows you to use some QT functionality with your GTK apps.

      So the question if I understood it correctly was, can you legally use this system in conjunction with a proprietary GTK-using app? If I understand correctly this would be the user making this choice not the developer, but maybe I've misunderstood how this system works.

      That question seems to me to be a valid and reasonable one. I don't think you have answered or even addressed it, but either way it does not appear to be a troll.

  3. Theme THIS! by Mr.+Darl+McBride · · Score: 4, Insightful
    and, last but not least, file dialogs, from inside your GTK apps. (Screenshot of this feature used in XMMS

    This is not wanted, because XMMS has always been the bastion of UI consistency. Also, while I am telling the truth, Mozilla makes any desktop look professional with its native menus and widgets. While I am still telling the truth, I am not always looking for functional replacements for Mozilla and XMMS that don't scream UGLY and awkward every time you see them.

    ~Darl

    1. Re:Theme THIS! by RoLi · · Score: 3, Informative
      Konqueror is integrated and has some nice features other browsers can only dream about:

      • When you log out and back in, all your Webpages are restored. On the right desktop and with the right geometry - no more temporary bookmarks!
      • Bookmark handling is great because you can add bookmarks and bookmark-directories at the same place you select them. "Manage bookmarks" is seldom needed anymore.
    2. Re:Theme THIS! by Anonymous Coward · · Score: 4, Interesting

      Plus the kioslaves are glorious.

      The other day, I was copying stuff out of a .tar.gz which was open in Konqueror straight into an FTP site, also open in Konqueror. A bit later, I was copying Ogg Vorbis files off an audio CD.

      There's loads of other kioslaves, like smb:, fish:, lan:, kamera:, floppy: and sftp: - they can make tasks which previously required entirely separate applications utterly seamless instead.

      I'd love the opportunity to be able to use them on the command line, and to use them with other, non-KDE software, which it sounds like fuse_kio thing will offer...

  4. KNOME by Anonymous Coward · · Score: 5, Funny

    So what are we going to call this, KNOME? Or maybe GDE...

  5. A print dialog box... by netsharc · · Score: 3, Interesting

    One of the screenshots look like a print dialog box. I wonder what the state of that is. Or is this a moot point, when cups has it all solved?

    --
    What time is it/will be over there? Check with my iPhone app!
    1. Re:A print dialog box... by bflong · · Score: 4, Interesting

      There's no reason to worry about the KDE print dialog. Any app can be programed to output postscript and then pipe it to kprinter. KDE has the printing thing licked, and has for a long time. I can use KDE's print dialog with mozilla, openoffice, and just about any other program that lets me chose what program to use for the print que.

      --
      Why is it so hot? Where am I going? What am I doing in this handbasket?
  6. This is great by Anonymous Coward · · Score: 5, Insightful

    This is exactly what should be happening I think. We've seen some pretty good strides as far as interopability goes between KDE and GNOME. This brings us the unified desktop without having to sacrifice either one of these projects. It's good that KDE and GNOME can both go their own directions while still increasing interoperability.

    This should satisfy the people who just want a consistent look on the desktop and then people who want choice.

  7. unification by potpie · · Score: 4, Insightful

    It's projects like these that show how much more productive Open Source is.

    Proprietary companies may try to run other company's formats, but probably wouldn't be willing to say "oh here's how we do it, let's make it easier for people and merge the two for greater compatibility." Open Source companies can't (and I'd like to think wouldn't if they could) restrict compatibility for their own benefit.

    For example: Microsoft comes out with special new features like "plug n' play" or some new way to install programs "faster" and "more easily," but RedHat releases an open source program, RPM, and allows anyone who will to use it.

    Hooray for Open Source!

    --
    Esoteric reference.
  8. Even more importantly by d99-sbr · · Score: 4, Funny

    OO.org has apparently been translated to Bork!

  9. Very Impressive! by nycsubway · · Score: 3, Interesting

    Great job to all those who worked on the integration! I have been worried that Gnome might overtake KDE as the popular desktop and KDE might then be subject to a smaller niche for the desktop. I'm glad that all the work that the KDE teams have done will continue to be used alongside Gnome.

  10. Nitpick by damiam · · Score: 4, Informative

    That's not xmms in the screenshot, it's beep, an XMMS fork ported to GTK2 and Pango/Freetype font rendering.

    --
    It's hard to be religious when certain people are never incinerated by bolts of lightning.
  11. The integration I'd like to see by Mr.+Darl+McBride · · Score: 3, Interesting
    The integration I think I'd most like to see right now would be a Metacity or MicroGUI theme for Mozilla. Considering how many tens of thousands of people are using Sawfish and Gnome, can you believe something like this doesn't already exist?

    For you KDE users who aren't on Konqueror 24/7: don't forget to say thank-you.

  12. IOSlaves? by kc3lai · · Score: 4, Funny

    I thought we can't use such intrusive naming anymore??

  13. Re:These are a sign of Gnome success by JimDabell · · Score: 5, Insightful

    That KDE people are creating technologies to be able to make Gnome apps compatible with them is a sign of Gnome's success.

    I don't see it that way. I use about 95% KDE applications on my desktop, and about 5% GTK/GNOME applications. The GTK/GNOME applications always bug me because of things like the file selector (which, for example, can't load files using the KDE IOSlaves).

    Given that I find this kind of thing useful, and that I use 95% KDE applications, I can't agree that it's a sign of GNOME's success. It's just dragging the GTK/GNOME applications along where the original developers have failed to take them.

    The remaining licence issues around Qt makes Gnome the obvious winner, as one cannot create commercial apps for Qt without paying fees.

    That argument's been done to death. The basic points:

    • Commercial vendors have already overwhelmingly opted to use Qt instead of GTK.
    • Qt is a much nicer toolkit.
    • The fees are miniscule compared with the other costs involved in bringing a commercial product to market; it's more than made up by the increase in productivity.
    • The community were on Trolltech's back about making it GPL - they did so and now they are being criticised for listening.
    • The Linux desktop is ruled primarily by Free Software, not commercial applications.
  14. When will they integrate the windows event loop? by OrangAsm · · Score: 4, Funny

    I'm dying to have my gnome/kde apps respond to WM_PAINT. Really. I want them to paint and paint and paint, all day long, then I will WM_DESTROY them!!!

  15. Also worth noting by damiam · · Score: 3, Informative

    The same OO.o integration work has been done with GTK+.

    --
    It's hard to be religious when certain people are never incinerated by bolts of lightning.
  16. Re:Almost a Good Thing by bogie · · Score: 3, Insightful

    Oh well. To quote someone here (Sorry I don't remember your name)

    "Why are we so worried about the fact that publishers of closed source proprietary software who are used to paying for software development tools are going to have to continue that exact same practice in the OSS wordl?"

    On the topic at hand, all I can say is sweet. Gimp, Evolution, Beep etc all fitting in KDE and where possible even getting to use the excellant KDE fileselector.

    --
    If you wanna get rich, you know that payback is a bitch
  17. Re:Almost a Good Thing by armando_wall · · Score: 3, Insightful

    Now the wide variety of commercial applications for Linux et al can play nice with KDE!.

    That remains true. Commercial applications written in other developement platforms will work inside KDE (they will behave differently, though). Oh, wait... doesn't KDE require a license for commercial applications... oh, never mind...they can't play nice together.

    Well, now that integration is possible, instead of coding in QT you can write Gnome/GTK commercial applications and run them inside KDE, with the looks and behavior of KDE. As far as I can tell, you are not violating any license by doing this.

    I really like that idea. I'm a C coder rather than a C++ coder, so coding in GTK feels more natural to me. But... I prefer KDE over Gnome for my desktop (*), and I'd like the programs I create to have the behavior of KDE. So I was in a point of desperation trying to decide whether to use C-based GTK or C++ KDE/Qt.

    Now, I can happily code in C/GTK, knowing that my apps will look great in both Gnome and KDE!

    (*) No trolling or flamebait intended. If you prefer Gnome and say KDE sucks, that's fine by me, it's a free world.

  18. Anyone else notice the "direction" of integration? by brunes69 · · Score: 5, Insightful

    GTK apps using KDE file dialogs

    GTK apps using the QT event loop and DCOP, etc.

    All Linux apps able to use KIO Slaves

    How come no KDE apps want to use the GLib event loop or the GTK file dialogs or Gnome VFS I wonder? (*wink wink*)

  19. Re:Anyone else notice the "direction" of integrati by RPoet · · Score: 4, Insightful

    While I appreciate the humor, all this has a reasonable explanation. This integration work in question is being done by KDE people, as part of a recent initiative to do something about KDE's reputation for only doing their own stuff, seemingly "starting over" (their own office suite, their own browser etc) where GNOME is adapting to existing technology. Basically, KDE is starting to show that it, too, can adapt existing technology.

    This work is NOT being done by people who simply want more integration, but by people who want a more consistent KDE desktop. If the GNOME people want to integrate KDE apps so that they'll feel more like GNOME apps, they're free to do so.

    --
    "Oppression and harassment is a small price to pay to live in the land of the free." -- Montgomery Burns.
  20. Wow. by InsaneCreator · · Score: 3, Funny

    Look, they have MS Word running natively on Linux. It even has the "Fail" option in the menu! ;)

    Fail > Now
    Fail > When file not saved
    etc.

  21. Re:These are a sign of Gnome success by be-fan · · Score: 5, Insightful

    "Not true. It was sometimes,"

    It still is. We're talkling about people writing applications. Trolltech has a large list of customers, which includes many major companies. More importantly, not a single company has come forth and said they used GNOME for licensing reasons. Sun's choice of GNOME had much more to do with the fact that:
    a) Since GNOME 2.x was a total rewrite, they got to play a huge role in shaping it. Much of the HIG and the usability and accessibility work on GNOME was thanks to Sun.
    b) KDE wouldn't compile with Forte C++ (Sun's C++ compiler), which meant that no KDE apps would be developed with Forte C++, and Sun's engineers were much more comfortable with C.
    c) Sun's engineers were much more comfortable with existing standard technologies like CORBA, as opposed to KDE's new ones like DCOP. CORBA turned out to be more or less a failure on GNOME, but Sun didn't know that at the time.

    "Sun-Gnome, IBM-Gnome(at least based on assumption that Suse and RH are it's distros), RH-Gnome, Novell-Gnome, Suse the major KDE player - Gnome"

    Whoa. Neither SuSE nor Novell have comitted to GNOME. And neither has IBM. Its just Sun and RedHat. IBM is a mix of GNOME and KDE (because of RH and SuSE). And to this day, most of the major Linux desktop rollouts that have actually happend (the China rollout hasn't, yet) have been KDE.

    "KDE is loosing ground in this field. Not gaining."

    This is probably true. But its *very* early in the game, and it is these sorts of initiatives that could stem the tide.

    "Phoenix and Thunderbird - GTK"

    Neither are GTK+ apps. They use GDK to handle drawing and do fonts. They don't use any GTK+ dialogs, widgets, or any GNOME technologies.

    "OpenOffice.org - Now native GTK planned for next release"

    No, a GUI-independent framework is planned for next release.

    "KDE release, well project is open but no one want's to do it"

    I have yet to see any indication that "no one want's to do it." Hell, KDE's already ahead on this front. There is already a release that adopts OpenOffice to the native KDE theme. That's one step, anyway, ahead of OpenOffice's GTK+ support.

    "Evolution - I can't remember any serious KDE mail client sorry (please no kmail)"

    Kontact? KMail is a very seriousl mail client, and you provide no evidence to the contrary.

    "Gimp - not Gnome but GTK it is"

    This is probably the standard one. However, 2.0 has the GUI and core seperated, and a Kimp would not be out of the question.

    "xmms - GTK"

    XMMS is a GTK-1 app! It looks and feels nothing like a GNOME app! And KDE has many excellent media players, notably JuK and AmaroK.

    "Time to smell the future, distro maybe but commercial apps are poping up"

    And so far, very few of them have been based on either GTK+ *or* Qt. Most are Motif ports. And of the commercial apps that do use a modern toolkit, most of them have chosen Qt.

    "btw. all this **look** hacks KDE producess, GTK look, OpenOffice look, KDE dialogs in GTK are just dust in your eyes."

    Well, apparently dust works. Because GNOME has managed to convience a whole bunch of people that Mozilla and OpenOffice are GNOME apps! KDE should have done these hacks a long time ago. And note, Windows is entirely based on such **look** hacks, to make the many Windows toolkits look cohesive. Its a crappy solution, technically, but the market doesn't seem to care.

    --
    A deep unwavering belief is a sure sign you're missing something...
  22. Re:These are a sign of Gnome success by be-fan · · Score: 4, Insightful

    Its not a sign of GNOME's success, but an indication that GNOME has some great apps that KDE doesn't. Its actually an indication of GNOME's weaknesses as a platform. If GNOME was really comparable to KDE, the GNOME application base would have pulled them over long ago. But the sheer technical advantages of KDE make it worth it to build projects like these, to access GNOME's apps from within KDE.

    --
    A deep unwavering belief is a sure sign you're missing something...
  23. Another KDE myth by niom · · Score: 3, Interesting

    as part of a recent initiative to do something about KDE's reputation for only doing their own stuff, seemingly "starting over" (their own office suite, their own browser etc)

    KOffice and Konqueror were started long before OpenOffice and Mozilla became open source.

    --
    -- Repeat with me: "There is no right to profits".
  24. Re:Anyone else notice the "direction" of integrati by IamTheRealMike · · Score: 4, Insightful
    Hmm, that reasoning seems circular. Developers are the only ones who care about the underlying platform, users generally do not as it rarely affects them (stuff like kio-slaves being an obvious exception). So if users use KDE, it'd make sense that they use it because they feel it's a better desktop.

    So, why are more apps written using GTK/Gnome? I don't know. FWIW I feel the KDE framework is better too, but ultimately they are both pretty good. In particular GTK stands on its own more than Qt does on the Linux desktop - for apps that wish to remain desktop neutral it seems a more natural choice (and to be honest GTK vs Qt is a pretty even match, you can argue about the corner cases all day but I'd say they're just as good as each other).

    Whenever I read the KDE API docs I can't help thinking what a shame it is - if the original developers had cared more about licensing we'd probably only have one desktop, and everybody would use these great frameworks. There'd be no problems with desktop neutrality, no need to slowly reinvent everything in order to make it desktop neutral and so on.

    A lesson learned hard, and one I hope future developers will respect..... those who don't take community concerns over platforms seriously can seriously damage things.

  25. the voice of linux by chegosaurus · · Score: 3, Insightful

    > 2004 is really beginning well for all those of
    > us who use Linux as their primary desktop!"

    Yes. Because GNOME and KDE only run on Linux, don't they?

    Please, a little credit to the folk who right proper, portable code, and to those who port it.

  26. Legal question by unborn · · Score: 4, Interesting

    Does anyone know if a closed-software maker is violating the GPL if it has originally linked to an LGPL library (legal), which has an independently created GPL analogue?

    If not, then isn't it a matter of a LD_PRELOAD to transfer all or many GTK calls into QT calls, where the preloaded library is fully GPL, and gtk+ software was originally linked to the LGPL original gtk?

  27. Re:The fuse_kio stuff... by Spy+Hunter · · Score: 3, Informative
    Because mounting things is inconvenient and not user-friendly, and URLs are an extremely nice, compact way to represent a file's location. Much easier to just be able to use a URL at any time in any application and not worry about where you're going to mount stuff or if it's still mounted or whatever. The Unix filesystem model hasn't changed in years and years, and is not capable enough to handle all the things a modern desktop environment needs. For things like http, it doesn't even make sense; how would you mount a web server? Even if you could, you wouldn't be able to use standard Unix tools because you can't get a directory listing using HTTP (well sometimes you can, but not often). A new system based around URLs is the way to go, and that's the way KDE has gone.

    The ability for every application to handle every possible protocol using URLs is so nice that it outweighs any disadvantage. Using the fish protocol, you can use KWord or KEdit or any KDE app to edit any file stored on any server where you have a simple ssh account. You don't have to worry about whether the server has ftp access, or down/uploading the file, or mounting any remote directories, or junk like that. You just type the URL into the save dialog, and it works. Every KDE program gets support for this protocol along with FTP, HTTP, SMB, and webdav support, plus expandability for future protocols, for free. It's a big part of what makes KDE so great.

    --
    main(c,r){for(r=32;r;) printf(++c>31?c=!r--,"\n":c<r?" ":~c&r?" `":" #");}