Hands On With Ubuntu For SmartPhones 127
adeelarshad82 writes "Ubuntu for smartphones may be pretty late to the smartphone ecosystem, but as the hands-on video demonstrates, Canonical has been paying attention. The operating system is just called Ubuntu, allowing the company to complete their illusion that this operating system offers everything that desktop Ubuntu runs. If you're a fan of the Unity UI you will find yourself right at home with this interface since every bit of Ubuntu has visual cues that come straight from Unity. As the video shows, the animations looked great, and the phone feels incredibly fast. The top bar of the OS has several icons across it, offering a quick glimpse into things like battery life, messages and others. Settings for every app are available by swiping up from the bottom of the screen, in a gesture that is quite similar to the one used in Windows 8 to access the menu. Given that it's early days for the OS, Ubuntu is far from perfect. For instance, their welcome screen allows for way too many apps to be rapidly accessible without a pin lock of some kind."
Oh No (Score:5, Funny)
Re:Oh No (Score:5, Interesting)
Re: (Score:1)
It is really 'hands-on' if the sales person has to demo it for you [as opposed to you actually working the device yourself]?
Arstechnica says they weren't allowed to operate the device because Canonical was still working on the 'experience'.
Wat (Score:5, Funny)
I heard you have to use a terminal to dial the phone.
>call -n 8005551234 -calrid 0 | foneaudapp -spkr 1 -micr 1
Re:Wat (Score:5, Funny)
>call -n 8005551234 -calrid 0 | foneaudapp -spkr 1 -micr 1
Typical noob...
cat ~/mail/contacts/* | grep "[CONTACT_NAME]" | grep [0-9]???-[0-9]???-[0-9]???? | awk BEGIN { FS="," } { print $2 } | call -calrid 0 -n & ; foneaudapp -spkr /udev/audio/default/out -micr /udev/audio/default/in
Re:Wat (Score:5, Funny)
Emacs can already make cell phone calls. It's been built-in since 1980.
Re: (Score:2)
Emacs can already make cell phone calls. It's been built-in since 1980.
Yup, and its implimentation inspired Mick Jagger to scream into the microphone "You make a grown man cry" a year later.
Re: (Score:2)
Re: (Score:2)
However, it hasn't been tested yet because no responsible emacs user uses a cell phone (because it can track you). Nevertheless, cell-phone.el works just fine if you configure and patch it correctly.
Re:Wat (Score:5, Insightful)
Typical noob...
You earned yourself a Useless Use of Cat Award [partmaps.org]!
Re: (Score:3)
You earned yourself a Useless Use of Cat Award!
for i = 0; i++; i But more seriously, when you get used to pipes in UNIX, you'll do this too. Everyone does because like many UNIX commands, 'cat' is dead simple and easier to remember than whether it was -f or --file or --directory or consulting the man page to figure out what will convince the next command (in this case, grep) to read one or more files. So stop flogging a decades-dead horse and just smile and enjoy the geeky 1UP.
Re: (Score:3)
You never noticed that just about all *nix commands reads input from a file (without any arguments to point out the file)?
Re: (Score:2)
You never noticed that just about all *nix commands reads input from a file (without any arguments to point out the file)?
Yes, but that's beside the point. All of this comes down to bitching about style... and frankly, I could give a damn about style. Does it work? Good! That's all that matters.
Re: (Score:2)
How is it beside the point if you claim to use cat because you can't remember what argument to give to read from file? There is no argument to read from file, every last string not preceded by an option is to be parsed as file to read input from (after -- if you want to read file named "-x" or "--foo"). You absolutely want to a extra program to do stuff the second one can already do, you should use dog. It is a better than cat.
Useless - schmuseless! (Score:3)
You're forgetting command line development and editing
time. If I need to do something like:
head -n 120 FILE | grep foo
and on first run it doesn't turn out what I was expecting, I
may well edit the previous command line changing it into:
cat FILE | grep foo
Plenty of seeming redundancy there too, but not when you
take the actual editing into acount as well.
Re:Useless - schmuseless! (Score:5, Insightful)
Good lord what have I started?
Re: (Score:2)
Haha. I never did grok command line scripting. But it's heartening I can learn more in a Slashdot discussion than in a 300 page 'Ubuntu for laypeople' paperback. :)
Re: (Score:2)
"Some people, when confronted with a problem, think 'I know, I'll use regular expressions.' Now they have two problems." --Jamie Zawinski
Re: (Score:2)
I'm a hardware engineer by day, but a lot of the tools I use on our Linux cluster have command line and batch mode interfaces. I don't know what it is, but the *nix world, especially in the high end engineering tool sphere, has bottom of the barrel piss poor GUI design to the point where scripting is actually easier, so I learned out of survival necessity. Also, using scripts is sometimes the only way to get some tools to take advantage of the fact that there is a whole cluster available.
Re: (Score:2)
cat and grep (for example) sometimes works better as they run in parallel. plus, there isn't actually anything WRONG with using cat and pipe vs the alternatives.
Re: (Score:2)
You never noticed that just about all *nix commands reads input from a file (without any arguments to point out the file)?
Strictly speaking, that's a violation of "one job one tool". Using cat is the more generic approach. cat's job is reading files given on the command line and printing their contents to stdout, and all other tools would read their input from stdin and write their output to stdout, and ideally you'd have to have something like "stdin2file" that's the opposite of cat and writes its stdin to a file given on the command line. That way, one could even pretty much do away with the shell's redirection operators, wi
Re: (Score:2)
You can have my redirect operators when you pry them from my cold, dead fingers. Many redirects can occur within a single command, which allows for some interesting shorthand. Eliminating redirects forces many interactive one-liners to be written as scripts with temp files, which is a PITA for exploration.
Re: (Score:2)
Shell redirection man, shell redirection.
Since it's a pipeline that's linking
Doesn't work for multiple files. And filename: != (Score:2)
The original command line we're flaming about started with " cat ~/mail/contacts/* | grep [...] ", so assuming there's more than one file in that directory, you can't just use
Also, "cat ~/mail/contacts/* | grep [...] " produces different results than "grep [...] ~/mail/contacts/* " - either RTFM or try it. Pay attention to the filename: at the beginning of each line. Maybe you want it, maybe you don't.
Re: (Score:2)
Everyone does because like many UNIX commands, 'cat' is dead simple and easier to remember than whether it was -f or --file or --directory or consulting the man page to figure out what will convince the next command (in this case, grep) to read one or more files.
You can feed files to the stdin of a program using the '<' operator.
For example: grep Gottfried < phonebook.txt
Original was multiple files *, not just one. (Score:2)
Look at the original - the source data was ~/mail/contacts/* , which is potentially multiple files.
Re: (Score:2)
You earned yourself a Useless Use of Cat Award [partmaps.org]!
When did using cat (aka 'concatenate files and print on the standard output') to concatenate multiple files and print them to the standard output as input to another command become 'useless use of cat'?
Re:Wat (Score:4, Informative)
You earned yourself a Useless Use of Cat Award!
When did using cat (aka 'concatenate files and print on the standard output') to concatenate multiple files and print them to the standard output as input to another command become 'useless use of cat'?
Any time you use cat to send one or more files' contents to grep is a "useless use of cat" because grep already supports that directly:
grep [options] PATTERN [FILE...]
Re: (Score:2)
-h, --no-filename suppress the prefixing filename on output
besides, nobody ever needs to know in which file the grepped phrase is located, right?
Re:Wat (Score:4, Insightful)
While cat is superfluous there, structuring the command in that way can make what's happening more obvious to the novice. Personally, grep's argument handling has always seemed backwards to me. I tend to think of it as "search this file for this pattern" (grep ), not "search for this pattern in this file" (grep ), so when I was first using Linux, I often used cat | grep because I kept getting the command wrong.
Re: (Score:2)
grep works just like most cli tools processing files: [command] [fluff] [files]
i guess that's because it's easier to parse fixed parameters first and potentially unlimited list of input at the end.
Re: (Score:2)
You earned yourself a Useless Use of Cat Award [partmaps.org]!
I would not agree with that. Yes, very often, cat is not necessary, strictly speaking; for example, the list of arguments could be directly passed to grep in this case. However, personally I consider it to be bad style. A verbose cat (i) doesn't cost anything in terms of memory or CPU (if it does, then 1981 called, they want their computer back), (ii) facilitates or invites additional filters, for example adding sort -u (or sort | uniq, as I would rather have it), (iii) makes the whole pipeline more readabl
Re:Wat (Score:4, Insightful)
It looks to me like somebody forgot to specify the network device over which the call is supposed to go out, as well as failing to specify the tty that the SIM is listening on...
Environment variables (Score:2)
It looks to me like somebody forgot to specify the network device over which the call is supposed to go out, as well as failing to specify the tty that the SIM is listening on...
It's not forgetting if they're in environment variables that the system sets when it enumerates radios and SIMs.
Re: (Score:2)
True enough. I figured that, if they had to specify the speaker and mic that most of that wasn't being handled automagically(though, in retrospect, it wouldn't be a huge surprise to learn that networking is rock solid and pulseaudio is fucked again...)
Re: (Score:2)
When the noob replies that that command didn't work on his system, remember that you have to scoff and tell him to compile his own drivers, or go buy a mac, or somesuch.
Re: (Score:2)
cat ~/mail/contacts/* | grep "[CONTACT_NAME]" | grep [0-9]???-[0-9]???-[0-9]???? | awk BEGIN { FS="," } { print $2 } | call -calrid 0 -n & ; foneaudapp -spkr /udev/audio/default/out -micr /udev/audio/default/in
And almost immediately, some Python hotshot would probably whip up a wrapper script that assumes sane defaults and constructs the appropriate environment and command line when called as call-contact Staisy
Re: (Score:3)
someone wrote a emacs interface to the telephony system on the openmoko phones
https://github.com/paulfertser/fso-el/wiki [github.com]
Re: (Score:2)
The android command line is accessible via a terminal emulator app. But you have to root the phone to get access to su/sudo, obviously. It's a little awkward as few of the familiar binaries are available, but you get cd/ls/cp/rm, which is enough for a little poking around the filesystem and copying files you want to SD card.
Re: (Score:2)
There is busy box available even without root.
http://kevinboone.net/kbox.html [kevinboone.net]
This is actually much less funny than you think! (Score:1)
Re: (Score:2)
but as the hands-on video demonstrates, Canonical has been paying attention
lol paying attention to what?
All the failed/failing device manufacturers and OSes, Ubuntu Phone looks like a mashup of WebOS, MeeGo and BB10 features. What it lacks is the same thing all of those lacked, in fact Windows Phone has the same problem, it's not that the OS is bad or anything like that, it's that this late in the game you can't just be as good as the established competition, you have to be better and better in a way that the general populace (who have already adopted one of the dominant platforms) cares about enough to switc
Unity (Score:2)
Looks nice. (Score:1)
I would take APT over play.google.com any day.
Careful what you wish for (Score:2)
Just wait 'till you see the Ubuntu Software Center!
Re: (Score:2)
Ubuntu Software Center doesn't use APT? That would be kind of dumb...
It's not too late! (Score:2)
Re: (Score:2)
are you implying that wifi networking works well on desktops and laptops?
Re: (Score:2)
Re: (Score:2)
It already works trivially with Android.
Re: (Score:1)
Re: (Score:2)
They are using Qt5 / QML to make native applications. Qt5/QML is fully hardware accelerated.
Re: (Score:2)
Also, those developer build have debugging information in them which slows them down. When you run production code they are stripped down to be lean and mean.
Re: (Score:1)
That's quite stupid to have debug symbol on a demo. If it crash, that's likely too late ( ie, your software is buggy forever ), and if it doesn't, it is slow. And if you cannot prepare a demo for CES, then you are doing it wrong.
Now, maybe that's regular build and Ubuntu on phone is just slow, but people are so eager to believe that it will have a real impact that they start to imagine this is debug build.
Someone explain how this works? (Score:5, Interesting)
I'm on board with this Ubuntu-on-a-phone idea. But I want to know how it works. Is the phone itself one display (display 0) and when you plug in another display (conventional monitor) you get a traditional Ubuntu desktop on display 1? Two display managers on one system? How does the window manager work? Can I drag windows to my phone screen?
Re: (Score:1)
Re: (Score:3)
Why can't it? it's just Ubuntu compiled for arm.
Re: (Score:2)
Why can't it? it's just Ubuntu compiled for arm.
it should do that though. it's in their pr material too.
current phones wouldnt allow for multi-head though.
Re: (Score:2)
I believe the "Ubuntu for Android" scheme (which was running on at least the Motorola Atrix 2) killed the phone's screen when it was in desktop mode- so only one desktop manager at a time.
Presumably a full Ubuntu phone will basically be using the "Ubuntu for Android" code to handle the docking functionality. Indeed, I've been wondering if that was actually the whole point of the "Ubuntu for Android" project- just an incidental benefit of their Ubuntu Phone project proper.
Anyway, I found a somewhat vacuous v
Re: (Score:2)
From what I could tell, that's just a hypervisor.
Re: (Score:2)
I remember the marketing fluff at the time promising that Ubuntu For Android was all native- no virtualization or emulation.
I don't really know though, so maybe you're right; I've never looked into it too closely.
Re: (Score:2)
It's just Ubuntu on your phone.
Of course you can plug an external display, just like you can plug an external display on a laptop.
Re: (Score:2)
I think you missed the point. What happens when you get a call on your phone and you've got a 2nd display plugged in? You click a mouse to answer? You use speaker phone? etc. There are usability questions...
Re:If you're a fan of the Unity UI... (Score:5, Insightful)
Re: (Score:3)
I don't think Unity has many fans when it comes to desktops and laptops. But tablets and netbooks? Yeah, I can see that. I don't like Canonical forcing a tablet OS on the desktop (and I like it even less when Microsoft does it). But moving a touch-based tablet OS onto a phone sort of makes sense. Perhaps we'll see the day when Ubuntu is nothing more than a tablet and phone OS and we'll all laugh when we think about the days we used it on the desktop.
To be fair, they aren't forcing Unity on you. They're offering it as an option. I don't like it so currently I'm running Gnome 2 as my window manager, but I also have KDE4, Gnome 3, LXDE, OpenSTEP, wm2 and twm installed so I can choose whichever I feel like on the day.
Re: (Score:2)
Re: (Score:1)
I fail to see what seems so great in unity on a small screen. besides the "merge the title bar" system, the dock do not seems so great when the space is limited, or did I miss something ?
Feature Phones need an OS (Score:1)
Nothing seems to be stepping up to replace Symbian. An operating system is needed for baseline devices. Not all phones need a camera, accelerometer, smooth window transitions, but these features are expected with every smart phone, and hence app developers expect them also.
Feature phones and dumb phones do not receive the spotlight often, however many users do not need or want a 600 dollar computer in their pocket all the time, but still need the functionality of email and web browser. If a dedicated low re
"Desktop story" (Score:1)
Shuttleworth can sprout all the design language he wants. Fact is, he completely missed the most simple of principals when breaking Ubuntu with Unity - make sure the audience exists before you design for it.
Re: (Score:2)
The Canonical story makes me imagine someone throwing a "free pizza" party, then after it's good and busy, swapping all the pizza for lutefisk [wikipedia.org] because that's what the host likes, and everyone else should Goddamn love it as well.
Love linux, but this is stupid (Score:4, Interesting)
phone-dial 5551234
sms-message -u5551234 'I will be 5 minutes late'
list-recent-calls
I am sick of phones that are missing features that would tick off the telcos. I want to block text messages from certain users (I'm looking at you Telus) I want to have a list of people who can and can't call me at certain times of the day. I want to block calls from certain callers. I want an easy button to turn my cell data on and off. I want to delete any app that I don't want. When (not if) I reinstall the OS I want to strip out everything and then put back only that I want (I'm looking at you NewsStand). Whereas I see an Ubuntu phone as being Shuttleworth trying to get his piece of the appstore pie. I want a phone that cannot be locked to a carrier.
Re: (Score:3)
GTalkSMS [google.com] (for Android) can already do most of what you ask for, via XMPP.
Re: (Score:2)
i guess you missed the openmoko
Re: (Score:1)
Got one, put debian on it, lying in the drawer.. it didn't handle calls well.
But I will turn it into an SMS gateway for my PC. Gotta love Linux and F/OSS!
Re: (Score:1)
Re: (Score:2)
Re: (Score:1)
yes! Yes!! YES!!!
My first mobile phone allowed me to delete games, pictures, and menu items I did not need.
My current mobile phone offers the choice of 2 distracting images for the home page, with no option to make it plain. The menu is a 3 by 3 array of icons for different features - I would like to delete all except 3, and to chose the default. I would also like to control how long it rings when a call comes in. I would be quite happy if it did not have a radio or a torch - features I never use.
I am si
Re: (Score:2)
I don't want a Shuttleworth phone, I want a linux capable phone.
I don't want a phone at all.. I want a cellular computer device that makes calls over the data link, so that I can use any protocol I want, and talk to anyone anywhere I want.
Re: (Score:1)
Nokia N9 :
- developper mode right from the UI, just a click ( and it install ssh, and lots of linux tools ), really pleasant
- developped in qt, mostly free software ( not all, unfortunately ), and using regular linux stuff ( dbus, hal, bluez ) and some custom stuff too
- lots of doc
too bad that nokia/elop killed it before even living. Take a look at mer and jollia.
"Far from perfect" (Score:2)
I for one am in high anticipation of the 1000 paper cuts.
the fans of Unity (Score:2)
If you're a fan of the Unity UI you will find yourself right at home
I hear he feels right at home.
Wow, Desktop on my phone... (Score:1)
Re: (Score:2)
It looks good, but... (Score:1)
it doesn't run Android apps (not most of them, anyway) and it doesn't run Linux software. So really, what's the advantage here?
Re: (Score:1)
before i get flamed, Imagine how much could have got done if all those different developers focused on a few projects and made them awesome....(no, im definitely not talking about ubuntu, but thats ano
Re: (Score:2)