Wednesday, March 26, 2008

gmail-notifier in ubuntu

For getting Thunderbird like mail-notification for gmail... in Ubuntu...

U can use checkgmail package for it...

For installation add these repos in the aptitude source list

$ gedit /etc/apt/sources.list

add the lines

deb http://asher256-repository.tuxfamily.org dapper main dupdate french
deb http://asher256-repository.tuxfamily.org ubuntu main dupdate french

now update the aptitude and install checkgmail

$ aptitude update
$ aptitude install checkgmail

we can invoke the application from command prompt..

$ checkgmail

If there is no luck with first command try this

$ checkgmail -no_cookies

(google has disabled cookies for security reasons it seems...I had to give the -no_cookies to work in my system)

Now you can fill in the account details and other option in the interface which comes up...


If there is a proxy you may need to set the https proxy also before running the command

export https_proxy = https://[proxyadress]:[port]

U might get a better explanation at

http://www.debianadmin.com/gmail-notifier-for-ubuntu.html





Wednesday, March 5, 2008

Setting proxy for shell environment through script

I was fed up of writing long commands for setting http_proxy.So thought putting it as a script and invoking it whenever needed.

This was the one and only line in the script
export http_proxy=http://[ip address]:[port no]

I tried to invoke the script as normal
sh proxy.sh

The scripts works fine but the proxy settings does'nt change.
After lot of googling I found that it will work if we invoke in some other way.

. proxy.sh
([space] [dot] proxy.sh)

It worked...
I don't know what does dot stands for.I don't know anything of shell scripting...But planning to learn it....Hope to reply this post later..