*******Edit2. Fix now available for this error. See post by birchy below********
I don't read of many people complaining about this recently which might mean that I am the only one with the problem, or the only one not to have found a solution till now. I thought I would post it anyway, because the solutions are out there, but they seem to be all over the place, this at least puts them into one topic.
First of all you may as well update checkgmail:
Code: Select all
checkgmail --update
Now go here http://sourceforge.net/tracker/index.ph ... tid=738663 and download 'checkgmail.patch' (if you haven't got it already). Save it somewhere safe and never delete it you will need it again in the future I guarantee. (This nonsense has been going on for years, why the developers can't just incorporate the patch I don't know? ). Anyway now apply the patch (assuming you have saved it in Downloads the code is):
Code: Select all
sudo patch /usr/bin/checkgmail /home/yourusername/Downloads/checkgmail.patch
That will make checkgmail stop constantly asking you for your username and password. That part of the fix has been widely known for ages, the next part not so much.
The problem with checkgmail now is that it will never work in 'preview' mode, ie it will let you read a few words of the message but no more, now we want to correct this problem. This is the solution.
First run the command:
Code: Select all
sudo apt-get install libsexy2 libsexy-dev
Code: Select all
sudo perl -MCPAN -e ‘install Gtk2::Sexy’
I also ran:
Code: Select all
sudo perl -MCPAN -e ‘install Crypt::Simple’
Finally you can start checkgmail and it should work properly, it did for me anyway.
Checked on LM14 Cinnamon and Ubuntu 12.10 Unity.
It is a ridiculous performance to have to go through to get a simple mail checker working properly, but that is what I had to do anyway.