Saturday, September 18, 2010

How to run custom scripts at Linux startup?

It is a good idea to make your own scripts at the Linux start up. Here I am explaining the things with a simple example. I want to make a directory in desktop named 'folder' in each start up. If it is deleted, a new 'folder' is created in the same place in the next start up. Here is what I did.
first make a new script- here 'my_own_script'. Open the file in gedit and add the following:
#! /bin/bash
# chkconfig: 345 40 60
mkdir /home/tom/Desktop/folder
You need to change to the correct path in 3rd line. Here 345 means different run levels and 40 and 60 are the order for start and stop. save the file in /etc/init.d .
Then open terminal and execute this command:
chkconfig --level 345 my_own_script on
Then restart you computer and you can see a directory named 'folder' on your desktop in each start up. For more details, use:
man chkconfig
The mkdir command can be replaced by your own custom scripts. This worked on my PC powered with fedora 12. I found in linux forums that, it will work on Redhat/CentOS/Mandriva.
Start up programs are sometimes irritating and delay start up. So if you want to turn off your script from next start up, use command:
chkconfig --level 345 my_own_script off

Thursday, September 9, 2010

Indian languages support and software tools

Indian Govt. have an official website for Indian language support. You can download language support and software tools from this website or order for a free CD. The major tools are:
  1. True type fonts with keyboard driver
  2. Multifont keyborad engine for the true type fonts
  3. Unicode complient fonts
  4. BHARATEEYA Open Source
  5. Language OCR
  6. Language spell checker
  7. Bilingual dictionary
  8. Font design tool
  9. Transliteration tool
  10. Language text editor
  11. Tutor package
  12. Text to speech system
  13. Database sorting tool
  14. Number to word tool
  15. Typing tutor
  16. Language suppoted microsoft excel
  17. Type assistant
The CD is released by Ministry of Communications and Information Technology, Government of India. Contibuters are, C-DAC, Cyber space multimedia Ltd.,C K Technologies, Cadgraf Digitals System Ltd., Cyber Thomson, IMRC.
Click here to visit Technology Development for Indian Languages(TDIL).