Friday, January 09, 2009

2009: Year of the Linux Handheld?

Palm's new Pre handheld will run a Linux-based OS

A common inside joke on Slashdot is the "Year of the Linux Desktop", a revelation about each upcoming year being the mythical time when Linux will obtain wide-scale adoption on desktop PCs. Although the number of PCs running Linux has increased each year, a new emergent trend is that Linux is becoming a popular on more consumer handheld devices.

The reason for Linux's rise in popularity on cellphones is that cell manufacturers (Eg. Motorola) are being forced to ditch their simpler, proprietary operating systems that run on the "dumbphones" they sell because a more powerful operating system is needed to handle better multitasking and internet connectivity. Windows Mobile has been a popular pick with manufacturers because it meets the needs of smartphones, but the licensing costs are enough to make manufacturers like HTC experiment with other platforms, like they did with Google's Android on their HTC G1.

Similarly, Palm has just announced their brand new Pre smartphone, which just so happens to be powered by Linux. Palm's "OS 2.0" (or WebOS, as it is now known as) has been in the works for as long as anyone can remember, and if you check out Engadget's videos of the Pre, you'll find out just how hard they were working.

With the devices like the Palm Pre and the upcoming swath of Android phones, 2009 might be the year that Linux starts challenging Microsoft's dominance in the smartphone arena. At the same time, it will be interesting to see how Linux holds up in the ongoing netbook race as well.

If devices like the Asus Eee PC continue to ship with Linux, it would not be surprising if Microsoft started offering manufacturers crippled versions of Vista for netbooks at a significantly discounted price. If Microsoft were to do that, I think we'd see Linux's market share on netbooks decline because a crippled Vista would be easier for average Joe to use for email/web/IM than Linux and the cost advantage of Linux would not be as good. Still, Microsoft already missed the boat with netbooks - There is no Windows Vista Netbook Edition, as there needed to have been early last year in order for Microsoft to have crushed Linux on netbooks. Instead, manufacturers found that companies like Xandros were willing to provide small, fast, and flexible Linux distributions to meet the needs of their netbook target audience, while Microsoft wasn't interested. This was undoubtedly a good thing for Linux adoption.

The Linux-powered Pandora gaming handheld is due out in Q1 2009. (Yes, this render looks like it was made in 3D Studio Max circa 1998...)

In 2009, Linux will also see interesting applications in devices like the Pandora gaming handheld (a spiritual successor to the GP2X). A 600 MHz ARM processor, 800x480 screen, 802.11g, Bluetooth, USB 2.0 host, and a purported 10 hours of battery life - This handheld sounds like a gamer's dream.

However, the success of any handheld device hinges on one thing being done superbly well; Software, software, software. If the games for Pandora are bad, not even hackability can save it. If the software on the Palm Pre turns out to be garbage, same fate. One can start to see a pattern emerging though - Linux has been successful on netbooks because the software stack of Firefox/Thunderbird/Pidgin is rock solid. The software that tackles the primary use cases of netbooks is fantastic (largely in part because Firefox, Thunderbird, and Pidgin are simply mature, well-run software projects). The tricky part with Pandora is that its primary use-case (gaming) does not have a fantastic stack of off-the-shelf open source software to run, perhaps beyond emulators. No offense, but Supertux isn't exactly what I'd like to be playing on Pandora.

There is nothing magical about running Linux that will make a device better for end-users. It can cut down development and licensing costs, but ultimately the fate of Linux on handhelds in 2009 will come down to the quality of the software that runs on it. Let's hope it goes better than last year.

Sunday, September 07, 2008

Has Linux lost the ISV battle?

For as long as anyone can remember, one of the big problems with Linux has been the lack of commercial applications. Independent software vendors (ISVs) are generally sticking to Windows or OS X, resulting in very little commercial software being available for Linux. Free software ideologies aside, there are many commercial applications that Linux would benefit from being able to run.

As a cross-platform software developer, there are many challenging issues that are unique to developing on Linux. First and foremost, there is the issue of binary compatibility.

In order to build a x86 Linux binary that runs on as many desktop Linux distributions as possible, the most widely documented procedure is to simply build your application on the oldest distribution you can find. Most Linux libraries are backwards-compatible, meaning an application compiled against older version will run with newer versions of the library. In theory, this seems like a reasonable way to make a universal Linux binary. In practice, things are very different - Do you statically link or dynamically link and bundle the libraries? How exactly does one do all of this? Is it practical to roll this procedure into your build system? Furthermore, where is the official documentation for this procedure? What are the best practices for producing a universal x86 Linux binary?

Another issue is software distribution. As a commerical software developer, how do you distribute your software to as many customers as possible? You'd need to create DEB and RPM packages, and probably have some generic graphical installer package as well. On Windows, a single installer .EXE will install on 2000, XP, Vista, etc. On Linux, you either need to create tons of packages, or you have to limit your customer base by creating packages for only the most popular distros. Already you've multiplied the amount of effort required to develop for Linux manyfold.

Additionally, you're fighting an uphill battle against open source software. If Adobe made a version of Photoshop for Linux (and allowed you to buy DEBs from their site), most people would still just install GIMP through Synaptic or Ubuntu's Add/Remove Applications dialog. Even worse (for Adobe), GIMP is installed on every Ubuntu system by default. The best Adobe can hope for is to offer DEBs via their site, and hope that people have a priori knowledge of their product, and go to their website to buy it. There is no "App Store" for Ubuntu, and perhaps there should be because distributions certainly don't make it easy to sell your software for Linux.

Many of these issues that are hindering independent software vendors from developing applications for Linux could be alleviated by much better organization by the Linux Foundation. When I originally heard about the Linux Standard Base (LSB), I was excited at the prospect of finally having universal x86 binaries for Linux, and perhaps it would finally open the door for more commercial Linux applications, I thought. However, to date, I can count the number of LSB certified applications on one hand. Mass adoption of Linux by ISVs did not happen, and I can't say that I blame them. If I were a developer coming from Windows, I wouldn't know where to start. The Linux Foundation's getting started guide includes an article on porting your application to the LSB, but that's for existing Linux applications, not for applications that already run on another platform.

If I were a developer looking to write a new application on Linux, I would not know where to begin. Do I use GTK or QT? wxWidgets? What are the standard system libraries on Linux? Where is everything documented? There is no central documentation repository that guides Linux developers and provides answers to this question. Windows developers have MSDN, OS X developers have Apple's Developer Connection, Linux developers have nothing but a bunch of scattered webpages, each trying to convince you that their library is the best one to use. This is not a productive approach, and an organization like the Linux Foundation should make a serious effort to give developers the information they need to develop their applications quickly. You can't expect developers coming from Windows to know what libraries to use by googling for answers - There needs to be some centralized site that provides developers with the answers they need. To me, this highlights the lack of leadership in the Linux desktop community.

In the kernel, it's very clear who is in charge. There is a clear structure of command, and this allows the kernel developers to work as an effective organization. Within the userspace (ie. libraries and software applications), we do not see the same command structure. We have Freedesktop.org creating "standards" and backend software for the Linux platform, but of the software hosted on it, it claims:

None of this is "endorsed" by anyone or implied to be standard software, remember that freedesktop.org is a collaboration forum, so anyone is encouraged to host stuff here if it's on-topic.


What desktop Linux appears to have is a plethora of organizations acting independently (creating libraries, etc.), with no clear cross-organization leadership. Freedesktop.org has been successful in getting many of these organizations to cooperate and has undoubtably resulted in an improved desktop Linux (see HAL and DBus), but it doesn't seem to be preaching a clear vision to those organizations, nor providing any guidance for new developers wishing to take advantage of the new technologies it has fostered.

Many of my views presented here have been shaped by my experience writing proprietary software on an embedded Linux platform. I've worked with engineers who've never written software for Linux, and they have a hard time answering the questions they have because Linux doesn't have something like MSDN. It's very easy to make bad decisions about what libraries to use on Linux due to the lack of centralized documentation.

The nightmare of binary compatibility, lack of support from Linux distributions, and the absence of centralized documentation and guidance for Linux software developers make it a difficult and expensive platform to develop on. It's a great platform to slap together little applications on, but when you have to deal seriously with the issues that independent software vendors have to deal with when developing desktop applications, Linux as a platform simply isn't worth the effort.


* Update: According to Phoronix, CyberLink DVD playing software appears to be for sale for Ubuntu in the Canonical Store. Two thoughts on this:
  1. Might this be start of the Ubuntu app store?
  2. CyberLink is just experimenting with this, they don't expect to make a lot of money from it. They make their money from distribution deals like getting bundled with DVD-ROMs, or more recently, getting bundled with Linux-based Netbooks/MIDs, not from selling their software in stores. I suspect this is also an experiment on Canonical's part, as they gauge the response of Ubuntu users and find the optimal way to integrate this into Ubuntu (hopefully in Add/Remove Applications one day).

Ubuntu and the ASUS P5Q-E Motherboard

I built a brand new PC a few weeks ago, and getting my ASUS P5Q-E motherboard to work in Linux took a few tweaks. I had taken my harddrive out of my old PC and dropped it right into the new PC, expecting it to work. Ubuntu managed to start booting, but it hanged at the earliest bootup splash screen, where the progress bar bounces back and forth. GRUB had managed to boot the kernel image, but something was wrong - The kernel image couldn't find my hard disks, so it wasn't booting.

To solve this problem, I had to change the following BIOS options:

  1. Under MAIN / Storage Configuration, I had to change "Configure SATA as ..." to [AHCI]. This allowed the kernel to find my disks and boot.
  2. I experienced some weird USB problems while booting, and so under ADVANCED / USB Configuration, I had to change "BIOS EHCI Hand-Off" to [Disabled].
  3. For good luck, I also made sure ACPI 2.0 was enabled under power saving.
Hopefully someone finds this useful. When I first booted and Ubuntu didn't boot, I thought to myself, "Damn, I should have checked if this new Intel chipset has good support in the kernel". I was worried the motherboard just wasn't going to work. However, after tweaking those BIOS options, things are working fine. +1 for Linux.

Random things

It's been a while since my last update, but I'd like to start practicing writing again, so I'd better start blogging more often. Since 2006, I've been involved with a growing open source project and that's been eating up most of my free time.

In the meantime, I'm still a die-hard Linux fan, although I haven't kept up with the latest and greatest stuff as much. I've also recently started experimenting with (drumroll) Windows Vista, and I've been impressed overall with it. My wireless USB stick has the same problems in Vista as it does in Linux, so I guess that's a good thing for Linux (?!). :)

Also on my list of random things to write about is Phoronix. Phoronix is a well-written Linux news site that's written and organized in a style that's aimed at Linux hardware enthusiasts. The editor(s) there do an excellent job of covering the latest and greatest developments in the Linux software world as well. It's definitely worth adding to your RSS reader.

Aha, I just remembered a topic for a post I wanted to write (I have most of the post written down on a napkin here). Next up, how to make Linux work with your ASUS P5Q-E motherboard. Stay tuned.

Sunday, June 22, 2008

To iPhone or not to iPhone...


$199 USD for a 3G iPhone, with a soul-stealing ridiculously-priced contract.

Is it worth it?

I've been considering getting an iPhone when it launches in Canada on July 11th, but rumours indicate that it's going to cost about $90 CAD/month for service with Rogers. I currently pay about $10 CAD/month for a cheapo prepaid cellphone. In 2 months I'll be moving across the country, so now is a convenient time to reconsider my options. I've decided that if I were to get an iPhone, it'd replace my landline. Does it make it any more affordable? No, $90/month on a contract for 3 years still seems insane to me.

The massive draw with the iPhone for me is the software. The sheer amount of cool applications that are going to be released for it make it very appealing, plus the stock software (email, web browser) are top notch. On the other hand, it's a nightmare if you want to make it sync with Linux.

What're my other options? Stick with the $10 CAD/month cheapo phone, and possibly invest in something else for mobile internet. This is where Linux comes back into play...



The Nokia N810 WiMAX Edition has caught my eye. A little known fact is that Canada already has a nation-wide WiMAX network, with access offered by both of our big telcos (as Rogers Portable Internet and Bell Sympatico Unplugged). For about $60 CAD/month (tax inc.), it looks like I can get 1.5 Mbps WiMAX which I believe will work with the N810. As an added bonus, I could just use this WiMAX connection as my internet connection at home too.

Lastly, did I mention that the N810 runs Linux? Nokia's device runs OS 2008 and it looks Android-ready too. I'm a fan of Linux-based embedded devices (like the GP2X), so this adds a bit of hackability to the thing. Unfortunately, the N810 WiMAX Edition doesn't look like it comes out for another month, so we'll have to see what the reviews are like when it's released. Until then, I'll keep pondering...

Tuesday, May 13, 2008

Debian Bug Screws us All

This morning, I spotted this nasty tidbit on Slashdot: Debian Bug Leaves Private SSL/SSH Keys Guessable

It turns out a maintainer of the OpenSSL package on Debian removed the "seeding" of the random number generator that is used to generate, among other things, SSH keys. For those unfamiliar with random number generators, they work by generating a sequence of pseudo-random numbers based on some initial seed. The default value most programmers use when seeding their random number generators is simply the time, because it changes quickly and ensures a great deal of variability in what the generated random sequence of numbers will look like. If you seed your random number generator with the same number every time, you'll end up with the same sequence of numbers being generated over and over again - It won't be random at all!

What this means to Debian users is that your SSH keys are not random, and they're much easier to crack/guess because of this. Because Ubuntu is based on Debian, and the OpenSSL packages are relatively untouched by the Ubuntu maintainers, this bug also affects all Ubuntu users.

Both Debian and Ubuntu have released security updates which fix the problem and ensure that any future keys that are generated have the expected level of security. However, keys that have already been generated need to be expired and replaced.

Fortunately, the Ubuntu update that you will receive through update-manager takes care of this for you. For a desktop user, this is sufficient. For system administrators who might use SSH keys widely, it's a massive pain in the ass.

There's much more to this story though - A Slashdot user dug up the original Debian bug report that lead to the "fix" that removed the seeding. The OpenSSL developers used uninitialized memory to seed their random number generator, which caused a warning in Valgrind that someone playing with the code noticed. Valgrind is a tool to help find memory leaks and memory corruption (ie. programmers' mistakes). However, the original code wasn't erroneous at all - The programmer that wrote that code must have asserted that uninitialized memory has more "randomness" than the time, which may or may not have been a good assumption. Regardless, it's clear that the real mistake was "fixing" this code without fully understanding the consequences, and the Debian package maintainers (and the developer that submitted the patch) are at fault.

What happened here is a nightmare scenario for an open source software developer like myself. When my development team makes a release, we do some distribution packaging ourselves, but we also count on other people to make packages for other distributions. If any of those package maintainers modify our software in any way, we can no longer guarantee the quality of our software. If this sounds familiar, you might remember that this is exactly why Mozilla wanted Debian to stop using the Firefox name back in 2006. Mozilla wanted to ensure that all of their users got "Firefox", not "Firefox plus Joe Blow's crappy tweaks", and I completely agree with them. As more open source projects grow and become professionally run, I can see this becoming a more common issue in the future.

Finally, there is the question of whether or not the OpenSSL vulnerability was introduced intentionally. To give the poor guy the benefit of the doubt, I think it was an honest mistake. He fixed something that he thought was broken, and it turns out he was wrong - an understandable, human mistake. The uploader that approved his change probably should have caught the mistake, but again, he too was also only human. Is it possible that this was intentional? Sure. Is it possible that this could be used as a blueprint for future open source sabotage? Absolutely.

Are we any less likely to see security flaws introduced like this again? Absolutely not. It's the process through which packages are maintained and updated that is broken here.

The solution? Discuss.


Disclaimer: Don't go on a witch-hunt for the Debian guys who made mistakes here. Stuff like this happens, and if it were you or I in their shoes, we may have made the exact same mistake. I stress once again that it's the process of distribution package management that is flawed, not the people involved.

Saturday, May 10, 2008

Blogger Captcha Cracked?

I just 50+ emails from Blogger saying new comments were posted on my blog:



Up until now, the spam situation with Blogger was decent. I'd only ever had the odd spam comment come through and I had been able delete them all. With this massive barrage though, I don't have the patience to go through and delete them all, especially knowing that it can happen again.

For now, I'll just hope that blogger deletes the spammer's account and all of the comments he posted.

Sunday, May 04, 2008

Toy Story, Cave Story, .... Ubuntu Story ?

About once a month, I receive an email solicitation asking me to promote something on my blog. 9/10 times I just ignore it, because they're usually asking me to promote a spam blog. Not cool.



It looks like we did better with this month's email. Rather than a pointless spam blog, it was instead regarding UbuntuStory.com, which seems like a friendly advertisement for Ubuntu by a community member. I'm probably preaching to the choir here, but if you haven't tried Ubuntu yet, I'd check out the site.

Sorry, your first impression from that site will be wrong - Ubuntu won't take you on a wild African adventure, but it can make your computer much less of a pain in the ass to use. :)

Tuesday, April 22, 2008

Ubuntu 8.04 Beta Thoughts

Yesterday, I decided to upgrade to the Ubuntu 8.04 (Hardy Heron) Beta. I've been having problems with internet connection and I thought an upgrade might fix it, but now I'm convinced it's a problem with my LAN segment, not my card. Anyways, among the shiny new goodness:

  • Firefox 3 - Great new GTK look on all the buttons, they don't look like they're from 1993 anymore!
  • Wait, more crazy Firefox 3 goodness - apparently now I can cut and paste images around by right-clicking on them in the Blogger "Compose" mode.
  • Notebooks in Tomboy! If you're a Tomboy Notes user, you won't believe how useful this is. I currently have 78 notes in Tomboy, so being able to organize them is a huge win for me.
Tracker (left) and Tomboy (right)
  • Tracker for indexing, now with a spiffy tray icon. More importantly, when you right-click on the tray icon, you can easily pause the data indexing (for example, if you have an older PC like me and want to fire up a game that pushes your system, like Quake Wars)
  • The new screen resolution and display setup dialog. I've read lots of people evangelizing about this - it's supposed to make setting up a second display easier, such as when you're plugging in a projector. I haven't tested this personally though, and I'll believe it when I see it.

  • Lots of little improvements to Evolution as well. It handles multiple operations nicer now, and seems quite a bit snappier. Big thanks to the Evolution team for their hard work.
  • Other random things that I haven't personally tested: The new gio stuff in Nautilus is supposed to make doing multiple file copies simultaneously "better", and the old VFS mounts have been replaced with a new system. I use SSH mounts through Gnome frequently, so I'm looking forward to playing with the new system.
I'm sure there's lots of other little things I've yet to stumble across, and it'll take about a month for me to notice any little bugs that crop up. So far so good though - it looks like we've got another good Ubuntu release!

Friday, January 11, 2008

HOWTO: Figure out what's using your soundcard in Linux

It's 2008, and while Linux audio is getting better for desktop users, I still occasionally find myself running into a situation where one application is tying up my soundcard. Sometimes I'll try to run jackd through qjackctl and it'll fail because Firefox has a flash video loaded in it or something like that.

Anyways, to figure out what's using your soundcard on Linux, you can run:

sudo fuser -v /dev/dsp*
sudo fuser -v /dev/snd/*

The first command above will list all the OSS applications using your sound hardware, and the latter will tackle ALSA applications.

For example, if I run those commands with nothing running:

gamegod@home:~/$ sudo fuser -v /dev/dsp*
gamegod@home:~/$ sudo fuser -v /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: gamegod 6236 F.... mixer_applet2

The output above is showing me that GNOME's mixer applet is using the "control" interface on my soundcard. This won't interfere with any applications, so you can always safely keep this running.

As another example, if I run Mixxx (software for DJs) before running those commands, I'll see:

gamegod@home:~/$ sudo fuser -v /dev/dsp*
gamegod@home:~/$ sudo fuser -v /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: gamegod 6236 F.... mixer_applet2
/dev/snd/pcmC0D0p: gamegod 12936 F...m mixxx
/dev/snd/seq: gamegod 12936 F.... mixxx

This time the output above is showing me that Mixxx is using my soundcard's audio first ouput interface (pcmC0D0p corresponds to ALSA's hw:0,0), as well as ALSA's MIDI interface.

KDE 4.0 Released!

After having sworn off KDE many years ago, I might just have to give it a second shot - KDE 4.0 was just released, and brings a massive overhaul to the desktop environment. Congratulations to the entire KDE team on making this release happen. A lot of very talented people put a lot of hard work into this.




If you're looking for eye-candy, check out the KDE 4 screenshots on their site. Kickoff and KRunner look well thought-out, and I'm itching to give them a try. They also look like they're better integrated into the desktop environment than their GNOME equivalents (Deskbar and any of those XP/Vista-style system panel clones).

If you want to give it a spin, the source and binary packages for several distros are available on the KDE 4.0.0 info page. Packages for (K)Ubuntu 7.10 are available along with a LiveCD here.

Good stuff.

Friday, November 16, 2007

HOWTO: Get more visualizations in Totem/Rhythmbox

After 4 years, I finally got sick of GOOM and decided to figure out how to get more visualizers in Totem and Rhythmbox.

This looks really trippy when it's in motion


Turns out all you need to do is install the libvisual-0.4-plugins package through Synaptic. Piece of cake.

In Gutsy this buys you eight more visualizers, although I was hoping for more than that*. I feel the urge to write a cool visualizer one day, seems like a good weekend project.

* I was hoping that it'd be like installing xscreensaver-gl-extra and xscreensaver-data-extra, where you get a ton of really funky new screensavers.

Monday, November 12, 2007

So you remember all of those Mac vs. Vista ads...

... and you remember the whole "deny or allow" thing?

Well, I don't know why Apple was making fun of Vista, because they decided to join in on the fun in Leopard:

Yes, I know Skype is an application from the Internet. Where the hell do you think I get 99% of my applications from?

It seems like Linux is the only OS moving forwards these days...

Friday, November 09, 2007

Leopard (kinda) hates Ubuntu

I ended up picking up a MacBook a few weeks ago, and I've been dual booting Ubuntu and OS X (Tiger) on it. Ubuntu's been a bit of a let-down because there's been so many quirks, and so I spend most of my time in OS X on the thing. (I still use Ubuntu on my desktop machine.)

Anyways, I got my Leopard upgrade DVD, and found a nice little surprise when I tried to upgrade: The Leopard upgrader wants to format my whole drive because it can't find my OS X partition or something. The manual and website say that I'm supposed to be able to upgrade if I used a beta version of Bootcamp to dual-boot (which I did), but apparently it wants to format my drive because I've got Linux installed instead of Windows in the other partition.

Did I mention that it wants to format my whole drive? (my old OS X partition too)

It's not like Leopard doesn't have enough problems already....

Update: Arrrrrrg, bloody Apple lingo. The installer says it wants to format my "Macintosh HD", which I forgot isn't actually my whole hard-drive (despite the HD moniker). So it just wants to format my OS X partition.... which is the one I use and store all my data on.... *sigh*

Friday, October 19, 2007

Ubuntu 7.10 Released

Ubuntu 7.10 was released yesterday after another exciting development cycle, bringing a slew of new features and bug fixes. Among my favourites are:

  • New printer setup dialog (System->Administration->Printing) - Looks a lot more complete now:

  • The Firefox plugin finder is integrated into apt now! Not only does the plugin finder detect the correct plugin, but it'll download and install it from the Ubuntu apt repositories. Sweet integrated goodness. (The Add-Ons/Extensions window also has an "Get Ubuntu Add-ons" thing that's tied into apt as well.)


After using the easy codec installation that Ubuntu 7.04 brought along with the new Firefox-apt integration in 7.10, I've realized that my dream of "intelligent package suggestion" has been fulfilled. Way to go Ubuntu/GNOME team!

I've been using Gutsy for almost 2 months now, and I could never go back to an earlier version of Ubuntu. As Dan mentioned, the latest version of Rhythmbox totally kicks ass (it's worth upgrading to Gutsy for that alone). WINE has much nicer integration into the Applications menu now too. There's just tons of nice little features that make Ubuntu 7.10 awesome.

I'm going to try to pick up a laptop this weekend (maybe an Acer TravelMate 6292 or an Acer Aspire 5920), so we'll see how 7.10 handles Intel's new Santa Rosa chipset.

Grappling the Gutsy Gibbon

I've been invited by GameGod to contribute to this blog giving ongoing updates of my foray into the world of Linux. However, I haven't figured out if it's because he thinks some readers may find it illuminating to see how a total newb is getting along with Ubuntu, or if its because he is sick of helping me with this stuff and wants the comments section to take his place. Regardless, here I am.

As far as operating systems go, I've been using Win2K for probably about 5-6 years. Sure, theres probably something nice about XP, but 2K has been good and stable for me and I dont want to rock the boat. However, I've been tinkering around with an old P3 800mhz thats been kicking around, getting it to run Ubuntu 7.04 so I can make a mythtv box. Everything has been going pretty well, except for the fact that while I'm at school I have a hard time justifying the $150 in hardware I need to purchase to get the thing off the ground. The one thing I did learn in that experience though is that iTunes is a piece of garbage and I want to use Rhythmbox full time. Therefore, I've decided to make the plunge and give this "dual booting" nonsense a try so I can have Win2k for gaming, and Ubuntu for living.

My progress so far is as follows:
Downloaded the new version of Ubuntu (7.10). Booted off the CD to give it a shot. Sound doesn't work, wireless doesn't work. The built-in wireless networking app cant detect the network, and freezes the whole system when I try to manually connect. That may just be a problem with the boot cd, or it may be that I dont have the correct drivers at the moment (I've got a USB key with drivers, apps, and instructions so I hope that'll cure what ails me. Also, here's a handy list of supported wireless cards. Link). After wrestling with some HDs for a while (sata is new to me, and thats a long story that has nothing to do with linux) I've got them both up and running.
The game plan is to format the new 100gb drive to ntfs, backup my files from my primary drive to the 100gb, wipe the primary (a 320gb), partition it with about 100gb for windows, 200 gb for Ubuntu. Install windows, install linux, dual boot. Then if I want, format the 100gb to ext3 (or whatever the linux format is), and then use that.
My first HD problem was with gparted. Got the 100gb HD in, set it to delete the current partition, and format it to NTFS. Everything looked good, but it did everything unusually quickly and then crashed. Cool. Thanks gparted. So I booted back into windows, checked it out, and everything looked fine (I threw a file on it, loaded it from the 100gb). I decided though that I'd like to make sure everything was working properly and make sure there wasnt some corrupted section thats going to make me lose my files. I figured I would give gparted another shot so I used the boot CD, got into Ubuntu, performed the same operation as I did before, only this time it failed making the drive NTFS, and would crash every time I tried to do anything with that drive. So then I booted into Win2K, and formatted it via My Computer in less than 2 minutes without any problems. As it stands, I'm copying my folder of files-to-backup over to the 100gb.
Well actually, this is the second time. The first time the operation failed because it said that one of the files couldnt be copied because the name was too long (what the hell? If the name was too long, why didnt they make me rename it when I saved it on my primary drive? I checked the name, and its just a pdf file without any of the banned characters in the name). So I moved the subfolder with that file in it out of the back-up folder to try again. But because half of the stuff was copied on in whichever order, I decided to delete everything and try again. The recycle-bin told me that some of the files had names too long to be put into the recycle bin....

Why do I have the feeling that this is just the beginning?

Update: I think I have figured out the "filename too long" problem. I guess the "filename" isn't just the name of the file itself, but the location of the file as well. So instead of garbage.pdf, its c:\stuff\garbage.pdf. But if you have it on the desktop or something, its c:\documentsandsettings\users\username\desktop\stuff\garbage.pdf. So apparently for whichever reason, theres a limit to how big the filename would go. I always had this folder of stuff right in c:\ so there was never a problem with the largish filenames. However, once I put it on my desktop, or in a subfolder in my backup folder, they became so large that I couldn't open some of the files (which I definitely have done before). So I guess I learned something new there.
Also, there wont be any updates from me until monday at the least. Going home for the weekend, and bringing back my Win2k cd so I can finish this off. I'll also be meeting up with Gamegod, so I'll be able to ask for annoyingly detailed questions about how to get dual-booting set up

Saturday, September 15, 2007

New iPod Firmware Screws Linux Users

Miguel de Icaza writes:

Yesterday after rumors that new iPods require a cryptographic checksum on the song database we confirmed that Banshee can no longer store songs on the new iPods.

The new firmware will now refuse to play any songs that you legally own unless you use Apple's iTunes (which is only supported for Windows and MacOS)

Read on...

In the meantime, I'll be sticking to my iRiver U10. (Cowon MP3 players are supposed to be pretty Linux friendly as well.)

Update: And thus begins the game of cat-and-mouse - The new iPod checksum has been cracked.

Tuesday, September 04, 2007

Ubuntu finally gets graphical X configuration

Almost 3 years after Ubuntu's first release, they've finally added graphical X configuration. Hopefully no more editing your /etc/X11/xorg.conf by hand...

Ubuntu 7.10 users should find it easier to change their graphics settings

Graphics card selection tab

Thursday, August 09, 2007

Mark Shuttleworth on MCA Podcast

I was tipped off that the mighty Mark Shuttleworth is going to be talking about the new Ubuntu Mobile on the next Mobile Computing Authority podcast. The show will be broadcast live at 9 AM EST on August 11th, and available for download after that. More information here.

Ubuntu on one of those UMPCs... drool...

Tuesday, August 07, 2007

Evolution 2.11.6: A mail client smarter than I

After putting off doing a fresh install of Ubuntu for almost 2 years (it's just too easy to dist-upgrade), I did a fresh install of Gutsy Gibbon. Among other neat surprises (which I'll try to blog about), this one almost made me fall off my chair:


Being the total klutz that I am, I had forgotten to attach a file to an email I wrote before I clicked send. To my surprise, Evolution made an educated guess that I had done exactly that, and gave me a warning!

I love Evolution + GNOME.