Fixing Checkgmail

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

Re: Fixing Checkgmail

Postby viking777 on Fri Feb 08, 2013 8:00 am

Well just over 2 weeks since the last time checkgmail broke and now it has happened again. Slightly different this time in that it still notifies new mails, but you can't do anything with them any more. All the features which make checkgmail the best mail notifier (when it works) are gone. Mark Read, Archive, Report Spam, Delete and the preview mode just hang indefinitely. I have redone all the things I mentioned in my own tutorial (and also the later fixes) and nothing makes any difference.

It makes you wonder if checkgmail is worth it any more :(

Edit. Some further investigation of this indicates that it is trying to view the message preview (by clicking the message title) that is freezing checkgmail. If I restart the app all other functions are available again, but if I try and view the preview again it just freezes and all the other functions fail. There are no error messages in the terminal, when I click on the title to view the preview it just says 'There is one new message', nothing more.
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Linux Mint is funded by ads and donations.
 

Re: Fixing Checkgmail

Postby justagirl20 on Sat Feb 09, 2013 9:44 am

justagirl20
Level 1
Level 1
 
Posts: 1
Joined: Fri Feb 08, 2013 10:49 am

Re: Fixing Checkgmail

Postby viking777 on Sat Feb 09, 2013 12:42 pm

justagirl20 wrote:There has been a bug opened on the checkgmail website:
http://sourceforge.net/tracker/?func=detail&aid=3603767&group_id=137480&atid=738663


Thanks for that andra, I hadn't seen it until now. At least I know it is not just me :)
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: Fixing Checkgmail

Postby viking777 on Mon Mar 11, 2013 11:40 am

andra, I just had a look at your proposed patch on sourceforge and for me it works. So first of all thanks a million for working that out, and second of all, I hope you won't mind me adding it to this topic as yet another checkgmail 'fix'.

So with all thanks due to andra as mentioned above, here is how you fix checkgmail this time around - don't ask me how long this one will last :(

Shut down checkgmail to start with then:

Code: Select all
sudo mv /usr/bin/checkgmail  /usr/bin/checkgmail.old


Just in case anything goes wrong. Then download this file: http://pastebin.com/DUDhfATJ. This will give you the file checkgmail_patched.txt in your Downloads folder.

In your terminal cd to the Downloads folder then run the following command:

Code: Select all
sudo mv checkgmail_patched.txt /usr/bin/checkgmail


Then make it executable:

Code: Select all
sudo chmod a+x /usr/bin/checkgmail


Restart checkgmail and it should work again.

One thing is on the horizon, at least for those of you who use Ubuntu as well as Mint and that is that in Raring checkgmail no longer appears in the Unity panel. I think the reason for this is quoted here:

An option allowing applications lacking App Indicator support to show in the system tray has been removed from Ubuntu 13.04.

Applications and services not using the feature were hidden by default in Ubuntu 11.04 – but could be manually re-enabled through a hidden settings option.

Now, in requesting the removal of this configurable ‘whitelist’ from the up-coming Ubuntu 13.04, Ubuntu’s Matthew Paul Thomas argues that developers have had enough time to adopt the App Indicator spec.


So obviously Matthew Paul Thomas doesn't use checkgmail or realise the speed of their responses :(

Hopefully it should still work in Mint though.
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: Fixing Checkgmail

Postby sevkoz on Thu Jul 18, 2013 10:17 am

Brilliant work, Viking777 and birchy. Checkgmail's performing flawlessly.
sevkoz
Level 1
Level 1
 
Posts: 1
Joined: Thu Jul 18, 2013 10:10 am

Re: Fixing Checkgmail

Postby alexboss on Mon Oct 28, 2013 5:52 pm

Thanks for the tips guys, it also fixed my checkgmail ! Now, it only remains the problem of transparency of the icons in the system tray... did someone manage to fix that by any chance ?

Best regards,

Alexboss 8)
alexboss
Level 1
Level 1
 
Posts: 11
Joined: Fri Jun 15, 2012 8:10 am

Re: Fixing Checkgmail

Postby alexboss on Thu Nov 14, 2013 4:33 pm

OK, as apparently it's complicated to handle the transparency of the tray icons, here is what I did:
  • Create 2 icons with gray background - let's say checkgmail-mail.png and checkgmail-nomail.png and place them in /usr/share/icons/Mint-X/apps/22/
  • Modify the preferences of checkgmail to use the custom icons created
  • Edit the script checkgmail (/usr/bin/checkgmail in my case)
  • Replace
    Code: Select all
    $tray_hbox->set_border_width(2);

    with
    Code: Select all
    $tray_hbox->set_border_width(0);
  • Restart checkgmail and voilà !

Please find attached the icons I created:
checkgmail-mail.png
checkgmail-mail.png (354 Bytes) Viewed 525 times

checkgmail-nomail.png
checkgmail-nomail.png (378 Bytes) Viewed 525 times


And a preview of the result:
checkgmail-trayicons-preview.png
checkgmail-trayicons-preview.png (4.32 KiB) Viewed 525 times


Best regards,

Alexandre 8)
alexboss
Level 1
Level 1
 
Posts: 11
Joined: Fri Jun 15, 2012 8:10 am

Re: Fixing Checkgmail

Postby cherry316316 on Fri Nov 22, 2013 5:14 pm

Ok, I am using Ubuntu 13.10
i updated perl and followed all the commands given in tutorial.
also downloaded the txt file from http://pastebin.com/DUDhfATJ.
and followed that. yet, i get the plain checkgmail, the kinda you get with no_cookies.
how can i enable cookies, to get the nice old checkgmail?

thanks
cherry316316
Level 1
Level 1
 
Posts: 1
Joined: Fri Nov 22, 2013 4:59 pm

Linux Mint is funded by ads and donations.
 
Previous

Return to Tutorials / Howtos

Who is online

Users browsing this forum: Jim Hauser and 6 guests