Thursday, April 30, 2009

Reference: TuxRadar


Linux fans, check out TuxRadar. It's a definitive source for everything Linux. Here are some of my favorite posts.

How to fix the most common Linux problems
The pain-free guide to switching distros
How to choose the best Linux distro for you

There's a lot more!

Saturday, April 11, 2009

Parental Controls in Ubuntu


If you're like me who shares the Internet connection with a six year old boy, you would want to install Parental Control tools to filter unwanted content.

There are several solutions that will work with Linux including browser-based filtering through Firefox extensions, DNS-based filtering using OpenDNS' free service, or a set of free applications configured to work specifically for web content filtering.

I prefer to install web content filtering tools on my computer because it provides the greatest control and flexibility. In Ubuntu, the following applications can be configured for content filtering:
Individual installation and configuration of these tools can be quite challenging to an average user like me. Good thing there's a project called WebContentControl, a GUI for Parental Control. This tool pre-packages and pre-configures the applications listed above, and presents the options to the user in an intuitive interface.

Here is the step-by-step installation I performed:

(1) Make sure that the 'universe' repository is enabled. Go to System >> Administration >> Software Sources. In the 'Ubuntu Software' tab, make sure that the second tick box is checked.


(2) In the 'Third-Party Software' tab, click the Add button and add the following repositories:

deb http://ppa.launchpad.net/zohn-joidberg/ubuntu intrepid main
deb-src http://ppa.launchpad.net/zohn-joidberg/ubuntu intrepid main


(3) Install WebContentControl. Go to System >> Administration >> Synaptic Package Manager. Click the 'Search' button and look for WebContentControl. Select the package in the right window pane and go to menu Package >> Mark for Installation. Hit the 'Apply' button.


(4) You will notice that the package manager automatically selects and installs related applications. Once installed, you can run WebContentControl in Applications >> System Tools >> Web Content Control.


(5) Test your installation. You should get something similar to the following.


You can check http://ubuntuforums.org/showthread.php?t=843510 for more information.

Saturday, April 4, 2009

Custom Keyboard Shortcuts in Ubuntu


Ubuntu provides a way to configure keyboard shortcuts through the System >> Preferences >> Keyboard Shortcuts menu. This tool however, is limited to pre-defined actions as listed in the Keyboard Shortcuts window.


You cannot use the Keyboard Shortcuts tool to assign shortcut keys to your own applications, custom scripts or even run standard applications with custom parameters.

The following are steps to configure custom keyboard shortcuts:

(1) Open a terminal and run gconf-editor.

gconf-editor

(2) Expand the tree on the left pane and locate /apps/metacity/keybinding_commands.

(3) On the right pane, select an unused name-value pair, or you may opt to create your own. The screenshot shows 'command_1' was used and the custom command is to launch terminal with 120 columns and 36 rows.


(4) Back to the left pane, locate and select /apps/metacity/global_keybindings. This is right above the previous selection.

(5) On the right pane, locate the run_name corresponding to what you configured in #3 above, i.e. 'run_command_1'. The screenshot below indicates the assignment of key Control-Alt-T.


(6) Close gconf-editor and test your custom keyboard shortcut.