Must-have tools for the Linux laptop

Linux Takeout

Article from Issue 91/2008
Author(s):

Pack your Linux laptop with the right set of tools. We take a closer look at Adblock Plus, woof, Conky, TrueCrypt, rsync, and Grsync.

When you are out and about, the right set of tools on your laptop can make a huge difference. That's why stocking your laptop with useful utilities and applications is as important as remembering to pack an extra pair of socks and a toothbrush. In this article, I will suggest some useful tools to pack when traveling with your Linux laptop.

Adblock Plus

When you are on the move, you are often limited to a relatively slow and expensive modem or GPRS Internet connection. Even if you are lucky enough to have a faster 3G plan, the bandwidth costs still remain a major issue. Although you can reduce the amount of data you shift through your connection link several ways, perhaps none of them are as effective as the Adblock Plus extension for Firefox [1]. This nifty tool scrubs the websites you visit for advertisements. By removing ads, Adblock Plus makes more space for the page content, which can be extremely helpful if you are using a laptop with a smaller screen, such as Asus Eee PC. This tool also makes the pages load faster, which is a boon if you are using a slow connection. More importantly, by cutting ads off, Adblock Plus significantly reduces the amount of data transferred.

To weed out ads, Adblock Plus uses a constantly updated filter list that you subscribe to when you install the extension. If, for some reason, Adblock Plus fails to remove an ad on a page, you have two options: You can click on the Block tab next to the ad to remove it and add a new filter to the filter list, or you can write a custom filter. To write a custom filter, see the directions on the Adblock Plus website [2].

Woof

Imagine you are at a conference and need to send another user a file from your Eee PC. Suddenly, you realize that you left your USB stick at the hotel, and your laptop has neither an infrared port nor Bluetooth. What do you do? You resort to woof [3], a Python script that uses a tiny built-in server to serve a single file. To use woof, make sure that Python is installed on your machine. Then download the script, make it executable with chmod +x woof, and you are ready to go. To share a file with woof, use

woof -i [ipaddress] -p [port] [file]

where ipaddress refers to the IP address of your laptop, and port specifies the port though which woof serves the file. Therefore, the actual woof command might be:

woof -i 192.168.0.5 -p 8888 loremipsum.txt

When you run the command, the recipient can download the file by simply pointing the browser to the specified IP address (in this case, http://192.168.0.5:888). Once the file is downloaded, the woof server quits.

If you need to share a file with several users, you can use the -c option, which specifies how many times a particular file can be downloaded. For example, if you want to share the file with three users, you can use the command:

woof -i 192.168.0.5 -p 8888 -c 3 loremipsum.txt

With woof, you can also share a directory. To do this, specify the folder you want to share followed by a slash:

woof -i 192.168.0.5 -p 8888 my_documents/

To speed up the transfer, woof creates a .tar archive of the directory and compresses it with gzip, so the recipient receives it as a my_documents.tar.gz file.

Conky

Although the Conky [4] system monitor tool isn't designed exclusively for laptops, it can provide you with vital information about your machine, including CPU load, RAM usage, battery level, wireless connection quality, and much more. To configure Conky, you have to write a .conkyrc file containing all the configuration settings. Although it is not possible to cover all Conky's configuration options in this discussion, you can study a sample .conkyrc file in Listing 1, which you can use as-is or tweak to your liking.

Listing 1

Sample Configuration File

 

Using the sample configuration file, you can monitor the laptop's most important parameters, such as CPU usage (cpu and cpugraph variables), processor temperature (acpitemp), and battery status (battery), as well as various aspects of the wireless connection (linkstatus, downspeedgraph, and totaldown). The addr variable can be particularly useful if you are using woof to share files because it displays your laptop's IP address. The totaldown and totalup variables can also come in rather handy because they allow you to monitor the total amount of traffic going through a specified network interface.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • TruPax 9

    The TruPax tool specializes in encrypting small datasets to safeguard your data from prying eyes.

  • VeraCrypt

    Protect your data and operating system from prying eyes with VeraCrypt.

  • Disk Encryption

    Encrypted volumes have long since ceased to be an exception or luxury. Corporate policies and compliance rules often demand encryption for critical data. This article looks at tools for disk encryption on Linux.

  • Encrypting Block Devices

    The recent revelations about NSA spying have sparked renewed interest in data encryption. Encrypting at the file level is quick and easy, but if you're looking for an extra dose of protection, try encrypting the whole block device.

  • Privacy Tools

    Maybe you can't stop the NSA, but you can still take meaningful steps to protect your privacy.

comments powered by Disqus