Must-have tools for the Linux laptop
Linux Takeout
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
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.