Play the latest release of SuperTux!

The SuperTux folks recently released version 0.3.0 of their game. If you’re not already familiar with SuperTux, it’s more orGames less a Linux-style Super Mario Brothers game, featuring Tux, the Linux mascot. The latest release features some new scenery and graphics, including some entirely new forested areas, as well as tougher — in my opinion — levels. On their site, the developers of SuperTux note that the latest release is more of a “tech-demo” than a fully-polished game, but I think they’re just being modest. In any case, SuperTux is a nice way to pass the time. If you’re looking for more nice ways to pass the time on your Linux machine, you may want to visit The Linux Game Tome and Free Gamer, two excellent sites devoted to free, or mostly free, software games.

Onward, then; let’s download the game
So, to download and install the latest version of SuperTux, you’ll need to add a new repository to your sources.list. To do this, open up a Terminal (Applications-> Accessories-> Terminal) and enter:

sudo gedit /etc/apt/sources.list

Add the following lines to your sources.list, and save the file:

# Latest SuperTux
deb http://debs.peadrop.com edgy backports

Then, in a Terminal, enter:

sudo apt-get update

Now you can simply open up Synaptic (System-> Administration-> Synaptic Package Manager), search for “supertux,” and install the package. After you’ve installed SuperTux, you’ll probably want to either remove or disable the new repository you added to your sources.list, as third-party repositories are — generally speaking — best used sparingly. To do this, open up the sources.list file, as you did earlier, and either completely remove, or comment out, the new lines. To comment out a line, place a “#” (without the quotes, of course) to the left of it (the “#” blocks out its corresponding line).

You should now find SuperTux in your Games menu (Applications-> Games-> SuperTux). Have fun!

SuperTux 0.3.0
SuperTux is one of the best free games out there!

Digg this!

Comments (9)

Down, but not out

To those of you who’ve visited this site, who’ve learned from it, made suggestions, and shared experiences — thank you. AndSite News to those of you who’ve wondered if I’ve abandoned this project: I haven’t, completely. This semester, I’ve been forced to set aside certain projects and activities, such as this blog, in order to maintain a somewhat reasonable balance of work and school. I haven’t even had time to upgrade to the Edgy Eft release of Ubuntu! I intend to continue working on Simply Ubuntu once the semester ends, although it appears I’ll be quite busy again next semester. In any case, I’d still like to help spread the word about free software in my own small way, and I’ll be around — doing just that — in the coming weeks, I hope.

Comments (2)

Maintenance

If you’ve used Windows for any period of time, you’re likely familiar with several maintenance “biggies”: virus and spywaretips_n_tricks scans, defragmenting, and freeing up space. When you first use a Linux distribution, you may wonder how to perform these maintenance tasks in your new operating system. Let’s take a look at these basic maintenance operations in Ubuntu.

Virus and spyware scans
Viruses and spyware are quite rare in Linux. In fact, they’re so rare that many users don’t even bother to run an antivirus program, and I’ve yet to encounter an antispyware program for Linux. However, viruses are a point of contention in the Linux community; some believe that one can never be safe enough when dealing with viruses, and others figure that the risk is, more or less, negligible. That said, the choice to run an antivirus program, such as the popular ClamAV, is entirely up to you and how much risk you’re willing to take. The risk is small, but present. ClamAV can be installed from the Synaptic Package Manager.

A firewall is always a good idea, and Firestarter — which also can be installed from the Synaptic Package Manager — does the job well.

Defragmenting
If you’re using Ubuntu, your days of defragmenting are over. Ubuntu uses a different filesystem (ext3 by default) than Windows — one that doesn’t really need to be defragmented.

Freeing up space
You can do several things to free up space in Ubuntu. Perhaps most obviously, you can uninstall programs in much the same way you installed them. Just open up the Synaptic Package Manager, search for the file you’d like to remove, click on the box next to it, then choose “Mark for Complete Removal”, and apply the changes. Of course, you’ll want to be careful, as another program may rely on your deletion candidate to function properly.

If you’d like to see a visual representation of your hard disk usage, you can download and install Filelight from the Synaptic Package Manager.

filelight

Fig. 1: Filelight in action

If you’ve installed a lot of programs from Synaptic, you may want to get rid of their installation packages. To delete the installation packages, or .debs, open up a Terminal (Applications->Accessories->Terminal) and enter the following:

sudo rm -f /var/cache/apt/archives/*.deb

And finally, if you’re really itching for more space you can visit this handy post in the Ubuntu Forums, which documents how to free up a few more megabytes (or hey, maybe more). Please do take into consideration the disclaimer given by the author of the post, however. Removing things can, and sometimes does, cause problems — particularly if you aren’t quite sure what you’re doing.

Oh, and this doesn’t exactly relate to freeing up space, but Ubuntu will automatically check your disk for errors after 30 boots, which largely negates the need for you to remember to do it yourself!

Digg this!

Comments (4)

Ubupod

Today I got my hands on an iPod, and, naturally, I had to see how it worked with Ubuntu. First, of course, I had to see ifmedia it worked at all with Ubuntu; it did — and well, I might add.

As soon as I plugged the iPod into my laptop, Amarok started up. At this point, the battle was half-done. By the way, if you’re in the market for an amazing music player, Amarok may be what you’re looking for. To get the latest version, just add

# Latest Amarok
deb http://kubuntu.org/packages/amarok-latest dapper main

to your sources.list (sources.list primer), then load up Synaptic and install Amarok (Synaptic instructions).

To access the files in the iPod from Amarok, simply go to Settings–>Configure Amarok, then click on ‘Media Devices’. From there, click on ‘Add Device’, like so:

amarokdevice

choose “Apple iPod Media Device” for the plugin, enter the name of the iPod, click ‘Okay’, then apply the changes. You should now have a new “Media Devices” tab at the bottom left of Amarok, which, when clicked, displays the contents of your iPod!

amarokipod

You can easily add files from your collection to your iPod by right-clicking on the directory or files you’d like under the “Collection” tab, then “Transfer to Media Device”. Under the “Media Device” tab, you should then see a Transfer Queue. Right click on a track in the queue to start the transfer, or to cancel the transfer.

Similarly, to add files from your iPod to your collection, simply right-click on the files you would like, and select “Copy Files to Collection”. When you’re finished using your iPod, right-click on its icon on the Desktop, and select ‘Eject’.

Note: If your iPod is formatted for Mac — that is, it’s HFS+, and you receive an error message about a failure to create a lockfile and read-only permissions, you’ll probably need to boot into a Mac and turn off journalling on your iPod via the disk utility in order to use your iPod with Amarok (thanks, James!).

Nice and easy! Also, the Cowon iAudio X5 (which I use) works just as well as the iPod in Ubuntu; the Nautilus file browser pops up when you plug it in, and from there you can add and remove files as you please.

Digg this!

Comments (22)

A beginner’s guide to installing programs in Ubuntu

Installing applications, games, and such in Ubuntu is usually quite easy, thanks to thetips_n_tricks Synaptic Package Manager. However, if you’re using Ubuntu (and Linux) for the first time, you may find the typical installation procedure somewhat confusing, if you can even figure out what you need to do in the first place. This guide will help you learn how to use Synaptic and install programs.

Here’s how it works
First, you’ll probably want to ensure that you’ve enabled the Universe and Multiverse repositories in your sources.list. If you don’t know how to enable repositories, you can go here to learn.

After you’ve ensured that you have the Universe and Multiverse repositories enabled, go to System->Administration->Synaptic Package Manager. Enter your password, if asked, and you should then find yourself staring at Synaptic, like this:

synaptic

If you just altered your sources.list, click on ‘Reload’ at the top left of the screen to sync your repositories with the Package Manager. With Synaptic, you have thousands of free online software packages at your fingertips. For our example, we’ll say that you just visited the Linux Game Tome, browsed for a good new game, and you decided to install Globulation 2 because of its positive reviews.

To install the game, you will first click ‘Search’ at the top of the Package Manager. Because package names don’t necessarily match with program names, your best bet is usually to try a “Description and Name” search. So enter “Globulation 2″ in the search field.

glob2search

In this case, the package is named “glob2,” and you should see it appear in the upper right-hand portion of Synaptic. To install it, click the box next to the package name, then “Mark for Installation.”

globgrab.jpg

To finalize the installation, click ‘Apply’ at the top of the Package Manager, then kick back and relax while Synaptic takes care of everything for you; it will install and configure the program, and if you’re lucky, it will also create an entry for you in your menu.

Hey, I installed something, but I can’t find it!
Globulation 2, as it turns out, does show up in your Games menu after you install (Applications->Games->Globulation 2). In most cases, packages will take care of creating menu entries for themselves. However, if a program doesn’t show up on its own, you can create a menu entry for it without much hassle.

So, if it doesn’t show up, here’s what you need to do: Go to Applications->Accessories->Alacarte Menu Editor. On the left side of Alacarte, click on the category in which you’d like to see your program. Then go to File->New Entry. Enter the program name (this name will show in your menu), a comment (this will appear when you hold your mouse over the new entry), and the command needed to start the program. The Globulation 2 entry looks like this:

alacarte

The command is almost always the program name. You can test a command by entering it in the Terminal. In our example, we see that glob2, which was the package name, is the appropriate command. Finally, if you’d like an icon for your new menu entry, just click on ‘No Icon’ in Alacarte and select an icon from the available options. If you really want to be neurotic, you can hunt down a small icon for the program on the internet, or create your own, and save it to usr/share/pixmaps.

Digg this!

Comments (23)

10 tips for the Ubuntu newcomer

tips_n_tricksYour initial first few days or weeks with a new operating system can be a somewhat frustrating experience, and Ubuntu is no different in this respect. The following list should help to relieve some of the frustration that accompanies the transition to Ubuntu. This list is by no means exhaustive, but it does answer several commonly asked questions by newcomers to Ubuntu who have no prior Linux experience.

1. What is the Terminal (or command line), and where is it located?
The Terminal allows you to perform various tasks from a command line. It is an incredibly powerful — and as a consequence, potentially dangerous — tool that enables you to quickly and effectively execute commands. Because users can simply copy and paste text into the Terminal, it is often the preferred method of problem resolution in online help forums or guides.

You can access the Terminal by clicking on ‘Applications’ at the top left of the screen, then holding your cursor over ‘Accessories’, then clicking on ‘Terminal’. You want to be careful when using the terminal, as even an extra space, or the wrong letter, can cause serious damage. In other words, accuracy is very important here!

2. How do I install files?
You may have heard horror stories about installing programs in Linux; worrisome tales of compiling from source, or even worse — dependency hell. Well, you can rest at ease, because Ubuntu utilizes a really neat one-stop source for nearly all of your installation/uninstallation needs: the Synaptic Package Manager. Synaptic manages dependencies for you, so you don’t have to hunt down various libraries to make programs run.

Here’s how it works. Click on ‘System’ at the top of the screen, hold your cursor over ‘Administration’, then click on ‘Synaptic Package Manager’. You’ll be asked for your password (the one you created when you installed Ubuntu), then you’ll be greeted by the package manager. It may look somewhat intimidating at first, but it’s really quite simple to use. To install a specific package, you can click the ‘Search’ button at the top of Synaptic, then enter the package name. If the package is available, it will appear in the upper right segment of the package manager. Just click on the box next to the package name, select ‘Mark for Installation’, then click apply and follow any prompts; Synaptic will take care of the rest. Simple. To uninstall a program that you installed through Synaptic, you can follow the same steps, but instead of selecting ‘Mark for Installation’, you would select ‘Mark for Removal’, or ‘Mark for Complete Removal’ if you want to remove all of the configuration files.

3. How do I enable Universe and Multiverse repositories?
To enable Universe and Multiverse repositories, type the following into the command line, then press enter:

sudo gedit /etc/apt/sources.list

After you enter your password, Gedit, a text editor, will pop up with your sources.list file, which contains a list of all of your software repositories. Repositories determine what software will be available to you through the Synaptic Package Manager. Ubuntu, by default, enables only its own repositories, which protects you from potential problems. However, if you want to be able to listen to mp3 files, watch DVDs, or have access to more applications and games, you’ll want to enable the Universe and Multiverse repositories. If you really want to live on the wild side you can add other repositories, such as PLF.

Before you edit the file, make a backup by saving it with a different name, like sources.list.backup, into your Home directory. Then, to enable Universe and Multiverse repositories, just “uncomment” (remove the # marks from) the lines of your current sources.list file that include Universe and Multiverse, and save. Then, to sync your sources with Synaptic, enter the following into the Terminal:

sudo apt-get update

Source-o-matic can tailor a sources.list for your specific needs, if you like. Once it has generated a list for you, back up your old sources.list by saving it with a different name in your Home directory, then replace the text in your current sources.list with the text generated by Source-o-matic and save. If you really hate the command line, you can go to System->Administration->Synaptic Package Manager, then press the ‘Reload’ button at the top left, instead of typing sudo apt-get update to refresh your sources.

4. Why am I being asked for my root password?
Your root password is your user password, the one you created when you installed Ubuntu. The system asks you for your root password when you’re about to go into potentially perilous territory; that is, when you could potentially screw up something. As such, it does several good things. Most notably, perhaps, it helps to prevent unwanted tampering with important system files, and it also reminds you to be careful.

5. How do I close a crashed application?
First, you access the Terminal, as was mentioned in in step 1, above. Then enter the following text into it:

xkill

Your cursor will then turn into a skull and crossbones, which, when clicked on an application, will close it instantly. If you decide you don’t want to kill the application, just right-click to get rid of the skull and crossbones.

6. Where is C:?
If you’ve been using Windows, you probably know that it uses a hierarchical file structure, and that C: is where it all starts. Like Windows, Linux uses a hierarchical file structure, only where you would normally see ‘C:’, you’ll instead see ‘/’. Slashes in Linux always go forward (/), whereas in Windows they go backward (\).

7. How can I get Ubuntu to play my mp3 files and DVDs?
DVD playback in Linux may be illegal in your country. However, if you don’t live one of the affected countries, you can go here, to the Ubuntu Documentation page on restricted formats, to learn how to enable playback of restricted formats. The linked page also explains why Ubuntu doesn’t automatically enable playback of such formats.

8. Where is the ‘My Documents’ directory?
If you’ve been using Windows, you’re probably familiar with, and anticipating, the ‘My Documents’ directory. In Ubuntu, ‘Home’ functions as the ‘My Documents’ directory, more or less. This is where you’ll save most of your work, and you’re free to create whatever directories you’d like within it. Your Home directory can be found by clicking on ‘Places’ in the top panel, then ‘Home Folder’.

9. How do I put the Trash bin onto my desktop?
The Trash bin is, by default, located in the lower right portion of the bottom panel. Many users prefer a larger Trash bin located on the desktop itself. In order to make the Trash bin visible on the desktop, open up the Terminal, then enter the following:

gconf-editor

The Configuration Editor will then open. On the left, navigate to apps->nautilus->desktop. Then click on the empty box to the right of ‘trash_icon_visible’. While you’re there, feel free to add other icons to your desktop, such as your Home directory.

10. How can I access my Windows partition from Ubuntu?
Since you now know how to use the Terminal, you can follow these simple instructions at the Unofficial Ubuntu 6.06 Guide to access your Windows partition from Ubuntu. If your Windows file system is NTFS (and it probably is) then you’ll only be able to read files from it, although you can always copy files from your Windows partition into your Ubuntu partition, and then modify them.

Digg this!

Comments (37)

Easing into Ubuntu, part 2

tips_n_tricksLast time, we examined the first few baby steps toward using Ubuntu. This time, we’ll go all the way up to the installation process!

So here you are, well-read on the topic of Ubuntu installations and Ubuntu experiences, in general. You’ve tried out the live CD (it worked, right?), and you’ve verified that your hardware will work with Ubuntu. You’re fairly confident that installation won’t throw you a curve-ball, or maybe not. But if you’ve made it this far and you’re still reading, then you probably want to carry on, right?

Right. Where shall we go next, then?
Well, you’ll probably want to decide whether or not you want to dual boot. Dual booting enables you to have two operating systems on one hard drive, or one computer. If you dual boot Ubuntu and another OS, such as Windows, you’ll be greeted by the GRUB boot loader when you turn on your computer. You may then choose which operating system to boot into by pressing up or down on your arrow keys.

If you do want to dual boot, you’ll have to partition your hard drive. Partitioning can either be done from within Windows with proprietary software such as Acronis Disk Director, or you can simply do the partitioning when you install, without paying $50. Again, you’ll want to read up on partitioning. Many people offer Ubuntu dual boot installation tutorials with photographs, so you can follow along if you printed the instructions out before you embarked on your installation journey, or if you have another computer nearby.

But wait a minute! Don’t start installing Ubuntu just yet; you need to take care of a few things first:

  • Make sure you have several free gigabytes of space on your hard drive–somewhere around 10 GB or more. You can’t install an operating system if you don’t have enough space!
  • Defragment your hard drive. You may need to defragment a few times, as the first time doesn’t always do the trick.
  • Backup, backup, backup! Make sure your life won’t be ruined if something goes wrong with installation.
  • Ideally, you’ll have your installation CD for your non-Ubuntu OS. It’s a good idea to be sure you can recreate your old system setup. Remember, there’s no guarantee that something won’t go wrong.

Installation
You’re probably ready to install, at this point. If you want to wipe out your old OS and just install Ubuntu, then the process should be a piece of cake, although you may still run into problems. See how easy it is here. However, if you want to dual boot, make sure you know what you’re doing. People tend to make the most mistakes when they partition their hard disks, and you don’t want to be another horror story! This guide, written by Aysiu, a self-described “regular on the Ubuntu forums,” is excellent for dual booting, and comes complete with photographs. Don’t forget to back up any important files, and good luck!

Digg this!

Leave a Comment

Older Posts »
Follow

Get every new post delivered to your Inbox.