Slashdot Mirror


Common Interfaces for Gnome and KDE Released

An anonymous reader writes "Today OSDL and freedesktop.org announced the release of Portland 1.0, a set of common interfaces for GNOME and KDE. From the article: 'Specifically, these tools make installing and uninstalling menus, icons, and icon-resources easier for developers. They also can obtain the system's settings on how to handle different file types, and program access to email, the root account, preferred applications, and the screensaver. There's nothing new in this kind of functionality. What is new is that developers can use these regardless of which desktop environment -- KDE or GNOME -- they're targeting.'"

38 of 186 comments (clear)

  1. The danger for users by CRCulver · · Score: 3, Insightful

    I hope that this doesn't result in a net addition of one more package that users have to install. If common interfaces are going to be adopted by KDE and GNOME, at the same time some GNOME- or KDE-specific libs should be abandoned. Duplication of function sucks for end users having to install all kinds of stuff, and it sucks for developers too since there's more code to maintain.

    1. Re:The danger for users by swv3752 · · Score: 2, Informative

      Well, urpmi, apt-rpm, Yast, and several others all function basically the same as apt-get and one assumes that talking about apt-get in a generic way without mentioning Debian, they mean all similiar tools. I am not aware of any major Distro that does not have some sort of auto install dependancy tool. Gentoo is sort of an exception as it is an auto-make tool and would take a while to install, hence the joke.

      --
      Just a Tuna in the Sea of Life
    2. Re:The danger for users by Grishnakh · · Score: 4, Insightful

      If common interfaces are going to be adopted by KDE and GNOME, at the same time some GNOME- or KDE-specific libs should be abandoned.

      That's right. It's pointless to have two different sets of libraries. Since the KDE libraries are clearly far superior to the GNOME ones, the KDE ones should be adopted and GNOME-libs abandoned.

      GNOME advocate: Hey! The GNOME ones are better! Let's abandon the KDE libs instead!

      [argument ensues]

      That, in a nutshell, is why we have both. As long as there's people willing to work on them, and people who want to keep using them, both sets are going to exist. There's no know-nothing manager with the power to force people to abandon anything here in the OSS world.

  2. Nothing wrong with that. by Kadin2048 · · Score: 2, Insightful

    Sounds good to me. As long as it ends the Gnome/KDE flamewars and eliminates some of the rampant duplication of efforts between both "platforms"...

    Like, maybe we can get one mail client that's really good, instead of two half-baked ones, etc.

    --
    "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
    1. Re:Nothing wrong with that. by CRCulver · · Score: 2, Informative

      How is a common API going to reserve the differences in user interface? GNOME keeps things simple, a little too so for many users, why KDE is known for making more options available.

    2. Re:Nothing wrong with that. by joe_cot · · Score: 5, Funny

      Too simple? I remember my mother's blank stare when she saw Ubuntu shut down for the first time: "why is it sending the KILL signal?"

    3. Re:Nothing wrong with that. by cpeterso · · Score: 4, Funny
      How is a common API going to reserve the differences in user interface? GNOME keeps things simple, a little too so for many users, why KDE is known for making more options available.


      The Portland API will have an option to turn on more options.
    4. Re:Nothing wrong with that. by Ant+P. · · Score: 2, Insightful

      Nothing wrong with it until you have to download 100MB of Java to run a simple bittorrent app, 55MB of Mono runtime to use an ID3 tag editor, 30 Python libraries for the volume control dial...

      Okay, so the last one was a made up example.

    5. Re:Nothing wrong with that. by g1zmo · · Score: 3, Funny

      How is a common API going to reserve the differences in user interface? GNOME keeps things simple, a little too so for many users, why KDE is known for making more options available.

      So how's that speech-recognition software test coming?

      --
      I have found there are just two ways to go.
      It all comes down to livin' fast or dyin' slow.
      -REK, Jr.
    6. Re:Nothing wrong with that. by Kelson · · Score: 2, Informative

      Interestingly enough, on disk the JDK does take up about 100 MB (after decompressing). This is going by the contents of /usr/lib/jvm on a system with the Java 1.5 JDK.

    7. Re:Nothing wrong with that. by daff2k · · Score: 3, Interesting

      Evolution I get, but what's half-baked about Kmail?

      --
      And which parallel universe did you crawl out of?
  3. I feel cheated. by Kadin2048 · · Score: 2, Funny

    You're telling me they could have called it "Beaver" instead?

    Think of how many more +5 Funny's we would have had.

    --
    "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
  4. Re:Bluecurve by CRCulver · · Score: 3, Informative

    Bluecurve made a standard GUI appearance for users. This project gives a single API that developers can use when writing applications, so they can run more comfortably on both GNOME or KDE.

  5. Re:Dbus for Windows? by parvenu74 · · Score: 4, Informative

    Everything is *not* integrated together on Windows. Native Windows apps target different APIs than .NET WinForms apps, which are different again from the upcoming XAML stuff in .NET 3.0 -- and that's just the "Windowing" applications. Getting the disparate technologies to play nicely with each other is a bitch and will likely not get better anytime soon.

    And if you're about to copy and paste the MS boilerplate marketing hype about the effectiveness of COM-.NET interop, slap yourself vigorously and back away from the keyboard.

  6. Re:what's the point? by Osty · · Score: 3, Insightful

    the point of having different GNOME and KDE interfaces, was so that you could have different interfaces. Now someone wants to unite them, so why even bother having one over the other?

    Looks like you got caught up in the overloaded use of the word "interface". You're thinking in terms of the GUI, but this is about application interfaces. KDE and GNOME will still look as different as always, but now applications can use a single interface to install menu items for either KDE or GNOME. This is good. It's one step on the long road to wooing commercial ISVs onto Linux.

    The only open question is whether or not this will work in the long run. For example, at one point the LSB was supposed to standardize filesystem locations across distros so that installers wouldn't have to know if your distro uses "/etc/http.conf" or "/etc/apache/httpd.conf" (LSB appears to have dropped that pipe dream). If distros and developers don't pick up and use these new interfaces, it doesn't much matter that they exist.

  7. Re:But there's still two toolkits, right? by Anonymous Coward · · Score: 2, Insightful

    I know I'm gonna get modded down for saying this ...

    Stupid self-martyring twat. I wish slashdot would let us filter out comments that start with this phrase, or maybe have the lameness filter nip it in the bud.

  8. Question by Anonymous Coward · · Score: 2, Funny

    Wouldn't it be cool if you opened up "My Computer" and had a drive for every letter of the alphabet?

  9. The danger for developers by KingSkippus · · Score: 3, Insightful

    Plus, not to put too fine a point on it, this will be one more thing that developers will have to worry about. Right now, we have something like:

    if (kde) { -stuff- }
    else if (gnome) { -other stuff- }
    else { -handle neither being installed- }

    Now, well have something more like:

    if (portland) { -stuff- }
    else if (kde) { -other stuff- }
    else if (gnome) { -yet more stuff- }
    else { -handle neither being installed- }

    Is it that big a deal? I don't know, I don't develop Gnome/KDE apps. (I wish I did!) But I hope that it either sweeps the G/K development world by storm and is adopted very, very quickly, or that it dies immediately. Otherwise, it makes things more complicated, not less.

    1. Re:The danger for developers by Bastian · · Score: 2, Insightful

      You do realize that, despite a lot of pedantic noise made by a few people like RMS, the word "Linux" is commonly used as shorthand for an entire family of operating systems based on the Linux kernel, and that for most everybody concerned the desktop environment is an integral part of any Linux install for workstation and desktop computers?

      I assume you do, since you know enough about it to know that yes, technically, Linux is a kernel. Which means I have reason to think you understand what I was say and know that your response is pretty well beside the point.

  10. It's not about combining Gnome and KDE by jesterzog · · Score: 2, Insightful

    the point of having different GNOME and KDE interfaces, was so that you could have different interfaces. Now someone wants to unite them, so why even bother having one over the other?

    Probably to make it easier for developers to more cleanly support two different kinds of users with their applications? Developers have little control over which desktop a user decides to use. Personally I hope that desktops don't end up uniting in a way that restricts the choice for a user.

    This isn't about uniting the user interfaces, though. It's about making things more convenient for developers by providing a common set of developer interfaces, helping developers to make applications that will work more smoothly with either desktop, and in the longer term, maybe even other desktops that don't exist yet.

  11. Re:Hopefully by NamShubCMX · · Score: 4, Funny

    I guess you meant are you right or are you wrong?

    --
    We've always been at war with Eurasia.
  12. Re:The KDE/Gnome thing just bugs me. by Josh+Triplett · · Score: 2, Insightful
    How hard would it be to just have an "Advanced Settings" section in Gnome to give the power users the access to functionality they want.

    That already exists; just run gconf-editor, or Applications->System Tools->Configuration Editor if you prefer menus. This gives you access to all the settings that actually exist but don't get exposed. You can also set these on a system-wide basis for all new users, either by editing the system-wide files, or using sabayon (which lets you edit the default settings in an Xnest session).

    For settings you want that don't exist, either (in order of preference):
    1. add support for the feature you want in a way that doesn't need a setting (for example, by autodetection)
    2. add support for the feature you want and make a case for changing the default behavior to what you want (which does happen)
    3. add support for the feature you want and add a hidden setting for it which you can tweak via gconf-editor
    4. switch to a different EWMH-compatible window manager or a different application/daemon/tray dohickey, while still using GNOME
    5. switch to a different desktop environment


    As for the rest of your post, it sounds like you have support problems caused by different distributions doing things in different ways; I suggest either standardizing on one distribution company-wide (which you can easily do as long as your employees have no preferences amongst them, generally true for most non-computer companies), installing a separately-packaged desktop environment distribution into /usr/local (such as GARNOME), or just living with the differences between distros (generally not that large in this area, just little details as you mentioned).
  13. I beg to differ by 2008 · · Score: 2, Funny

    Sir, as a layabout whose sole owned tool is a bottle opener, let me assure you that this saying is untrue. More's the pity.

    --
    I quit!
  14. Re:Dbus for Windows? by mabinogi · · Score: 3, Funny

    > The strength of Windows in the corporate desktop is that everything is integrated together.

    Wow, I want the version of Windows you've got!

    --
    Advanced users are users too!
  15. Re:Desktop environment? by Guy+Harris · · Score: 2, Informative
    OK, You mean, like, CDE? :)

    No, not unless CDE adopts it, which is probably pretty unlikely at this point (I'm not sure anybody's actively developing it).

    However, the press release nonwithstanding, this is not intended solely to be used by KDE and GNOME; the FAQ lists XFCE as another probable supported desktop environment.

  16. Maybe I got the wrong idea by rg3 · · Score: 4, Informative

    As I'm reading the comments in this article I detect an optimistic view in many comments that suppose that this is, somehow, going to integrate Gnome and KDE so they have the same programs, appearance or even, from the programmer point of view, that you will be writing applications for either KDE and Gnome without having to choose a specific environment. I think this is far away from reality. freedesktop.org has been very active and successful in providing specifications (and now libraries and command-line tools, it seems) about the location and format of different desktop resources. I think the goal here is that, for example, if a given desktop environment has an applications menu, it can go to a known place and display, add or remove items there, and the changes will be reflected in any other desktop environment you use, so all environments "share" the same menu.

    As the article mentions, the desktop resources it tries to unify are the applications menu, the icons and icon themes, the mime types (that is, which application to be used for opening this type of file) and several other aspects or "concepts", if you want to use that word, shared among desktop environments. This is far away from a merge in desktops or desktop APIs. First off, Gnome is written in C and KDE is written in object-oriented C++. For that to happen, you either would have to start writing Gnome apps in C++ or convert KDE to plain C (ha! good luck on that!). I suppose now the Gnome people will proceeed to update/rewrite the relevant parts in the Gnome libraries and apps so that when they need to add a new icon set, they will use this new interface and the icon set will be installed "across desktop environments". The KDE people will probably proceed to either update the relevant apps to use the new API or maybe integrate the API using an object-oriented inside the KDE libraries. Or, if something similar is already abstracted in one or more classes (I suppose it probably is), refactor (reimplement, replace the internal workings) those classes and recompile. But, in any case, KDE will be KDE and Gnome will be Gnome, and each one will continue to work its own way and have its own libraries. The difference will be that they will now share another small library to allow desktop resources to be shared. And this can be extended for any other desktop environment using the new API, like it could be XFCE4 or Enlightenment or whatever. The new API is probably in C, so it will have bindings or wrappers for many other languages.

  17. Developers, not users by Rob+Kaper · · Score: 2, Informative

    Specifically, these tools make installing and uninstalling menus, icons, and icon-resources easier for developers

    Aha.

    Developers already have easy .desktop files for menus and application icons.

    And KDE and GNOME applications already (should) use KDE and GNOME icon resource interfaces anyway, the standardisation here is primarily a level below, in the desktop core. Desktop-agnostic or -ignorant applications tend to have sufficient legacy/NIH/individuality in them to not use these new tools either.

    But even if it's all true: this is minor stuff. For example, OpenOffice, The GIMP and Firefox will still look odd on a KDE system. Not using KFileDialog (with global and app-specific bookmarks, full KIO network file support, etc) would be one of many dead giveaways. Throw in a bit of Oracle (Java interface) and Skype (Qt interface) and it becomes clear that menus and icons are not in the least bit the worrisome concerns about desktop standards.

    The discussion after the Portland announcement (1.0 planned for June, sure) on here confirms my suspicion that end-user widgets are far more important than menus and icons, but nonetheless kudos to the developers. I just hope their next improvement will actually be significant. ;-)

    1. Re:Developers, not users by Kelson · · Score: 3, Insightful

      I think the next sentence is more important:

      They also can obtain the system's settings on how to handle different file types, and program access to email, the root account, preferred applications, and the screensaver.

      As an example, I run a GNOME desktop with KMail as my primary email application and a locally-installed Firefox (i.e. not the distro-provided one) as my primary web browser. As things are, I not only had to to tell GNOME that KMail and Firefox are my email and web apps, but I had to track down the KDE control center (which isn't in the menus under Fedora's GNOME config) in order to tell KDE that Firefox was my preferred browser. Otherwise, KMail would try to load everything in Konqueror, because it uses the KDE settings even when running under GNOME.

      Targeting an app to Portland instead of to GNOME or KDE would let the app pick up the settings from the desktop the user is actually running (as long as the desktop used the Portland API).

  18. Disguise vs. Translation by Kelson · · Score: 5, Informative

    Bluecurve is basically a disguise: you set up KDE and GNOME so that they look the same. It's purely aesthetic.

    Portland is about communication -- getting GNOME and KDE apps to talk to the opposing desktop more reliably.

    Example: both GNOME and KDE provide screensavers. Suppose you have a media application that wants to disable the screensaver while it's playing. Now suppose the app is a KDE app, but you're running it under GNOME (or vice versa). Portland makes it simple for the KDE app to contact the GNOME screensaver.

    It's an abstraction layer. You tell your apps to target services through Portland, and Portland will contact whichever service is actually running. Theoretically more desktop environments could be set up to provide the potland APIs, allowing a GNOME app to contact the XFCE screensaver, and so on.

  19. Re:Help me understand by Rob+Kaper · · Score: 5, Funny

    Try comparing it to having sex with either Roseanne Barr or Kate Moss. The basics are the same, but I'm sure look and feel alone will create a preference of one over the other.

  20. Re:Hopefully by Guy+Harris · · Score: 2, Informative
    it'll also put the OK and Cancel buttons the right way around.

    Well,it'll allow toolkits to put them the right way around for the desktop you're on - version 1.6 of the API doc has a ButtonOrder() API to let a toolkit determine the appropriate button order for the desktop on which it's running.

    If that's not what you consider the right way around, either switch to a desktop that puts them in the order you want, try to get your preferred desktop to put them in the order you want, or try to get them to offer an option to control the button order. Portland doesn't exist to standardize the look and feel of desktops, it exists to allow applications written for one desktop to work better on other desktops.

  21. Re:Linux needs more tools like this! by GotenXiao · · Score: 2, Interesting

    You just described Windows.

    Seriously.

    The KDE menu works fine (I can't speak for GNOME as I don't use it); a standardised storage location is all that is needed.
    And the "more common area to install the software" is /opt if you really want to segregate stuff out, but /usr, /bin, /sbin and their ilk work perfectly fine. If you want to find something on Linux, use "which " or "whereis " or "slocate ".

    --
    Goten Xiao
  22. Re:Bluecurve by jesterzog · · Score: 2, Insightful

    Whatever the effort, something has to eventually unify the desktop environments for Linux to overtake or compete on a widescale in the United States or Canada.

    Why should Linux neet to "overtake or compete on a widescale in the United States or Canada"? If you mean compete with Windows, there's not really a comparison. Linux is a kernel -- Windows is a Kernel and OS.

    It'd make more sense to claim that KDE (for example) might compete with the Windows UI one day. Specifically what's running underneath it isn't really relevant. In any case, I don't see why KDE and Gnome would need to unify for a non-Windows interface to become competitive.

  23. Once upon a time... by dcapel · · Score: 3, Funny

    I was walking across a bridge one day, and I saw a man standing on the edge, about to jump
    off. I immediately ran over and said, "Stop! Don't do it!"
    "Why shouldn't I?" he said.
    I said, "Well, there's so much to live for!"
    "Like what?"
    "Well ... are you religious or atheist?"
    "Religious."
    "Me too! Are you Christian or Jewish?"
    "Christian."
    "Me too! Are you Catholic or Protestant?"
    "Protestant."
    "Me too! Are you Episcopalian or Baptist?"
    "Baptist."
    "Wow! Me too! Are you Baptist Church of God or Baptist Church of the Lord?"
    "Baptist Church of God."
    "Me too! Are you Original Baptist Church of God, or are you Reformed Baptist Church of God?"
    "Reformed Baptist Church of God."
    "Wow! Me too! Are you Reformed Baptist Church of God, reformation of 1879, or Reformed
    Baptist Church of God, reformation of 1915?"
    "Reformed Baptist Church of God, reformation of 1915!"
    To which I said, "Die, heretic scum!" and pushed him off.^W^W^W^W^W^W^W"That's ok, I am from 1879, but we can be friends anyway!"

    --
    DYWYPI?
  24. Will the common APIs solve... by bogaboga · · Score: 2, Interesting
    Will the common APIs solve the fact that I cannot paste a PDF web URL in Evince in GNOME and have Evince load it? This is one of the things that keeps me from using GNOME.

    The other thing is that I cannot do the simplest file operations in the GNOME file selector. Will the common APIs solve this [burning] issue?

  25. Re:Claro Graphics by chill · · Score: 2, Informative

    QT has versions available for Mac and Windows, and uses native widgets where possible.

    --
    Learning HOW to think is more important than learning WHAT to think.
  26. I'm tired of whiners... by websitebroke · · Score: 2, Insightful
    complaining that there are so many different desktop environments in Linux.

    The idea that GNOME apps would appear automatically in KDE menus is a great one, and a good thing. Some commonalities are a good idea too.

    On the other hand, Linux's big strength, in my mind anyway, it that there are all sorts of different users. Hand holding types of interfaces for grandmas, and a glorified CLI for minimalist geeks. The rest of us are probably distributed across the spectrum. The point is that there is something just right for everyone.

    Let's not be blinded to what makes Linux a great OS by the "beating Windoze by imitating them, but doing it better" mentality.

  27. Preference would have to be Kate over Roseanne by drew_kime · · Score: 2, Funny

    'Cause if you put Roseanne over Kate, you'd never see kate.

    --
    Nope, no sig