We’ve shown you how to clean up your messy Ubuntu boot menu before, but if you’d like to avoid manually uninstalling old kernels, this handy bash script will do it all for you. More »
Blog Archives
Quickly Uninstall Old Linux Kernels with a Bash Script [Scripts]
Make Sudo Work Like Ubuntu on Other Linux Systems [Linux Tip]
If you’ve never had the chance to use sudo to fire off a higher-level command, you’re missing out (and maybe missing the jokes). Here’s how to set up an easy-to-usesudo on Fedora, Debian, and other Linux distributions. More »
Build Linux Apps from Source with Checkinstall for Fewer Problems [Linux Tip]
Even if you know how to compile software from source code, you often end up with an application that your system doesn't technically know exists. That can mean duplicated apps, file issues, and removal problems—unless you use the checkinstall command. More »
Lifehacker Pack for Linux: Our List of the Best Linux Downloads [Downloads]
We love Linux, and want to make it easier for others to do so, too. This first edition of the Lifehacker Pack for Linux includes our favorite apps that get things done and make your desktop great. More »
Free Getting Started with Ubuntu Manual Helps Out Linux Rookies [Ebook]
Numerous commenters and emailers have written in to recommend that both newcomers to Ubuntu and those looking for a particular fix check out Getting Started with Ubuntu 10.04, the first in a planned series of community-edited manuals that will accompany each successive Ubuntu release. It covers all the new stuff in Ubuntu 10.04, the basics of setting up multimedia access and the apps you want, and a lot more, and it looks pretty darned nice for a Linux manual. It’s a free PDF that should work on most e-book readers. [Ubuntu Manual] More »
Ubuntu – Linux – Operating system – Distributions – Ubuntu 10.04
Gloobus Provides Snappy, Sleek File Previews in Linux [Downloads]
Linux: Sometimes you just need to see what’s inside a file without actually opening the application meant to handle it. Gloobus, a sleek, dark file previewer based on the Mac Quicklook tool, wants to make file previews elegant and convenient.
Ubuntu and other GNOME-based Linux distributions have their own built-in file preview tool, sure. But that previewer doesn’t act on every file type, leaving you sometimes regretting a double-click as GIMP or another heavy tool loads up with your file. And thumbnail icon previews aren’t available for every file you can create or download. Gloobus aims to provide universal file previews inside its dark, stylish interface.
Installing Gloobus isn't quite a one-step process—you'll need to install either a repository or compile from source to patch your system's desktop display program (Nautilus) to work better with Gloobus. Once it is there, though, smacking the space bar on any file brings up a preview. If you like how Gloobus looks, you can install CoverGloobus, which shows the cover art for the music you're currently playing, whether you've downloaded it or not.
Gloobus and its related plug-ins are free downloads for GNOME-based Linux systems only. Hit the link below and its Installation page for help getting Gloobus up and running.
Most Popular Linux Posts of 2009 [Best Of 2009]
A new browser, two new Ubuntu releases, and more than one new netbook OS—2009 was a big year for open-source software. Here are the Linux-related posts that caught our readers' attention in 2009.
Last year, we compiled the most popular Linux downloads of 2008 and the most popular Linux posts. The most popular Linux downloads, however, tend to also be released for Windows and Mac systems, and we’d rather not repeat ourselves.
So! This year, we ran through our archives and pulled out the posts most directly related to Linux: informational, how-to, Linux-focused downloads, and the like. For good measure, though, we’ll list the most popular cross-platform downloads at the end, which will look very familiar to those posted in our Most Popular Free Mac Downloads of 2009 and Most Popular Free Windows Downloads of 2009 posts.
Portable Ubuntu Runs Ubuntu Inside Windows
And it really does, too, after a bit of command line tweaking. It’s a close relative of the andLinux system that lets you seamlessly run Linux apps on your Windows desktop. This one doesn’t require any installation, however, and you can even take it with you on a thumb drive. This holiday season, feel free to show Uncle Steve just how open and free Linux can be.
Linux Puts the Lie to WEP “Security”
Using a BackTrack 3 Live CD (which we previously profiled, Gina showed us how easy it was to crack a Wi-Fi network’s WEP password, offering a sound reason to upgrade your age-old router, and providing a kind of last-ditch solution for those in need of emergency connectivity. She also provided more WEP-cracking tools and tips, including some sound reasoning on why anyone would still use a fallible encryption scheme (or use something much stronger).
Looking Ahead to Ubuntu Releases
Every year, at least two versions of Ubuntu are released in six-month lockstep. This year gave us Keir Thomas’ peek at the 9.04 “Jaunty Jackalope” release, and our own screenshot tour. That release was more about subtle changes and improvements. Ubuntu 9.10, Karmic Koala, brought a whole new look to the free OS, along with some major decisions on default applications and immediate improvements like faster, slicker boot-ups and a universal software store. We are, as ever, eager to see what crops up in April.
VirtualBox Makes Linux Life Easier
Sun Microsystems’ free VirtualBox software is free, offers an open-source edition, and is generally easy enough for beginners to get into. Not coincidentally, it solves a big problem for Linux users who just occasionally need access to one or another Windows apps or features. It also keeps adding on new features, like support for Windows’ gaming graphics, and making life generally better for those running one system inside another.
Features We Wanted to See from Ubuntu (and a Response)
“If every Ubuntu developer were assembled at one place, here are five things we’d ask them to accomplish.” That’s the grand daydream that launched our list of five features we want to see in Ubuntu, including strong sticking points like a decent video editor and a design-centric look. Not all of that is under of the Ubuntu team’s purview, but Community Manager Jono Bacon still took the time to respond to our wishlist, noting the progress on many of the fronts we wrote on. That was a very nice moment.
Dual-Boot Windows 7 and Ubuntu in Perfect Harmony
Simply installing Windows 7 and Ubuntu together isn't all that hard—just do Windows before Ubuntu, and leave a little room for the Linux. Fine-tuning it for convenience, access, and general usability, though—that's something we spent a lot of time thinking on. We wrote it all down, step by step, in this post.
Build a Cheap But Powerful Boxee Media Center
Following up on Adam’s guide to building a small, silent XBMC media center on the cheap, Lifehacker’s resident Linux nerd (Howdy!) wrote up an alternative guide to getting a more powerful, Linux-backed, Boxee-centered HTPC running. Seeing as how the upcoming Boxee beta and pre-built Boxee Box will include sped-up support for this very kind of NVIDIA-powered, Linux-based system, this Boxee setup will actually hit its real peak in 2010.
Nine Must-Have Features We Want to See in a Google OS
Now that we’ve actually seen what Chrome OS will look like, and even taken it on an open-source test drive, we can run through our initial wish list for the Linux-based netbook OS and do the tally: Three yays (speed, syncing, and blurred desktop/browser experience), two nays (“All kinds of hardware” and native Linux apps), and four shoulder shrugs (integrated Quicksilver-like app launcher, powerful keyboard shortcuts, user privacy, and enterprise-friendly setup). There’s a lot more bound to come in 2010, though, including the first official release, so stay tuned.
GNOME Do and Docky Are Slick Linux Interfaces
We dig GNOME Do as a Quicksilver-like application launcher that knows your system better than you do. When it rolled in a dock interface, it got a bit more unstable, but even more helpful—and notably more smooth and eye-pleasing than the standard GNOME interface. The two projects have since gone their separate ways, but, installed side by side, they still make for a better Linux experience.
Presto Loads a Streamlined Desktop in 15 Seconds
Well, we thought Presto looked like a pretty neat quick-boot alternative for Windows users, at least while it was free, and promising boot-ups in mere seconds. Then we tried it out and clocked it at a more human 15 seconds, found it to be kind of a simplified Xfce desktop, and, oh, right, this other operating system from some search company was announced. Not to say Presto is a dead option, but, at this point, it might need an overhaul (Chrome installed, maybe?) to grab much more than a glance.
Install Firefox 3.5 on Ubuntu with One Command
Even released every six months, Ubuntu still manages to make its users wait on some newly-released apps getting official support—like Firefox, most importantly. This little Python script makes short work of bringing your built-in Firefox up to the bleeding edge.
Ubuntu Pocket Guide Available as a Free Download
Author Keir Thomas did the freely-licensed thing with his pocket guide, and we were all very glad to have it.
Elisa is a Simple, Streamlined Media Center
Looking for something that just plays your music, shows your videos and pictures, and doesn’t get in your way or bog you down with flashy features? That’s what Elisa is, and it looks pretty nice while doing so.
Mac4Lin Gives Linux Desktops the Complete Mac Look
It really, really does. If you don’t mind the obvious break in your your free-as-in-speech fidelity, it’s a pretty nice setup.
Jolicloud Netbook OS Is a Bit Like Chrome OS with Awesome Desktop Applications
Adam's headline pretty much says it all—you get most of the benefits of a fast-loading, small-screen-oriented OS, but with far more adaptability and a wide range of awesome Linux apps you can install.
Popular Cross-Platform Apps
Google Chrome, Alpha and Beta Releases
Google Chrome, which just barely turned one, has actually been up and running on many Linux systems since its earliest days, due to the hard work of Chromium open-source hackers. You could grab the alpha in May, try out a CrossOver-built release in September, and grab the official beta last week. Been holding off on your Chromium and just now trying Chrome? Check out our power user’s guide to Google Chrome to get acquainted.
Namebench Helps You Find the Fastest DNS Server for Your Computer
Google came out with a free DNS service, but many folks are learning, with the help of namebench or the also-excellent DNS Name Server Benchmark, that what the big G does isn’t always the best. Test out all the popular, public DNS systems to see what’s your own network’s best bet.
Google Earth 5.0 Released, Looks Incredible
Google Earth 5 is one of those lucky Linux products that Google still intends to keep up to date, unlike its sad cousin Picasa. So being able to put historical imagery, ocean maps, and improved world touring on a Linux desktop is A-OK with many readers.
Firefox (Of Course)
Firefox seemed to have met its first real challenge for the Best Alternative Browser this year, but it kept up with the modern web at its own pace. This year saw a big Firefox 3.5 release and a bunch of Firefox 3.6 betas (1, 2, 3, and 4). It’ll be interesting to see if Linux distributions consider Chrome as their default in 2010, but we expect Firefox to stick around for quite some time.
Thunderbird 3 Officially Released with New Features, Improved Look
A lot has changed since Thunderbird 2.0 release, but 3.0 brought enough savvy features—awesome search, smart syncing, and tabbed content—to make it an ultimate online/offline message hub.
HandBrake Updates to 0.9.4 with Over 1,000 Changes, 64-Bit Support
Yeah, Mac and Windows users probably find HandBrake really helpful. But Linux is where encoding to non-restricted formats can be crucial, so seeing regular development is a very nice thing. On any platform, Handbrake remains a favorite video encoder—even after developers dropped AVI/XviD support.
Since you’ve made it this far, let’s go ahead and put it up for vote:
What Was Your Favorite Linux Post or Download of 2009?(surveys)
Build a Cheap But Powerful Boxee Media Center [Media Center]
Adam thinks XBMC is the best media center around, but I roll with Boxee for its awesome streaming web content. Here’s how I turned a relatively cheap yet powerful home theater PC into a DIY Boxee Box for my HDTV.
Why go with Boxee? A few reasons, really: it’s free to download, it’s got a ton of great applications and add-ins, and it was, like XMBC, built with a big-screen interface in mind. When I was done installing it on top of a basic Ubuntu desktop, I had a system that could easily handle 720p and even (with some very easy overclocking) 1080p video files, run Hulu streams in full screen with very little glitching, and let me show off Flickr streams, Facebook photos, Pandora or Last.fm music, to name just a few of many content streams.
Plus, with Ubuntu installed and set up, you can easily run any other Linux app on your TV—like Hulu Desktop, a huge-screen Firefox, or whatever you can imagine.
You could, of course, wait for the first official Boxee Box to be unveiled in December, then shipped sometime later. This way, however, you get a seriously powerful HTPC that can run most any media center, and tears up HD video streams while doing so.
Many thanks to the fine posters at the Boxee and Ubuntu forums, where I found needed help and inspiration. This ASRock how-to, and wake-on-LAN tutorial, in particular, were lifesavers.
What You’ll Need

- ASRock Ion 330: Like Adam’s pick of the Acer Aspire Revo, my HTPC comes with an NVIDIA ION graphics chip that can handle meaty HD video and export through an HDMI cable. My similarly sleek and (mostly) quiet-running system costs $350, $150 more than Adam’s ($160 if you absolutely must have it in white), but it’s beefier: 2GB of RAM (up to 4GB supported), a dual-core Intel Atom 330 CPU that runs at 1.6 GHz out of the box, but can be overclocked to 2.2 GHz from a simple BIOS switch, a 320 GB hard drive, and a DVD-RW drive. Unlike his Revo, my ASRock doesn’t come with USB peripherals or Windows XP, but, then again, we’ll only need a USB keyboard and mouse for a little bit with this project.
- USB keyboard and mouse: For the Ubuntu installation process and BIOS tweaks. After everything’s set up, you’ll be able to control everything via remote screen access, SSH terminal, or your infrared remote.
- Boxee for Ubuntu Linux: We’ll detail how to install it in our just-set-up ASRock in a bit.
- Ubuntu 9.04: You’ll want the “PC Desktop CD” ISO image, which you can download directly or through BitTorrent. Boxee will soon update to support Ubuntu 9.10, the most current release, but for what you’re using it for, you’ll hardly notice.
- A thumb drive or blank CD: The USB drive should be at least 1GB in size, and formatted to FAT 32 for easy compatibility.
- An IR receiver and Windows Media Center remote: Just like Adam, I’d go with this cheap receiver+remote solution, though anything that claims Media Center compatibility will be much easier to set up with Linux and Boxee.
Setting up Ubuntu is something I’ve done many times, and it’s just as easy on this system. Here’s the quick walk-through:
Install Ubuntu From a Thumb Drive or CD
Ubuntu, like XBMC, can run entirely off a thumb drive, or be installed to a hard drive. We’re going for the latter option here.
1. Create your Ubuntu installation media:
The fastest and quickest installation is to put the Ubuntu 9.04 desktop ISO you downloaded on a thumb drive using the free Unetbootin tool on a Windows or Linux system.

You can also have Unetbootin automatically download Ubuntu 9.04 for you, or burn the ISO to a CD or DVD, but thumb drive installations are much faster and don’t require wasting a disc.
2. Set up your ASRock
Take the unit out of its box, and find a location for it where it can breathe and exhaust a little—not flush against a corner, in other words. Plug in an ethernet cable straight from your router (or Wi-Fi bridge), and connect it to your TV via an HDMI cable. You’ll also need to plug in a USB keyboard and mouse to get through the initial setup. Make sure all the connects are snug and not stretched, then plug in your USB thumb drive, or power it on and insert your CD/DVD.
3. Install Ubuntu
Make sure your TV is switched to the HDMI source your ASRock box is plugged into. After you power on the ASRock, hit F11 immediately on your keyboard to open the boot options, then select your USB drive.
You'll be launched into Ubuntu's setup screen. Choose your language, then select the "Install Ubuntu" option. You'll launch into a bare-bones Ubuntu desktop and then into the installer application. Most U.S. users can hit Next through the first three language/location/keyboard screens. When it comes time to partition your system's hard drive, though, I'd recommend splitting it into three parts: One for the Ubuntu system, one for a swap partition, and another NTFS-formatted drive for your media. Why NTFS? It makes sharing media from your HTPC box to Windows computers easier, and it can hold gigantic files—like the kind of high-resolution videos you'll be viewing. If media sharing isn't a concern for you, go ahead and tell Ubuntu to use your whole hard disk.
Otherwise, choose the “Specify Partitions Manually,” click on the big, unallocated space in the next screen, and hit “Add” at the bottom. Set up Ubuntu’s own partition like so:
Hit “OK,” then create another partition, about 2 GB, or 2,000 MiB in size, and choose “Linux swap” under the “Use As” heading. Finally, add one more partition by hitting “Add,” choose NTFS as its format, and have it use all the rest of your space.
Click through the rest of the setup process, wait for it to finish installing, then reboot your computer and remove your thumb drive or CD when asked to do so.
Setting up Ubuntu
When your system boots up next time, you'll get a menu asking which system you want to boot into, with a 10-second timer before it heads to default (which we'll fix soon). Log in with the username and password you gave during setup—something else we'll get to optimizing.
One quick little command we have to run before getting started: Hit Alt+F2, check the “Run in Terminal” box, then enter this line and hit Run:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys CEC06767
That authenticates a repository with some necessary graphics drivers to install software on this system.
Now, down to the real business. Head to the System menu in the upper-left corner, mouse over the Administration sub-menu, then choose Software Sources. On the first tab, check off the “Proprietary drivers for devices” and “Software restricted …” options. Head to the Updates tab, and check the unchecked items. Finally, head to the “Third-Party Software” tab.

We’re going to add in three lines to this list by hitting the “Add” button at bottom-left and pasting in this text. The first is Boxee’s Ubuntu repository for Ubuntu 9.04, and the other two are a Ubuntu repository for the NVIDIA ION chipset inside our HTPC, known as “VDPAU” hardware. Here’s all the lines in one spot:
deb apt.boxee.tv jaunty main
deb ppa.launchpad.net/nvidia-vdpau/ppa/ubuntu jaunty main
deb-src ppa.launchpad.net/nvidia-vdpau/ppa/ubuntu jaunty main
Hit Close, and agree to Reload your software list when prompted. Now head up to System->Administration and select Update Manager. You'll get a list of everything that needs updating, and it might be rather long.

Install the updates, then make a cup of coffee or tea while you’re waiting. When you get back, you should be updated and ready to actually install some new stuff.
Installing Video Drivers and Boxee
Let's do this. Head to System->Administration, then select Synaptic Package Manager. Click the "Search" button at the top right, and in the dialog that pops up, change the "Look in:" to "Maintainer," and search for "Snider."

In the results that come back, check off these packages to install. There might be newer versions of them to try out, but I know these work with this system, on this version of Ubuntu, running this version of Boxee:
- nvidia-glx-185
- libxine1, libxine1-x
Back at the Synaptic main screen, hit “Search” again, change the “Look in:” to Name, and search for mplayer. Check off the version with “+svn2009″ trailing in the “Latest Version” column for installation. Search again for boxee, then check to install it. If you’re looking to use an infrared remote, also search out and install the lirc package and whatever dependencies it asks for. Ubuntu’s own wiki offers a guide to getting set up with LIRC.
Finally, hit “Apply” in the top toolbar to install all these things on your system.
Convenient Tweaks
Once Synaptic is done installing those goodies (or while it's running, if it's taking a while), head to the System->Administration menu again, and open Login Window. Head over to the Security tab, and enable timed and automatic login for your username:

Assuming you don’t expect a burglar to break into your house, fire up your HTPC and start watching your Blu-Ray rip of “Up,” you should be fine with these options. They free you from needing a keyboard or mouse to get into Ubuntu, and automatically log you in when resuming from a suspend.
Next up, let’s speed up that boot-up process with a quick GRUB menu edit. Hit Alt+F2, and enter this command:
gksu gedit /boot/grub/menu.lst
In the editor that pops up, head down just a bit to the “## timeout sec” section, and change the value there to 0. Just one section down, remove the “#” from in front of “hiddenmenu,” if it’s there.
Two quick fixes, to make HDMI audio work perfectly for both Ubuntu and Boxee. First up, follow this Boxee forum poster’s instructions to set up a .asoundrc file that tells Ubuntu how to route its sound. Next, open up a terminal (Applications->Accessories->Terminal), type in alsamixer and hit enter.
Hit your right arrow key over to where you see the columns for “IEC958,” and be sure none of them read “MM,” or muted. If they do, hit “M” to unmute them. Hit the escape key when you’re done.
Your second-to-last tweak makes Boxee run right at start-up. Head to System->Preferences, choose "Startup Applications," and hit "Add." Give it a name like, oh, Boxee, and make the command /opt/boxee/run-boxee-desktop. Hit OK on that screen, then close out your Startup Applications.
Now, for the final piece: Remote desktop access from any other computer on your network. Head to the System->Preferences menu, select Remote Desktop, and configure your system to accept remote desktop connections, with a password for safety.

If you’re the geeky type who knows how to remotely administer a system by SSH command line, be sure to install the openssh-server package in your Boxee box.
Finally, if you're using a Microsoft Media Center remote with your Boxee box, and you've plugged in your USB IR Receiver, you should be good to go in Boxee—it automatically works with the Media Center setup. If you're using something different, like a Hauppage remote, this guide might point you in the right direction. Myself, I mainly use the free Boxee Remote applications found in both the Android Market and Apple App Store to control Boxee and type in text with little fuss.
Running Boxee
Reboot your system, and you should shoot through Ubuntu’s boot-up process, arriving straight at Boxee’s log in screen.
The only major tweak you’ll need to make is to Boxee’s audio setup. Head to the Settings menu in the lower-left corner, then to Hardware, and then to the audio tab. Set your settings to look like those on the left, or, in text form:
Digital
Off
Off
default
default
From there on out, Boxee should be your multimedia workhorse. You can suspend it and wake it up with the power button (or a wake-on-LAN tool, as detailed at the Ubuntu Forums). You can use it to download torrents, directly drop files into it over SFTP, give it more video feeds, and other tweaks we’ve covered in our Apple TV/Boxee guide, and in Adam’s XBMC guide (the latter mostly for the SFTP guide). If you want to actually use your Ubuntu desktop on your TV, just exit out of Boxee from the log-in screen or the main menu
That’s just my own little Ubuntu/Boxee/HTPC setup, but I think it works quite nice. Anything I download can be transferred and played, and any broadcast shows I miss can be caught on Hulu, CBS, PBS, or any of Boxee’s other great apps. Got a killer media center setup of your own to share? Tell us about it, and link it, in the comments.
Restore Ctrl-Alt-Backspace Behavior in Ubuntu 9.10 [Linux Tip]
Ubuntu 9.04 disabled the semi-crucial keyboard shortcut, Ctrl+Alt+Backspace, that used to force the X graphical server to restart, and made it wonky to re-enable. Luckily, Ubuntu 9.10, due out in nine days, has a single setting to restore it.
The I am a Ubuntu blog pins down a little check box, under the System->Preferences->Keyboard settings, that restores the hard-reset shortcut familiar to long-time Linux users. Head to the Layouts tab under Keyboard settings, click the "Key sequence to kill the X server" option to expand it, then check "Control + Alt + Backspace" to set it.
This might be a general change in the latest GNOME desktop software distributed across many Linux variants, so if you see a similar option in Fedora, openSUSE, or elsewhere, let us know in the comments.









The final version of Ubuntu 9.10 has hit Ubuntu’s servers a little bit ahead of its front page. Grab a torrent or ISO of the free Linux operating system while the servers aren’t slammed.