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."

20 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?

  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 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.

    3. 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

    4. 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.

  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
  4. 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.
  5. 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.

  6. 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.

  7. 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.

  8. 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...

  9. 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?
  10. 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.

  11. 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.
  12. 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.

  13. 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