Write Bangla (বাংলা) on your Ubuntu

Check out this site: http://omi.net.bd/?cat=103 to enable bangla keyboard layout (unijoy) on your Ubuntu installation. It has very detailed step to have you start typing bangla in any linux application.

Enabling root account in Ubuntu

Though Ubuntu demotes enabling the root account, you may need to activate it for some advanced configurations like modifying the running kernel. You cannot do all stuffs with sudo command. So here is my little note for activating / deactivating the root account in Ubuntu

sudo passwd root
This will ask for a new root password and once you confirm it, you can start using the root account to login.

In case you will want to disable back the root account, just lock the root account by running:
sudo passwd -l root

How to create a custom keyboard shortcut in Ubuntu (Gnome)

The goal of this HOWTO is to create a custom keyboard shortcut to run a software (like xmms, 3ddesk, …) or what you want (xkill, transset 0.5, …). In the example I want to start xkill (graphical kill) using “Alt + a” shortcut.

1- Open GConf editor, go to apps -> metacity -> keybinding_commands, and now choose a command, for my example I choose command_1. Edit command_1 writing xkill in order to run xkill (or every command you want to launch).

2- In the same direcrtory go to global_keybindings. Edit command_1 (or the command you choose in part 1) with the wanted shortcut like that : <Alt>a.

3- If you want to use the “Windows Key” for your shortcuts then you can use shortcuts like this: <Mod>t (which I use to fire up terminal).

that’s all !

Enjoy

Source: http://ubuntuforums.org/showthread.php?t=42404

Enabling SSH authorization so that you don’t need to type in password every time

It is quite annoying if you need to ssh to a box very frequently and you need to put in the password every single time. To solve that you can use the following procedure:

Let’s assume you want to ssh from #1 box to #2 box and don’t want to type in your password for #2 every time.

1. First create your public key using “ssh-keygen -t dsa” command
2. This will create two files, namely id_dsa and id_dsa.pub under $home/.ssh directory.
3. Then copy (scp) your id_dsa.pub file to #2 box.
4. Now login to #2 and copy the contents of id_dsa.pub to .ssh/authorized_keys file. You can use this command: cat id_dsa.pub > authorized_keys.

That’s all!

GWT hosted browser problem in Debian etch

Just installed Debian 4.0 (etch) on my laptop (clean net install) and fixed all my development environment there. But surprisingly I found that none of the gwt sample application, and my gwt applications were running on the bundled hosted browser provided with GWT.  I was getting an error relating to: java.lang.UnsatisfiedLinkError .

The following two commands solved the problem. May be helpful for someone else searching for solution.

apt-get install libstdc++5

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/gwt-linux-1.3.3/mozilla-1.7.12