DesktopLinux
Home  |  News  |  Articles  |  Forum  |  Polls  |  Blogs  |  Videos  |  Resource Library

Keywords: Match:
Bettering the Linux desktop -- Portland progress
May 09, 2006

Six months ago, architects from two dozen desktop-oriented Linux projects gathered in Portland, Ore. to work together on creating the best possible Linux desktop. Thus was born the Portland Project. Now, in Mainz, Germany, the expanded group is meeting again on May 8 and 9 to see how far it's come and to look at what's ahead.

Unlike many such collaborative efforts, such as the tangle of conflicts that are bedeviling the 802.11n wireless standard, the Portland Project is moving smoothly forward with its goal of creating a common set of standards that allow applications and desktop interfaces to easily integrate into an easy-to-use Linux desktop.

In his status report to the OSDL Open Source Development Labs-sponsored group, Waldo Bastian, Linux client architect at Intel, opened by covering the four areas that the developer felt needed the most improvement.

These are:
  • Increased binary compatibility between distributions
  • Increased compatibility between the two major desktop environments (GNOME, KDE)
  • Making cross-distribution packaging easier for third party developers
  • Improving documentation
Bastain went on to say that "there exists a perception that developers need to choose between targeting GNOME or KDE," while "in reality, 95 percent of desktop application functionality is independent from window manager and desktop environment." It's that remaining 5 percent that Portland is addressing.

Separating toolkit from runtime a key factor

Another part of this is to decouple the development toolkit from runtime environment. In other words, a user shouldn't need to run KDE to use a KDE application, or GNOME to use a GNOME application. They should be given a choice, but in such a way that it doesn't fragment the desktop into two different, warring desktop camps.

To address these concerns, Portland needs to provide a set of common high-level desktop-integration APIs (application programming interfaces). Much of that functionality is already available. For example, you can run the GNOME-based email and groupware client Evolution on a KDE desktop. But there are sometimes slight differences between GNOME and KDE, which are poorly documented.

In the short term, to make applications more compatible between the two platforms, the documentation needs to be improved to make it easier to write compatible applications.

Beyond that, the Portland project has provided xdg-utils, which are usable on top of existing deployed distributions. Xdg-utils is a set of common scripts, which provide a minimum level of compatibility for any Linux desktop.

In the first draft, these include...
  • Installation:
    • xdg-menu -- command line tool for (un)installing desktop menu items
    • xdg-desktop -- command line tool for (un)installing icons to the desktop

  • Runtime:
    • xdg-email -- command line tool for sending mail using the user's preferred email composer
    • xdg-mime -- command line tool for providing information about file type handling
    • xdg-su -- run a program as root after prompting for the root password
    • xdg-open -- opens a file or URL in the user's preferred application
    • xdg-copy -- command line tool for copying files between desktop URIs
    • xdg-file-dialog -- command line tool for providing file and directory selection dialogs

  • Still To Do:
    • xdg-icon -- command line tool for (un)installing icon files
    • xdg-autostart -- command line tool for (un)registering applications for launch at startup
    • xdg-mime -- add (un)installation of mime type descriptions
These are not specific to KDE and GNOME. They can also be used in the so-called second-tier Linux desktop window managers, such as XFCE and Blackbox. In addition, since these are command-line based tools, they're easy to add to any Linux distribution. They also still need work done on them. Their performance is still poor, with some taking more than a second to respond.

Is xdg-su the correct approach?

There's also some question as to whether xdg-su is the right approach. You can probably expect to see xdg-su disappear, to be replaced with commands with finer permissions and control granularity.

After xdg-utils is more fully developed, it will be included in the 2007 LSB (Linux Standard Base) Desktop standard.

Looking further down the road, "DAPI (Desktop API) may require changes in upstream desktop projects," observed Bastain.

DAPI is made up of a daemon and an application library. When an application needs to interact with the desktop, it calls on the library, which in turn uses IPC (interprocess communications) to call the daemon. The daemon then orders the desktop to produce the expected result. So, for example, by using DAPI, an application doesn't need to "know" about the desktop environment. The program simply calls on the library, which with the daemon will produce the appropriate GNOME or KDE result.

DAPI still needs more work, though. It currently uses a custom IPC protocol, and Bastain believes that it "should probably use DBUS instead." DBUS is a simple IPC that's already available in Debian, among other distributions.

Bastain made the point that "the value of Portland is its definition of interfaces." Software vendors can differentiate by providing enhanced implementations of the service behind the interface.

Again, "even though both GNOME and KDE provide most functionality today already, documentation is lacking. Windows ISVs (independent software vendors) that want to enter Linux market cannot find the information they need. This should be dead easy."

To help make that happen, reference implementation will be provided "to allow a smooth adoption curve." Thus, "ISVs can use Portland today by including it with their application."

This summer, end-users will start getting a chance to see Portland in action as it will make its first appearance in Fedora, OpenSUSE, and Ubuntu. Bastain expects to see the first programs using Portland functionality this fall.

What may be ahead for the project

Moving ahead, Portland may be addressing controlling which proxy should be used for Web connections, a way to change the default application, a common print dialog for all applications, and a common way of managing certificate and passwords.

The printing issues are already being addressed by the Portland printing group.

As the vendors and open-source groups continue to smoothly work together on the Linux desktop's infrastructure, the ideal of a Linux desktop that's as easy to use and write software for as Windows is coming closer to reality.


-- Steven J. Vaughan-Nichols




Related Stories:


(Click here for further information)


Approaching the Linux Desktop
The purpose of this paper is to help organizations evaluate the Linux desktop against their own enterprise needs and discover what benefits the Linux desktop might bring to their organizations.

Migrating To Linux: Application Challenges and Solutions
Several solutions exist to help organizations migrate in an orderly fashion from Windows to Linux desktops. This paper establishes the characteristics of an ideal cross-platform solution and reviews these alternatives in light of this ideal standard. The paper takes a closer look at the pros and cons of various solutions and outlines the business benefits that can be achieved.

Linux Advantages: Publicly Available Information on Linux Software
This paper offers a brief summary of readily-available Linux information to help businesses sort out this widely misunderstood operating system.

Top 5 Strategies for Managing Linux
Despite continuous evolution in the manageability of Linux, a 2006 survey cited manageability concerns as a top reason why organizations are hesitating to adopt Linux. Levanta believes Linux can be as manageable, if not more so, than other operating systems by following key strategies. These strategic recommendations were developed from experiences in numerous customer environments, both large and small.

Why Choose Novell for Linux?
This paper outlines the benefits of switching to the Linux platform and choosing Novell as a high-performance, enterprise solution.

Enterprise Linux Selection Guide
Considering moving your enterprise to the Linux operating system? Since there are so many similar versions, choosing the right one can be tough. This paper offers a clear process to help you make an informed decision and get the features, support, and cost that are right for your business and technical needs.

Overcoming Challenges in Managing Linux
Levanta has created a new administration model with innovative technology that breaks down the barriers to making the most of Linux systems. This paper will provide an in-depth look at the workings of Levanta’s product, the first Linux appliance of its kind.

SUSE Linux Enterprise 10 for Retail Businesses
Discover why major retailers have switched to SUSE Linux Enterprise Desktop in the back office. SUSE Linux Enterprise Desktop 10 is a low-cost desktop that offers a complete set of productivity applications and interoperates seamlessly with the other Windows, Macintosh and UNIX desktops in your store.

Moving to a Linux Desktop
Migrating from Windows to Linux on the desktop can be a substantial undertaking because it has the potential for touching -- and perhaps disrupting -- every user in your organization. Unlike a data center (server and infrastructure) migration that is largely transparent to users, the cultural and administrative transitions and environment readiness required to support a Linux desktop migration are extensive.

Seven Good Reasons to Exchange Exchange
This paper describes seven compelling reasons why you should switch from Exchange to Scalix.

 



Got a HOT tip?   please tell us!

ADVERTISEMENT
(Advertise here)

Resource Library


Popular recent stories:
• Linux an equal Flash player
• Linux, netbooks threaten Microsoft's fat profits
• gOS 3.0 goes gold
• Browser swallows OS
• Lenovo denies ditching Linux
• Lightweight, Linux-compatible browser evolves
• GNOME 2.24 gains "Empathy" IM
• Review: Pardus Linux
• Ubuntu to fund Linux development
• Ubuntu "Intrepid Ibex" available

All-time Classics:
• Choosing a desktop Linux distro
• Banshee -- the next best thing to Linux iTunes
• Running World of Warcraft on Ubuntu
• A simple Linux backup method
• The Best Free Desktop Linux . . . and how to make it better
• Linux-powered Asus Eee PC mini-laptop arrives
• The well-tempered Debian desktop
• Lenovo launches a netbook
• What's the best Linux for beginners?
• Getting to know Puppy Linux
• Xandros 4: The best desktop Linux for Windows users
• VirtualBox: The best virtualization program you've never heard of

Linux-Watch headlines:
• Amid controversy, Microsoft launches open source foundation
• As open source surges, Microsoft admits Linux threat
• Open source lobbying group emerges
• Open source Linux device drivers submitted by -- Microsoft?
• Google names Chrome OS partners
• Google's new OS marries Linux and Chrome
• Debian plans draw sharp warning from GNU guru
• OpenSource World announces keynote speakers
• Linux 2.6.30 gets new filesystems
• Intel to buy Wind River for $884 million


Join our Desktop Linux discussion forums:
•  Moving to Linux
•  Linux/Windows debate!
•  Linux Q&A
. . . and more
Visit the...


BREAKING NEWS

• Knoppix Live CD distro rev'd
• Debian Linux-based Google Chrome OS debuts, goes open source
• Mint 8 achieves RC1, and Fedora 12 goes final
• Dell PCs cram multimedia power into tiny package
• OpenSUSE 11.2 and Novell's Mono Tools ship
• ABI's Jeffrey Orr on rising Linux netbook sales
• Moblin v2.1 goes beta, adds 3G support
• Linux owns 32 percent of netbook market, says study
• Skype working on open source VoIP UI
• Ubuntu 9.10 final ships as IBM spins Ubuntu-based cloud distro
• CentOS rev's to version 5.4, tries on KVM
• Fedora 12 optimized for Atom-powered netbooks
• Puppy Linux 4.3 gains bugfix, rave reviews
• Hulu comes to Linux
• Reviews praise Ubuntu 9.10, knock Ubuntu Moblin Remix



Linux Netbooks


Linux smartphones!


news feed

Or, follow us on Twitter...


Home  |  News  |  Articles  |  Forum  |  Polls  |  About  |  Contact
 

Ziff Davis Enterprise Home | Contact Us | Advertise | Link to Us | Reprints | Magazine Subscriptions | Newsletters
Tech RSS Feeds | White Papers | ROI Calculators | Tech Podcasts | Tech Video | VARs | Channel News

Baseline | Careers | Channel Insider | CIO Insight | DesktopLinux | DeviceForge | DevSource | eSeminars |
eWEEK | Enterprise Network Security | LinuxDevices | Linux Watch | Microsoft Watch | Mid-market | Networking | PDF Zone |
Publish | Security IT Hub | Strategic Partner | Web Buyer's Guide | Windows for Devices

Developer Shed | Dev Shed | ASP Free | Dev Articles | Dev Hardware | SEO Chat | Tutorialized | Scripts |
Code Walkers | Web Hosters | Dev Mechanic | Dev Archives | igrep

Use of this site is governed by our Terms of Service and Privacy Policy. Except where otherwise specified, the contents of this site are copyright © 1999-2009 Ziff Davis Enterprise Holdings Inc. All Rights Reserved. Reproduction in whole or in part in any form or medium without express written permission of Ziff Davis Enterprise is prohibited. Linux is a registered trademark of Linus Torvalds. All other marks are the property of their respective owners.