Category Archives: linux
After 7 years heavy use, my old macbook is showing its age. The battery has long been knackered: just about adequate to move the machine from one room to another and plug it in to the mains. The backlight failed last year and needs nursing to keep it working. And now the battery has reached a point where it powers down if I just accidentally knock the power lead out of place for half a second.
It’s been a good little machine and served its purpose: a laptop with a Unix-family OS and hardware that just worked. Plus a fantastic display quality that made a desktop substitute of the 13″ screen. It’s not been trouble-free: I had to replace the disc a while back, but on the whole it’s been great. But now with two major expensive-to-repair faults, I guess it’s time to look around the market again, and take advantage of other advances, notably further reductions in size and weight since 2006.
I don’t think I’ll go for another Macbook. My experiences with more recent macbooks have been rather less positive than the old one, while at the same time I’d expect there to be a much wider range of laptops where the more ‘challenging’ things of 2006 – like ACPI and builtin wifi – just work, without hassle.
So what’s a good laptop for Linux, or even with Linux preinstalled? Another 13″ screen will suffice provided the display is of comparable quality to the old Mac, and I’d love it to be genuinely small and light with a good battery life. That probably implies ‘ultrabook’. And since I’ll be doing lots of work with the GNU toolchain – which can write hundreds of thousands of tempfiles in a typical build – I can’t alas go for an SSD-only machine.
A bit of preliminary poking around suggests cheapo ultrabooks from Asus or Acer as good candidates with positive experiences from Linux users, and Lenovo and Toshiba as labels to avoid in the ultrabook space. Comments solicited from readers who know more than I: will a £500-ish ultrabook be a decent working machine, or is it likely to be as shoddy and useless as the Dell I had before the macbook? Anything in particular to look out for? Any further suggestions?
 Or I’d consider other-*X if someone convinced me it would be hassle-free on an appropriate piece of hardware.
Remember SCO? The world’s saddest, most ludicrous software company? Well, if not, Groklaw has a rich and colourful (not to mention opinionated) archive on the subject.
The ghost of SCO has long since joined that of Jarndyce & Jarndyce, the perpetual litigants. But this week, an actual decision by a Utah jury: Novell owns the Unix copyrights.
Some believe SCO’s litigation was inherently doomed: there’s nothing to be had from Unix IP. Yes, there’s value, but that’s long-since been opened to the world, and of course independently re-engineered elsewhere, most importantly in GNU/Linux.
Others take a different view: there’s gold beyond the dreams of avarice in that Unix IP. SCO had a great idea; they just made a hash of executing it. After all, in the real world, pirates have taken such major companies as Blackberry-maker RIM and even Microsoft to the cleaners over IP that is, by any standards, a drop in the ocean set against UNIX.
So when a hedge fund bids for Novell, I expect they’re in the latter camp. They’re not an Oracle, a huge and powerful software company getting Sun, a crown-jewel complementary company on the cheap. They’re a pure money-machine. They have no business to fit Novell’s. So it seems likely they want the crown jewels of Novell’s IP.
That was before the jury declared Novell owner of such an important part of the IP! It must be worth more now, to a cash-rich wannabe-pirate.
Novell under current management has shown itself benign, and hero of the SCO story. Under other management, all bets would be off. The fact that they rejected one bid (or did they?) doesn’t necessarily mean they’ll always be able to do so – that’s up to the shareholders.
How much is it worth to lay that spectre to rest? Are you a shareholder, and if not, why not?
OK, I’ve had the new pocket-puter a couple of weeks now, and apart from that keyboard I like it. As predicted, I’ve come to terms with the touchscreen and find it easy to use (except for some web controls which can be hard to pick up: e.g. the volume control on the BBC iplayer).
Overall, I prefer the hardware on the old E71, with the obvious exceptions of the screen and camera where the N900 excels. But the Maemo software is incomparably better. Just to take one example, I want to connect to the ‘net using a wifi network where available but otherwise defaulting to the telephone network. While Symbian requires a deal of faffing to do that, Maemo “just works”.
When I was contemplating the purchase, I asked on this blog what Maemo really is, and was assured that it’s a real Linux. I can confirm that it is indeed that, and that I can install Linux packages through the Debian tools (apt-get et al). I have yet to install gcc and a developer environment, but I don’t anticipate any difficulty with it.
Maemo is not stripped down to a toy: rather it takes a Debian base, and adds an alternative GUI, which is optimised for the small screen. It’s intuitive and easy to use, and makes brilliant use of available screen space and the touchscreen. Interactive applications toggle easily between fullscreen, fullscreen-with-toolbar, and thumbnail (minimised) with a consistent look-and-feel. The web browser is a small-screen skin on gecko (firefox), and is not bad. The mailer is positively nice, or will be when I figure out how to fix composition to get rid of pseudo-HTML: much better than some mainstream mailers I use, including thunderbird and to a lesser extent Mac mail.
One thing has me baffled: how do I bootstrap a password either for root or sudo? After googling for a solution, I worked around it by installing a rootshell which gets me passwordless root powers (!), but that’s not the kind of hack to which I expect to have to resort. /me shudders.
I’ve looked at Nokia’s OVI store, but I don’t see so much point to most of it when I have the whole repertoire of *X apps at my fingertips. OK, having said that, I’m sure I’ll install some things: the radio player, for instance. I installed a weather widget, but I don’t even recollect if that was from OVI or pre-loaded, and it’s only really a toy. The only serious app I installed was the root shell, which seems to be a prerequisite for using apt!
One more slight niggle: on the E71, Nokia’s maps are nice, but Google’s are nicer. On the N900 there’s no google maps: I can get them on the ‘net, but that loses the GPS functionality. So it’s Nokia or nothing with the GPS.
But in a sense, all this is mere detail. What I now have is connectivity from anywhere I can get the ‘phone network. So I needn’t lose email, ssh, etc (and be fretting to get home) when I spend a day or two somewhere with no wifi available, whether it be in a technophobe house or up on the moors. Yay!
I have a new toy: an Acer Revo box, which I’m using as a desktop. Ideally I’d've liked something ARM-powered (for low power consumption), but the Acer has an Atom processor, which seems to be the best available in the real world without having to DIY hardware.
It’s a lovely box: tiny size (smaller than a laptop, due to the latter having a screen), sleek to look at, and blissfully quiet. And Acer evidently believe in people who dual-boot: the machine was supplied with three disc partitions, of which one was formatted but unused by the inevitable windows installation. So that’s somewhere to install a real OS without losing the windoze games supplied (I have yet to play them, but …).
I’ve now got around to installing Linux on it. This required a bit of reading TFM, as it has neither a floppy nor a CDROM drive, so I had to figure out making a bootable installation image on a USB stick. I selected a kubuntu image, and after some faff with the install (the installer wanted to do something strange with the partitions, so I ran fdisk by hand instead) I have a working kubuntu. Some more faff getting the display to work correctly (cursing the absence of xorg.conf, and installing a non-free nvidia driver), and it’s up and running. Wow, it’s been quite a few years since a linux install didn’t “just work” without my having to do anything!
And I´m reminded just how long it is since I used KDE: I’ve run gnome on both linux and solaris variants for some years. It seems really strange now, and I’m missing gnome’s nice little dock for my favourite apps. Time will tell if I stick with it or switch!
Convergence between the ‘puter and the mobile ‘phone is coming. My existing phone (E71) is a step along the way, and arguably skype on the laptop is approaching from the other direction.
Now Nokia have released the N900, and I’m thinking this looks interesting. Have they bridged the gap to the point of being worth buying as a converged device, or is this still no more than an interesting device that nearly makes it?
On the plus side, it’s a Linux box, with builtin display but also the capability of plugging in to a monitor, keyboard and mouse when at a desk, all in a unit that’ll fit in a pocket, and can be used in a smaller space than a conventional laptop/netbook. And with a SIM card it offers builtin connectivity.
As against that, it’s on the bulky side for a mobile ‘phone, and lacks the battery life of the E71 or a simpler device. One wouldn’t want it to replace the phone.
And the crux of the matter: is Maemo really Linux as we know it, or am I going to find it a waste of time to attach that keyboard and monitor and try to use it as a porta-’puter?
I guess a good proxy for that question is, does it run X11 natively / without fuss? If it does, I think enough follows from that to make it a real ‘puter. If not, what I want may still be vaporware.
Anyone using the device as I envisage? Or tried but found it problematic?
Sun Glassfish Web Stack 1.5 is out this week, for Solaris and Linux platforms.
This is the latest update to the webstack, and like previous versions is available both as a free download and commercially as a supported product in a choice of bundles, to meet the needs of everyone from enterprise clients, through small and medium size business and startups, to students and hobbyists. The most striking change for most users will probably be the shiny new Enterprise Manager dashboard.
Open sourcers will note the updates to the constituent open-source components of the webstack. In this context, and in view of my recent blog entry, I should perhaps mention that while the Apache HTTPD version bundled is 2.2.11, it does include local patches, most importantly the security fixes in this week’s 2.2.12 release from Apache. Other components are similarly upgraded.
Just attended a talk by Ralph Angenendt on selinux. Most of what he said concerned selinux with apache, and much of it was negative: error messages are unhelpful, it’s under-documented, and he’s not aware of anyone working to make apache selinux-aware. Furthermore, a lot of selinux policies duplicate the functionality of apache’s own configuration directives: for example, selinux can be used to disable whole features such as userdirs, CGI execution, and SSI.
Add the fact that the room was horrible, and some idiots were chatting away so I had to strain to hear the speaker, and it was a sadly unproductive talk. I fear selinux will continue to be seen as the enemy for the forseeable future.
The agreement between Canonical and ARM to support Linux on ARM is one of the most exciting in the tech industry. Canonical is the company behind Ubuntu, the Linux distro providing the best out-of-the-box desktop experience, and clearly has expertise in that classic geek blind spot: providing for the resolutely dumb consumer. And ARM has the processor with the single most important advantage today: power consumption an order of magnitude better than Intel and other rivals.
Supported Ubuntu on ARM is, I understand, aimed at ARM’s existing market in ultra-portable devices. But in principle it could also pave the way for a laptop and even a desktop that’ll run cool. And in the laptop’s case, the choice of much-improved battery life or a significant weight-saving. Amongst existing netbook devices, the ARM-driven Nokia N810, at less than half the weight of an Intel-powered Eee PC or its imitators, could be a forerunner of a whole family of better things.
For myself, I’ve long looked for lower power consumption in all my computing. A big thank you to ARM and Canonical for bringing the prospect closer!
p.s. Yes, I know linux is already supported on ARM, but I understand it’s something quite limited. And it hasn’t caught the market the way the Eee-family has, and that the Canonical deal may lead to.
OpenSolaris is sometimes disparagingly dubbed things like “Project Copy Linux”. The comment has some truth in it: there are elements in OpenSolaris that “look and feel” much more like Linux than traditional Unix. I’d say that makes sense: in terms of convenience and friendliness, desktop-oriented Linux (eg Ubuntu) is clearly ahead of the competition: not only trad. Unix, but also Windows (obviously) and Mac (surprisingly to me). Put a Unix kernel and other Solaris goodies into a Linux-like desktop, and you have a pretty compelling system.
The heart of the desktop is, by default, Gnome (that’s the same default as in many Linux flavours). Whether you prefer Gnome itself to Sun’s Java desktop is a matter of taste; I’m happy with either, or indeed with KDE. Putting bash (by default) and other GNU stuff under the hood, and moving towards a decent packaging system and development environment improves it more, or will do once ‘bleeding edge’ features are ironed out.
But it’s not all good, and Gnome today has given me a classic demonstration of picking up bad habits. Having yesterday got hold of a blank DVD-RW, I inserted it to burn an SXCE boot disc. Gnome detected it, and opened a CD/DVD manager window for me – nice. Its help function tells me that to burn a CD, I right-click the blank DVD icon and select the write option from the menu. Great, I have the ISO image, so I’ll just burn that to the DVD, right?
Nope. After several seconds chugging away, it comes up with an error message, telling me to insert a suitable medium. Try again, same thing. Hmm, doesn’t it support the DVD? The hardware certainly does, according to the manufacturer’s website. But now there’s no help, no meaningful error message. This is truly a Windows look-and-feel: gnome has turned plug-and-pray. Nothing in /var/log that might give me a hint, either.
OK, Plan B, abandon the pretty GUI, and RTFM cdrecord. Cdrecord also emits an error at the first attempt. But this time, I have an error message I can use to adjust my commandline options. Second time lucky, and I have a bootable DVD.
It’s installing now.
 That excludes the laptop,where the Mac’s effortless command of its hardware makes a compelling case, even if the desktop UI is deep crap and many of the applications are at least a generation behind Linux.
So, I power up the desktop (from hibernation) this morning. And it’s cocked up the time change away from Daylight Saving Time.
Not just a simple “got it wrong”, but the system clock has been moved the hour. So it gives me the same time as my watch (with no attempt at automation) says, but calls it “GMT”. That’s seriously wrong!
Last time I saw such breakage was in Windows 95. I’ve taken great care not to let Windows try to do anything complicated (like, say, tell any time other than GMT, at any time of year) since then. To see Ubuntu doing it is deeply shocking.