Posts

Showing posts from December, 2009

Startup error with Thunderbird 3.0

Updated to Thunderbird 3.0 released a month back from its beta version with lightning installed but was greeted with a 2 error messages. On starting the client. Error dialog: An error was encountered preparing the calendar located at moz-profile-calendar:// for use. It will not be available. The issue was locked under bugzilla at redhat, to be a schema issue with the database used for the calender which was to be updated. So finally followed the steps and the issue was solved, and the calender was back in action. 1. Closed Thunderbird. 2. Switched to the profile directory of thunderbird. # /home/sawrub/.thunderbird/*********.default 3. Located the directory holding the calender data. ll calendar-data/ 4. There was the local.sqlite file which actually is a SQLite database. 5. Enter the sqlite console, by executing the command an dwas greeted with the corresponding prompt as. [sawrub@mybox calendar-data]$ sqlite3 local.sqlite SQLite version 3.6.12 Enter ".help"...

Dock the Appications

Image
The day can be called successful one again as found a application that works with any kind of window managers having being tested with Gnome, KDE, XFCE as mentioned by the developer/s. So considered to give a try. 1. Installation was quick as its just a 95k package. # yum install -y kdocker.i586 2. Using it to Dock. The Docker application was found under Applications > Accessories > KDocker. Selecting the Docker turned my pointer into a kind of stock gun target. Decided to dock thunderbird, hence clicked the mouse on the application window, and it was done. 3. The icon looked a little bad but considering the work done can be acceptable.Here is the screen shot of how the docked thunderbird looked like. 4. Once docked the application can be undocked  by a single click on the docked icon of the application. 5. As seen in the above screen shot there is a terminal also docked along with the thunderbird. Great thanks to the development team.A small info about...

Bash Scripting Cookies

- Passing arguments to a Bash script. `basename $0` in the script will list the name of the script without the path. `dirname $0` in the script will list the absolute path of the script without the name. `$0` will list the full path 'URI' of the script. `$#` will list the count of the arguments passed to the script. `$*` will be listing all the arguments passed to the script. `$1` will be listing the first argument passed to the script. - If conditional statements Condition Meaning [ -a FILE ] True if FILE exists. [ -b FILE ] True if FILE exists and is a block-special file. [ -c FILE ] True if FILE exists and is a character-special file. [ -d FILE ] True if FILE exists and is a directory. [ -e FILE ] True if FILE exists. [ -f FILE ] True if FILE exists and is a regular file. [ -g FILE ] True if FILE exists and its SGID bit is set. [ -h FILE ] True if FILE exists and is a symbolic link. [ -k FILE ] True if FILE exists and its sticky bit is s...

Script to take backup of Mails

The script was written to take the backup of the mails on weekly bases using cron. The script use to kill Thunderbird in my case and then start taking the backup so that no new mail comes in while the backup is in progress, a kind of cold backup. #Script to take backup of Mails #!/bin/bash PID=`pidof thunderbird-bin` LOC="/home/sawrub/.thunderbird/8vqt6zno.default/Mail/" DAY=`date +%F` REPORT="/tmp/Mail_REPORT" echo -e "`date`: Starting Mail Backup" > ${REPORT} echo -e "`date`: Going to Kill Thunderbird, PID : ${PID}" >> ${REPORT} kill -9 $PID >> /dev/null echo -e "`date`: Thunderbird Killed Successfuly" >> ${REPORT} cd $LOC FILE="Mail_${DAY}.tar.bz2" echo -e "`date`: Backup Starts at `date +%R`" >> ${REPORT} echo -e "`date`: The backup will be saved as ${FILE}" >> ${REPORT} tar -cjpf /data/mails_backup/${FILE} * su - sawrub -c thunderbird echo -e "`d...

Google released Beta version of Chrome for Linux

Image
Google is out with its 'Beta' build of its browser for Linux , in just couple of weeks after the unstable build was made live for public. The Beta version of the browser like its Windows build is fast , secure , stable , simple , extensible , and embraces open standards like HTML5 . All of the user who have installed the unstable version will have to un-install the older unstable version and then install the new 'BETA' version available under the Linux repository from Google as mentioned in the earlier post. The process of installation is just the same, with minor changes. 1. Search for the available packages for Google Chrome [root@mybox ~]# yum search chrome Look in the search results for packages by name 'google-chrome', packages similar to following will be listed. google-chrome-beta.i386 : Google Chrome google-chrome-unstable.i386 : Google Chrome 3. Check if the unstable version is installed. [root@mybox ~]# yum list installed |grep google-chrome...

Google Public DNS.....step towards dictatorship

Google Public DNS is a free, global Domain Name System (DNS) resolution service, that you can use as an alternative to your current DNS provider. To try it out: Configure your network settings to use the IP addresses 8.8.8.8 and 8.8.4.4 as your DNS servers or Read our configuration instructions . If you decide to try Google Public DNS, your client programs will perform all DNS lookups using Google Public DNS. Source :http://code.google.com/speed/public-dns/ Try out OPEN DNS  [http://www.opendns.com/] http://blog.opendns.com/2009/12/03/opendns-google-dns/

The Gift from Traffic

Image

Today was the ....

Here is the latest a fully off topic thing....My farewell mail sent to the people i worked/ interacted at XXXXXX India [Mail] From : Saurabh Sharma Reply-to : sawrub@yahoo.co.in To : Bcc : Subject : Today was the .... Date : Fri, 04 Dec 2009 15:30:38 +0530 Hi All, By god's grace, your well wishes and efforts from my side, finally the day has come when I can subject a mail like this, and be in a situation to bid you all a special bye. And this is how I'll like to orate out the whole thing. - Today was the last morning when I had to get up early at 5:30 AM get ready and then run past the stray dogs barking at me for disturbing them at that hour, and also fearing a call from office that the cab has left from the pick-up point, though i had been a victim of the same a couple of times. - Today was the last morning when I was supposed to log-in to my Linux box and do some maths for getting the sum up at 8+ Hrs for the activities done yesterday and then stamp the same...