Slashdot Mirror


Looking Ahead at GNOME 2

Able writes "This is a good article that will teach you how to use the new and improved libraries available with GNOME 2 so that you can write your own Nautilus view, and panel applets. It also provides you with the understanding to compile a few sample GTK+ 2 programs that will give you a good understanding of GTK+ 2's many improvements over GTK+ 1."

57 of 200 comments (clear)

  1. Higher numbers faster please.. by PopeAlien · · Score: 5, Funny

    ..Geez.. 2.0? Thats no good.. I mean look at windows for instance - Its way past 3.0, past 98.0.. I think its even past version 2000 now! How is linux ever going to competitive with such small version numbers?

    1. Re:Higher numbers faster please.. by Guy+Harris · · Score: 2
      No XP stands for the greek letters X (chi) and P (rho). In other words, Cairo.

      Or "Christos", as in "Jesus wants you to run this operating system", or perhaps "Jesus Christ, what is this thing?"

    2. Re:Higher numbers faster please.. by Guy+Harris · · Score: 2
      The real version number of windows 9x is still 4.x,

      98 and Me aren't 5.x? I'm curious what GetVersion() and GetVersionEx() return on those platforms. (I don't have any Windows OT machines handy, although I suppose I'll eventually manage to get it running on VMWare at home - I've no desire to run Windows OT, of any version, for real; the Windows partition on my home machine is running NT 4.0.)

      the one of 2000 5.x

      W2K on my work desktop machine claims to be version "5.00.2195", i.e. 5.0 build 2195.

      I think XP is really NT 5.1.

      Of course, this doesn't prevent RedHat/S.u.S.E. from using their own 7.x version numbers at the moment

      Hmm. At times it'd be nice if there were a Linux API to get the name and version number of the distribution, rather than that of the kernel, if for no other reason than to let you more easily or more automatically get that information from users when reporting bugs.

  2. Worried Gnome User..... by CDWert · · Score: 3, Interesting

    I am a Gnome user, and athough I am NOT a sky is falling person, KDE seems to be making much more usefull strides, I am also concerned about the Ximian fork, (even though I use it) How long till XImian hack up all the libs to work for their effort and how compatible will it be ?

    I have thought about switching to KDE for no other reason than they seem to have a much better, much more focused direction.

    Does it seem to anyone else latley Gnome is becoming a throw in everything and if the kitchen sink dosent work its OK, or is it just me.

    Admittedly Gnome 2 has some nice stuff but how much will be functional by first release ?

    --
    Sig went tro...aahemmm.....fishing........
    1. Re:Worried Gnome User..... by dagoalieman · · Score: 3, Interesting

      KDE makes big strides, I'll grant you.

      For me, even more interesting, but quietly mentioned, was the Accessibility Tool Kit (ATK). If you start pushing Linux out there to handicapped people, OLDER people, who need help hearing, seeing, what have you, they can help provide a major market push for linux. Obviously the needs of these people vary greatly, so customized solutions are a must.

      In the same vein, it seems that KDE is for the people who want the solutions given to them, and Gnome is for the people who want to build their own customized solution (IE what they want.) That explains a little bit of the difference in the attitudes. Capt. Obvious does point out to me that the "build your own solution" approach is a general platform for Linux, KDE included, but I think Gnome really goes after that more.

      I hope most of it will be functional, but like you, I fear that we're going to see a whole lot more of "build your own" than in the past from Gnome. It's not just you...

      --
      We don't need no Net Explorer We don't need no Thought control
    2. Re:Worried Gnome User..... by ed__ · · Score: 2, Informative

      Ximian isn't a fork of gnome. They just package it for the end user.

    3. Re:Worried Gnome User..... by VFVTHUNTER · · Score: 2

      I am a Gnome user, and athough I am NOT a sky is falling person, KDE seems to be making much more usefull strides, I am also concerned about the Ximian fork, (even though I use it) How long till XImian hack up all the libs to work for their effort and how compatible will it be ?

      Ximian is still open source. When THAT changes, worry. For now, don't.

      Their stuff is pretty compatible, tho to get things like Evolution working you have to have the latest versions of some things (gal, gtkhtml, I think bonobo)...

      I have thought about switching to KDE for no other reason than they seem to have a much better, much more focused direction.

      I use both Gnome and KDE. The only thing that irritates me about the holy war between them is that one would expect that, given all the hype, someone from one camp would have made that camp compatible with the other camp as a sort of reverse-psychology love-flame. They don't work perfectly together, but I digress.

      Gnome seems faster. It also does not have the annoying habit of attaching a blinking app icon to my mouse cursor when an app is doing something that takes a long time...but Gnome apps don't to seem to have the lag that the KDE ones do. KPoker roxxx tho :)

      Does it seem to anyone else latley Gnome is becoming a throw in everything and if the kitchen sink dosent work its OK, or is it just me.

      It's just you.

      Admittedly Gnome 2 has some nice stuff but how much will be functional by first release ?

      The idea of a first release is that the code is stable and fully functional.

    4. Re:Worried Gnome User..... by hexix · · Score: 3, Insightful

      Well it sounds to me like you're creating your own worries. I have trouble understanding why you'd be a "worried gnome user" because something else might become or is better. Why not just switch then instead of worrying?

      With that said, I don't think you should worry about Ximian, much of their work gets added into the vanilla gnome.

      My personal opinion of GNOME is that a lot of work is going into two sections right now: great applications (evolution, gnumeric, galeon, abiword), and whole new libraries for gnome 2.0. I think once gnome 2.0 stabilizes many people will be eager to take advantage of the new features and you'll see the desktop itself get many cool new features.

      This point is brought up constantly but people seem to prefer to ignore it. When KDE 2 was being worked on many critics were saying KDE must be dying because they weren't seeing the work. You need to understand that such big code changes happen a lot more smoothly without non-programmers trying to use it and complaining about this and that or sending questions on how to get it working. You're just going to have to be patient, or you could just use KDE2 for a while.

    5. Re:Worried Gnome User..... by Skeezix · · Score: 5, Informative
      I am a Gnome user, and athough I am NOT a sky is falling person, KDE seems to be making much more usefull strides

      Which strides is KDE making that are more useful than the ones GNOME is making? I'm curious.

      I am also concerned about the Ximian fork, (even though I use it) How long till XImian hack up all the libs to work for their effort and how compatible will it be ?

      Ximian does not produce a "fork" of GNOME. Ximian packages a "distribution" of GNOME and makes it easy to download. They tweak some minor things such as artwork, splash screens, etc, but it's not a fork of GNOME. I don't think you understand Ximian's relationship to GNOME. I suggest you spend some time on irc.gnome.org in #gnome and spend some time getting to know folks better.

      Does it seem to anyone else latley Gnome is becoming a throw in everything and if the kitchen sink dosent work its OK, or is it just me.

      That is not at all how it works. We're very particular about what we put in the release. I suggest you spend some time reading the archives of mailing lists such as desktop-devel. Much work has gone into making GNOME 2 more usable, accessible, functional, and a better development platform while keeping it solid.

      Admittedly Gnome 2 has some nice stuff but how much will be functional by first release

      We won't release if it's not functional :)

      -jamin

    6. Re:Worried Gnome User..... by rasjani · · Score: 2
      • I am also concerned about the Ximian fork, (even though I use it) How long till XImian hack up all the libs to work for their effort and how compatible will it be ?

      I've understood that actually, ximian gnome is not a fork when it comes to the code, its just packaging and compilation of different versions of programs thats supposed to work well together. I might be wrong thou.

      Basicly ximian works on many OSS projects and actually contributes back to them, not just making "their own fork" ... For example, read release notes of of Gnumeric, quite a few ximian dudes are warmly thanked there.

      Anyway, even thou the codebase is same, that doesnt mean all gnome distributions will work with each other. So, if you are using ximian, will stick with it or change it totally if the times comes ...

      (and yeah, i dont claim these are the absolute facts)

      --
      yush
    7. Re:Worried Gnome User..... by Skeezix · · Score: 2

      I do understand what a fork is. Ximian GNOME uses the same source for its builds as you'd use if you grabbed the tarballs. That is not a fork. The plop in some new images and splash screens and give a nice installer. Any changes they make to the source code go back to gnome cvs. It's not a fork. It's a distribution of GNOME.

    8. Re:Worried Gnome User..... by Skeezix · · Score: 3, Interesting
      You don't have to purchase it and it's not instead of a Linux distribution, it's in addition to. The advantages include:

      - a better tested set of packages. Ximian makes sure they all work together. If you download updates and build them on your own, well...you're on your own.

      - Automatic dependancy resolution with Red Carpet.

      - A cross-platform GNOME distribution that is consistent. Red Hat, Mandrake, Debian, etc. all package GNOME slightly differently, include different artwork, include different versions of the software and update at different times. Ximian provides one distribution of GNOME across something like 11 different Linux/UNIX platforms.

    9. Re:Worried Gnome User..... by Lumpy · · Score: 2

      I switched to KDE recently.. mostly because of nautlis. It's forced upon you and if you follow their instructions to remove it, it dont work... nautlis still loads as the "desktop manager" and still steals about 30% of the entire computer's performance. KDE is a bit snappier, If you set it to the "crappy computer mode" it's dang fast and I'm happy with it. KDE though fails miserably at the install and upgrade level. as does Gnome. Ximian is the ONLY desktop system that has a decent install system and the others need to stop all development right now and work only on an install system to catch up.

      Basically, if they remove nautlis from Gnome... gnome would be great. but for now it's the reaswon I am staying away.

      --
      Do not look at laser with remaining good eye.
    10. Re:Worried Gnome User..... by Skeezix · · Score: 2
      The dependencies of Mandrake or Redhat or any other distro conflict with Ximian. If I want to install Ximian I am better off uninstalling all my Redhat packages that Ximian duplicates.

      If there are conflicts with your distribution, you should report them on bugzilla.ximian.com. I have never had problems with installing Ximian GNOME on top of Red Carpet. (I use Red Hat).

      I thought this was the job of distros, to test packages for their systems.

      It is the jobs of distributions, however, most distributions do not release updates for GNOME all that often and often do not test well, with a few exceptions.

      Do not take this personal, but Ximian has no solid business plan and is most likely to fail.

      I don't take that opinion personally. For one thing, I don't work for Ximian.

    11. Re:Worried Gnome User..... by msaavedra · · Score: 2
      It's forced upon you and if you follow their instructions to remove it, it dont work... nautlis still loads as the "desktop manager" and still steals about 30% of the entire computer's performance.
      I agree that nautilus is too slow to use on most systems, but you do not have to use it to use Gnome. Go to the preferences dialog in a Nautilus window, select the "Windows and Desktop" section, then uncheck the "Use Nautilus to draw the desktop" box. Nautilus will no longer load when you start Gnome. Simple, wasn't it? If for some reason this doesn't work on your system, you should submit a bug report.
      --
      "Any fool can make a rule, and any fool will mind it."
      --Henry David Thoreau
    12. Re:Worried Gnome User..... by Lumpy · · Score: 2

      I did, I have to rm nautlis and symlink it with xfm to make it go away completely.

      --
      Do not look at laser with remaining good eye.
    13. Re:Worried Gnome User..... by VFVTHUNTER · · Score: 2

      Thanks for the tip...since you too are running both Gnome and KDE, any tips on how to get them to happily co-exist?

  3. My advice by kitts · · Score: 3, Informative

    This might sound like trolling, but I'd wait a bit until the GTK libraries are settled before beginning to seriously develop for Gnome. One of the big problems with GTK from version 1 to 2 was how certain widgets went through two or three different revisions, namely that very attractive treeview widget. With bonobo architecture on the way, stuff might change even more.

    --
    -------------------------------------------------- ----
    charlton heston is more of a man than yo
    1. Re:My advice by jrb · · Score: 2, Informative

      GTK+ and the rest of the GNOME libraries are currently API frozen. Now is a great time to start using them.

    2. Re:My advice by GauteL · · Score: 2

      Actually... AFAIK the API has been frozen for quite some time. The only changes that have been accepted since 1. December is accessibility-stuff and very small and critical changes.

      I think it should be pretty safe to start developing for Gnome2 now.

  4. Re:maybe GTK is not the correct choice for the fut by Frothy+Walrus · · Score: 2, Flamebait

    The coolist things about GTK are #1 - It's Free (Speach) and #2 It's cross platform (Unix, Max and Win32)

    yeah, those are the coolest things about it. i prefer software whose coolest features are features, not licensing and 8-way compatibility.

    call me a troll i guess...

  5. look ahead to GNOME 2.... by hyperstation · · Score: 2, Funny

    ...and see all of the KDE developers looking back at you!

  6. Yay! by Burgundy+Advocate · · Score: 5, Funny
    Hey kids! Now it's time to pretend that everyone here on Slashdot actually develops programs!

    "Yeah, last night I was really tring to get the object-oriented cobol bindings to gtk+ working but then in a fluke there was this gcc bug that caused my userspace code to go wonky and install the wrong x colormap which recursed until the system locked up. It was righteous."

    I don't know where open source would be without the fine users of Slashdot and all the wonderful programs they develop.

    --
    Dragging people kicking and screaming into reality since 1996.
  7. Using "ClearType" with XFree86, GNOME, KDE by AirLace · · Score: 5, Informative
    While they are working on basic AntiAliasing, you should try out ClearType [microsoft.com]. It improves font quality up to 800% on LCD screens. The antialiasing level is also adjustable... One caveat: you need WinXP [microsoft.com] to run it...

    Rubbish. XFree86 has supported what Microsoft calls "ClearType" for over a year.

    The method, called sub-pixel rendering, is designed to work with LCD panels. This is why Microsoft are pushing for its use on laptops and palmtop devices. On standard CRTs, it holds no advantage over standard greyscale anti-aliasing.

    A single pixel of an LCD screen is actually composed of three "sub-pixels": one red, one green, and one blue (R-G-B). Taken together this sub-pixel triplet makes up what we've traditionally thought of as a single pixel. This means that an LCD screen boasting a horizontal resolution of 800 whole pixels is actually composed of 800 red, 800 green, and 800 blue sub-pixels interleaved together (R-G-B-R-G-B-R-G-B ...) to form a linear array of 2400 single-color sub-pixels. That's where I guess you got your 800% from.


    "ClearType" can be enabled in XFree86 versions 4.01 and greater by modifying /etc/X11/XftConfig. Just append the following line:


    match edit rgba = rgb;


    An in-depth look into sub-pixel rendering support in XFree86 is available here.

    1. Re:Using "ClearType" with XFree86, GNOME, KDE by Com2Kid · · Score: 3, Insightful

      This is the difference between Linux and Windows.

      Microsoft makes their cleartype technology enablable with a big large red button shouting "PUSH ME DARN YOU PUSH ME!".

      Linux puts it in a text file.

      While having the text file option is nice and all, it would be better if the friendlier installation packages said at install time "heya, we noticed that you have an LCD screen, any chance you want to enable LCD font antialiasing? It'll make your text alot easier to read!"

      For the boxed distros, shove it on the back of the box in a yellow jaggy oval. Bright yellow.

      Also include it in a settings->display style applet. Make it obvious. Make it easy. Make it so that people KNOW its there.

      Linux has alot of unused features, unused because few people /KNOW/ about them.

      Hell, it could be able to cure cancer and theres a chance the lot of us wouldn't know what string to put on what line to enable it. :)

    2. Re:Using "ClearType" with XFree86, GNOME, KDE by slamb · · Score: 3, Informative

      This is the difference between Linux and Windows. Microsoft makes their cleartype technology enablable with a big large red button shouting "PUSH ME DARN YOU PUSH ME!". Linux puts it in a text file.

      The parent post was a bit deceiving

      The code to do this on Linux very new. It's part of the Xrender extension to XFree86 which was introduced in 4.1. It requires toolkit support. Qt has it. Gtk does not have it (though 2.0 will).

      Editing that text file won't do much for you if you aren't using Qt. And if you are using Qt, you probably have it enabled by default...there's a checkbox to use it, though the XftConfig settings also affect it. In the future, KDE will probably have a fancy graphical configurator that will do everything the text file has. These things take time. I'm sure in Microsoftland a lot of Control Panel options started out life as something you could only change with regedit. You're just seeing the process with Linux instead of getting the final product.

    3. Re:Using "ClearType" with XFree86, GNOME, KDE by Com2Kid · · Score: 2

      Concentrate the effort on first producing those features that look/sound good.

      I know it sounds nasty, but a balance can be found.

      If Linux wishs to pull ahead, then a balance has to be found.

      Concentrate on the features that people really want. Or at least that people think that they really want.

      The opensource development community has the capability to not only /match/ microsoft feature for feature but also to /surpass/ them.

      *COUGH* USB2.0 *COUGH*

  8. Re:Much better, but still behind KDE by hexix · · Score: 3, Informative

    No, the transparent menu effect that Mosfet made for his liquid theme (and will now get added to kde 3.0 builtin themes I think) takes a snapshot of the area behind the menu and uses that image to make a pseudo-translucent effect.

    Not a very good way of doing it in my opinion, and this becomes clear when you move through the different menus in a menubar, you can see the ghosts of the menu you had previously opened beneath your current menu.

    If there is a better way of doing it, I'm not sure what it is, although I think you can do true translucent effects with Keith Packard's XRender extension.

    But it doesn't seem that anyone is using that to do translucency so either its really hard to use or theres problems. I'd love to know which it is if anyone has some more information.

    PS - No offense to Mosfet or anyone else using this code to do translucent menus, it's a very good idea and I do use it when I'm in KDE. I just think it'd be cool to have it without the little quirks like seeing things behind the menu that shouldn't be there.

  9. Re:Real Features by Com2Kid · · Score: 3, Interesting

    That is precisly what I am talking about. It should require no user intervention at all. :(

    In fact Asian Charecter support in Windows is also easy, just a single EXE file to be downloaded and run. Just select the desired language and spell things out phonicaly in romanized letters, watch the desired charecter appear.

    More popular programs like this are needed on Linux, and need to be installed by default. A standard of some sort needs to be set that allows for all programs to easily use these features. Imagine every Gnome/KDE/ program having easy to implement naturalization.

    Or a Hiragana flashcard program, or a Kanji flashcard program, or both intermixed with each other with no issues at all. The english letters/word choices being shown at the bottom of the screen.

    Now imagine the Kanji charecters also being antialiased. Along with everything else.

    All the user would know is that he/she is improving their Japanese skills on a very nice looking display and that it was even easier to get running that the Windows equivilent.

  10. GNOME is unorganized by Anonymous Coward · · Score: 3, Troll

    GNOME team is out of focus. Its development is very very slow. Not much stuff has changed. The differences will be very few.

    Like said in a post, it's too little to consider a 10 years work. GNOME is always difficult to install from source. Hundreds of dependencies and packages.

    Would be better if they did arrange the packaging in a better way:

    gnome2-gui.tar.bz2 (4MB)
    gnome2-extra.tar.bz2 (4MB)
    gnome2-libs.tar.bz2 (5MB)
    gnome2-core.tar.bz2 (9MB)
    gnome2-applications.tar.bz2 (9MB)
    gnome2-addons.tar.bz2 (3MB)

    Hmmm... Looks much more organized. Lots of packages merged into "gui" like gtk+, glib, pango, etc.

    In "extra" we have the stuff like esound, audiofile, etc.

    And so on... forget the hassle to download all the 60 tarballs. Just download one single tarball, untar/ungzip it and start compiling!

    But yet, GNOME as it is, is unorganized for real.

    1. Re:GNOME is unorganized by Skeezix · · Score: 3
      GNOME team is out of focus. Its development is very very slow. Not much stuff has changed. The differences will be very few.

      Actually we are pretty focused though of course there is always room for improvement. Much has changed in the GNOME 2 platform. If you'd read the article you'd gleam a smidgeon of of the vast work that has gone into making Gtk+2 better. That's just one aspect of GNOME. GNOME 2 requires porting to a new platform and as such, is taking time. Many of the user-visible improvements will be visible in subsequent releases, though I personally think GNOME 2 is quite exciting from a user's perspective.

      We release the way we do for several reasons. The individual packages are just that, individual pieces of a platform. For users who have slow modem connections this is a godsend. Also many people do not want to get the whole platform. They just want small pieces. There are other reasons as well which have been hashed out several times in the past. I'd be happy to talk more about it offline if you want...

    2. Re:GNOME is unorganized by johnnyb · · Score: 2

      Actually, the packaging makes sense as far as the flexibility goes.

      glib is useful on its own. Without anything else. it gets its own package.

      Gtk+ is the widget set. It gets its own package (you can write applications just to Gtk+ if you want).

      CORBA stuff is independent. They get their own packages.

      Some things are likely to install even in distributions without GNOME. They get their own package as separate downloads.

      Each application needs to be independently installable.

      If you want something easy and organized, why not just either a) skip the direct download, and wait for your distribution, or b) use Red Carpet for download, and let it resolve the dependencies for you.

      If the complexity of compiling bothers you, don't compile.

    3. Re:GNOME is unorganized by Chuck+Chunder · · Score: 2

      I'm not so sure that big packages would help (they'd only really be useful for the initial installation, for incremental upgrades you'd need to find the individual packages that had changed since your last one, especially if you are on a modem).

      What would be nice though would be if the latest sections of the GNOME ftp site would be well maintained, free of multiple entries and kept up to date or culled (xchat 1.2?).

      --
      Boffoonery - downloadable Comedy Benefit for Bletchley Park
    4. Re:GNOME is unorganized by be-fan · · Score: 2

      Actually, with modem connections, smaller files are a pain in the ass. The thing is that most of the packages are *required* dependencies. Instead of just starting a big transfer and leaving it on overnight, you have to deal with starting many different file transfers, which is quite a risk on many modem connections.

      --
      A deep unwavering belief is a sure sign you're missing something...
  11. Re:Much better, but still behind KDE by Shanep · · Score: 3, Interesting

    Have you used Star Office 6 beta?

    Awesome, aa fonts and all. It may as well be Word, Excel and Powerpoint for Unix.

    --
    War crimes, torture, lies, illegal spying... Would someone give Bush a blowjob, already, so he can be impeached?
  12. And the problem is? by Otter · · Score: 4, Insightful
    Worried Gnome User.....I am a Gnome user, and athough I am NOT a sky is falling person, KDE seems to be making much more usefull strides..

    What's the problem, exactly? Gnome will get better, KDE will get better, you can use as much of either or both as fits your needs and at worst, you can go on using the current versions.

    It's not clear to me where there's a problem. What's the worst that'll happen -- you might be tempted to change desktops to something that works better for you? You can even keep using your GTK themes.

    By the way, VFVTHUNTER, you can turn off the launch feedback indicator on the cursor. I'm on a Mac right now, but it's in a pretty obvious place in KControl.

    1. Re:And the problem is? by msaavedra · · Score: 2
      there is no easy way to have a dock app for each competing window manager. It would be nice for some simple standards in this area
      That is simply untrue. There has been a joint WM Spec for quite some time. Not just for Gnome and KDE, but for other WMs such as Enlightenment and IceWM as well. I personally use IceWM, along with the Gnome panel (with pager and task manager applets). Everything interoperates fine.
      --
      "Any fool can make a rule, and any fool will mind it."
      --Henry David Thoreau
  13. Re:Much better, but still behind KDE by ichimunki · · Score: 2, Informative

    I think the key problem GNOME has is that there is no native web browser that isn't a complete monster. In my brief usability tests comparing Mozilla with Konqueror I concluded that Konq is lightyears ahead of Mozilla in terms of usability, customization, ease to compile, and integration with a desktop environment (note that this last is also a potential drawback since it depends on certain KDE i/o slaves to do its work-- and yes, it can run under any wm or destkop, but will be most efficient inside KDE).

    I see the following two main advantages to gtk over Qt (and this is why I will not use Qt except as a user): gtk is written for C development. C is much more standard on Unix/GNU/Linux than C++. Perl is written in C, which means that adding wrappers for the gtk library is likely to be less problematic than for some other toolkits (although Perl has it's own excellent version of tk... this advantage is likely to extend to other languages written in C, Ruby being foremost in my mind).

    gtk has the same LPGL terms for every instance of the toolkit. This means that no matter what type of development you are doing that you never have to worry about licensing, at least not the way you might with Qt.

    It is too bad, however, that on top of these two fairly decent widget toolkits the desktop environments are vastly different. GNOME just ain't as easy to get up and running with as KDE-- and I mean in the "compile from source and install" sense. I've also noticed distinct efficiency differences between the two on low-end hardware (KDE coming out ahead).

    What we're left with is a mess, but it's a good mess. We have real powers like IBM supporting gtk/GNOME, and we have other serious groups like the German government supporting Qt/KDE (witness the Aegypten project for secure communications). We get the best of both worlds, and fortunately we can do some mixing and matching as needed. So either way users win and developers seem to have two decent high-quality choices to choose from (forgetting about the ubiquitous Tk for a moment).

    --
    I do not have a signature
  14. Re:Real Features by phaze3000 · · Score: 3, Informative
    Generic HID drivers have been in the 2.4.x tree for quite a while.

    I am currently typing this with a USB keyboard, and will click the 'submit' button with a USB mouse, both of which are plugged into a USB hub on my monitor. If you plug more than one mouse into the computer each gets its own /dev/input/mouseX device.

    As for installing font packs, yes it can be that easy. On my system I'd just have to type 'apt-get install kde-i18n-ja', but if you really must have a point and click interface to it, you can install RedCarpet which will make things similarly easy.

    --
    Blaming GW Bush for the Iraq war is like blaming Ronald McDonald for the poor quality of food.
  15. look ahead to KDE by Pope+Slackman · · Score: 2

    ...and see Microsoft looking back at you!

    C-X C-S

  16. Is it really cross platform? by stefanlasiewski · · Score: 2

    >#2 It's cross platform (Unix, Max and Win32)

    Is it really cross platform?

    I keep hearing this rumor of GTK running on Win32, but all I can find is Gimp on Win32 and these, which look more like geek-hobby-project then a stable product that a company can rely on (Note, I'm *not* trying to insult Tor at all, but in his words "I work on this project in my spare time ...don't hold your breath")

    Can someone please provide some real links for *real* 'cross platform' GTK projects ?

    --
    "Can of worms? The can is open... the worms are everywhere."
    1. Re:Is it really cross platform? by zulux · · Score: 2

      http://www.gimp.org/~tml/gimp/win32/new-downloads. html

      is a good starting point. GTK makes a good attempt at cross platform - I've had better luck with QT myself though. YMMV.

      --

      Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

    2. Re:Is it really cross platform? by zulux · · Score: 2

      The only benifit that I can see for GTK vs QT is that GTK is LGPL and QT is GPL.

      --

      Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

    3. Re:Is it really cross platform? by zulux · · Score: 2, Informative

      People were refusing to use KDE due to Trolltech's licencing restrictions on QT - and even a few KDE developers started to create a free version of QT. Trooltech then decided to GPL their Unix version of QT and kept the QPL for the Windows in order to keep the revenue. Basically, Trolltech wants money.

      --

      Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

  17. Re:You know by Jagasian · · Score: 4, Insightful

    Yeah, I am putting a Honda Civic backend into my F50. Oh wait, the backends for both cars are so different that trying to use the same backend for both cars is just silly. You ever wonder why the auto industry doesn't put the same backend into every car?

    Yes it could be done, two wrappers around the same backend resulting in QT and GTK. However, such a task would require so much additional coding that it would negate any benefits that it was supposed to have.

    I hate to say this, but what will happen, is one of the desktop environments will die out. Its the nature of Open Source Software. Things can't stay splintered forever. Eventually natural forces (user's needs, technical needs, development needs, market needs, etc) will cause the gap between both desktop environments to widen. However, the initial competition that exists when there is still more than one option helps the end user get a better desktop environment sooner.

    Now this has nothing to do with other ultra-feather weight desktop environments, which will compete amongst eachother for the bare bones performance niche.

    Back to the dying out of one of Gnome or KDE... well, you can give any prediction you want, but the productive thing would be to contribute to the development of the desktop you like the best. Contribute by using the desktop and reporting bugs. Contribute by writing code. Contribute by making art (icons, themes, sounds, wallpaper, etc). Contribute by educating others about the desktop of your choice.

    Finally, my point is that the dream of unifying Gnome and KDE is silly. One of them will kill the other, and thats a good thing because it won't happen until one is orders of magnitude better than the other meaning that natural community and technical forces will choose the best desktop for us.

  18. Re:Much better, but still behind KDE by ZaMoose · · Score: 2

    Galeon, baby. Galeon. Latest version is mui, mui cool (and fast as all get out!)

    --
    I wish I had a kryptonite cross, because then you could keep Dracula and Superman away.
  19. Re:Horizontal Scroll Bar for new Text Widget? by Havoc+Pennington · · Score: 2

    It has a horizontal scrollbar, yes.

  20. Some people have no damn sense of humor.. by PopeAlien · · Score: 2

    Extreme Programming? Really? I always thought it had something to do with making your machine run as fast as an XT machine, and starting to look a bit more like Xwindows, without the flexibility. I didn't know that the 'P' stood for 'programming'.. Well I guess we'll just have to take their word for it, since you can't actually look at the code..

    Hmm.. I guess I better start putting disclaimers and lame emoticons all over my posts to make sure no one takes them to seriously. ;) :-0 +8()

  21. Re:Horizontal Scroll Bar for new Text Widget? by tempfile · · Score: 2, Informative

    Lo and behold, Gtk 2 won't need a hscroll because it will have word wrapping (finally!). The developerworks articles on Gtk 2 have a few screenshots.

  22. Re:Pathetic by emerson · · Score: 2


    Oh God. They have?!? Quick, somebody, TELL LINUS!

  23. Re:maybe GTK is not the correct choice for the fut by Doomdark · · Score: 2
    Well;
    • Motif implementations in general aren't free/Free (lesstif does exist, though)
    • Athena looks butt ugly, and doesn't have half of useful UI components people need.

    So yeah, gee, if you don't mind using UIs that use properietary and/or ugly and/or incomplete widget sets, there isn't all that much benefit?

    Additionally, GTK (and QT) widgets do have 'real' usability improvements too; creating internationalized consistently functioning accessible (via keyboard or one of the special devices blind users etc use) UIs is much easier, and as a result developers are more likely to create better UIs. UIs that are much more accessible to 'minority' user groups (foreigners, people with disabilities).

    --
    I like paying taxes. With them I buy civilization -- Oliver Wendell Holmes
  24. Interesting.... by EXTomar · · Score: 2

    ...how things like...

    - Kernels(Linx, BSD, etc)
    - Apache
    - Most of the GNU Tools
    - Most implementations of X Windows

    ...are all writen in C. And because it is "old" makes C "bad" why njdj? C++ and other OO languages aren't a "magic bullet" by any stretch of the imagination.

    C and C++ and any other language binding have thier uses in the right places but to claim a language is bad because it is simply "old" is stupid.

    1. Re:Interesting.... by Sentry21 · · Score: 3, Insightful

      While I can't speak for kernel development, which is easily beyond any programming skill I've ever had, I can say a few comments about other things you cite examples of.

      Apache was written in C, either because the programmers were UNIX programmers who are hardcore into C and refuse to use C++, because they had C source to work from, because there were no good C++ compilers out there, or any combination or lack of the above. Same with X-window implementations.

      These both would be nice if implemented properly in C++, because the object-orientation features of C++ make a lot of things clearer and easier, and in a lot of cases, mind-numbingly less complex.

      The GNU tools (I assume you're referring to things like wget, fileutils, binutils, and so on) are, 99% of the time, pointless to write in C++, because you wouldn't use object-orientation on such a small/limited scale (wget deals with one file at a time, why bother objectifying?).

      I do, however, point you to other large projects that DO use C++ - KDE, Mozilla, AtheOS, just to name a few.

      Large projects that deal with objects - buttons, windows, controls, lists, etc. - are great when implemented in C++ (if done properly), because it makes the code easier to deal with, less complex, more reusable, and on and on.

      C++ isn't for everything, but for something like a graphical user interface, it would sure be nice.

      --Dan

    2. Re:Interesting.... by johnnyb · · Score: 2

      C++ ADDS complexity. It does not reduce it. The language is the biggest frankenstein language I've ever seen. There are several reasons not to use C++:

      1) It adds complexity

      2) No standard ABI (this is a very big point for libraries). This means if Solaris' GNOME was compiled with Sun's C++ compiler, you couldn't use gcc to build GNOME applications.

      3) There is a larger pool of skilled C programmers. C++ programmers generally do not know enough of the strange nuances of C++ to adequately implement libraries.

      If there were another OO language with a standard ABI, then there might be a case. Maybe Objective C. However, C++ is definitely a bad implementation choice because of the complexity it adds.

    3. Re:Interesting.... by elflord · · Score: 2
      1) It adds complexity

      Depends. If you're going to write object oriented code, it's a hell of a lot simpler to write it using well documented, standardised semantics than trying to write C++ code in C. In the case of GNOME, complaints about it "adding complexity" are moot -- GTK/GNOME add complexity by using obscure idioms to emulate what C++ supports using well-defined semantics.

      2) No standard ABI (this is a very big point for libraries).

      The KDE people have been working on a library that generates C wrappers for C++ applications.

      3) There is a larger pool of skilled C programmers.

      If they're really skilled, they shouldn't have much trouble learning C++.

      If there were another OO language with a standard ABI, then there might be a case. Maybe Objective C.

      Anything but C++, huh ? A standard ABI would be nice, but it's not a be-all-end-all.

    4. Re:Interesting.... by elflord · · Score: 2
      C++ is nice for large projects, but its lack of a standard ABI makes dynamically loading modules a little interesting.

      Not that interesting. It's about as hard as saying extern "C"

      able to inherit from a base class with a bunch of pure virtual functions, and have their implementation be the implementation of the plugin.

      But this is quite easy to do. To make this work, you need some variant of the prototype pattern, since you presumably don't know about all the derived classes at compile time. The function that one extracts from a dlopen()ed module should just create register a prototype by inserting it into a static member of the base class (eg: a list or map). To use the prototype pattern, you're going to have to create and register a prototype regardless, so I don't see how the language is making life more difficult.

    5. Re:Interesting.... by johnnyb · · Score: 2

      1) It adds complexity

      Depends. If you're going to write object oriented code, it's a hell of a lot simpler to write it using well documented, standardised semantics than trying to write C++ code in C. In the case of GNOME, complaints about it "adding complexity" are moot -- GTK/GNOME add complexity by using obscure idioms to emulate what C++ supports using well-defined semantics.

      ***

      To say the semantics of C++ is well-defined are true, but the semantics are not really that logical.

      ***

      2) No standard ABI (this is a very big point for libraries).

      The KDE people have been working on a library that generates C wrappers for C++ applications.

      ***

      You are missing the point. The C wrappers are fine, but they don't help C++ people using a different compiler.

      ***

      3) There is a larger pool of skilled C programmers.

      If they're really skilled, they shouldn't have much trouble learning C++.

      ***

      But why? C++ adds little but complexity.

      ***

      Anything but C++, huh ? A standard ABI would be nice, but it's not a be-all-end-all.

      ***

      Yes, anything but C++. I teach C++, so I know it quite well, and all of it's magic templating, virtual base class features. And I can tell you that trying to write useful C++ libraries is just plain a bug-ridden, pain-in-the-butt nightmare. Especially if you are using libraries from multiple developers. You have to wonder if pass-by-value might invoke the copy constructor. You have to make sure that all of the templates support the features you want, just right. And then, there's function overloading, which is just a plain bad idea (it's basically setting you up for calling the wrong version of a function accidentally). C++ has a lot of features. It even has one feature (the ability to pass templates as template parameters) that no other language has. However, the way that the features are put together is so wretched, that I can't imagine a worse way to do it.

      And on top of that, there is no standard ABI.