Archive for Applications

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!

Advertisements

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)