Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Ubuntu Mobile Looks At Qt As GNOME Alternative

Posted by kdawson on Tue Jan 20, 2009 07:22 PM
from the friendly-competition dept.
Derwent sends along a Computerworld piece which begins: "The Ubuntu Mobile operating system is undergoing its most radical change with a port to the ARM processor for Internet devices and netbooks, and may use Nokia's LGPL Qt development environment as an alternative to GNOME. During a presentation at this year's linux.conf.au conference, Canonical's David Mandala said Ubuntu Mobile has changed a lot over the past year... 'I worked on ARM devices for many years so a full Linux distribution on ARM is exciting,' Mandala said, adding one of the biggest challenges is reminding developers to write applications for 800 by 600 screen resolutions found in smaller devices. 'The standard [resolution] for GNOME [apps] is 800 by 600, but not all apps are. For this reason Ubuntu Mobile uses the GNOME Mobile (Hildon framework) instead of a full GNOME desktop, but since Nokia open sourced Qt under the LGPL it may consider this as an alternative.'"
+ -
story

Related Stories

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Full 'nix for arm? (Score:5, Insightful)

    by serviscope_minor (664417) on Tuesday January 20 2009, @07:27PM (#26539367)

    There's already a full 'nix for ARM complete with working packaging and so on, in the form of OpenBSD, just in case anyone has forgotten it. Also, the developers need to be reminded that screens are 640x480 on small devices, not 800x600. It would start if they got out of the habit of using excessively lavish button bars with enourmous, heavily padded buttons.

    Anyway, it would be nice to see a proper "full" linux distribution. I'm not much of a fan of the special PDA ones since they're cut down. Then again, I'm not much of a fan of ubuntu either, but I appreciate that (say) Arch isn't to everyone's taste.

    • "It would start if they got out of the habit of using excessively lavish button bars with enourmous, heavily padded buttons."

      I'm glad I'm not the only one annoyed by this. The strange padding fetish that the GTK folks has results in terrible feng shui for most GNOME apps, especially Nautilus. Even tweaking the theme manually to reduce the insane amounts of padding only helps a little, and often causes subtle and not-so-subtle rendering glitches.

      • by Mprx (82435) on Tuesday January 20 2009, @07:54PM (#26539735)
        Padding makes clicking on the buttons faster, as explained by Fitts's law [wikipedia.org]. I don't want my usability compromised because some people are using impractically small screens.
        • Re: (Score:2, Offtopic)

          I don't want to click on your stupid big buttons. If I want to do something fast, I use the keyboard. You do provide keyboard shortcuts for your buttons, right? And if you say that you really really need an 800 pixel wide dialog, I say bullshit. We got by just fine ten years ago with 640x480 screens, and before you can say "we have more features now", I'll tell you to get rid of them and fix the bugs first. Call me bitter, but after a week of trying to play Fallout 3 with the screen freezing every five minu

          • by Mprx (82435) on Tuesday January 20 2009, @08:18PM (#26540019)
            If you really wanted to do things fast you'd use the mouse (preferably with gestures or pie menus).
            http://www.asktog.com/TOI/toi06KeyboardVMouse1.html [asktog.com] :

            We've done a cool $50 million of R & D on the Apple Human Interface. We discovered, among other things, two pertinent facts:

            • Test subjects consistently report that keyboarding is faster than mousing.
            • The stopwatch consistently proves mousing is faster than keyboarding.

            Try timing yourself on some web browsing/text editing/file managing tasks. Keyboarding may be faster occasionally, but you'll be surprised how often mousing wins.

            • by chromatic (9471) on Tuesday January 20 2009, @08:27PM (#26540113) Homepage

              Keyboarding may be faster occasionally, but you'll be surprised how often mousing wins.

              I use Vim all day, almost every day. Using a mouse and a word processor is very much not faster for me.

              • Re: (Score:3, Insightful)

                I use vim exclusively, but counting out how many words I want to move, followed by typing [ESC(which is the "capslock" key)] 17w, or even just hitting "w" or "W" repeatedly while tracking with my eyes wherever the cursor has ended up /this/ time based on whatever is considered a "word boundary"...

                has _ALWAYS_ been slower than moving my hand to the mouse and clicking. and USUALLY been slower than just holding down an arrow key, especially if using an editor which sanely handles the use of arrow keys to move

            • Re: (Score:3, Insightful)

              Let's see...
              Open a new browser tab (winner: keybd)
              Close a browser tab (winner: keybd)
              Go to a history/bookmarked URL (winner: keybd)
              Navigate forward/back in the history (winner: keybd)
              Click a link (Tie. I generally hit / and start typing the link text, hit escape, then enter to visit the link. Sometimes moving the mouse over the link is faster.)
              Run an application (winner: keybd)
              Cut/copy/paste/save/print/quit/etc (winner: keybd)
              Scrolling via arrow, pgup/dn, home/end vs. wheel (winner: keybd)
              Switching between

              • Re: (Score:3, Insightful)

                Open a new browser tab (winner: keybd)
                Close a browser tab (winner: keybd)
                Navigate forward/back in the history (winner: keybd)

                Those are all arguably faster with gestures.

                Go to a history/bookmarked URL (winner: keybd)

                With most browsers, I'd say this is true. With Opera's Speed Dial, it becomes a matter of whether you've memorized the name of the site (or bookmark). Just open a new tab, and you see a (fairly large) picture of each of your bookmarked sites. Click on the one you want to visit (or Ctrl+Number). T

              • by Mprx (82435) on Tuesday January 20 2009, @09:09PM (#26540521)

                Keyboard shortcuts are not amenable to muscle memory, as the muscle movement differs depending on the previous shortcut. Returning to the home position between each keypresses allows muscle memory, but I'd be very surprised if it were enough to compensate for the movement inefficiency. Consecutive strings of keyboard shortcuts can be memorized by muscle memory (as with typing whole words), but if you use a string of shortcuts frequently enough to memorize in this way it would be better consolidated to a single shortcut.

                On the other hand, mouse gestures or pie menus require the exact same movement each time, so are highly amenable to muscle memory.

                • by Arker (91948) on Tuesday January 20 2009, @10:35PM (#26541323) Homepage Journal

                  Keyboard shortcuts are not amenable to muscle memory, as the muscle movement differs depending on the previous shortcut. Returning to the home position between each keypresses allows muscle memory, but I'd be very surprised if it were enough to compensate for the movement inefficiency.

                  You're obviously not a touch typist. That's absurd. A practiced touch typist on a decent keyboard can select a paragraph for manipulation in about the time it takes you to get your hand from the keyboard to the mouse, let alone actually using the mouse to select the paragraph and THEN move the hand back into home position.

                • Re: (Score:3, Insightful)

                  Unfortunately for that comparison, mouse input is highly srialized while keyboarding is very parallel. I only have one arm to manipulate a mouse but 10 fingers to manipulate a keyboard.

                • by gknoy (899301) <gknoy@anasazisCO ... minus herbivore> on Wednesday January 21 2009, @03:17AM (#26543221)

                  My reflexive control-X control-S (when I'm /not/ in Emacs) would beg to differ. It's gotten so ingrained that I'll use those shortcuts in other things as well; similarly, shift-delete will delete a whole line in my Other Editor, which annoys the heck out of me, as i'm expecting to cut what I have highlighted. ;) So, I'm pretty sure muscle memory works quite well with keystrokes ... whereas when mousing, I am always looking at where it's going. Perhaps with a tablet it'd be easier.... but even then I had trouble and needed to look.

                • Re: (Score:3, Insightful)

                  How many people browse the web with only a keyboard? How many people edit pictures/music/movies with only a keyboard?

                  How many people that *think* they've been educated on computer usage never learned to type to begin with? How many keyboards these days are so shoddily made they are effectively useless for those of us that do know how to use them, clearly designed for use by hunt-and-peckers only? How many computer programs just assume the current answers to those facts and dont bother to even consider exce

              • by alexborges (313924) on Tuesday January 20 2009, @11:08PM (#26541625)

                It depends SO much in what people are trying to accomplish that the discussion is NOT worth it.

                I mean, if im a designer, the mouse is better. If im a programmer, the keyboard shortcuts will be the best way to not loose the rythm (yeah, there is rythm in this bussiness).

                If Im a bussiness exec, I dont know why I have a computer.

                • Re: (Score:3, Informative)

                  Throwing more powerful hardware at an unstable game will not fix the bugs.

                  Unless the defect in the game engine manifests itself only on less powerful hardware. Texture management and shader unimplementation bugs tend to act this way.

                  While that is technically possible, I've seen Fallout 3 on 8 and 9 series graphics cards with plenty of crashes. Besides, Fallout 3 wouldn't run on a Geforce 3 anyway - I think it is fair to assume the graphics card in question is fairly modern otherwise they would have given up due to framerate issues.

    • Re: (Score:3, Informative)

      Anyway, it would be nice to see a proper "full" linux distribution.

      You might want to look at Debian [debian.org]. It has been running on ARM for quite a while.

  • The really cheep netbooks in the pipeline, the ones most likely to be ARM based at first, tend to only have 800x480 displays so an app that barely fits in 800x600 isn't going to be usable.

    I'm still waiting for one of the cheap netbooks to be available to purchase though. Lots of talk, but to date no URL to go with a credit card to buy quantity one. Really hope the different groups putting together these new ARM based machines can agree on some standards for bootloading and such so each one won't be all bu

    • Re:Too big (Score:4, Insightful)

      by Arker (91948) on Tuesday January 20 2009, @08:06PM (#26539881) Homepage Journal

      I saw a MIPS based netbook for about US $150 a week or two ago. Trying to remember where.

      It strikes me that the best way to improve usability of X apps might be to send these little babies off to as many developers as you can find - and then preferably putting a gun to their heads and forcing them to try and use their apps on them.

      The gun to the head part, of course, is tongue in cheek - but wow! seldom is such a bad idea so tempting.

  • Why just netbooks? (Score:3, Insightful)

    by DeHackEd (159723) on Tuesday January 20 2009, @07:40PM (#26539541) Homepage

    Sure the big blocky feel of pretty much every window manager out there sucks on my Eee, but this is one reason I stick with GTK+ 1.x. I don't have a 1280x1024 monitor just so I can see the same material I could see on an 800x600 10 years ago but with cleaner rounded edges.

    And I have the bigger Eee. 1024x600 resolution, and some dialogs don't even fit on the screen.

  • Yah for the LGPL (Score:5, Insightful)

    by QuantumG (50515) * <qg@biodome.org> on Tuesday January 20 2009, @07:40PM (#26539551) Homepage Journal

    For too many years the GPL has been killing adoption of Qt. That's a fact. Maybe it shouldn't have. Maybe people should be willing to be dictated to on what license they can use for their product because they dare to use the Qt framework. Maybe that's your opinion.

    Of course, now that so many people are piling on-board to use Qt thanks to the license change, I wonder how many of them have actually bothered to read the LGPL [gnu.org]. My favourite part is section 4.

    You may convey a Combined Work under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work and reverse engineering for debugging such modifications,

    Yeah, didn't see that did ya? Almost every boiler plate EULA includes a clause prohibiting reverse engineering and I wonder how many have not been updated to comply with the LGPL (thankfully a lot of us can just ignore these restrictions as the government in our part of the world recognizes reverse engineering as a right that cannot be contracted out of).

    I'll be looking for violations.. just for shits and giggles.

    • Personally I'll be downloading the Windows version as soon as there is an LGPL variant. I've always wanted to work with Qt, but none of the companies I've worked for would accept the GPL restrictions and they weren't willing to pony up the license fees when they could get GTK-based applications for free.

      Qt looks like a nice successor to Neuron Data's Open Interface, based on C++ instead of C with C++ wrappers. Plus Qt seems to have better platform coverage and a much livelier support group.

    • Re: (Score:3, Insightful)

      Yeah, didn't see that did ya? Almost every boiler plate EULA includes a clause prohibiting reverse engineering

      It is my understanding that you can reverse-engineer the LGPLed library, but nothing else. And that isn't much of an issue: the LGPLed part should come with the complete source (or equivalent), so being able to debug/disassemble binaries for which you have the source isn't a big deal. In fact the purpose of this clause (again, to my understanding) is simply to be able to ensure that the source of the LGPLed library indeed corresponds to the binary of said LGPLed library.

      So yes, EULAs might need to change

      • Re:Yah for the LGPL (Score:4, Interesting)

        by QuantumG (50515) * <qg@biodome.org> on Wednesday January 21 2009, @05:22AM (#26543833) Homepage Journal

        No. You fail. To understand what the LGPL means you need to actually read the LGPL. I know it's scary, but there ya go. The provisions actually say that you have to permit reverse engineering of the application, and take no action to permit said reverse engineering, so that one can debug changes to the LGPL library. The purpose of these provisions is to allow someone to fix problems in the LGPL library and have your application work with those changes.

      • by QuantumG (50515) * <qg@biodome.org> on Tuesday January 20 2009, @09:21PM (#26540617) Homepage Journal

        Note the words "reverse engineering". If you forbid reverse engineering, as typical EULAs do, for any purpose, then that is forbidding reverse engineering for debugging modifications to the library. So they at least need to modify their EULA to permit reverse engineering for this purpose. And it also means they can't put any anti-debugging tricks in the application, because it will interfere with that reverse engineering.

  • enough said for now. this is just speculation. nobody is seriously looking into dumping gtk+/gnome.

      • Ok, I'll bite.

        Top 10 Reasons GNOME isn't going anywhere:

        10. Firefox and Thunderbird are GTK+
        9. Konqueror and KHTML, without WebKit, is hobbled by severe rendering and JavaScript bugs
        8. GIMP is GTK+
        7. The OOo KDE integration, last I checked anyway, was nowhere near as good as the GNOME integration.
        6. Pidgin is GTK+ and Kopete is still very immature compared to it.
        5. Inkscape is a GTK+/GNOME app.
        4. Audacity is GTK+
        3. Most of the popular major distros have GNOME as the default desktop (Ubuntu, Fedora, Mandriva, Debian, etc.)
        2. GNOME is easier to use than KDE

        and the number one reason GNOME isn't going anywhere:

        1. Germans just love David Hasselhoff!

        • Re: (Score:3, Informative)

          Pidgin is GTK+ and Kopete is still very immature compared to it.

          I was totally onboard with your post until you said Kopete was immature compared to Pidgin...As far as I am concerned the complete opposite is true. I am regularly a Gnome user but I switched to KDE for a few weeks (for reasons beyond my control) and I completely fell in love with Kopete. It matches GAIM/Pidgin feature for feature then adds 100 more on top of that. Just the appearance and skinning options alone dwarf Pidgin's. All the best Pidgin plugins are represented in Kopete too. Plus Kopete has grea

        • Re: (Score:3, Interesting)

          Most of the reasons you mention are "people are already using it" rather than addressing the question "it's better".

          Here's my top 11 (top 6 are not about inertia):

          11 Firefox has been ported to Qt
          9. Skype is Qt based.
          8. Google Earth is Qt based.
          7. Qt's cross-platform support is so good that some people (e.g. doxygen) use it who have no/very few GUI components.
          6. Qt is C++ based.
          5. Localization support. And these guys even thought about making number suffixes right in Czech.
          4. Qt is easier to use.
          3.

  • Most ARM handhelds have 800x480 screens, or smaller. 4:3 isn't that common, unless you're talking about relatively new tablets where larger displays matter.

    Gnome is rather heavy. Nice to see them using something lighter, at least until ARM processors reach netbook speeds.

  • by John Hasler (414242) on Tuesday January 20 2009, @08:07PM (#26539887)

    I worked on ARM devices for many years so a full Linux distribution on ARM is exciting

    You mean. for example, Debian GNU/Linux on ARM [debian.org]?

  • AT LAST (Score:4, Insightful)

    by -Neko- (67564) on Tuesday January 20 2009, @08:22PM (#26540047) Homepage

    Hoo-fucking-ray!

    At last some common sense..

    Qt outstrips GTK/GNOME just as a GUI toolkit and a bunch of middleware, even before you start thinking about stuff like KDE.

    The only thing stopping it's use - at least in the strange mix of preinstalled Linux distributions on standard hardware - was that weird problem of having to have every one of your developers buy a license just to run their app - on a Dell for example - if their license was even slightly incompatible. That was a real turn-off if you were a hardware company wanting to take advantage of open source and build communities around open source software.

    I'm glad that so soon after Nokia announced the LGPL relicensing, people are taking notice of what is quite obviously a far superior middleware solution than the GTK/GNOME nightmare, and considering developing solutions that work because of code quality and wealth of features, and not *just* because it's GPL.

  • by dhasenan (758719) on Tuesday January 20 2009, @08:45PM (#26540289)

    Ubuntu Mobile is not switching to Qt.

    Ubuntu Mobile is not even considering switching to Qt.

    At some point in the future, they may consider switching.

    How is this news?

    • Re: (Score:3, Informative)

      I was at the particular session where David spoke. His comment was more along the lines that mobile GUI's were a fast moving target, and Qt may gain more momentum given Nokia acquired it and made it LGPL. (aside, Nokia is now pushing Qt for Symbian/S60 dev)

      The comment regarding screen resolution is that the majority of developers haven't designed their GUI under a low res environment, and given that such resolutions are starting to appear again, some work needs to be done.

    • How is this news?

      It opens the door for Kubuntu Mobile.

  • by John Hasler (414242) on Tuesday January 20 2009, @08:59PM (#26540429)

    Qt was already Open Source, of course, under the GPL.

      • Re: (Score:3, Informative)

        It was certainly not a traditional GPL software development toolkit in the sense of the restrictions placed on the developer.

        Of course it was, it's the GPL, nothing more, nothing less.

        What you are referring to is a condition of the commercial license, (to prevent you from finally buying 1 single license to release your 20-man-years-application commercially). You are free to accept, reject, or try and renegotiate the conditions of this commercial license. If you don't like them, stick with the GPL, it's yo

  • by hubert.lepicki (1119397) on Wednesday January 21 2009, @02:34AM (#26543021)
    OK, Qt isn't even close to Gnome in terms of being a desktop environment. In fact, it isn't a desktop environment at all - so it can't be alternative to Gnome. It can be alternative to GTK, which is underlying library for Gnome. What I guess is the case - Ubuntu might look for KDE as an alternative to Gnome desktop, or create something new based on QT that'll fit more on small screens.
    • by CrashandDie (1114135) on Wednesday January 21 2009, @05:30AM (#26543889)
      The summary is a bit stupid.

      Hildon is GTK for Mobile Devices. It was developped by Nokia. One distribution that uses this the most is Maemo. Considering Maemo is a Nokia-motivated (read coded/funded) project, and that Nokia bought Trolltech and told them to GPL Qt, they now have an extra incentive to boost Qt adoption. One of the tactics used to boost Qt adoption is that from their next version of Maemo (code named Fremantle), the UI is going to be moving from Hildon to Qt. Fremantle will still be using the Hildon libraries, but the version after Fremantle (Harmattan?) will include the Qt libraries by default, and will be officially supported.

      Considering that Hildon is very closely entied to Maemo, if Maemo drops its use (read: if Nokia drops it), keeping it up to date is going to be a hard task, which is probably why UbuntuM is switching to Qt as well, as they don't want to have to maintain the UI library on their own; quite the smart move.

      We've seen full Linux distributions running on ARM platforms for quite a while. Yes, Debian works, Maemo does as well, and some people might even be intersted in projects such as Mer (Mer is project that forked from Maemo and that is basically the Maemo community yelling at Nokia that they'd better not drop support for the n800/n810 in Fremantle, as they're proving they could very well take care of themselves --software wise-- and that they won't buy new devices just because Nokia wants them to). We've even seen fully fledged KDE desktops run on the n8x0, or Android for that matter.

      The main problem on these devices is the lack of support for languages like C++. Yes, we have libhildonmm (C++ bindings for Hildon), but this is all pretty limited. They don't add the flexibility and power that Qt has; and they most probably won't ever do so. At this point, the devices are too slow to even think about compiling C++ on it, so most people default to shit languages like Python.

      But I digress, let me summarise:

      - Nokia created Hildon, and Maemo.
      - Maemo uses Hildon.
      - Ubuntu Mobile came along, liked Hildon and said "Hey, let's use that!".
      - Nokia bought Trolltech, that develop Qt.
      - Nokia is switching Maemo to use Qt instead of Hildon.
      - Ubuntu Mobile doesn't want to hold on to the losing end, and switches to Qt before Hildon dies.
      • Re: (Score:3, Interesting)

        Someone should mod parent up as informative.

        What is striking about all these comments is that there seems to be a lack of clarity about what Ubuntu Mobile is, and whether it even needs to exist.

        It's not for netbooks. Netbooks currently run Intel processors, most have 1024x600 displays, and they all can run standard Linux distributions (after the usual wifi struggles). Linpus and Ubuntu Netbook Remix provide alternative desktops with big icons. A lot of people immediately turn that stuff off.

        Ubuntu Mobile se

  • Merging Qt and Gtk (Score:3, Informative)

    by Yahma (1004476) on Wednesday January 21 2009, @11:51AM (#26547639) Journal

    There is an ongoing discussion [ubuntuforums.org] about the possibility of porting Gnome 3 to use the Qt toolkit over at Ubuntu Forums.

    There also exists an Ubuntu Brainstorm Idea [ubuntu.com] with several possible solutions, with Solution #4: Change Qt to render using the Gtk widgets my favorite.

    • Re: (Score:3, Insightful)

      by Anonymous Coward

      If you want to build from source you should be competent enough to figure out how to download it; it's really not hard. Otherwise, let your vendor do the packaging for you. Most Linux distributions make it so you don't have to care about building anything; and the BSDs make building easy anyhow.

      Granted, if you are building from source, Qt's build method is mildly stupid compared to the (end-user) ease of autotools or CMake. But really, if you're just wanting to run programs, let your vendor take care of

    • by tftp (111690) on Tuesday January 20 2009, @08:12PM (#26539951) Homepage

      WTF? What is that all about to someone who just wants to run an application that uses Qt?

      If you want only to run a Qt-based app then you do not need to do anything except to install the application. It should install the Qt runtime libraries for you.

      Why the hell am I even looking at this when I just want to run an application?

      A good question indeed :-)

      If you want Qt widely used you need to make it easy to get and install.

      If you are a developer then installation of Qt is the least of your worries. If you are an end user then, as I said, you should not install Qt at all.

    • by Draek (916851) on Tuesday January 20 2009, @08:34PM (#26540179)

      I know my comment will be burried for saying this, but this kind of crap is what we all know is wrong with open source software. The front end delivery is done by geeks and bean counters who don't actually use the products as end users.

      You may notice the fact that QT was originally developed by a commercial company, Trolltech. You may also notice the fact that since, until lately, they sold commercial licenses for the same software they licensed as GPL, practically all contributions to the 'main' branch of QT were done by Trolltech (and now Nokia) employees. Therefore, if anything, this proves the failings of cathedral-style development, of which closed-source is the biggest exponent.

      Ohh and also, being a person unwilling to use pre-compiled packages to be able to use a library you do *not* plan to use as a developer puts you amongst the minority of a minority of a minority of users, therefore do not be surprised if Trolltech/Nokia doesn't care about you at all.

    • by AeneaTech (1308711) on Tuesday January 20 2009, @08:52PM (#26540369) Homepage

      If you want Qt widely used you need to make it easy to get and install.

      They (Qt Software) make it easy to use and install for their intended user-base. Namely: developers
      As an end-user you have no business going there.

      The applications you are trying to install should be installed using apt-get which will install the needed Qt libs.
      If there's no .deb for the requested app, apt-get ubuntu's libqt4-dev, download the source, go to the source directory where the .pro (project) file is located. run qmake-qt4 in that directory and then run a normal make.

      It's not that hard, even from sources. Sure, some problems might arise if the app is using features of a newer Qt version than the 1 bundled with your distro. Even that is easy to solve if you are a developer and if you're not, go complain to the author of the app...