Posts

Showing posts from 2011

Rename Your Ubuntu Linux username

Consider the renaming the ubuntu linux user name there is no obvious method to do that. General solution for this add new user using new user name and delete the old user account. But imagine your current account can not be changed due to your data and other customized stuff. Then you have to think another way. That's the real life. I have primary method for that. you can edit some file rename that. First you have to login root or other account. This can not be done in same account. Then you have to edit /etc/passwd, /etc/group, /etc/shadow files. you can do that using following, # sed -i 's/oldname/newname/g' /etc/passwd # sed -i 's/oldname/newname/g' /etc/group # sed -i 's/oldname/newname/g' /etc/shadow Then simply rename the folder in side the HOME folder to your new user name /home/oldname => /home/newname Then relogin.. If you want to rename your Host Name then you must edit /etc/hostname file. Then relogin... Arosha Uduwerella.

How to Install Sinhala Unicode for Ubuntu Linux

Before activate Unicode You have to remove SCIM. You can't use iBus with SCIM installed on your computer. sudo apt-get remove scim For configuring the iBus Go to System -> Preferences -> IBus Preferences and open "IBus Preferences" dialog box. Select "Input Method" tab and Choose a suitable keyboard layout under Sinhala. Then goto home directory(~) and open .bashrc file add following code to end of the file and save. export GTK_IM_MODULE=ibus export XMODIFIERS=@im=ibus export QT_IM_MODULE=ibus To add iBus as startup application System -> Preferences -> Startup Applications and open Startup Applications dialog box and click add and enter enter enter "IBus" in "Name" text box, "ibus-daemon" in "Command" text box. For setting up fonts Go to /usr/share/fonts/truetype as root and delete "freefonts" directory. Install new Sinhala Unicode font and update Ubuntu