Slashdot Mirror


New X Roadmap from Jim Gettys

A reader points to a roadmap on freedesktop.org that provides a good summary of what is out there for *nix desktops, with emphasis on X but also covering some other areas.

278 comments

  1. X Can Be Sold... by mfivis · · Score: 2, Insightful

    ...through controlled marketing. The learning curve of Linux aside, people can be sold on the idea of Linux en masse. There are video games that take longer to learn than basic control over the X desktop.

    1. Re:X Can Be Sold... by Anonymous Coward · · Score: 0

      *sigh* mods, please, just because he got the first non-nonesense post doesn't mean he's insightful.

    2. Re:X Can Be Sold... by alset_tech · · Score: 5, Insightful

      The difference (and this is not a slam towards X - I love it) is that learning a video game is a recreational process. Learning X in a business setting is a productivity issue. In many cases this isn't a big deal, but in some situations this can be a serious consideration. When you have to take time for employee training the benefits of an X system may have some competition for budget. Dan

      --
      Standing on the shoulders of giants.
    3. Re:X Can Be Sold... by Dynamic+Ranger · · Score: 2, Insightful

      Do you think that in some companies, where many employees have highly focused tasks, that employees can be trained to learn only the features they need to get a particular job done? Oviously not programmers, but perhaps inventory control or even customer service?

    4. Re:X Can Be Sold... by alset_tech · · Score: 2, Interesting

      This is true, but when you have scores of employees (and let's face it, many of them are not especially bright) you may end up spending the better part of a day teaching them in small or large groups. I suppose a distinction should be made between large corporate environments and small operations where this isn't and issue.

      --
      Standing on the shoulders of giants.
    5. Re:X Can Be Sold... by Anonymous Coward · · Score: 0

      but X11 can be made to look like any system you want it to be. I can even make X11 look like MS Win 3.1 system 8-bit graphics with an active colormap - I don't want to do write that software but it can be done.

      A X11 desktop can look any way I want it to look. The desktop, and the programs on it, can behave anyway I want them to. There are no standards for X11 desktop programs.

      People who use X11 are more adaptable because there are fewer restrictions on the UI and so programmers each use a differnt "look and feel".

      I worked at a company that developed a product on Windows and used a GUI converter to run the same source code on Sun Sparc machines. Customers were so used to every program running on the Sparc behaving a little different they didn't complain.

    6. Re:X Can Be Sold... by Hatta · · Score: 2, Interesting

      "Basic control over the X desktop" is largely a function of the window manager, not X. And as such, can be as easy or as hard as you want it to be. A WM like icewm takes almost no time to learn for someone coming from windows, while fluxbox is practically unnavigable for someone who hasn't read the docs (but an absolute joy for one who has). The few things that are actually X's responsibility are the middle click text buffer, changing resolutions with CTRL-ALT-+/- and killing the server with CTRL-ALT-BACKSPACE

      --
      Give me Classic Slashdot or give me death!
    7. Re:X Can Be Sold... by Anonymous Coward · · Score: 0

      X-easy as ... a video game ? Maybe so, but who plays video_games ?? Nobody that COUNTS.

    8. Re:X Can Be Sold... by drinkypoo · · Score: 1

      More to the point, when you don't motivate your employees to attend the training you have provided then they don't go, and they don't learn anything, and your support staff keeps fighting all the same pebcak fires.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    9. Re:X Can Be Sold... by jonadab · · Score: 1

      > learning a video game is a recreational process.

      Learning anything computer-related is a recreational process for some and
      painful for others, mostly depending on your attitude toward computers. My
      mom would consider learning a video game interface just as painful as any
      other computer-related thing, and I would consider it no more recreational
      than learning a new programming language (assuming it's a fun language to
      learn, by which I mean a dynamically typed and multiparadigmatic language).

      --
      Cut that out, or I will ship you to Norilsk in a box.
  2. X Roadmap? by Anonymous Coward · · Score: 3, Funny

    Ah, there's probably a joke in there somewhere about crossroads and hidden treasure, but I can't find it...

    1. Re:X Roadmap? by bsharitt · · Score: 1

      It that the one with the orangutan and the three-legged goose?

  3. There is no specific roadmap by sisukapalli1 · · Score: 5, Insightful

    Except a long list of associated technologies. For a non X-pert, the article is just a summary of what is there out there. I was expecting some sort of "this is what the future plans are."

    Roadmap is a little bit misleading term.

    S

    1. Re:There is no specific roadmap by Hard_Code · · Score: 2, Insightful

      Yeah, it's more like "Obstacle Course". That's a nice litany of alphabet soup, but what I care about as a consumer is what your goals are and maybe the smallest inkling that you have a plan that is based on some sort of principles (user experience, compatibility, new languages and technologies, etc.). As a user, and as so many fan boys have proclaimed, I don't use X directly, so I want X to work more closely with stuff I DO use like KDE/Gnome desktop environments, applications, etc. The X/Window-Manager/Widget-Toolkit/Font-Server/Audio- Server/Chiquita-Banana-Fruit-Basket distinctions are completely irrelevant to me.

      --

      It's 10 PM. Do you know if you're un-American?
    2. Re:There is no specific roadmap by Anonymous Coward · · Score: 0

      Actually, there's some interesting bits in there. I had no idea that Xlib was going to be replaced (by "XCB").

    3. Re:There is no specific roadmap by eugene+ts+wong · · Score: 1

      There were a couple of future items that they seemed to mention. I can't recall because it seemed so irrelevant to my use of X.

      I feel kind of cheated, in that they wasted my time. I deliberated read through the most of the page despite what my gut told me when I looked through the table of contents. Did anybody notice how the table of contents had a major point #1, but no #2? Maybe it's there but I'm just too tired to see it. All I know is that I can't be bothered to check because it definitely won't tell me anything new.

    4. Re:There is no specific roadmap by Jeff+DeMaagd · · Score: 2, Insightful

      Maybe "roadmap" needs to be changed to "flight plan". Most physical roadmaps show you all the existing roads and maybe a few that are under construction, but a flight plan means that you are declaring where you are going and when you plan to be there.

    5. Re:There is no specific roadmap by Shane · · Score: 2, Insightful

      I for one found this "road map" to be very enlightening. There is no one person or group of people in this community that can say "this is what we (the community) is going to do". So rather freedesktop published a "map" that shows where on that map we are currently and the route to get where we want to go.

      The "Road map" seemed from my perspective to be targeted more at poential developers than desktop users. Remember Xfree86 has been a rather closed process, so this looks like an honest attempt to try and get interested parties to get involved.

      --
      -- You can be a geeklord too :)
    6. Re:There is no specific roadmap by Anonymous Coward · · Score: 0

      There's not anything new there.. BTW, Anyone knows of that old Apple/IBM standard for doing cut and paste like thingies? Open"something".

    7. Re:There is no specific roadmap by jg · · Score: 4, Informative

      This is a work in progress.

      I wasn't expecting it to get slashdotted.

      Roadmaps show you where you were, where you are, and maybe where you are going.

      I plan to do more on where things are going...

      And it would be good if other projects did roadmaps of their own projects.

  4. Jim Gettys.... by Anonymous Coward · · Score: 3, Funny

    I though he was working on all the termcap stuff...

  5. Re:How sad. by mackstann · · Score: 1

    What exactly are "the big issues"?

  6. One cool thing in the roadmap... by Realistic_Dragon · · Score: 5, Interesting

    Low level xlib (ie, generic level) support for X session movement from machine to machine.

    This sounds a bit like screen implimented for X - you can take apps to work and back again without shutting them down, and keep apps running whilst restarting an X server. (With a bit of luck it will support echoing one app to mutliple windows as well.) It also allows for graceful app shutdown when an X server dies.

    Up until now I have been using VNC to do this, but adding it directly into xlib should make it a good deal less clunky. Way to go guys.

    --
    Beep beep.
    1. Re:One cool thing in the roadmap... by Space+cowboy · · Score: 1

      There is a program to do this already - it sets up another X displays, and instead of :0, you use :1. (similar to ssh setting up :10 for tunnelling). It allows programs to be moved from one display to another pretty seamlessly as I recall. It's called 'xmove' I think :-)

      Simon

      --
      Physicists get Hadrons!
    2. Re:One cool thing in the roadmap... by Gaza · · Score: 2, Informative

      Xmove while ok in concept, it doesn't work that great in practice. I was able to get it to work on to Xsessions on the same machine, or two VNC Xsessions. But between an Xsession on a remote machine, or even the local Xsession and a local VNC Xsession it wouldn't go due to font and/or color depth incompatibilities.

      Native support that addresses those issues would be great, I would love to run X apps in a screen like wrapper would I could attach them to any Xsession I might be located at.

    3. Re:One cool thing in the roadmap... by Anonymous Coward · · Score: 0

      You can use VNC to use the exact same display on another machine. In windows, RealVNC allows you to take control of the actual display in use, but under *nix you get a NEW display with none of the running apps and have to remember to tack on :1 to access it. Why is that? X wont allow it?

    4. Re:One cool thing in the roadmap... by runderwo · · Score: 2, Informative

      xmove also doesn't support some of the more modern X extensions that are needed for toolkits to work. I think XRender was the one I had problems with.

    5. Re:One cool thing in the roadmap... by LarryRiedel · · Score: 1

      The upcoming v4 realvnc for unix has a loadable module for XFree86 which makes it cleaner to export an existing X session.

      Larry

  7. Enough is Enough. by cgranade · · Score: 2, Interesting

    I don't mean to X-Bash- leave that for xterm and Konsole- but I, for one, am ready to welcome our YWindows overlords, whenever they get here. I like the idea of rewriting from scratch once in a while, which is why I love the idea of scrapping X and going with Y. I mean, X is good, no doubt, but it shows its age. Transparent windows, more often than not, only show the underlying wallpaper and not the interlaying windows. Often, X just locks under load. Still, it is, under normal business circumstances, stable and functional.

    --

    #define DRM chmod 000

    1. Re:Enough is Enough. by mackstann · · Score: 1, Redundant

      The only way I could see Y going much of anywhere is if it allowed you to run X apps too. There are just too many damn X apps out there.

      Look at the roadmap.. transparent windows work already in the fd.o X server.

      X locking under load is an implementation issue really, and if you happened to look, the fd.o people have a new X server they're working on, which will likely get a lot more attention in this area (and every other area) than XFree. Recent Linux kernel improvements have also supposedly made X much more responsive.

    2. Re:Enough is Enough. by the_2nd_coming · · Score: 1

      the only x apps that are worth a damn are the ones written for GTK+ and QT/KDE

      every other tool kit blows and so do the apps written for them, though powerful they may be.

      --



      I am the Alpha and the Omega-3
    3. Re:Enough is Enough. by Anonymous Coward · · Score: 0

      Please take your astroturfing elsewhere.

    4. Re:Enough is Enough. by mackstann · · Score: 1

      The problem comes in when you consider (as you must) that there are people besides yourself involved, with opinions different from yours. I use only a handful of apps 99% of the time, and none of them are GTK (well, unless Firebird counts) or QT.

    5. Re:Enough is Enough. by the_2nd_coming · · Score: 1

      Im glad you enjoy using Nedit, though Kate is vastly superior.

      --



      I am the Alpha and the Omega-3
    6. Re:Enough is Enough. by ChrisJones · · Score: 1

      The damage and compositing extensions being worked on will allow all windows to be stored off-screen and their image operated on, there are screenshots available of them rendering gtk menus translucently over the underlying windows and with a drop shadow, all of which is composited offscreen (and could be hardware accelerated with driver support) and then blitted onto the actual display.
      Why do we need to completely replace X to get something a couple of extensions can do?

      --
      Chris "Ng" Jones
      cmsj@tenshu.net
      www.tenshu.net
    7. Re:Enough is Enough. by ChrisJones · · Score: 1

      For reference, the screen shot is here.

      Personally I think this kind of thing is a bit silly and pointless, but it seems people want to be entertained by their menus, so I guess we're stuck with more of it ;)

      --
      Chris "Ng" Jones
      cmsj@tenshu.net
      www.tenshu.net
    8. Re:Enough is Enough. by mackstann · · Score: 1

      Heh. I use vim, fyi.

    9. Re:Enough is Enough. by big-magic · · Score: 1

      Editors are a very personal choice. Rarely is the choice made on which is "best". Familiarity is much more important when it comes to productivity with an editor. I'm sure there are tons of people perfectly happy with their choice of Nedit using the Motif widgets. Live and let live, etc.

    10. Re:Enough is Enough. by the_2nd_coming · · Score: 1

      I was just making a point about good X apps verse bad ones. VIM is vastly superior to any GUI editor, but it was a good illustration of my point.

      --



      I am the Alpha and the Omega-3
    11. Re:Enough is Enough. by the_2nd_coming · · Score: 1

      I was just pointing out the difference between an old dusty motif app and a new KDE app.

      I only with gEdit had all the features of Kate, then I would not need to keep KDE on my system.

      --



      I am the Alpha and the Omega-3
    12. Re:Enough is Enough. by Anonymous Coward · · Score: 0

      If you are going to scrap X and go with something else, try http://www.fresco.org first. Y will just evolve into fresco anyway.

    13. Re:Enough is Enough. by penguin7of9 · · Score: 2, Interesting

      I mean, X is good, no doubt, but it shows its age.

      X11 is not showing its age at all--if you started from scratch today and did a good job at designing a window system with the functionalityi of X11, what you would end up with would look pretty much like X11 anyway.

      Systems like Y or Berlin seem attractive because they are toys; sooner or later, they have to address the same issues X11 addresses and then they become similarly complex. GDI+ and Quartz don't even quite try to solve the hard problems or defining standards--their developers just hack until it looks good.

      X11 is considerably slower at adopting new features than other systems. That's because X11 is not a piece of software, it's a standardized protocol. Microsoft or Apple can just go off hacking GDI+ or Quartz, but for X11, people sit down, try a bunch of ideas, then get together, hash out their experiences, write up a standard, and then every X server vendor and author goes back and actually implements it for real.

      Transparent windows, more often than not, only show the underlying wallpaper and not the interlaying windows.

      X11 doesn't have transparent windows yet, period. What you are seeing is a client-side emulation. X11 is getting transparent windows as part of RENDER, and those will work correctly (even though they are actually not all that useful other than for eye candy).

      Often, X just locks under load.

      That makes about as much sense as saying "often, HTML just locks under load". X is a protocol. Maybe your server running on your graphics card has a bug and "locks under load", but that's a problem with the implementation you are using. There are dozens of implementations of the X protocol by now.

    14. Re:Enough is Enough. by tuffy · · Score: 1
      Personally I think this kind of thing is a bit silly and pointless, but it seems people want to be entertained by their menus, so I guess we're stuck with more of it ;)

      Semitransparent windows are obviously a bunch of eye candy at present, but they might prove useful once the extension becomes widespread. I'm sure it'll lead to lots of annoying X clients at first, but that stage will pass once people tire of the "effect for effect's sake" part of it.

      --

      Ita erat quando hic adveni.

    15. Re:Enough is Enough. by smeat · · Score: 1

      Except kvim.

      HA!


      smeat!

      --
      "Let's not bicker about who killed who." Monty Python
    16. Re:Enough is Enough. by Billly+Gates · · Score: 1
      I support a rewrite of X then Y for compatiblity reasons.

      X is not bad. Xf86 is.

    17. Re:Enough is Enough. by lordDogma · · Score: 1
      Yeah right. Fresco/Berlin is a huge, bloated pig of a system that has been under turtle-paced development for the last 5 years and is still in alpha with no sign of getting anywhere anytime soon. If you read the design docs instead of just relying on the hype, you will see that it is much more complicated than X.

      Freso/Berlin has interesting theoretical foundations, but they break apart from complexity as soon as you try to implement them. Sort of like microkernels.

      Plus, Fresco/Berlin has several major dependencies (CORBA, OpenGL, etc.) Plus, it uses C++ so that will turn off a lot of people.

      Seriously, the design of X is pretty good. There is a lot of obsolete cruft in there though - that is the real problem with X.

      LD

    18. Re:Enough is Enough. by chez69 · · Score: 1

      emacs can be built with gtk widgets, and I believe vim has a gtk version also.

      --
      PHP is the solution of choice for relaying mysql errors to web users.
    19. Re:Enough is Enough. by Grishnakh · · Score: 1

      Not only that, but Fresco is the intellectual property of SCO: "FreSCO".

  8. xcomposite by Adolph_Hitler · · Score: 1

    With the new X composition extention, all kdrive/xserver needs now is drivers. Snap snap is the solution. Without drivers you cant use the new x server, the new x server with a composite manager using openGL on paper is even better than what OSX offers. We need driver support.

    --
    People don't exist to serve systems, systems exist to serve people.
  9. Re:How sad. by caseih · · Score: 4, Interesting
    It seems the X developers *still* do not get it, there is nothing here that is going to address any of the big issues with XFree, just more of the same.

    Sigh. And what issues are these? Have you talked to any of the X11 gurus lately, such as Keith Packard. I assure you they very much do "get it" and are doing wonderful things to make an already amazing framework even better. X11 is an amazing piece of work, one that is still working well today, almost 16 years after it was introduced. With the new extensions being worked on to allow compositing and true alpha channel blending, and because of the brilliant way in which is being done, the capacities of X11 can rival or even surpass Apple's Quartz system. No more nasty hacks are needed to simulate transparency. Everything from true live matrix transforms (imagine live windows morphing in real-time, something that even OS X fakes) to 3-d capabilities (the composite manager can map the live windows onto surfaces of polygons and use opengl to render them) without fundementally breaking the X11 protocol. In other words, remote log into an old SGI box and your apps will still run and have these effects.

    Dispite all the work that's being done to make X11 better, it's number one killer feature has always been network transparency. Fortunately many of the security concerns of this are being addressed; X11 will probably soon no longer default to tcp/ip connections, but rather use unix-style sockets only and have ssh connect them. (Very few people have a real good reason to not tunnel X11 through ssh anyway).

    So things are looking really good for the Linux desktop and X11. I'm excited for the next year and hope to be able to contribute in some small way. We have 2 years to really develop some great features before longhorn comes out. Hopefully with things like the composite extension, we can have more capabilities sooner.
  10. xouvert? by ciaran_o_riordan · · Score: 4, Informative

    For anyone that doesn't know:
    The Xouvert Project
    has been set up to help develop experimental extensions to X in an open way, using Free Software.
    (It's not a competing X implementation, it is assistance).
    (Jim didn't mention this in his paper)

    1. Re:xouvert? by millette · · Score: 3, Interesting

      maybe because xouvert doesn't have anything to show? Fri Sep 26 23:57:50 PDT 2003 marks the latest news on the website, although its roadmap indicates a "release" for November. I guess we'll just have to wait a little more and see.

    2. Re:xouvert? by the_2nd_coming · · Score: 1

      I thought that xouvert was set up to make new extensions, but to also streamline the internal workings of XF86 so that you do not need to go through so many layers to get to the hardware, much like what the B.E. OS folks have done with their hack of the XF86 code.

      --



      I am the Alpha and the Omega-3
    3. Re:xouvert? by Saeger · · Score: 1
      "Xouvert" brings to my mind the image of a perverted Q-Bert. Great marketing!

      (it's probably just me).

      --

      --
      Power to the Peaceful
    4. Re:xouvert? by Billly+Gates · · Score: 1
      Wasn't xouvert the new X rewritten from scratch?

    5. Re:xouvert? by Anonymous Coward · · Score: 0

      Jim didn't mention it because the people actually writing code are on freedesktop.org.

      Xouvert hasn't even finished importing the XFree86 code into their source control system. If it takes them 3+ months to do that basic step, what chance do they have of actually creating code?

  11. Re:is it only me... by Anonymous Coward · · Score: 0

    Yes.

  12. Menus by starseeker · · Score: 2, Insightful

    A very good overview of the major tools used on Linux desktops.

    I've been wondering about menus in Linux/*BSD - not so much the format of menu storage, although that is an issue, but the applications themselves. We have a very large number of applications out there, but that is a problem for end users because installing them does not result in an update of the graphical menus by which they tend to access them. I think this is one of those little things that makes people think Linux isn't desktop ready.

    I've been wondering - why not do something like the following:

    Create a database of all applications which are or might be deployed on Linux boxes. Define a standard, detailed menu structure into which all these should fit. For example, in the case of science/mathematical applications:

    (Sci/Math)
    (Math)
    (Symbolic)
    (Numerical)
    (Plotting)
    (2D)
    (3D)
    (Electrical)
    (Layout)
    (Simulation)
    (Chemistry)
    (Drawing)
    (Simulating)
    (Physics)
    (Mechanical)
    (Electrical)
    (Quantum)
    (Misc)

    Categories exist mainly as examples - they are not suggestions for what they would actually be. Do the same for graphical applications, editors, programming tools, etc, etc, etc. Once the structure is layed out in broad, start with the Debian archives, freshmeat, sf and savannah, and the other usual suspects and begin defining entries for each application. For each app, there will be a category or categories into which they fit - define this in the entry. To avoid duplicates, assign each category ranking a numerical value - 1 if it definitely should be there, two if it works there but someone wanting a smaller menu structure might not want it, etc. down to don't include this unless a full menu tree is specified. Allow arbitary execution techniques, so apps needing options or odd ways of launching can be accomidated.

    Then, have a way to scan the system binary directories and update based on new binaries found. If the app needs options defined when starting, the entry in the menu will know that and prompt for them when adding it to the active list. Perhaps with some kind of tripwire style system monitoring the menu system could even be triggered as a new binary appears.

    This system would be general and independant, because anybody could write a utility to generate a system's menus based on the database. Then, also, there can be global levels of configuration available. The user could define their own sensitivity - say "Show all Graphics programs but only show level 2 or better text editors". There can even be a "standard" menu structure that doesn't use app names at all, but only generic names and uses the highest ranked app in each category.

    Does anyone know of a project like this underway? I know people have made lists of apps before but if a protocal could be defined to add things like a central database, updating based on binary appearance, user configured options as program is added to menu if desired, etc it might really cause a revolution in Linux desktop menus.

    --
    "I object to doing things that computers can do." -- Olin Shivers, lispers.org
    1. Re:Menus by mackstann · · Score: 1

      The 'menu' package in debian does something along these lines. Frankly I find it messy and filled with stuff I don't want in my menu, so I never use it. :)

    2. Re:Menus by Anonymous Coward · · Score: 0

      Sorcerer allready have something along these lines.

      http://sorcerer.wox.org/

    3. Re:Menus by lneves · · Score: 1
      Does anyone know of a project like this underway?
      Not exactly what you describe, but take a look at menumaker
    4. Re:Menus by Jameth · · Score: 1

      The problem is that this results in menus that are completely useless and things in all sorts of random places. People think too differently. In case you hadn't noticed, no OS automagically adds things to the menu, the installers for programs do that.

      What Linux needs is decent installation systems. You know, things with options, instead of the usual "Run the RPM and have it fuck up your file associations and menu layout" shit.

    5. Re:Menus by starseeker · · Score: 1

      I agree. I've also used Debian and it has the right idea, but their categorization is IMHO lacking and it only works with debs. And their menu entries are too long ;-).

      The option to collapse or expand trees based on user preferences might be the most useful thing, since that would allow the user to toggle the deep but detailed tree style to the shallow but crowded style. And proper categorization also makes a big differene.

      --
      "I object to doing things that computers can do." -- Olin Shivers, lispers.org
    6. Re:Menus by Anonymous Coward · · Score: 0

      There are Linux distros that work to create unified menus. The problem is that the menu trees become overly complex because they include every package. This creates a usability problem because menu structures deeper than one level quickly become less usuable. If a common menu file was used, it is likely that the various window managers and desktop environments would simply parse the file to create their own menus. I.e., each desktop would still have slightly different menus. The fundamental problem in all of this is that there are several views of what menus structures are most usable, and what programs are the best for certain tasks.

      The Debian distro, with its update-menu package, does a decent job of placing packages into a menu tree during package configuration. The problem is that it becomes overly complex. The Gnome menu tree is very usable and uncluttered, but many packages are missing. (Personally, I have found the minimalistic approach to work best. After two years of KDE, I rarely used the cluttered app. menu; with Gnome, I am able to use the app. menu for most things and bypass the Alt-F2 combo and keyboard shortcuts to which I had become accustomed in KDE.)

      A single tree used by all window managers and desktop environments would have to include much more than is needed. The menus for the desktop environments can be more minimalistic because, when needed, the Gnome menu can exclude KDE apps, and the KDE menus can exclude Gnome apps.

      Here is an example of an exclusionary, simple menu versus an all-encompassing system-wide menu.

    7. Re:Menus by stivi · · Score: 1

      I do not understand, how this one was rated as Insightful. The problem with menus does not belong to X at all. Moreover, it is a problem of current application packaging in the *nix world. There is no such thing as application, instead of that there is a program, set of libs and resources scattered arount the filesystem.

      Ever looked at how GNUstep/OSX does it with applications? No need for special menus/tools to find applications. Why? Because every one knows, where applications are stored, and besides stadard places apps can be stored anywhere you like. And even, the application is nothing more than a directory with .app extension (called application bundle) it is presented to the user as ... as an "application file" that can be run just by doubleclicking it in workspace manager. This allows one to manage application directory structure to suit ones taste. And allows more freedom of application placement without prescribed set of categories.

      No menus needed at all ... just a simple solution: application, even as directory bundle, is treated as executable file to the user.

      --
      First they ignore you, then they laugh at you, then they fight you, then you win.
    8. Re:Menus by starseeker · · Score: 1

      The thing about this scheme would be it would allow you to do whichever you prefer, seamlessly. It would retain all the information, but how much is actually displayed depends on your settings.

      --
      "I object to doing things that computers can do." -- Olin Shivers, lispers.org
    9. Re:Menus by WWWWolf · · Score: 1
      Reason number 3 why Debian rules: Menu system works in concert with the package system itself. (Reason number 1 is APT, reason number 2 is make-kpkg.)

      Debian's menu system is well thought of. A couple of categories (Apps, Games, XShells, and a couple of more), with subcategories. Most menus are kept 2 levels deep, so there's no endless wading through the menus.

      All menu entries are put in menu directories (/usr/lib/menu for packaged apps, /etc/menu for system-wide custom entries, ~/.menu for user-specific entries) as plain text files. File names correspond to installed packages (if package is not installed, the file isn't processed - except for menu files called "local.*"). Likewise, each entry in these files have such control.

      And all of this stuff is processed by update-menus to produce menus for whatever desktop you are using. It does GNOME menus, it does WindowMaker menus, it even does fvwm2 and even the bloody twm - whatever has a pre-packaged menu generation method.

      The entries are also aware of the environment they are to be executed. X-only apps won't be generated in text-based menus. text-based apps that need terminal get launched in an xterm (or whatever you think is your excuse of a terminal emulator).

      In conclusion, I'd say Debian has one heck of a menu system. Not perhaps fit for everyone since to add entries you need to generate specially formatted text file, but from geek point of view, it's infinitely frosty.

      The only really bad side is that Debian maintainers tend to add bloody everything to the menus. Oh yeah, bitmap(1) and whatever X tools nobody uses do get in the entries. Then again, it's trivial to override these at ~/.menu so that they won't be added to the menus...

    10. Re:Menus by xenocide2 · · Score: 1

      Well, Debian automagically adds things to the menu, but they have an integrated installer. And frankly, its a bit of a mess. Fortunately there's two menus, the popular tools menu and the "everything installed" submenu. Debian just might be the answer to your RPM problems.

      Of course, then you'll have real problems about installation. Its not very user friendly, but if you can make your way through the text based installers (easy if you're at home with consoles), then day to day operations are simple and mostly pain free. There's still some rough edges around binary only programs like drivers, but thats hardly a Debian only situation.

      --
      I Browse at +4 Flamebait

      Open Source Sysadmin

    11. Re:Menus by fr0m · · Score: 1
      My first thought is "Oh no, not more menu-items. I am already annoyed at the current structure."

      For example: What is the use for Applications/Editors when Office/Wordprocessors exist (or vice versa).

      But then, I actually agree with you. If the system was to be simplified that is (not becoming more complex). I really like your idea of "user-sensitive-menus" or rules.

      This could also be very usable system for the general underlying catagorization (not sure of the spelling on THAT one), both on the filesystem but also as a standard for projects posted all over web. Search google for /linux/apps/math/plotters and get a listing of ALL current projects in that field.... Maybe impossible to implement... Just a thought.. tiiiired now.

    12. Re:Menus by Billly+Gates · · Score: 1
      God I wish I had this under FreeBSD.

      SuSE and Mandrake both offer this.

    13. Re:Menus by redhog · · Score: 1

      Every distibution has its own menu build system. However, freedesktop.org has a standard for desktop entry files. Those files define a rich set of propeties that can be used to filter and transform the menu, which should be enought to satisfy everyones need to sort the menu entries into submenus after his/he personal taste. This is much better than an installation progam that fill ones windows desktop with junk.

      I have hacked together a generic system called cookmenus, that I intended to replace the debian menu package (which has problems with tranlations and its filtering capabilities are bugging) with, that allows one to filter and transform the menu as one whishes. This program, cookmenus, is working, and can tansforrm debian entries into feedesktop.org (gnome/kde) entries, aswell as filter them and sort them. It also integrates into the system as a menu package replacement package. However, the command-line format is a bit awkward and documentation and output-desktop-entry-fileformat modules are still lacking (for outputing menus to e.g. fvwm2 and the like).

      --
      --The knowledge that you are an idiot, is what distinguishes you from one.
    14. Re:Menus by IamTheRealMike · · Score: 1
      I've been wondering about menus in Linux/*BSD - not so much the format of menu storage, although that is an issue, but the applications themselves. We have a very large number of applications out there, but that is a problem for end users because installing them does not result in an update of the graphical menus by which they tend to access them. I think this is one of those little things that makes people think Linux isn't desktop ready.

      The shared menu spec has been adopted by GNOME, KDE (in 3.2), XFCE and there are plugins for many other window managers/desktops. SuSE and Red Hat both use it.

      Apps that don't register themselves with the current shared menu system are buggy, plain and simple. Yes, at the moment they may get away with this because KDE as shipping is behind, but when 3.2 is finally released that should become less of an issue over time.

      You're right, the menus have been a total mess lately, but I think this is well on its way to being a solved problem.

      I might also add that autopackage deals with this for the developer - we automatically register in every menu system we can find, though to be honest I might rip this code out at some point. By the time we go stable, the menu system should be working smoothly.

    15. Re:Menus by Anonymous Coward · · Score: 0

      If it was easier to edit menus, people could place stuff wherever they wanted to. Maybe if we had "interactive" rpms/packages so that during the install we could be prompted to specify where the hell we want the shortcut to go.

    16. Re:Menus by SimHacker · · Score: 1
      I've suggested that a couple times in the past on the xpert mailing list and comp.windows.x (13 and 16 years ago respectively) ...

      You could have a standard format for describing menus (xml is the obvious choice now but wasn't around at the time), that applications could install on the desktop, that would be tracked and managed locally (by a separate menu manager or more likely merged into the window manager, to maintain a consistent look and feel).

      It's slow, inefficient and wasteful of system resources for menus to track over the network. It would be much easier and more consistent if all menus were locally rendered and tracked quickly with the same look and feel, and the user could select which way they wanted all menus to be rendered. If you can change the window frames by changing window managers, why should't you be able to do the same thing with menus?

      Changing the look an feel of all menus in the system was easy to do with the NeWS window system, because all the menus ran locally in the window server, and shared the same code. So it was simple to change all linear menus to pie menus, put tabs on all window frames, or anything else.

      If nobody's fixed this problem with X in 16 years, there must be a reason.

      To quote The X-Windows Disaster: Ultimately, NeWS was not economically or politically viable because it solved the very problems that X was designed to create.

      -Don

      From: Don Hopkins (don@BRILLIG.UMD.EDU)
      Subject: Window Managers and Client Menus
      Newsgroups: comp.windows.x
      Date: 1989-09-19 09:08:21 PST

      I think it's a pretty good idea to have the window manager, or some other process running close to the server, handle all the menus. Window managment and menu managment are separate functions, but it would be a real performance win for the window and the menu manager to reside in the same process. There should be options to deactivate either type of managment, so you could run, say, a motif window manager, and an open look menu manager at the same time. But I think that in most cases you'd want the uniform user interface, and the better performance, that you'd get by having both in one process.

      I think it would be possible to implement something like this with the NDE window manager in X11/NeWS. It's written in object oriented PostScript, based on the tNt toolkit, and runs as a light weight processes inside the NeWS server. This way, selecting from a menu that invokes a window managment function only involves one process (the xnews server), instead of three (the x server and the two "outboard" managers), with all the associated overhead of paging, ipc, and context switching.

      Here's a message on a related subject that I sent to xpert a couple years back (before I'd heard of the ICCCM). I never did get much response, except that one person pointed out that that was precisely the problem that NeWS was designed to solve. ;-)

      c(-; Once were done forging the menu manager standard, how about we do text editors, huh?)

      -Don

      Date: Mon, 23 Feb 87 18:31:00 EST
      From: Don Hopkins <brillig.umd.edu!don@harvard>
      To: xpert@athena.mit.edu
      Subject: Uwm extensions, perhaps?

      Date: 23 Feb 87 19:44:43 GMT

      From: cartan!weyl.Berkeley.EDUrusty@ucbvax.berkeley.edu (Rusty Wright)

      Marvin Solomon) writes: What's the solution? I think it is to get rid of the idea of window manager as a separate process, and build "window-manager" functions into all windows.

      That scares me. Wouldn't we then have the problem that suntools has where the suntool binaries are huge? On my sun 3/50 the suntools program itself is 728 blocks and the various other tools that run under suntools are 952 blocks. Yuck.

      How about setting up some sort of standard? For example, all window

      --
      Take a look and feel free: http://www.PieMenu.com
    17. Re:Menus by Anonymous Coward · · Score: 0

      Oi, y'bugger, that was *my* idea! I put it on LinuxFormat and passed on to the kernel team.

    18. Re:Menus by Jameth · · Score: 1

      You still miss the point that those menus are organized in ways which I would never use, and it is done automatically. With Windows, I pick where something does when I install it.

      Every installer under Windows (unless you are installing some real weird shit) has an option to put shortcuts in X place in the menu, options for the quicklaunch bar and the desktop.

      I can keep my menu how I want it, and I can almost guarantee that how I want it is not how you want it. With Linux, I have to install it, have it auto-placed, and then edit it using the incredibly cumbersome menu editor program. In windows, I just open the menu and treat them as normal objects, with drag-and-drop to move, right click for a menu with delete as an option, etc...

      The even bigger problem is that it tries to set up file associations for me. Take this as an example: I use MPlayer to play all my videos. Damn, MPlayer bugs me with DVDs. I install Xine. Now Xine is associated with all video files, without me doing anything. Now I need to go back to the Mime-Type editor in KDE (which is very error-prone, by the way) and reset everything by hand.

      Under Windows, the installer will show me a list of check-boxes for file types to associate with. I turn them off, and it causes no errors when I decide to install RealOne to play RM files and leave the rest with WinAmp. That's why the current state of things in Linux is so sad.

      Note: I exclusively use Linux at home instead of Windows at home because the other errors in Windows piss me off much more. This is just one minor thing which tends to really bug me.

  13. A new respect... by Realistic_Dragon · · Score: 3, Interesting

    Reading this document has given me a new respect for the X developers.

    You can use a modern X server to talk to an X client on a 1990s vintage machine with no problems at all, yet X is pretty fast on modern machines, has pretty good 3D support and is being updated to add more and more eye candy all the time - without breaking backwards compatibility.

    Their aims may not be the same as the ones you think they should have for your own use, but when compared against their aims they are doing very well indeed, and should be recognised for that.

    --
    Beep beep.
    1. Re:A new respect... by Anonymous Coward · · Score: 0

      > You can use a modern X server to talk to an X client on a 1990s vintage machine

      Bah. The main reason this works is because X development has been very static (because Unix was dying blah blah).

      Interop with 10 year old junk should not be considered a very important feature -- it would be better if they made some of these extentions mandatory and started killing the old stuff.

    2. Re:A new respect... by big-magic · · Score: 2, Insightful

      Given how much computers have changed since X was released, it is amazing they've kept this level of backward compatibility. As the Unix desktop matures, this will become more important than ever. Contrary to what vendors want you to believe, it's not necessary to upgrade everything every 6 months.

    3. Re:A new respect... by Anonymous Coward · · Score: 0

      I think it's even more impressive that Windows XP still has BINARY compatibility with pretty much every Windows app ever, and quite a few DOS apps that are over 20 years old. That's true backward compatibility. It doesn't work for everything, granted, but the fact that you can run Visicalc on today's machines without a hitch is pretty cool. Linux/Unix binary compatibility is abysmal by comparison.

    4. Re:A new respect... by Anonymous Coward · · Score: 0

      Huh? I can run most every Linux app ever written on debian 3.0. Just install the libc5 compat package.

    5. Re:A new respect... by jbolden · · Score: 1

      Linux/Unix binary compatibility is abysmal by comparison.

      Linux has never seen binary compatability as a highly desirable feature. Many Linux developers would go as far as to consider it a bad thing: no binary compatability --> its too hard to maintain binary only code on Linux --> far fewer commercial closed source apps --> better/more opensource non commercial apps.

      Its like being critical of PCs for not supporting redundent CPUs.

  14. Re:How sad. by Anonymous Coward · · Score: 0

    We have 2 years to really develop some great features before longhorn comes out.

    Come on man, just take it for what it is. I'm not a part of your 'we' - I don't care about what other people are doing. I use X for certain things, and it works nicely. In the future it'll work better; great, but please don't put all of what you wrote in the context of just 'getting shit out before longhorn' :(

  15. Why is it still called X-Windows? by Amsterdam+Vallon · · Score: 1, Funny

    My students constantly complain and question why "windows" is in the name of a Unix graphical desktop program.

    The phrase "windows," whether you choose to accept it or not, activates a subliminal correspondence to Microsoft's Windows operating system suit.

    The X-Windows team should immediately begin to brainstorm possible new names for their project. Otherwise, it may never get off the ground entirely and could continue to falter as faster, real-time, 3-dimensional Open Source toolkits become commonplace (see KDE, Gnome, et al.)

    "Windows" are bad.

    --

    Reply or e-mail; don't vaguely moderate. Ex-O'Reilly/MIT employee, now a full-time Google employee.
    1. Re:Why is it still called X-Windows? by Lt_Kernal · · Score: 2, Insightful

      It isn't.

      It's called "The X Window System."
      Or simply "X".

      "X Windows" is a misnomer.

      --
      My posts don't reflect the opinion of my employer, and my employer's opinion doesn't influence the content of my posts.
    2. Re:Why is it still called X-Windows? by Space+cowboy · · Score: 2, Insightful

      This is a joke, right ? Time to get new students if not...

      Just in case...

      "get off the ground" ? Like, oh to pull an example out of the air, running the only graphical user interface common to every computer platform I've ever used ? It runs on just about everything it is possible to get a framebuffer on - I've even used it on an Atari ST....

      "get off the ground." HAH!

      Simon.

      --
      Physicists get Hadrons!
    3. Re:Why is it still called X-Windows? by Anonymous Coward · · Score: 0

      People have called it "X Windows" since the beginning. The reason that's not an official name is because they were scared of being sued by Microsoft.

    4. Re:Why is it still called X-Windows? by Arker · · Score: 1

      The reason that's not an official name is because they were scared of being sued by Microsoft.

      Umm no it's not. X started in 1983. MicroSoft Windows 1.0 wasn't released until 1985.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    5. Re:Why is it still called X-Windows? by Anonymous Coward · · Score: 0

      Unfortunately, Microsoft Windows was _announced_ before X was formalized.

    6. Re:Why is it still called X-Windows? by Billly+Gates · · Score: 1

      X started as a way to display multiple terminals in the same screen. Not a gui.

      It was later used to add gui's in programs back in 87 when X11 was formed. Then later window mamangers came which made it into a gui.

    7. Re:Why is it still called X-Windows? by cheekyboy · · Score: 1

      How ironic, that its name is both the names of X from Apple, and Windows from MS.

      Why didnt they call it Uwindows for Unix ?

      --
      Liberty freedom are no1, not dicks in suits.
    8. Re:Why is it still called X-Windows? by SimHacker · · Score: 1
      He didn't ask why it is "X-Windows". He asked why it's called "X-Windows". You're wrong that it isn't called "X-Windows". It is! It's just that it isn't "X-Windows". Being something is independent of being called something.

      The answer to the question "Why is it still called X-Windows"? is: It's still called X-Windows in order to annoy the X-Windows Fanatics, who take it upon themselves to correct you every time you call it X-Windows. That's why it's called X-Windows.

      -Don

      --
      Take a look and feel free: http://www.PieMenu.com
    9. Re:Why is it still called X-Windows? by JohnFluxx · · Score: 1

      Suddenly I feel like Alice

  16. Does anyone still use Metro-X? by Anonymous Coward · · Score: 4, Interesting

    Back when I first got a PC capable of running X (1993?), I remember having to use Metro-X instead of XFree86. At the time I was blown away by Metro-X since: (a) it actually worked and was easy to configure -- no tweaking resource files all day, and (b) it seemed to cost money, which baffled me since I never figured anyone would pay for Linux software.

    1. Re:Does anyone still use Metro-X? by molafson · · Score: 1

      Here's something funny about Metro-X, sort of: Way back then, someone at my uni managed to snag the Metro Motif source, somehow (open ftp). There was much excitement amongst the undergraduate CS students until we realized that there was absolutely nothing for which we needed Motif. I think maybe Netscape for Linux was compiled with Motif, but it was statically linked anyway.

  17. Bring it on by Space+cowboy · · Score: 4, Insightful

    Any X "roadmap" is going to have the hungry trolls out in force, mindlessly flailing around with "arguments" that X is badly designed and should be junked at the first opportunity.

    My take is this. You can do what you like to the underlying graphics subsystem. I neither know nor care what the protocol-on-the-wire says. However, you can take the network transparency from my cold and bloody fingers once I've shuffled off this mortal coil, and even then you'll have a fight on your hands. This single attribute is the reason I use it, and why it's possible to remotely administer far far more unix machines than windows ones. VNC is cool, but X is built-in. I love it.

    Simon.

    --
    Physicists get Hadrons!
    1. Re:Bring it on by Anonymous Coward · · Score: 0

      And the guy who refuses to discuss X11's shortcomings because it has network transparency is just as much of a troll as the anti-X BeOS crowd. X networking is in many ways just as out-of-date as the rest of the thing, and improvements should be made (such as built-in compression and encryption).

    2. Re:Bring it on by October_30th · · Score: 0, Flamebait
      It's all about choice.

      What people want is a version of X without the unnecessary network transparency. You may need it but most poeple do not. The attitude you show will only makes people hate X even more.

      --
      The owls are not what they seem
    3. Re:Bring it on by Space+cowboy · · Score: 3, Insightful

      Yes sir, yes madam, we have our first customer, roll up, roll up, see the troll feverishly attack the non-existent target.

      As has been said many many times before, the network transparency does not affect the local transport. The X team amongst others have done tests (you know, where you measure things), and the implementation (using unix sockets, which are massively efficient data-transports, and shared-memory (no transport at all)) is as fast as you can get. It's within the theoretical margin of error of the peak performance of the system. Nothing goes faster.

      I can't say this any simpler. X is massively efficient on the local channel. Direct-X on the PC is a different name for the same thing - an API into the low-level drivers.

      You might argue that the low-level drivers are in need of optimisation, and I might agree in some cases, but that would still be the case for any new system. X itself is pretty bloody good at getting the maximum performance out of any hardware you throw at it - try running the 2-D blit in X11perf, then multiply the area * bitdepth * fps, divide by your AGP bandwidth and read the number you get .... You'll be surprised if you're running nvidia or ATI cards. Even venerable matrox cards push the bandwidth limit ...

      Simon.

      --
      Physicists get Hadrons!
    4. Re:Bring it on by October_30th · · Score: 1
      Who said anything about performance?

      I'm talking about security. GUI-related ports are security holes just waiting to be exploited.

      --
      The owls are not what they seem
    5. Re:Bring it on by jschrod · · Score: 4, Informative
      Your attitude only shows your ignorance.

      If an X users doesn't need network transparency, chances are very high that she doesn't use any code that is network transparency related -- this is the current default, after all.

      In such situations, X applications communicate with the graphics subsystem over shared memory, just like in Windows. The difference is that the graphics subsystem is not part of the kernel but in user-space, and is called a server in tech jargon.

      So, now that we have already what you want -- can you please step back and let the knowledgable people improve X at those places where it would really matter?

      --

      Joachim

      People don't write Manifestos any more -- what's going on in this world? [Frank Zappa]

    6. Re:Bring it on by Space+cowboy · · Score: 4, Interesting
      Actually I disagree.

      The unix credo is to build tools that work well within themselves and interoperate well with others.
      "Be generous in what you accept, and rigourous in what you export".

      The (completely transparent) use of ssh for network compression/encryption is not a quick hack, it's an example of two well-designed tools working well together. When one is optimised/improved/whatever, the other automatically gains the advantages. Why would you change ?

      Besides, if you claim X should be trimmed down to "remove the network transparency", surely you wouldn't want to further lumber it with compression and encryption ?

      And another point - I think X has plenty of deficiencies (just that compression/encryption aren't one of them), and I'm open to good debate on the subject. I was mainly referring to those who use any X-related topic to say "X sucks"...

      --
      Physicists get Hadrons!
    7. Re:Bring it on by Space+cowboy · · Score: 1

      Been waiting a long time, haven't we ?

      Have you ever coded in Xlib ? I have, before toolkits were at all useful, and I was doing image processing applications. Trying to get even valid-looking content erroneously into the X server is nigh on impossible. Getting a BadMatch error from the X server is a simple task, trust me.

      X has a really really anal protocol parser. In all the time I've been using X (well over a decade now) I've never heard of anyone brute-forcing the protocol for anything. It was designed at a university, remember, if there's anything university people know about, it's curious students...

      Simon.

      --
      Physicists get Hadrons!
    8. Re:Bring it on by Anonymous Coward · · Score: 0

      > if you claim X should be trimmed down to "remove the network transparency"

      I didn't claim that at all. X's network transparency should be improved until it's competitive with Windows terminal server solutions like Citrix Metaframe. ssh might be part of the solution.

      >I was mainly referring to those who use any X-related topic to say "X sucks"...

      I was mainly referring to those who say "Network Transparency! X Rules!" It's really nothing to write home about.

    9. Re:Bring it on by big-magic · · Score: 2, Insightful

      Do you build a version of Linux without a TCP stack for those end-users that don't need the network? Or remove every device driver from the kernel that is not used by each machine?

      Honestly, the network transparency of X is almost never the source of any slowness or bottlenecks. It's almost always the quality of the video card driver you are using (many of which are pretty bad). I'm using a developmental snapshot of the next XFree86 release and got a substantial speedup on several of my machines due to improved drivers.

    10. Re:Bring it on by October_30th · · Score: 1
      X has a really really anal protocol parser.

      Ok.

      So all the 550 X11 exploits on securityfocus (go ahead and do the search) are nothing to worry about and OpenBSD's decision not to recommend X is overkill?

      Without the network connectivity the number of potential exploits would be 0. That's what I mean. I want my computer on the net but I don't want X to have anything to do with.

      --
      The owls are not what they seem
    11. Re:Bring it on by unborn · · Score: 1

      Binding network sockets is optional anyways (-nolisten option to server)

    12. Re:Bring it on by ocelotbob · · Score: 1
      I'm talking about security. GUI-related ports are security holes just waiting to be exploited.
      It's trivial to firewall off those ports, y'know. 2 minutes of googling, plugging the relevant ruleset into your router/firewall, and bam, you don't have to worry about some kiddy's tool 0wning you via X.
      --

      Marxism is the opiate of dumbasses

    13. Re:Bring it on by smcv · · Score: 1

      Debian's packaged X display managers have TCP/IP connections disabled by default; they only accept connections from the local machine, via Unix domain sockets (which have conventional Unix user-based access control, as well as the XAuth authentication system) and via shared memory.

      However, the fact that the underlying protocol is network-transparent enables ssh tunnelling to work (the ssh process at each end of the tunnel basically acts as a proxy for the Unix domain socket).

    14. Re:Bring it on by October_30th · · Score: 1

      And just how relying on X's "-nolisten" option is different from relying on its general security? If the network access is not programmed in, it cannot be abused.

      --
      The owls are not what they seem
    15. Re:Bring it on by Anonymous Coward · · Score: 0

      Dude. Seriously, you should check out active directory. You can literally have billions of objects. Delegate authority for mundane tasks like password changes, or even user creation, and simple installation of programs you choose; with levels of control availabe to the users should you deign to grace them so. Not to mention flexability.

    16. Re:Bring it on by nathanh · · Score: 2, Informative
      As has been said many many times before, the network transparency does not affect the local transport. The X team amongst others have done tests (you know, where you measure things), and the implementation (using unix sockets, which are massively efficient data-transports, and shared-memory (no transport at all)) is as fast as you can get. It's within the theoretical margin of error of the peak performance of the system. Nothing goes faster.

      Almost. Yes, the XFree86 UNIX socket is a very efficient transport. It doesn't add any measurable overhead compared to shared-memory transports (not the same thing as MITSHM, if anybody wonders about that). Solaris/X has a shared-memory transport IIRC, but the UNIX sockets on Linux are so damn quick it doesn't matter.

      But that's not the whole story. There is still the marshalling/unmarshalling of the X11 protocol stream. That adds the same overhead no matter what transport you use. Direct rendering gets rid of that marshalling/unmarshalling wastage. That's why the OpenGL implementation on XFree86 uses DRI if at all possible.

      There are also the context switches from the X client to the X server. Once again, direct rendering avoids those context switches because the X client fiddles the hardware directly.

      My point is that XFree86 isn't as fast as is possible. We can get a lost faster. Direct rendering is one way to get massive improvements out of Xlib. So your statement "Nothing goes faster" is simply wrong.

      X is massively efficient on the local channel. Direct-X on the PC is a different name for the same thing - an API into the low-level drivers.

      No. No. No. Direct-X is a direct rendering infrastructure. On XFree86, only OpenGL currently enjoys direct rendering. Xlib is still sent over the socket so there is 1 (possibly 2) redundant copies, marshalling, unmarshalling, and context switches.

      X itself is pretty bloody good at getting the maximum performance out of any hardware you throw at it - try running the 2-D blit in X11perf, then multiply the area * bitdepth * fps, divide by your AGP bandwidth and read the number you get .... You'll be surprised if you're running nvidia or ATI cards. Even venerable matrox cards push the bandwidth limit ...

      And here's the perverse bit: you're right. I've been harping on about the Xlib in XFree86 not being as efficient as possible. I'm about to point out that it doesn't matter! Modern CPUs are so much faster than 2D GPUs or 2D framebuffers that XFree86 easily keeps them fully occupied. Even with all the XFree86 inefficiencies (conservatively estimated between 5-15% for most operations) the video card is still the bottleneck! So optimising Xlib in XFree86 is a waste of time... for now.

      If the GPU/CPU ratios ever change then XFree86 will have to change as well, of course. For 3D this has already happened. The traditional method was client -> GLX -> transport -> server -> hardware. The GPUs improved so quickly that XFree86 needed a direct rendering infrastructure for 3D. Now the path is client -> OpenGL/DRI -> hardware. The Xlib path is still client -> Xlib -> transport -> server -> hardware. Maybe in the future we will see client -> Xlib/DRI -> hardware but for now, it doesn't matter, the hardware is already going flat-chat.

    17. Re:Bring it on by drinkypoo · · Score: 1

      Assuming you're not letting anyone else run X, and there exist several nice pieces of functionality in many operating systems beyond basic Unix security to ensure that they can't, turning it off ensures that no one will be abusing it.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    18. Re:Bring it on by Anonymous Coward · · Score: 0

      Since every single piece of software open on internet is open to attacks, I suggest you just don't connect your computer to internet, this will secure your box to oblivion.
      And even then, you shouldn't use a screen, someone might get sensitive informations from it.

    19. Re:Bring it on by cartman · · Score: 1
      The X team amongst others have done tests (you know, where you measure things), and the implementation... is as fast as you can get.

      Tests have been done of the peak bandwidth of X (pixels/sec), and in this regard only, X performs well. But X's latency is TERRIBLE and it takes WAY too long to do things like open windows, resize windows, move windows around, etc. And don't say "they've done tests." Everyone who uses X can tell that it's extremely slow. Right now, Java 1.4.2 Swing GUIs under Windows are far zippier and more responsive than natively compiled GUIs under X, on similar hardware. Moving & resizing windows is instantaneous under Win2k on a 300MHz box; with X it's nowhere near instantaneous on a 2GHz box. That's the biggest problem with X.

      Apparently X is slow because it requires a context switch to kernel space every time you move a window one pixel to the left. Additionally, X is unbuffered, so every window beneath that window must redraw itself even if its contents are unchanged. Additionally, X is a protocol and so requires marshalling and unmarshalling with every action performed.

    20. Re:Bring it on by nathanh · · Score: 1
      But X's latency is TERRIBLE and it takes WAY too long to do things like open windows, resize windows, move windows around, etc.

      The latency is higher than some other designs but it's not "TERRIBLE". It's in the same ballpark as most windowing systems. You'd be surprised how little the latency actually matters; humans aren't that quick and computers are. Of course, the application should be designed so as to not exaggerate the latency.

      And don't say "they've done tests." Everyone who uses X can tell that it's extremely slow.

      I would respectfully suggest that most people don't use X. They use GNOME on top of X or KDE on top of X. This is why you have to run tests; you must test X in isolation to determine how fast X is. Subjective impressions of the entire desktop are useless for pinpointing the precise cause of slow response.

      Apparently X is slow because it requires a context switch to kernel space every time you move a window one pixel to the left.

      That's one of the reasons, but it's not so bad that a context switch occurs for every "pixel" operation. Commands are collected and flushed at regular intervals.

      Additionally, X is unbuffered, so every window beneath that window must redraw itself even if its contents are unchanged.

      This is wrong. X11 includes backing store as a standard feature. On XFree86 is it disabled by default because the performance gains were not considered worthwhile, especially considering the large amount of memory that would be wasted.

    21. Re:Bring it on by spitzak · · Score: 1

      Wrong. The problem with X is the seperate window manager.

      A resize must be handled by the window manager, which then resizes the window, and then the application notices the window has been resized and draws it's new contents. This is several layers of latency, more importantly there is an unsurmountable asynchronicity between the update of the window border and the window contents that makes this look *really* bad. Try resizing some of the programs that bypass the window manager (some of those music players that have their own window borders) and you will see that the window manager is entirely at fault.

      Even under heavy load, if a program drew and handled it's own window borders, all that would happen when you resized is it would "jump" between sizes, but each time it would draw the resized window perfectly. This would be far preferrable to the current behavior.

      Windows has the exact same exposure methods and is unbuffered, so you cannot blame that. If you wrote a windows program and looked for PAINT messages you would know this. The transparent windows are a recent addition to Windows and the resizing was better before. For this reason I also don't think this compositing extension will fix these problems on X at all.

      The window manager has to be eliminated and we need to return to the X10 design. Let the toolkits draw the borders. Don't cry about "consistency", if that was really important, it has to be solved for the buttons and menus, and thus the window borders are a minor addition. (Also I think "consistency" is far, far over-hyped, really if that was such a big deal then all the real devices on our desks would look identical.)

    22. Re:Bring it on by Anonymous Coward · · Score: 0
      So all the 550 X11 exploits on securityfocus (go ahead and do the search) are nothing to worry about
      Correct (and I did). How many of those 550 X11 "exploits" (hint: they're actually troubleshooting messages) are exploits? By my count, twelve. Of those twelve, zero involve an implementation of X11 directly. The remaining twelve are bugs of distributions or third-party software. None involve the X11 protocol. If you can find a genuine exploit on there, please point it out.

      OpenBSD's decision not to recommend X
      That's a very weak statement. If you mean "OpenBSD's decision to recommend against X", you're lying. That never happened. Provide a link if you believe otherwise.

      Without the network connectivity the number of potential exploits would be 0.
      Then disallow it from accepting network connections. This isn't rocket science. If you're not following general network security guidelines (disallowing traffic you don't want), you're in a pretty weak position to complain about imagined "potential" problems.

    23. Re:Bring it on by Anonymous Coward · · Score: 0

      The last time I looked at the X11 server code everything came in as network packets(WaitFor.c) and shared memory was used only as an extension(MIT-SHM). But, the networking on most hosts short circuits connections to local host as just buffer transfers, so the usual case is not slowed down too much, less then 5%. But because the graphics calls come in as packets, it is very easy to make things like ssh pass X11 graphics requests.

      Windows uses system calls to do graphics. Just like any call to write() or socket(). I don't remember having to make buffers passed to write() shared - but I could be wrong.

      But, I do agree with leaving it to the experts.

    24. Re:Bring it on by jschrod · · Score: 1
      I take the shared memory extension for granted. All Unix and Linux X servers I've used in the last five years have it. Actually, this doesn't matter as much in practice as has been shown, much less then your cited 5%.

      Please note that I do agree that X is too slow. But analysis of keithp and others have shown that this problem is caused by the inefficient implementation that doesn't care enough for latency, and not by the networking code.

      --

      Joachim

      People don't write Manifestos any more -- what's going on in this world? [Frank Zappa]

  18. question on your post by Dynamic+Ranger · · Score: 1

    1. What is channel blending?

    2. What does x11 use matrix transforms for?

    1. Re:question on your post by dcuny · · Score: 2, Informative
      In addition to standard RGB (red, green and blue information), you can include a fourth chunk of information: the transparency of a part of an image. This is referred to as the alpha, and together the tuple is referred to as RGBA.

      In this scheme, you can specify to what degree a particular pixel is transparent, from 100% (entirely invisible) to 0% (entirely visible).

      So alpha channel blending (or more simply, alpha blending) refers to the ability to combine two images in a way that includes transparency. From a user's standpoint, this means you can have windows that can be partially transparent, so you can partially see through them - a cool, but slightly disorienting effect. This is how it's currently done in Apple's OS X, and will be in the next version of Windows.

      A matrix transformation is used to represent coordinate transformation. For example, rotations, translations (i.e.shifted along the X, Y or Z axis), or scaling (i.e.resized). Having this available to X11 means that these operations can be performed rapidly.

      Of course, it helps if the graphics are in a format that allows these operation in the first place - that is, vector graphics (like Display PostScript, which Apple's OS X uses) instead of the traditional bitmaps. In a nutshell, bitmaps just specify the dots to display on the screen. You can resize them, but the result is you get an image made of big, chunky dots. With vector graphics, you specify the image as a set of points that the computer connects in a dot-to-dot manner. Since th computer draws smooth lines between the dots no matter how far apart they are, vector graphics can be resized and scaled without artifacts (i.e.weird side effects).

      I, for one, welcome the spinning, scalable and alpha-blended X11 overlords.

    2. Re:question on your post by Hatta · · Score: 1

      Would it be possible though to implement, say, an SVG interface on top of X without breaking anything?

      --
      Give me Classic Slashdot or give me death!
    3. Re:question on your post by nathanh · · Score: 1
      Would it be possible though to implement, say, an SVG interface on top of X without breaking anything?

      Yes. It's already been done. Next version of GNOME will do all icon rendering through SVG. They could extend that to all window decorations if they wanted to.

      In fact, XFree86 offers Display Postscript (basically the same thing as MacOSX display rendering), OpenGL (I don't know of any desktop that renders entirely in OpenGL, but it's possible), and Xlib (which is what GNOME and KDE currently use). Keith has been writing various rendering extensions on top of Xlib to implement alpha blending and so on, but there's no technical impediment preventing GNOME and KDE from dropping Xlib and moving to OpenGL or DPS right now.

    4. Re:question on your post by Anonymous Coward · · Score: 0

      AFAIK, they are already implementing something like this.

      It is called Cairo - http://cairographics.org/

  19. Linux Desktop by Hatta · · Score: 1, Interesting

    X, Fluxbox, RXVT, Bash. What more do you need?

    --
    Give me Classic Slashdot or give me death!
    1. Re:Linux Desktop by Anonymous Coward · · Score: 0

      A window manager that doesn't attempt to cake features on top of a window manager designed to not have them?

    2. Re:Linux Desktop by AnotherShep · · Score: 1

      xeyes!

    3. Re:Linux Desktop by GreyWolf3000 · · Score: 2, Interesting
      Ummm...quite a bit. If all you use are cli apps, then X isn't even useful. Try fb.

      If I'm going to use X, I'm going to want a desktop environment (Gnome or KDE), a graphical e-mail client, web browser, text editor, office software, etc.

      I don't understand people that use X like a high-resolution vc. What's the point of it again?

      --
      Slashdot: Where people pretend to be twice as smart as they really are by behaving like children.
    4. Re:Linux Desktop by TKinias · · Score: 1

      scripsit Hatta:

      X, Fluxbox, RXVT, Bash. What more do you need?

      Um, a terminal that doesn't barf on Unicode? (Eterm and aterm have the same problem... so I just stick to good ol' xterm).

      --
      In principio creauit Linus Linucem.
    5. Re:Linux Desktop by Ice_Balrog · · Score: 1

      He didn't say that he wasn't going to use GUI apps, just that he didn't need a complex and resource intensive desktop/WM.

      Seems quite sensible to me.

      --
      #include "sig.h"
    6. Re:Linux Desktop by mackstann · · Score: 2, Insightful

      I think it's much more common to use *almost* all text-based apps. Every window I have open is an xterm, except firebird. I also use gimp sometimes, nicotine, and maybe a couple other gui apps once in a while. But browsing is the big one. Pretty much every browser sucks IMO, and firebird is the closest to not sucking. Text browsers are definitely not my cup of tea (nor is elinks running in framebuffer or whatever).

      So I make the decision that using X is a good idea. I don't understand why that means you'd automatically want to use all GUI apps along with it.

      And even if I only used text-based apps, X is still nice, because I just like a windowed GUI. I like being able to move and resize windows, and manipulate them in whichever way I want. I like being able to use the keyboard for directional focus and viewport switching, and at the same time, i can lean back and surf with the mouse and flip viewports with that too by clicking on the screen edge. Stuff like that. Must be why I work on a window manager. :) In console you're fairly limited to how you can navigate and view things.

    7. Re:Linux Desktop by Kent+Recal · · Score: 1

      Mod parent up!

    8. Re:Linux Desktop by Anonymous Coward · · Score: 0
      X, Fluxbox, RXVT, Bash. What more do you need?

      dynamic input language switching (say, from english to thai to arabic for instance).
    9. Re:Linux Desktop by Anonymous Coward · · Score: 0

      XFree86, fvwm, aterm, zsh, please.

  20. Re:Correction by Anonymous Coward · · Score: 0

    idiot

  21. Re:How sad. by Anonymous Coward · · Score: 0

    That's all nice and dandy. But how about a simple thing like the windows not flickering when getting moved/resized.

  22. Re:Stallman hates X-Windows by mackstann · · Score: 2, Insightful

    You're basically saying "don't trust anything that isn't copylefted." I'm sure most of us use BSD and X/MIT and similarly licensed software with no qualms about it whatsoever. The problem documented on that page was with the X consortium and Open Group. If you're afraid that the XFree people or the freedesktop.org people are going to take the code and make it non-free, then you're insane. If you're OK with being insane, then checkout CVS reguarly, and if they decide to make it non-free, you can just make your own free fork, or whatever.

    What the hell are Blackbox Lite and NVM?

    And I find this hilarious:

    Uninstall X immediately

    (Score:1, Insightful)

    Hah! Better find every non-GPL piece of software and uninstall it too.

  23. how about basic copy & paste? by McKie · · Score: 4, Insightful

    All that stuff is great, but the clipboard situation still stinks. It's one of the main stumbling blocks whenever I try to get someone interested in using Linux.

    Even if you truly believe in selection/middle-mouse, you have to admit that it should at least be *possible* to configure X to use a universal Alt-C/Alt-P.

    1. Re:how about basic copy & paste? by mackstann · · Score: 1

      Should be fairly trivial to bind a keybinding into producing a fake Button2 press. Although then your pointer would still need to be over the area you want to paste in.

      Try shift+insert to paste, it's not universal, but I believe it's pretty common.

    2. Re:how about basic copy & paste? by ChrisJones · · Score: 5, Informative

      Umm, X's clipboard does work in a universal alt-c/alt-p type way (although some programs do have different bindings, e.g. ctrl-c/ctrl-p).
      You are aware that the selection/middle-mouse buffer is not the clipboard at all, right? There is a completely seperate and proper clipboard, which is why most programs have Edit->Copy/Paste menu entries. People do tend to get confused and think the selection buffer is the same as the clipboard. IT IS NOT.

      --
      Chris "Ng" Jones
      cmsj@tenshu.net
      www.tenshu.net
    3. Re:how about basic copy & paste? by spitzak · · Score: 1

      What the hell is this? Every time, somebody says "Cut and paste", "cut and paste", "cut and paste". Is somebody working off a script out there?

      Every new program uses ctrl+X and ctrl+V, the same as Windows! Somebody is sure to point out that those keys don't work in Emacs or in the Terminal. Well I have news for you: they don't work in Emacs or the Terminal on Windows, either! They don't work in Lotus-123! Yet somehow people think they should work in software of the same age on Linux.

      Selection and middle-mouse click can be considered a form of drag & drop, with the advantage that you can rearrange windows and open/close them before you drop the selected object, and it is intuitive how to abandon a drag. Now I will be the first to admit that one problem with X is that it only had this drag & drop, and thus people used to Windows or Mac tried to map the clipboard ideas onto it. Imagine if Windows only had drag & drop, and you will see that it could be possible to use, and why people might have gotten confused into thinking this was sufficient.

      I'll also question some why you would suggest Alt+C/Alt+P, a combination not used by any program in history!

    4. Re:how about basic copy & paste? by Anonymous Coward · · Score: 0

      IT'S MACKSTANN!!!!

      sup dude ;)

    5. Re:how about basic copy & paste? by penguin7of9 · · Score: 1

      The selection mechanism is a different mechanism from copy-and-paste.

      Even if you truly believe in selection/middle-mouse, you have to admit that it should at least be *possible* to configure X to use a universal Alt-C/Alt-P.

      X just handles the graphics and windows--it has no more control over what applications do than a Postscript printer does.

      How applications handle selections and copy-and-paste is entirely up to the application programmer and toolkit.

      And why should we follow Windows there? Personally, I think copy-and-paste is evil and should be eliminated entirely. X applications should have consistent support for selections, and they actually used to be fairly consistent. But, then, people like you came around and wanted to put all that Windows "goodness" on top of X, and that's why we have a mess now: some X applications try to be more Windows-like than Windows, and others are X traditionalists. Ultimately, it's up to you which ones you pick--no Bill G. is going to decide for you on X.

    6. Re:how about basic copy & paste? by ChrisJones · · Score: 3, Informative

      For a fuller explanation of how the selection buffer and clipboard work, see this

      --
      Chris "Ng" Jones
      cmsj@tenshu.net
      www.tenshu.net
    7. Re:how about basic copy & paste? by ChaosDiscord · · Score: 1
      Even if you truly believe in selection/middle-mouse, you have to admit that it should at least be *possible* to configure X to use a universal Alt-C/Alt-P.

      Universally? You mean like on Windows? (Erm, Mac, I guess, I have no idea where Alt-C/Alt-P work...)

      Turns out that it isn't even universal on Windows. Ctrl-C/Ctrl-V are simply common standards. Programs are free to ignore it. Some (for good reasons, like terminal emulators) do. In early days of Windows all sorts of software came up with all sorts of stupid ideas. Things stabilized.

      There was no magical central point in Windows to configure, and there is no magical central point in X.

      You'll be happy to know that the two dominant toolkits (Gnome/GTK and KDE/Qt) converged on Ctrl-C/Ctrl-V some time ago. You can pretty much assume Ctrl-C and Ctrl-V will work just fine in them. I use them all the time. It's just a matter of time for the older apps to join up. But the good news is that you can get alot of work done (web browsing, email, word processing, spreadsheet generation, writing and displaying presentations, and the like) using only software that will happily do what you expect with Ctrl-C and Ctrl-V.

    8. Re:how about basic copy & paste? by philci52 · · Score: 1

      I shouldn't have to read a huge article to copy/paste. I just want it to work everywhere the same, single way. But it doesn't. Sure some people like it one way and others like it a different way. That's what options are for. But every damn app should just work the same way! (Well I'll settle for just KDE, openoffice, mozilla and Gnome).

    9. Re:how about basic copy & paste? by ChrisJones · · Score: 1

      It's got nothing to do with options, the fact that you have to read that article is a) because nobody bothers to document how it works, b) a lot of programmers have no idea how it works and don't make their code work properly. Gnome I know works fine, I believe KDE does too, I think it's mostly OOo and mozilla where they have a cross platform codebase being worked on by people who may not be familiar with the ins and outs of X. It'll get fixed though, and hopefully quickly.

      --
      Chris "Ng" Jones
      cmsj@tenshu.net
      www.tenshu.net
    10. Re:how about basic copy & paste? by philci52 · · Score: 1

      I did read the article. The problem in my opinion is that the difference between the methods of selection that confuse the users. I want to be able to do the following:

      1) Highlight Text (possibly a URL) in Gaim
      2) Copy it with Ctrl-C, like most people would, not Edit->Copy, that's 2 more mouse clicks and a lot more movement
      3) Highlight my web browser's Current URL
      4) Paste it into my web browser with Cntrl-V
      For whatever reason (mainly Cntrl-C brings up the Color Dialog and then Highlighting my URL overwrites the selection) This does not work like I expect it to. This will be REALLY frustrating to new users and is probably the reason why most people complain that copy/paste is broken.
      After reading your article, I'm now aware that Edit->Copy should put the text on the clipboard.

      But that's my Point, I should have to read the article to be able to copy/paste intuatively.

    11. Re:how about basic copy & paste? by ChrisJones · · Score: 1

      Unfortunately gaim doesn't seem to have proper bindings for copy/paste - for most stuff I use the Copy/Paste menu entries do have proper keyboard bindings. Might be worth filing as a usability bug against gaim?

      --
      Chris "Ng" Jones
      cmsj@tenshu.net
      www.tenshu.net
  24. Jim Gettys?!?! by PollGuy · · Score: 1

    BOSS Jim Gettys? As in, the corrupt politician with something less than a chance of being elected Governor over Charles Foster Kane???

    I thougt he was fictional!

    1. Re:Jim Gettys?!?! by Russ+Nelson · · Score: 1

      No, Jim Gettys as in Gettysburg. THAT Jim Gettys.
      -russ

      --
      Don't piss off The Angry Economist
  25. Re:How sad. by Anonymous Coward · · Score: 0

    Install a video driver. Duh.

  26. Very interesting article by big-magic · · Score: 4, Interesting

    This is a very interesting article. The thing that I found most interesting is that it demonstrates that the open source community is now in the driver's seat with respect to X development. That's a real change from the old days when the X consortium wouldn't give the XFree86 group the time of day.

    I know alot of people are down on the XFree86 group these days, but it looks like they single handedly destroyed the old X consortium.

    1. Re:Very interesting article by Anonymous Coward · · Score: 1, Insightful

      Heh, and now it seems the roles are reversed. XFree86 is a dinosaur, and all of the interesting stuff is happening at freedesktop.org. Funny how things change over time.

    2. Re:Very interesting article by Anonymous Coward · · Score: 0

      > it looks like they single handedly destroyed the old X consortium

      Not really. X.org was funded by UNIX vendors who lost interest in the workstation market and cut back development.

    3. Re:Very interesting article by Anonymous Coward · · Score: 1, Informative

      Remember that this isn't the XFree86 group. Jim Gettys assists in the freedesktop.org project now. Keith Packard and the rest of the freedesktop crew are on their way to re-implementing/re-inventing X. Gone is the 15 year cruft of XLibs. XCB and XCL could result in some very nice performance boosts due to the reduction in round trip traffic.

      Keith did a lot of research on running X apps over the network and noticed that one of the biggest problems was the number of round trips that apps such as nautilus and mozilla made. These round trips result in latency, which has a much bigger impact than bandwidth on the speed of remote apps.

      freedesktop.org is also working on kdrive which is a new Xserver. Originally written by Keith for low memory embedded environments, it is being adapted for general use. Keith has also been working on adding off-screen compositing to the server allowing for OSX like effects plus a lot more.

      XFree86 looks stagnant next to the work going on at freedesktop.org. This is where the community is at.

    4. Re:Very interesting article by Anonymous Coward · · Score: 0

      Let me get something straight.

      XLib has inherent design flaws which result in many round trips.

      XCB is a library that offers more control over X requests.

      XCL is a re-implementation of Xlib using XCB. It's a 100% compatible drop-in replacement of Xlib. As such, surely it has the same round trip problems as Xlib itself?

      So, correct me if I'm wrong, but using XCL shouldn't be any real improvement. It's based on the same flawed Xlib design. The real way to fix things would be to rewrite Gtk+ et al. with XCB, or extend XCL beyond Xlib's limitations, and rewrite the toolkits ...

      Right?

    5. Re:Very interesting article by spitzak · · Score: 1

      Although using the rewritten Xlib interface will not be any faster, this will allow you to use the XCB interface as well, and perhaps gradually modify your program to 100% XCB.

      I have not read the papers in quite awile, but the main reason XCB is faster is that it is a direct interface to the X wire protocol. If some Xlib call was something like "send message x", "wait for response x", in XCB these are two calls. The advantage is that you can do a lot of other stuff, such as sending other messages, between the send and the wait for response. In some cases this can turn the client-server model from a liability into a huge benifit.

    6. Re:Very interesting article by spitzak · · Score: 2, Insightful

      Just to be technical, pure "latency" is not the problem with X. You would be suprised at how easily you could use a machine where the display updated fast, but was delayed 1 second from anything you did. Shooting games might be difficult, but a lot of bad word form-filling software and the web work this way.

      The round-trips are made bad by latency, but the real problem is that they require 2 whole latency steps for every call. Even a microsecond makes the display draw unbearably slow. Non-round-trip calls can be shoved down a pipe and thus hundreds of thousands can be sent in a second even if there is a second of "latency".

      Even making a "DRI" interface, as is often suggested, will not help, as it still means a good number of machine instructions, pushing and popping, are done each call. Some misguided other posters seem to thing "marshalling" and "unmarshalling" are expensive, they are wrong. Ever wonder why things like "display lists" are used to make 3D hardware run fast?

  27. Performance by Moderation+abuser · · Score: 2, Interesting

    "Very few people have a real good reason to not tunnel X11 through ssh anyway"

    ssh, like lbxproxy and similar software adds significant latency to every operation to the point that our users made us take it out as the default, add to that the fact that on a multi-user server every single little bit of CPU power available is important. Encryption and compression are CPU intensive operations even a small increase in the load on a per process basis can significantly increase the overall load and reduce the number of concurrent users you can host on a box. That adds up to more money on more servers to handle the same number of users.

    Basically, we tried ssh tunneling and while it's great on a small scale, i.e. individuals, it's a disaster for performance when hosting tens or hundreds of users, i.e. Linux in a corporate desktop environment.

    --
    Government of the people, by corporate executives, for corporate profits.
    1. Re:Performance by hawkstone · · Score: 1

      Agreed. The real killer is the first one you mention, however -- latency. For a single user on a single system, the CPU overhead is minimal, and the en/decryption happens fast enough as to not compromise bandwidth.

      But the latency of SSH when tunneling X connections is atrocious. Even skipping the tunneling but using VPN to connect instead doesn't result in as poor performance.

      I remember an earlier version of Mesa was using some XGetColormap (not the exact function, but you get my point) call once for each color in the color map. Not tunneling through SSH: 2 seconds. Tunneling through SSH: 2 minutes. X has too much back-and-forth communication to work well in a system with much latency.

      LBX and so on help, but not enough. I'd like to see real progress made on a protocol which cuts down on the dependence on low-latency networks.

  28. Re:Correction by Anonymous Coward · · Score: 0
    people shouldn't have any real freedoms unless it benefits "everybody".

    Ok, but can you deny that this is exactly what GPL is about? Forcing people to share their property. Just like under communism.

  29. Re:Stallman hates X-Windows by Mr.+Frilly · · Score: 3, Interesting

    If my memory serves me correctly, this was several years ago already.

    And what basically happened, is the XFree86 guys did a big "fuck you very much, we'll stick with X11R6.3".

    The X Consortium, realizing they were no longer in the driver's seat, had to change their licensing so that XFree86 would go along, and it would appear like the Consortium still had authority.

    If anyone else recalls the actual events better, please pipe up. But the take away message is that for all intents and purposes, XFree86 is X.

    And Stallman is so rabid about his ideology that he often hurts his own cause.

  30. Re:Correction by Anonymous Coward · · Score: 0

    not at all.
    first you are an idiot about communism.

    second of all you are an idiot about gpl software.

    how is the : use at as you like it. forcing shared property?

    and if you want to, you can even develop further and redistribute it. so options of software source code availability is some how forcing people?

    dont like the license, dont use the code that someone else gracefully gives to you.

  31. 1992? by unborn · · Score: 1

    From the article:

    "Both Qt and GTK+ in versions since late 1992 have used Xft2 for their text rendering."

    I think it's time for the Y2K extension!

  32. Two request about XF86.. by Anonymous Coward · · Score: 3, Interesting

    1) (partially linux specific) A way of getting DGA (or DGA2) to work for a non-root program. No sudo-stuff, no suid root, just a way for a completely ordinary user to use DGA without being able to crash the machine.

    2) A standard way of getting an equivalent to the MSWindows Alt-tab and alt-enter for programs that run in fullscreen mode.

    For example, an extension that the window manager can hook into, that allows fullscreen applications to run in an own workspace, and a xserver enforced keycombination that can bring back the window manager workspaces if the full screen application crashes.

    1. Re:Two request about XF86.. by Anonymous Coward · · Score: 0

      use DGA without being able to crash the machine

      So wait, you want any user's programs to have direct read/write access to video RAM, and be able to poke random bits into the graphics chip's registers without any hinderance from the kernel, AND you want it to be crash-proof? Bwahahahahahahahahahaaaha....

    2. Re:Two request about XF86.. by GreyWolf3000 · · Score: 1

      There is no need for a standard way of doing it. The xrandr extension allows the possibility of resolution and depth changing on-the-fly. All window managers need to do is write their own code to bind Alt-Enter with changing the resolution to match (as closely as possible) the size of the active window.

      --
      Slashdot: Where people pretend to be twice as smart as they really are by behaving like children.
    3. Re:Two request about XF86.. by Anonymous Coward · · Score: 0

      No. I want EXACTLY ONE of any user's programs AT A TIME to be able to have direct read/write access to (a major part of) the video ram.

      No, I don't want it to be able to poke bits into the chips registers - that's not required to get fast video. To change values in video registers, the program will have to go through the X server, that validates the calls.

      I just want it to have access to the video memory, nothing else. Like, for example, direct draw does in mswindows.

    4. Re:Two request about XF86.. by Anonymous Coward · · Score: 0

      Currently, programs that run in full screen mode essentially always overrides the keybindings that the window manager uses. I don't know how or what extensions are used to do this. Maybe the currently popular window managers bind 'to softly' or something, but fact is the bindings are gone in fullscreen games.

      The only keys that are typically not overridden are ctrl-alt-backspace, ctrl-alt-(+/-) and those other that are handled by the x server internally.

      Also, games typically do fullscreen by creating a window and maximizing it on the current workspace. It would be nice with some kind of protocol where the window manager is informed that the application is about to go full screen, and is given an own workspace to use.

      Otherwise, when you want to use the windows that existed on that workspace before the fullscreen app was started, you get a no-border maximized window with the game in there to annoy you.

    5. Re:Two request about XF86.. by spitzak · · Score: 1

      I'm not sure what you are getting at with the fullscreen stuff.

      What does Alt+Tab do on Windows? I just tried it on both a maximized window and a program (Photoshop) that takes over the screen. Like expected it just acts like those are windows and does not resize, remap, or do anything else other than switch the top one.

      Most X programs that take over the screen just resize the window contents to the size of the screen. Modern window managers no longer move these, so the contents fill the screen. Then Alt+Tab switches between them, apparently just like Windows. Some window managers don't do Alt+Tab, but then it doesn't work for *any* window, so I still don't understand your complaint.

      I have heard that some programs tried to take over the screen by doing override-redirect, which means the window manager cannot see the window and Alt+Tab is impossible. However doing this also completely messes up any modern window manager, for instance making it impossible to send keystrokes to the window, so I kind of doubt anybody is doing that now, and I have never seen such a program.

    6. Re:Two request about XF86.. by Anonymous Coward · · Score: 0

      Sorry, when I read your post again I realized you interpreted mine as being about a way of getting INTO fullscreen mode. I wasn't. Like you said, applications can do that perfectly well already.

      I was talking about getting out of it, temporarilly, back into one of the other workspaces - for example the one with my web browser on it. In windows I would hit alt-tab to do this, and in unix I would want to hit whatever keycombination I have assigned to switch to that workspace, such as ctrl-2 or somesuch.

      Unfortunately, games override these shortcuts. And so on. See my other reply in this thread.

    7. Re:Two request about XF86.. by Anonymous Coward · · Score: 0

      Maybe I don't remember exactly what Windows does on alt-tab. I was under the impression that if you, in a full screen game such as starcraft, press alt-tab, a list of windows comes up. You can select one of those and that application is activated.

      What I want in unix is something like that. I want to be able to run a full screen mode game such as say Neverwinter Nights, and then press alt-f3 to instead show the contents of my ordinary workspace (with say web browser and mail client on it) on the screen. And, then, alt-f7 or something to bring back the full screen application.

      so...

      1) a application-independent way of getting out of the full screen mode. Not f in one game and ctrl-p in another.

      2) that way of getting out of full screen mode should work even if the full screen application has crashed, so it should be handled by the xserver or maybe the window manager

      3) and a way of getting back into fullscreen mode.

      4) and it should fit nicely into the system with workspaces we are all used to.

      That's it I think ;)

    8. Re:Two request about XF86.. by GreyWolf3000 · · Score: 1

      I gotcha...so what you really need is an option to run an application in it's own workspace. You could add a wm hint for it, or you could have, say, gnome-panel store the information in the menu system. Since pure xlib is workspace-agnostic (iirc workspaces are an invention of the wm code itself), I think the latter would make more sense. Of course, there could already be hints relating to workspaces...I'm not much of an xlib programmer, so I don't really know.

      --
      Slashdot: Where people pretend to be twice as smart as they really are by behaving like children.
    9. Re:Two request about XF86.. by Anonymous Coward · · Score: 0

      Yes.. that would kind-of solve it.. I would then need to keep an unused workspace available for full-screen applications.

      But then the problem of switching between that workspace and the other workspaces remains, since the window manager is typically "overridden" by the fullscreen application (ie my switch-workspace key binding doesn't work from inside the fullscreen app).

    10. Re:Two request about XF86.. by GreyWolf3000 · · Score: 1
      The window manager could create a new workspace "on the fly."

      As far as they key bindings go, it would be nice if window managers could be the first to receive keypress events. WMs should always be the first to get them because end user applications should work within the window manager, not the other way around.

      --
      Slashdot: Where people pretend to be twice as smart as they really are by behaving like children.
    11. Re:Two request about XF86.. by Anonymous Coward · · Score: 0

      The window manager could create a new workspace "on the fly."

      Yes, that would be ideal! Then, it would also be possible to handle the rare case of two fullscreen applications being started after each other.

      In this case, there has to be some established way of telling the window manager that a full-screen application is opening its window, so that the workspace can be created and the window moved to it.

      As far as they key bindings go, it would be nice if window managers could be the first to receive keypress events. WMs should always be the first to get them because end user applications should work within the window manager, not the other way around.

      I absolutely agree with you!!! That would also make it impossible for a crashed application to prevent you from leaving fullscreen mode.

      Also, no grab-keyboard-extension should be able to place an application before the window manager's keyboard handler.
    12. Re:Two request about XF86.. by Anonymous Coward · · Score: 0

      What do you need DGA for? No modern X app uses DGA anymore. You get everything you need withoutit in X.

      To get a generic full screen mode use KDE-3.2beta1. Just rightclick on a titlebar or window border, choose advanced -> fuull screen. And you are set. If you want, you can assign any key you want to this function!

      Most people who think the "linux" desktop is behind Microsoft don't use KDE, but Gnome even simpler solutions.

    13. Re:Two request about XF86.. by Anonymous Coward · · Score: 0

      You need it for games that want to be able to directly access video memory in order to speed things up.

    14. Re:Two request about XF86.. by Anonymous Coward · · Score: 0

      Direct access to the framebuffer will not do you much performance gains unless you can touch the registers. Touching the registers is what gives you performance gains. The chip on your graphics board can do certain things faster than your CPU can get to them simply by directly touching video memory.

    15. Re:Two request about XF86.. by Synic · · Score: 1

      "in soviet russia, games play you!"

      remember, linux people are "above" games.. jk

      actually, I would have to say that some improvements in supporting games (as in OpenGL, DRI, what-have-you) would probably do a world of good for linux in the mindshare department...

      in a perfect world i'd imagine an OSS 3D sound API as well, since OpenAL lacks that..

    16. Re:Two request about XF86.. by spitzak · · Score: 1

      For any X program, try Alt+Tab.

      Perhaps you are using old framebuffer programs? Try Alt+F7 to switch back to X. But really I have not seen any of these lately. Any program wanting OpenGL is now better off using X.

  33. Didn't mention by rRaminrodt · · Score: 1

    NoMachine's NX compression system when talking about LBX or SSH compression. IIRC the core software is under the GPL.

    I would have also liked to see a comparison to the other non-X systems people like to plug around here :-)

    All in all, I thought it was a pretty good summary.

    --
    They'll think I've lost control again and leave it all to evolution. -- Supreme Being, Time Bandits
    1. Re:Didn't mention by argent · · Score: 1

      "I would have also liked to see a comparison to the other non-X systems people like to plug around here"

      Like Berlin/Fresco?

    2. Re:Didn't mention by rRaminrodt · · Score: 1

      Exactly, I'd like to see Gettys' thoughts (him being such a major X guy) on their pros/cons.

      Maybe in a future version.

      --
      They'll think I've lost control again and leave it all to evolution. -- Supreme Being, Time Bandits
    3. Re:Didn't mention by �nertia · · Score: 1

      Under the multimedia heading, he missed the excellent and well maintained and developed Video Lan Client which I thought was a shame since it's quite alot more architecture important than mplayer in terms of streaming delivery of content, and interconnectivity.

      --

      AEnertia
      Witty, tag line goes here

    4. Re:Didn't mention by eloki · · Score: 1

      I suspect he thinks that they will not be a realistic alternative, and I also suspect he's right.

      There is an enormous installed base of X applications out there, apps which would have to be rewritten. Sure, they could run over an X compatibility layer, but that tends to nullify most of the rewrite advantages in the first place.

      If things like Xcb provide lower latency, and things like XDamage provide flexible management of windows/buffers for advanced effects, then the time invested in a rewrite probably aren't worth it.

    5. Re:Didn't mention by argent · · Score: 1

      One could make the same argument about the enormous installed base of terminal applications, and how X will never supplant them. Of course not, but it doesn't have to...

      I hardly use X applications at home at all now, for all that I'm using a UNIX system with native X support, because Aqua is so much richer an interface. And an increasing number of X applications are being written under toolkits, like OpenStep and Tk, that are divorced from the actual window system.

      There are a few X programs I continue to use occasionally, but mostly I stick to terminal apps and Aqua.

      The only problem is that there isn't a *networked* interface for Aqua applications, but something like Fresco which, like Aqua, uses OpenGL extensively seems to be a good fit. Fresco applications should get good local performance *and* good remote performance and quality.

      And most applications won't need to be rewritten at all, just the few bits and pieces that call native X rather than Tk or GTk or GnuStep or whatever will need to be ported. For a lot of them, it wouldn't be more than a recompile.

  34. Re:Correction by Anonymous Coward · · Score: 0
    use at as you like it. forcing shared property?

    Ok. I want to use it like this: I modify the source, compile the binaries, write them on a CD and start selling the disc.

    The result: a rabid horde of GNUs on my front lawn.

  35. Re:Correction by Anonymous Coward · · Score: 0
    forcing shared property?

    Actually, if it was up to RMS, he would legislate exactly this into law.

    We should all thank God it isn't.

  36. You gave yourself away by Overly+Critical+Guy · · Score: 0, Offtopic

    We have 2 years to really develop some great features before longhorn comes out. Hopefully with things like the composite extension, we can have more capabilities sooner.

    Unfortunately, this is why Linux will fail. It's trying to beat Microsoft instead of just innovating.

    --
    "Sufferin' succotash."
    1. Re:You gave yourself away by Anonymous Coward · · Score: 0

      Unfortunately, this is why Linux will fail. It's trying to beat Microsoft instead of just innovating.

      I assume you define failure as not getting the greatest share of the market. So Linux will not win because it tries? Kind of flawed logic.

      Or how else do you define failure? Linux is running well on my desktop and servers, regardless of its market share - ceratainly no failure for me personally.

    2. Re:You gave yourself away by macshit · · Score: 1

      Unfortunately, this is why Linux will fail. It's trying to beat Microsoft instead of just innovating.

      You lack much clue.

      Some projects (say, those with names starting with an `M' and ending with an `o') may be chasing microsoft, but the majority of big name free software projects, like linux and X, are pretty clearly just implementing what they think users want and what they think is cool. This is readily apparent if you actually know anything about these projects.

      Since M.S. is the big boy on the block, it's pretty natural that the developers will occasionally compare themselves with M.S. products (thus Gettys' comment), but this is not the driving force behind any of these projects.

      --
      We live, as we dream -- alone....
  37. Re:Correction by AntiOrganic · · Score: 2, Insightful

    First off, you're an idiot. The GPL in no way means that the software has to be made available free of charge. The GPL simply states that if the software is made available in binary form, the source code has to be freely available as well.

    Second, I view the open source development process as much more akin to capitalism than the traditional proprietary development model is. At, say, Microsoft, you have project coordinators who say "okay, you do this, you do this, and you do this." The open-source development model is much more capitalistic in that if you find an area that can use improvement, i.e. a faster algorithm for something, you upload a diff to the CVS server and it gets integrated into the source tree. In this way, the programs are competitive not only with one another, but with themselves as well.

  38. there is no "X desktop" by penguin7of9 · · Score: 1

    There is no such thing as an "X desktop", just like there is no such thing as a "GDI+ desktop" or a "PDF desktop". X is a low-level protocol.

    Whether a desktop based on X is easy or difficult to learn depends entirely on the desktop. Something like Ion or CDE, can be frustrating, unintuitive, and complex to novices. OTOH, your local ATM, which may be running X as well, probably is so easy to learn that you don't even think of it as "learning".

  39. Re:Stallman hates X-Windows by big-magic · · Score: 1

    Why should I care what RMS likes or dislikes? I'm not saying this to be mean, since I think RMS is a very smart and dedicated guy. But I hope most people can form an opinion about a software project without needing to defer to RMS.

  40. GPL is not free by Anonymous Coward · · Score: 0
    Your ad hominem attacks only reveal the weakness of your argument.

    I have no problem with GPL. I have a problem with the zealots re-defining what's free and what's not.

    If I cannot do anything I want to with the source code it is not free. Period. Otherwise it is restricted and therefore not free.

    1. Re:GPL is not free by Anonymous Coward · · Score: 0

      you need to grok the diff between free beer and free speech, weedhopper

  41. X tunneling by Anonymous Coward · · Score: 0

    Here's an experiment for you.
    Get a server that's fairly busy.
    Run a tunneled X app, and I don't mean xclock or xload.
    Then run the same app without tunneling.

    Report back if you still believe there is no place for non-ssh tunneled connections.

    ssh tunneling is wonderful if you don't have a secure channel. If you do though, it's a whole different ballgame.
    cheers.

  42. much better than VNC by penguin7of9 · · Score: 2, Insightful

    VNC doesn't work at the individual application level; this does. That makes an enormous difference.

    You can get some idea of how this will work in XEmacs (which has multi-display support and can be moved from the console). There is also the xmove server, which already implements this functionality via a proxy.

    It's amazing that this has taken so long. The members of the X Consortium have really been sitting on their hands: this functionality was intended to be in X11 since pretty much the beginning.

  43. How do you pronounce it? by Anonymous Coward · · Score: 0

    Zoo-vaire.
    From: http://www.xouvert.org/

    Ouvert is French for open.

  44. Learn by repetition. Teach by repetition. by jbn-o · · Score: 1

    The phrase "windows," whether you choose to accept it or not, activates a subliminal correspondence to Microsoft's Windows operating system suit.

    It's unfortunate this word in the context of computing or GUIs doesn't also trigger the memory of a trademark dispute between Microsoft and Lindows. In this case, Microsoft lost and subsequently urged anyone referring to any version of their proprietary operating system (or the MS-DOS application) to call it by a more descriptive non-generic name. It's interesting to note Judge Coughenour's logic in denying Microsoft a preliminary injunction in this case:

    "Although Lindows.com certainly made a conscious decision to play with fire by choosing a product and company name that differs by only one letter from the world's leading computer software program, one could just as easily conclude that in 1983 Microsoft made an equally risky decision to name its product after a term commonly used in the trade to indicate the windowing capability of a graphical user interface."

    But this story mainly serves to reinforce the value of repetition--in the aforementioned lawsuit, and as a professor who probably gives lectures, you probably already understand the value of repeating something you want to stick in people's minds. The reason people don't recall the trademark dispute is because few people heard of it. If we are to get people to use the word "windows" to mean something else (perhaps a general term that immediately makes them question the ambiguity) we must persist in repeating explanations and recent history. Widespread repetition is one way people learn new meanings (just as they learned "windows" in the computer sense as a colloquial synonym for "Microsoft Windows" and for the visual object one can drag around in a GUI).

  45. VNC vs. X by penguin7of9 · · Score: 4, Insightful

    Note that network transparency is really mostly about conventions and standards for applications running on different hosts.

    VNC doesn't try to address that issue at all. And, in fact, GDI+ and Quartz can be trivially used as remote display engines, but neither their toolkits nor their applications have any clue how to behave properly.

    Unfortunately, Gnome and KDE are eroding network transparency in X11. For example, they use some of their own preferences files, accessed via the file system, which means that preferences come from the remote machine, not the desktop. I think Gnome is trying to address this, I'm not sure about KDE.

    1. Re:VNC vs. X by Wudbaer · · Score: 1

      Unfortunately, Gnome and KDE are eroding network transparency in X11. For example, they use some of their own preferences files, accessed via the file system, which means that preferences come from the remote machine, not the desktop.

      But is this not as it should be ? It surely is an inconvenience in an Linux/Unix workstation-only environment, but what about using it via an X-server on Windows, Mac, Thin Clients/xterms ?

    2. Re:VNC vs. X by Anonymous Coward · · Score: 0

      Wouldn't it be nice to have a choice instead?

    3. Re:VNC vs. X by penguin7of9 · · Score: 1

      But is this not as it should be ? It surely is an inconvenience in an Linux/Unix workstation-only environment, but what about using it via an X-server on Windows, Mac, Thin Clients/xterms?

      No, it's not an inconvenience at all, and the traditional X11 mechanisms were designed specifically to handle those cases as well (we have had thin X11 displays since the 1980's--low-end RISC machines with less than a megabyte of RAM--try that with WinCE or QtE).

      What happens in a correctly set up X11 desktop environment is that preferences are set for the display by remote applications and other applications retrieve preferences from the display. That way, even if you run clients on dozens of different machines, they all get a consistent view of the desktop preferences. That is, they all use the fonts you have selected, they all use the colors you have selected, etc. In different words, there is a resource database in the X11 server, and each application shares it. Initially, it is loaded with programs like "xrdb".

      If you take the approach of putting preferences "in the home directory" or "in the registry", then different applications connecting from different machines will all get the preferences stored in their own local disks. Furthermore, they won't adapt to the display's characteristics--traditionally, people choose different fonts and colors depending on the display they are on--something that "modern" X11 desktops also don't exactly make easy.

    4. Re:VNC vs. X by penguin7of9 · · Score: 1

      Oh, one more thing: X11 applications fall back on local files (in your home directory, then in system directories) for their preferences if something is missing from the display's resource database. So, you get the best of both worlds. Gnome and KDE could do the same thing, but they simply seem to be lacking the display-based mechanisms. Well, maybe in another few years...

  46. Re:Stallman hates X-Windows by penguin7of9 · · Score: 3, Insightful

    Robert Stallman recently published a treatise entitled "The X Window's Trap" on his GNU.org personal homepage.

    Stallman (that's Richard Stallman) in that article makes a point about the X Consortium's licensing policies. The X Consortium, in fact, took a position similar to Microsoft: "open source is good only if we can take the source and make it proprietary whenever we like". That's what Stallman disagrees with.

    We can't say "Fuck Bill Gates" in one breath and then "I love X" in the other and remain morally sound and forthwith.

    You are right if by "X", you mean "the X Consortium". But the X Consortium has been pretty widely disliked in the open source community for a long time for just that reason.

    X11 itself, however, is an open network protocol. Stallman doesn't have any objections to open network protocols.

  47. Re:Stallman hates X-Windows by penguin7of9 · · Score: 2, Informative

    But the take away message is that for all intents and purposes, XFree86 is X.

    No, it isn't. X is a protocol and a standard, XFree86 is an implementation. What has happened is that the developers of XFree86 have become so influential that they, rather than the X consortium, set the agenda. But the X standard is, and continues to be, implemented by many different vendors and projects. It would be a sad day when X became synonymous with the XFree86 implementation.

  48. Grrrr... by Anonymous Coward · · Score: 0
    My newest, and rapidly becoming my worst, pet peeve is calling OS X "OS/X". It is not OS/X; it is not made by IBM. Never has Apple used the name OS/X, but some idiots insist on calling OS X by that name. All of you illiterate morons, please get this through your thick, pointed skulls:

    OS X is not OS/X

  49. What about rotation? by bluegreenone · · Score: 1

    I've tried to find a way to make screen rotation work with any generic video card so I can put my monitor in portrait mode. I had a lot of trouble making any sense from the goobleygook I found on Google, as near as I can tell rotation is still basically a dream. Can anyone shed light on this?

    1. Re:What about rotation? by �nertia · · Score: 1

      It depends on your video board and driver version. Portrait works with the nv drivers and a number of other X driver modules now. Here is a discussion thread on the topic. BTW this is WAY off topic =-)

      --

      AEnertia
      Witty, tag line goes here

    2. Re:What about rotation? by Anonymous Coward · · Score: 0

      Why would I email you ??

    3. Re:What about rotation? by �nertia · · Score: 1

      its a tag line sorry i should make it more explicit.. perhaps by adding some sort of witty, statement, or emboldened ascii art.... |={(o)}=|

      --

      AEnertia
      Witty, tag line goes here

  50. your right. please direct naysayers to this link by zymano · · Score: 1
  51. Funny, I don't see anything about... by cliveholloway · · Score: 1
    ... who's going to have the next hissy fit or fork off a new branch because their not allowed CVS access or any responsibilty due to the arrogance and narcissistic self importance or certain people involved in the project?

    Did I miss something?

    cLive ;-)

    -1 Flaimbait :)

    --
    -- Trinity in high heels carrying a whip: The donimatrix - there is no spoonerism
  52. Re:How sad. by caseih · · Score: 1
    That's all nice and dandy. But how about a simple thing like the windows not flickering when getting moved/resized.

    It's all part of the deal. Read the docs at www.freedesktop.org and you'll see how the composite extensions now only can give you special effects, but allow for smoother redraws, due to the buffering that's now possible. A lot of flicker in the past has resulted from redraws. The XDamage extension can now drastically minimize this, as I understand it, but double-buffering using a composite manager will dramatically improve things as redraws are practically eliminated for things like expose events.
  53. Ancient News by Mitchell+Mebane · · Score: 1

    Right... except for all this happened back in 1998.

    --

    The roots of education are bitter, but the fruit is sweet.
    --Aristotle
  54. Re:Correction by Anonymous Coward · · Score: 0

    so you have a problem with taking someone elses work and not be allowed to do whatever you like with it.

    you want to take but not give. well guess what, those developers own that code, they ownly give it to you because they want to. so if you dont like the rules, get out of the game and write your own code for that cd you want to sell.

    so you arguement is this: "i modify windows 2K by changing the installer, then start selling the CD"

    the result, i have microsoft lawyers on my front lawn

    you are a real idiot. and dont worry about your hypothetical situation, you cant program anyways.

  55. Good comparison of window managers by Anonymous Coward · · Score: 1, Interesting

    Just found this comparison of "The Other Window Managers". It's an interesting read.

  56. Re:your right. please direct naysayers to this lin by mackstann · · Score: 1

    That article is about XFree86, not X11. The freedesktop.org X server is a different X server than XFree86, yet it appears to me that it will eventually replace XFree.

  57. Score -1 (Same Old Tripe) by Anonymous Coward · · Score: 0

    You are a one note song that nobody cares about. Why do you keep harping on the same old discredited ideas? Are you really that stupid?

    Yeah, I know: IHBT, IHL, HAND. Happy?

    1. Re:Score -1 (Same Old Tripe) by Anonymous Coward · · Score: 0

      The same could be said for you. Are *YOU* really that hypocritical?

    2. Re:Score -1 (Same Old Tripe) by Anonymous Coward · · Score: 0

      The same could be said for you. Are *YOU* really that hypocritical?

    3. Re:Score -1 (Same Old Tripe) by Anonymous Coward · · Score: 0

      The same could be said for you. Are **YOU** really that hypocritical?

    4. Re:Score -1 (Same Old Tripe) by Sj0 · · Score: 1

      The same could be said for you. Are **YOU** really that hypocritica1?

      --
      It's been a long time.
    5. Re:Score -1 (Same Old Tripe) by Anonymous Coward · · Score: 0

      oops. Guess I'm caught. That was fun while it lasted.

      * ducks!

  58. Re:your right. please direct naysayers to this lin by zymano · · Score: 1

    thanks for correcting me.

  59. It's a window system called X. It's not X Windows by Russ+Nelson · · Score: 2, Informative

    Sigh. It's not X Windows. Never has been, never will be. It's a window system called X, or it's X11R6, or X11, or X, or The X Window System.
    -russ

    --
    Don't piss off The Angry Economist
  60. Or perhaps crappy implementations (X Color mgmt) by AJWM · · Score: 1

    never achieved widespread acceptance (as in the X Color management part of the API)

    Perhaps that never achieve widespread acceptance because the XFree86 implementation (or perhaps just every graphics card I ever tried it on) sucked big time.

    I wasted far too many hours trying to implement some things using this (that I'd done before with commercial X implementations on dedicated Unix hardware) before giving up in disgust because it just couldn't be done.

    What kind of things? Stuff like a vector graphics program where the selected object(s) blink by repainting them in "blinking ink" -- a designated color number whose colormap entry is regularly toggled by another process. Or doing vector-over-raster by selectively allocating and masking the pixel planes.

    Yeah, there are other ways to do it, but it's just so much easier with the access to colormaps and different (eg PseudoColor) visuals.

    --
    -- Alastair
  61. Obsolete? by AJWM · · Score: 1

    Okay, I may be unique in that I still do some open source development with Motif (mostly wrapped in C++ classes...), but he also calls the Tk toolkit obsolete.

    Eh? Perl/Tk, Python/Tk and (let us not forget) Tcl/Tk are obsolete? Not dead yet, I'd say, although perhaps GTK+ is starting to replace it in favor. What say you?

    (And I guess I can finally throw out my old PEXlib and OpenLook books. Sigh. Anyone got a graphics API they want rendered obsolete? I'll just go study up on it, that should do it...)

    --
    -- Alastair
    1. Re:Obsolete? by Shimbo · · Score: 1

      Eh? Perl/Tk, Python/Tk and (let us not forget) Tcl/Tk are obsolete? Not dead yet, I'd say, although perhaps GTK+ is starting to replace it in favor. What say you? ...

      Anyone got a graphics API they want rendered obsolete? I'll just go study up on it, that should do it...)

      In the Python world at least, wxPython is gaining ground on Python/Tk. I used to used Tcl/Tk, then dropped the Tcl, now I've dropped the Tk. Please don't look at though ;)

  62. Didn't Xfree86 fork? by Billly+Gates · · Score: 1
    If I recall one of the members who wrote dri and some of the font servers quit in disgust and is writing his own X server from scratch.

    XF86 is one of the worst ones and most bloated X's out there. Its hard to write drivers and modules for according to alot of hackers ( I do not write X specific code and can not comment myself).

    I think if early workstations had no trouble with X, then it should stay and only the implementation be rewritten.

    I would also like things like better refresh rates and DPMS support. I can never get my screen to look as good in X then in Windows with the proper refresh rates. Yes I know the correct vertical and horizontal modes.

    That is never a problem with the X's on standard Unix's like Solaris.

  63. Re:Or perhaps crappy implementations (X Color mgmt by spitzak · · Score: 1

    You are talking about Colormaps, while the paper is talking about the CMS (color management) stuff added to the X standard. The CMS stuff was never used, and was a totally stupid idea. Color management should be done by the program, and any system where the 8-bit number chosen by the program does not end up in the image buffer means that true color management is actually impossible, completley reversing the whole purpose of this extension.

    Colormaps and Visuals were (and still are) a serious error in X. They have no place in modern graphics and make it very difficult to get a desired color. On older hardware there are obvious alternatives so that the interface could look like true-color, such as using a fixed color cube.

    Colormaps were a serious detriment to advancement of graphics. Sun was forced to add several bits to each pixel of their full-color display just to store "which color map" because of the need to support legacy X programs that assummed there was a colormap. At least now most programs that required colormaps are gone, mostly due to the fact that XFree86 did not support them.

  64. Re:Or perhaps crappy implementations (X Color mgmt by AJWM · · Score: 2, Insightful

    You are talking about Colormaps, while the paper is talking about the CMS (color management) stuff added to the X standard

    Ooh. Never mind.

    Colormaps and Visuals were (and still are) a serious error in X. They have no place in modern graphics and make it very difficult to get a desired color.

    Actually, I take that "never mind" back. You seem to be defining "modern graphics" as that subset of computer display graphics that concerns itself with making images and graphic layouts look "correct" so that what you see on the screen is what you'll get on the page when it's printed (or TV or theatre screen when it's rendered to media for those).

    Like I said, that's a subset of what people use graphic computer displays for. Aside from the pretty picture industry, the computer display is a communication tool to present information in the computer to a human user in the most rapidly undestandable manner. An air traffic controller doesn't want photorealistic pictures of aircraft flitting over the screen, that's too distracting, he just wants a symbolic representation of the specific information he's interested in. A GIS analyst doesn't care if the mixed raster and vector image he's looking at matches what the ground outside really looks like, or even what a printed copy would look like (and while a cartographer might care about the latter, he's only going to want to use a small color palette). The GIS guy does care if the 4,327 features his query selected are going to highlight quickly, and whether or not he'll be able to distinguish them from the various other colored features on the display (this is the advantage of blinking).

    Colormaps were a serious detriment to advancement of graphics.

    Your particular branch of graphics, perhaps, but not that of countless others. Changing a colormap value can be simulated by redrawing all the relevant pixels in a different color, but at what a senseless waste of CPU cycles and memory bandwidth.

    Sun was forced to add several bits to each pixel of their full-color display just to store "which color map"

    A nicer approach than just letting the windows with a different color map look strange, but not the only way they could have done it. But bits are cheap. Another megabyte of RAM? BFD.

    most programs that required colormaps are gone, mostly due to the fact that XFree86 did not support them.

    Not gone, not by a long shot. Just not ported to Linux, at least not without requiring a commercial X11 package.

    --
    -- Alastair
  65. Re:Funny, I don't see anything about... by Paul+Jakma · · Score: 1

    Who are you referring to exactly? If Keith Packard, well he is about the only person who is actively working on improving X internals, he's already given us Xft, Xft2, XRender, Kdrive (which is /very/ promising). He appears now to be working on 2 extensions to allow X to do compositing. To call him arrogant or narcisstic to ask for CVS access is plain wrong.

    Further, he appears to have the support of Jim Gettys, which says a /lot/.

    --
    I use Friend/Foe + mod-point modifiers as a karma/reputation system.
  66. Re:Funny, I don't see anything about... by cliveholloway · · Score: 1

    http://developers.slashdot.org/article.pl?sid=03/1 0/27/1818256&mode=thread&tid=104&tid=185&tid=1 89

    http://cygwin.com/ml/cygwin-xfree/2003-10/msg003 28 .html

    --
    -- Trinity in high heels carrying a whip: The donimatrix - there is no spoonerism
  67. Re:Funny, I don't see anything about... by Paul+Jakma · · Score: 1

    Ah, sorry, you were referring to the XFree people who deny access as being narcissistic, sorry :), and yeah, they seem to be (from what little i know.)

    --
    I use Friend/Foe + mod-point modifiers as a karma/reputation system.
  68. Re:Or perhaps crappy implementations (X Color mgmt by spitzak · · Score: 1

    You are seriously deluded about how much computing power is needed to change the pixels on the screen. A typical game now is changing the color of EVERY SINGLE PIXEL, up to 80 TIMES A SECOND, and is doing a much more complicated operation that just filling a shape with a constant.

    Also it should be obvious that any of the symbolic graphics you are talking about can be drawn on a full-color display. The fact that many pixels have the same color does not mean that a colormap is required.

    I have programmed with colormaps with cells reserved for "blink". I have also used sprites and overlay planes. Yes I can see why these were created, but I can also state with absolute conviction that I am glad they are gone.

    The only reason Colormaps survived so long in X is because of the absurd design so that a colormapped machine could not pretend to be full-color. Windows (much to Unix's embarassment) at least made the true-color calls work and produce ugly dithering on colormapped displays. The result was that every program was rewritten quickly to not require colormaps because it was so vastly easier to use the true-color settings, and it soon became far more likely to find a full-color display used on Windows than on X. It was not until XFree86 with it's one-visual-only design that Linux displays caught up.

  69. This guy is mistaken by spitzak · · Score: 1

    All very clever and it sounds like he knows what he is talking about.

    However perhaps he should examing exactly how those new-fangled high-speed hardware boards work. Maybe examine how geometry is sent to them nowadays. Take a look at how those fragment/pixel shaders are stored and sent to the card. Take a look at how they get operations to happen on vertical retrace.

    Hint: it looks a LOT like a stream. And this is designed by people who are desperate to get them to run as fast as possible.

    You might also check why disk interfaces are going serial, and even the main bus may go serial someday.

    "*bufferptr++ = x" is faster than any call, and can be easily parallelized. Also memcpy is much, much faster when you have a block of already-composed graphics. And if you studied it at all you would see that at least 90% of the operations a program do is "copy this precomposed graphic (which could be a letter or glyph) from memory to the device".

    1. Re:This guy is mistaken by nathanh · · Score: 1
      All very clever and it sounds like he knows what he is talking about.

      Thank you. I do try.

      However perhaps he should examing exactly how those new-fangled high-speed hardware boards work.

      Yeah, maybe I should do that. Perhaps I should start with dri.sourceforge.net.

      Maybe examine how geometry is sent to them nowadays. Take a look at how those fragment/pixel shaders are stored and sent to the card.

      Though perhaps you might like to first explain to me what transform engines and pixel shaders have to do with Xlib?

      You might also check why disk interfaces are going serial, and even the main bus may go serial someday.

      Yeah, maybe I should do that. Giggle. Main bus going serial! Let's see... napkin... pen... 800Mhz front side bus... 6400 megabytes per second... in serial.... it would only have to clock at 53.6GHz!

  70. Re:It's a window system called X. It's not X Windo by ChaosDiscord · · Score: 1
    Sigh. It's not X Windows. Never has been, never will be. It's a window system called X, or it's X11R6, or X11, or X, or The X Window System.

    Chill. It's a sign of affection and familiarity that people have gotten sloppy with the name. When you complain about it you sound like the easily offended Mac fans who object to "TiBook" for the metal cased PowerBooks. Some of the people you're bitching at are the system's biggest fans. "X Windows" manages to uniquely identify the system, it's widely accepted in the appropriate circles.

  71. More like Roadkill. by SimHacker · · Score: 2, Funny
    Here is my solution to making the X-Windows desktop more productive and user friendly:

    YesTool, a GUI interface to the classic powerful Unix utility " yes ", written by the great hacker and University of Maryland alumni David MacKenzie!

    YesTool will be totally user configable, just like the permissive command-line " yes ". It will be written in object oriented reusable code using parameterizable C++ templates, so you can easily subclass it to make your own tools like NoTool, MaybeTool and ExecutiveDecisionMakerTool. It will support drag-and-drop in single-answer or streaming mode. Also an emacs support package is in the works, with a special command called "psychoanalyze-yes"! And of course it will support gestures, and video input so you can nod and shake your head.

    For more information on " yes ", type "man yes". If you don't have enough men in your life, type "yes man".

    I've written up a design spec in Star Open Office, made some concept screen mock-ups in Gimp, hacked up a prototype in GTK-Perl, but I still just can't seem to get drag-and-drop to work on X-Windows. I'm going to put the prototype up on SourceForge so everyone else can contribute, as soon as I can figure out how to get the damn autoconf file to work.

    -Don

    --
    Take a look and feel free: http://www.PieMenu.com
    1. Re:More like Roadkill. by jbolden · · Score: 1

      Change yes so that it accepts piped in input and not just command line.

  72. x w.. by Anonymous Coward · · Score: 0

    x windows, more like x winBLOWS

  73. Adobe's SVG viewer doesn't work on X any more by SimHacker · · Score: 1
    How ironic the wording:

    There are a few reasonably common datatypes for which there is no good native plugin available (fewer and fewer as the months go by).
    Let's talk about SVG. Yes I know Mozilla supports a subset of SVG now (but not by default), however it's got a long way to go before it's anywhere near the abilities of Adobe's SVG viewer plug-in.

    Jim's wording is ironic because Adobe's SVG viewer used to work in Mozilla on Linux, but not it no longer works, in post-0.99 version of Mozilla. Not because Adobe broke it, but because they trusted Mozilla enough to use one of their "unsupported" XP-COM interfaces, which Mozilla changed. [See Mozilla bug number 133567.]

    Granted, Mozilla had warned Adobe that they might change the interfaces, which were not yet frozen. But Mozilla broke their side of the contract by neglecting to change the UUID of the interface, when they changed a method signature, which should be Standard Operating Procedure.

    The whole point of using XP-COM (which is the COM-like plug-in system that Mozilla uses) is to protect against things like this happening. But Mozilla didn't play by the rules, and screwed Adobe after they'd already released their SVG viewer plug-in.

    So everyone is screwed because Adobe's SVG viewer USED to run on Mozilla on Linux and Windows, but NOT ANY MORE. Mozilla's built-in SVG support is impressive and commendable and going in the right direction, but nowhere near enough to fill the void left behind when AdobeSVG just stopped working one day.

    Mozilla moved the bug that ASVG crashes mozilla to "Evangelism", so now the ball's in Adobe's court to decide if they'll trust the Mozilla project again after having been burnt. Of course it was the Mozilla project's Overenthusiastic Evangelism that convinced Adobe to use the early plug-in interface in the first place. You have to appreciate the irony of fighting fire with fire.

    In the perfect world, Adobe would have released a fix for this problem soon after the it was "Evangelized" to their attention. And I would like a pony with that. But in the real world, they're off on the next version of their SVG viewer, and don't want to think about the old version. You can get a beta of the new version for Windows, but it's unstable, and not supported on any other platform than Windows.

    But if you're using Linux and want to use Adobe's SVG viewer, you have to sit around and wait, hoping that Adobe will get around to releasing the next version of their SVG viewer, and when they do it will support Linux. But there are no guarentees. The original SVG viewer for Linux was only released as beta, never officially released. And Adobe's been said to be back-pedaling on SVG and concentrating on other products.

    Batik would be usable as an SVG viewer plug-in (not as efficient but almost as functional where it counts), but I haven't been able to get past the Java security restrictions to enable the emcascript interpreter (rhino). Batik packaged as an SVG viewer browser applet (in a way that rhino worked, enabling dynamic svg) would go a long way towards rendering Adobe's proprietary SVG viewer irrelevant. But I haven't been able to figure out how to get rhino to work in an applet, or find any examples of Batik running in an applet as an interactive SVG viewer. Squiggle is not what I mean by an applet.

    -Don

    --
    Take a look and feel free: http://www.PieMenu.com
  74. Backward compatibility isn't an excuse for sucking by SimHacker · · Score: 1
    The only way I could see Y going much of anywhere is if it allowed you to run X apps too.
    You can run X-Windows applications on Windows, using Cygwin/X. Why would you need any more backwards compatibility than that?

    There is absolutely no need for a new window system to be backwards compatible with X in any way at all. Just run an X server in a window. Seal it off into its own minor sub-process, and don't let it pollute the design of another window system.

    There are just too many damn X apps out there.
    Compared to what? There are hardly any X apps out there, compared to the number of Windows apps. Most of the X apps out there have sucky user interfaces, or are trivial, or use a toolkit that's portable anyway. Don't let xcalc hold you back from doing something new.

    -Don

    --
    Take a look and feel free: http://www.PieMenu.com
  75. My favorite quote so far: by SimHacker · · Score: 1
    "Bad spec, Bad process, Bad engineering, Bad standardization process. What's not to hate?"

    (It's about the XIE image processing extension, but I think it's a great summary of the whole X-Windows situation.)

    My second favorite quote is about the so-called Security extension:

    "Security

    The Security extension was introduced to address the security issues of mixing trusted and untrusted clients on a single X server, according to compartmented mode workstation thinking of the early 1990's.

    It is not clear at this date whether it serves any useful purpose in today's environments, though it may be useful in the case of shared display walls.

    If you think its facilities are useful, please let your opinions be known, along with concrete examples of real circumstances where it is helpful."

    It is not clear at this date whether security serves any useful purpose in today's environments.
    What's not to hate? Pass the hexkey and the MIT-MAGIC-COOKIE-1!

    X-Windows: Even your dog won't like it.

    -Don

    --
    Take a look and feel free: http://www.PieMenu.com
  76. Re:It's a window system called X. It's not X Windo by FooBarWidget · · Score: 1

    There are many, many, *many* people out there who flame down X for "copying of MS Windows". They even think MS can sue X just because they think X is called "X Windows".
    But why? X is not called "X Windows". Yet people still flame down for something X isn't, just because everybody calls it "X Windows".

    This misunderstanding is taking rediculous forms. It's starting to harm X.

    Let's compare it to this (example) situation:
    You wrote a book called "21st Century Car Engines". There is already another (popular) book called "Cars" written by Joe. Everybody calls your book "21 Cars" even though that's not really your book's name. You try to tell them about that but they don't listen.
    The next day, your mailbox is suddenly filled with hundreds of hate mails, accusing you of copying Joe's book's title, just because everybody *thinks* your book is called "21 Cars", while it isn't.
    Won't you get pissed at that? Everybody hates you now because of something that isn't even true? Won't you get annoyed at that?

  77. Re:Why is it still called X-Window? by Arker · · Score: 1

    And that's still a primary use of windowing systems for a lot of people today. Also remember that MS Windows wasn't really usable until 1992 with version 3.1. I was working with PCs through that entire period, and although I was vaguely aware that MS did have a product called Windows, and in fact I had tried some of the earlier versions myself, they were completely useless. Whereas X on Unix, for those that were lucky enough to rate a Workstation, was very slick and usable in '92, windows 3.1 was barely usable for a few things, and so often getting things done under it involved exiting back to DOS that we made a conscious decision to stick to DOS alone on most machines.

    I don't believe I ever heard anyone call it 'X-Windows' until well after '92, and I believe it was on the model of MS-Windows by people who were familiar with that first. This being the case, it makes sense that the X consortium wouldn't like that usage - first because it's simply not the right name, and second because it does seem to have it's origin in a confusion with MS Windows.

    --
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-
    Friends don't let friends enable ecmascript.
  78. Obligatory Gentoo... by MarcQuadra · · Score: 1

    Alright, Gentoo's portage package management does this to a certain extent, if I want to know what purpose package 'samba' is I can just 'emerge -s samba' and it will tell me "net-fs/samba - a native windows file server"

    If I want to see what other packages are in that group I can just 'ls /usr/portage/net-fs' and get a listing of other network filesystem utilities there are.

    --
    "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
  79. Re:Or perhaps crappy implementations (X Color mgmt by AJWM · · Score: 1

    You are seriously deluded about how much computing power is needed to change the pixels on the screen.

    Not at all. Just that it's more power than is needed to toggle a value in a LUT.

    A typical game now is changing the color of EVERY SINGLE PIXEL, up to 80 TIMES A SECOND, and is doing a much more complicated operation that just filling a shape with a constant.

    Sure, and it's doing quite a bit of that in the graphics hardware (GPU), not the CPU. And very little of that ever has to go over a network (the big advantage of X, remember?).

    Also it should be obvious that any of the symbolic graphics you are talking about can be drawn on a full-color display. The fact that many pixels have the same color does not mean that a colormap is required.

    Of course, as I said in my earlier message. Programmatically, though, it's a pain in the butt. If the card manufactures want to simulate colormaps this way, that'd be fine. Or even if the XFree86 folks had decided to emulate them in software to make X Visuals work on hardware that didn't support them, that'd be great too. If I've got to emulate it myself, its a truckload of programming that I shouldn't have to do given the X definition.

    Basically I have to maintain my own image buffer, and either emulate X writes to it or blt the pixels from the X server to keep it in synch, manipulate the pixels myself, then blt the whole thing back to the X server. Bleah! What kind of crap is that?

    The only reason Colormaps survived so long in X is because of the absurd design so that a colormapped machine could not pretend to be full-color.

    This was correct behaviour. Method, not policy. If the hardware couldn't support truecolor it was up to the program to deal with appropriately, not for X to guess at it. But colormaps and truecolor are not mutually exclusive.

    Windows (much to Unix's embarassment) at least made the true-color calls work and produce ugly dithering on colormapped displays.

    Thereby guaranteeing that there were plenty of incorrect pixels without letting the application know about it. Perhaps X should have implemented this as an option (plenty of apps that don't care if every pixel is perfect) but with some apps you really do care if a pixel is illuminated to a value because it really represents something or just because it happened to dither to that value.

    The result was that every program was rewritten quickly to not require colormaps because it was so vastly easier to use the true-color settings,

    What in the world are you talking about? "every" program? Games and paint programs perhaps. Ever done anything with serious visual analysis of real-world data?

    It was not until XFree86 with it's one-visual-only design that Linux displays caught up.

    Actually XFree86 pretends to support multiple visuals (currently on my Matrox card it's reporting 8, 4 TrueColor and 4 DirectColor) but the implementation is broken. Which is what really sucks. If it just reported a single visual available, a program would know not to even try messing with visuals. Instead it reports them there but ignores colormap changes. The program lies about its capabilties.

    --
    -- Alastair
  80. Re:Stallman hates X-Windows by dbIII · · Score: 1
    After all, that's why he forked Emacs - because X didn't run on hurd and anything that would not help hurd (like Emacs working well in X) was bad.

    It wasn't about the licence for X windows.

  81. Re:How sad. by Anonymous Coward · · Score: 0

    How about it being virtually im-fucking-possible to do things such as make fonts look good that take 2 seconds in Windows yet require lifetime study in X? I've managed to get anti-aliased fonts working in the past but I have no fucking clue how I finally managed to do it, not to mention more stupid things like half my apps not using them, granted that's not necessarily X's fault, but I can't imagine what kind of nightmare programmers must have to go through to make X work if it's impossible to configure from a user's perspective.

  82. Re:How sad. by Anonymous Coward · · Score: 0

    Also might I add that this is a MAJOR issue with Linux and free software apps in general. Developers love to add new fancy features like matrix transformations and alpha blending and so on but none of them seem to want to make anything usable. If you want Linux to remain the domain of Unix geeks, that's perfectly fine, but if you want it to be used by a wider population something has to be done to make these things workable. Even I, as a moderate Unix geek, don't like screwing with these things to the point that I don't bother with free operating systems and just use free software on Windows when I can, I mean it was interesting the first time, but when I have to make ritual sacrifices to the X God every time I want anti-aliased fonts on a new install I'll pass. By all means, make it look good, but don't introduce uber-bloat and configuration hell while you're at it.

  83. Re:Or perhaps crappy implementations (X Color mgmt by spitzak · · Score: 1

    Actually XFree86 pretends to support multiple visuals (currently on my Matrox card it's reporting 8, 4 TrueColor and 4 DirectColor) but the implementation is broken

    The direct color visual is because the card supports per-channel lookup tables (ie a 256-entry table for red, another for green, and another for blue). The only practical use for this is for gamma adjustment, but most hardware is broken in that it only supports 8-bit entries in the table, making any setting other than the identity useless because at least 2 colors will map to the same value. As you probably know, such tables are useless for "blinking pixels" or any other use. Once upon a time they were used for fast preview of color corrections, which is similar to what you are requesting, but that is not usable for modern painting programs where most corrections are not color-independent and thus the programmers time is better served figuring out how to update the whole picture directly than to try to use this, also most users are annoyed when the entire GUI changes color when adjusting their photo's correction.

    The reason TrueColor is reported as well as DirectColor is because of programs that only look for TrueColor. On XFree86 if you mess with the DirectColor lookup table you will also change the TrueColor lookup, which is not what the design of X intended.

    Again I feel X's design is just WRONG. It could report *only* TrueColor, and have a seperate call for "change the color lookup" which could also accept an arbitrary-sized set of points that it interpolates, so you don't need to know how many bits per pixel are stored. This call could return failure if the hardware cannot do it.

    The reason there are 4 of each visual is for GLX. Due, again, to stupid design, the only method of communicating how a window was set up from GLX is to change the visual number, so GLX needs to use this to send what buffers are enabled to X. Most likely these visuals correspond to whether a back buffer is enabled and whether an alpha buffer is enabled, on my Irix machine there are 64 copies of each visual, indicating 8 on/off selectors. Again all obsolete on modern machines, where it would probably be most efficient to turn on all buffers all the time.

  84. Actually not so bad. by AJWM · · Score: 1

    I have to thank you. This discussion over the last couple of days led me to take another look at some code from a couple of years ago where I'd been thrashing over getting pseudocolor to work right.

    And you know what? PseudoColor (and DirectColor) does work in XFree86. I'm going to give myself the benefit of the doubt and say that a change of video card and a couple of releases of XFree86 made the difference. (The original version of the code is long gone, so I'll never know for sure.) I can now draw in blinking ink (and I may just add three-way color cycling to simulate motion, as in flow direction along a path (pipe, etc) for example).

    Oh, yeah, you have to create the X Server instance with the appropriate depth to magically get the set of visuals you need (fortunately with Linux's virtual consoles I can have multiple X servers running multiple virtual displays simultaneously -- although KDE and Gnome get confused if you try to run more than one copy of either at time (so I just run twm on display :1). And colormaps are still are PITA in DirectColor mode (whole screen colormap changes depending on the visual of the active window -- as you alluded to above).

    I think we both agree that the design (API) is fundamentally broken, we just disagree on the usefulness of dynamic colormaps.

    --
    -- Alastair
  85. Re:It's a window system called X. It's not X Windo by Russ+Nelson · · Score: 1

    I'm not upset about the fact that people call it X Windows. I'm upset about the fact that somebody would criticize the X11 folks for naming it "X Windows" when they never did that.
    -russ

    --
    Don't piss off The Angry Economist
  86. import pyyes by SimHacker · · Score: 1
    For anything that complex, you'll probably want to use pyyes, the Python yes module.

    -Don

    --
    Take a look and feel free: http://www.PieMenu.com