Linux man pages are an integral part of Linux folklore. Even seasoned users have to refer to man pages every once in a while. Wouldn't it be much more fun if man pages were a little colorful? If you run a graphical X desktop, it isn't much trouble to add some color to the otherwise very technical and curt manuals. Simply copy the contents of the file called XTerm in the app-defaults directory to your .Xdefaults file. The following replaces the .Xdefaults file entirely:
$ cp /usr/share/X11/app-defaults/XTerm ~/.Xdefaults
Edit the file and uncomment these lines (or create them if they aren't in your particular file). Change the colors from yellow and red to your favorite colors if yellow and red do not suit you:
*VT100*colorULMode: on *VT100*colorUL: yellow !*VT100*italicULMode: on *VT100*underLine: off ! Uncomment this to use color for the bold attribute *VT100*colorBDMode: on *VT100*colorBD: red
Enjoy the colorful man pages!
Firefox is a great browser, but you already knew that, right? Firefox's keywords facility can be used for a neat search trick. It is best used for a directed search engine that digs specific data—for example, a Bugzilla search, IMDb search, LXR search or Marcel/wine search (www.wine-searcher.com), and so on. Here are the steps:
Go to a site that offers a simple search facility (for example, IMDb, LXR or your local Bugzilla).
Place the cursor within the search box.
Right-click, and select Add a Keyword for this Search.
Give your new search shortcut a name.
Give your new search shortcut a short keyword (for example, I use bz for my Bugzilla search and lxr for LXR).
To try out your new keyword search shortcut, open a new tab (Ctrl-T), place the cursor at the location bar (Ctrl-L), type your keyword followed by the search term(s)—for example, assuming you added keyword bz for the search at bugzilla.mozilla.org, then typing bz 95849 in the location bar will show you this: https://bugzilla.mozilla.org/show_bug.cgi?id=95849.
This is an ideal way to use a search engine that digs through some specific data.
You can create a neat logo from the Linux command line:
$ convert -size 800x120 xc:white -font Times-Roman -pointsize 100 -fill gray -annotate +20+80 'Linux is cool!' -fill black -annotate +23+83 'Linux is cool!' -trim +repage logo.png
And, the following command should display the result:
$ qiv logo.png
If you want to play with multiple colors and fonts, the following will help:
$ convert -list type $ convert -list color
Say you have two PCM audio files in WAV format. You can concatenate them with the following command (they must both have the same sample rates, encoding, endianness and so on):
$ sox file1.wav file2.wav combined.wav
If you want to mix two audio tracks, try this:
$ soxmix file1.wav file2.wav mix.wav
Linux Journal pays $100 for tech tips we publish. Send tips and your contact information to firstname.lastname@example.org.
Fast/Flexible Linux OS Recovery
On Demand Now
In this live one-hour webinar, learn how to enhance your existing backup strategies for complete disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible full-system recovery solution for UNIX and Linux systems.
Join Linux Journal's Shawn Powers and David Huffman, President/CEO, Storix, Inc.
Free to Linux Journal readers.Register Now!
|CentOS 6.8 Released||May 27, 2016|
|Secure Desktops with Qubes: Introduction||May 27, 2016|
|Chris Birchall's Re-Engineering Legacy Software (Manning Publications)||May 26, 2016|
|ServersCheck's Thermal Imaging Camera Sensor||May 25, 2016|
|Petros Koutoupis' RapidDisk||May 24, 2016|
|The Italian Army Switches to LibreOffice||May 23, 2016|
- Secure Desktops with Qubes: Introduction
- Download "Linux Management with Red Hat Satellite: Measuring Business Impact and ROI"
- CentOS 6.8 Released
- Linux Mint 18
- The Italian Army Switches to LibreOffice
- Chris Birchall's Re-Engineering Legacy Software (Manning Publications)
- ServersCheck's Thermal Imaging Camera Sensor
- Petros Koutoupis' RapidDisk
- Oracle vs. Google: Round 2
- The FBI and the Mozilla Foundation Lock Horns over Known Security Hole
Until recently, IBM’s Power Platform was looked upon as being the system that hosted IBM’s flavor of UNIX and proprietary operating system called IBM i. These servers often are found in medium-size businesses running ERP, CRM and financials for on-premise customers. By enabling the Power platform to run the Linux OS, IBM now has positioned Power to be the platform of choice for those already running Linux that are facing scalability issues, especially customers looking at analytics, big data or cloud computing.
￼Running Linux on IBM’s Power hardware offers some obvious benefits, including improved processing speed and memory bandwidth, inherent security, and simpler deployment and management. But if you look beyond the impressive architecture, you’ll also find an open ecosystem that has given rise to a strong, innovative community, as well as an inventory of system and network management applications that really help leverage the benefits offered by running Linux on Power.Get the Guide