Recently
, support for the IMAP protocol has been
added to GMail, which allows third-party mail programs to work with this powerful mail service. And Google, in a friendly way, shared instructions on how to set up IMAP in various email clients, but forgot about one - KMail. This is a mail client program that is part of a KDE project and is often used with other KDE programs in Kontact’s smart personal information manager. Google also forgot to mention that some of their services, like Google Calendar and Google Reader, can now also work with Kontact.
Here is how you can customize them.
Mail: KMail and GMail
Let's start with KMail. Open
Settings -> Configure KMail ... , select the
Accounts tab on the left, on the right, on the
Receive tab, click
Add ... to create an incoming mail account. Select IMAP as account type. Enter some name for this account (I wrote “GMail”), imap.gmail.com as the address of the
outgoing Mail Server , port number - 993, your gmail address as the
Account name (for example, johnsmith@gmail.com ) and your password. Switch to the
Security tab and check the box next to "Use SSL for secure mail delivery." Click OK and go to the
Shipping tab. Again, click
Add ... and in the create dialog box, enter the Account
Name , smtp.gmail.com as the address of the outgoing mail server and 465 for the port number. Encryption method specify
SSL . Switch to the
Advanced tab and, ticking the
Server requires authentication box, enter your gmail address as your
Account Name and your password. Also verify that
Authorization Method is set to
PLAIN . Done!
Now KMail will go into your GMail account and all your shortcuts will be visible inside [Gmail] (or the folder you chose when you created your inbox account). You may also want to synchronize your KMail basket with the GMail basket. To do this, open Settings
-> Configure KMail ... , select the
Accounts tab
, and set up a Gmail account. Change the “Recycle Bin” to [YOUR NAME OF GMAIL] / [Gmail] / Trash.
Calendars: Google Calendar and KOrganizer
When you have finished setting up your email client, you can immediately proceed to your calendar. Unfortunately, Google has not officially announced two-way synchronization with the Google Calendar, however, you can still use your KOrganizer (Calendar component in Kontact) with Google Calendar if you use Java runtime environment and
GCALDaemon . Download a zip archive from
GCALDaemon for Unix / Linux / AIX / Mac OS X systems. Extract the contents of the archive to / usr / local / sbin (you will need root privileges) and give all users permissions to access the daemon using the command chmod
777 /usr/local/sbin/GCALDaemon
. Then run
/usr/local/sbin/GCALDaemon/bin/standalone-start.sh (you can add this script to autorun by making a shortcut to it in ~ / .kde / Autostart /).
Now you need to know the private address of your iCal file. To do this, open Google Calendar and go to
Settings -> Calendars -> My Calendars and select your calendar. Then click on the green iCal button below. Create a new calendar in KOrganizer. To do this, go to the
Calendar tab and click the
Add button in the
Sources panel, select
Calendar in the network file (Access to the calendar in the network file accessible via the KIO protocol) , give it a
Name (eg My Calendar), and copy the private URL in the fields
Upload from and
Post to - but replace http://www.google.com with http: // localhost: 9090. Click
OK and your calendar should load. When you are prompted for your username and password, enter your gmail address (eg johnsmith@gmail.com) and password.
KOrganizer and Google Calendar work quite well together except for one thing: if you delete an event in Google Calendar, it will not be removed in your KOrganizer calendar, and vice versa.
')
News Feeds: Akregator and Google Reader
Unlike the first two, in Google Reader there is no means to synchronize read and unread articles with third-party applications. However, the migration from Google Reader to Akregator - a component for reading RSS feeds in Kontact - goes completely unnoticed. Save your list of news feeds to a file by following the link https://www.google.com/reader/subscriptions/export, then open the News Feed component in Kontact, select
File -> Import List ... , and select the saved file. Give your list a
name (eg. Google Reader), click
Ok and wait until the import is complete. Now all your lists of news feeds will be displayed in Akregator.
Conclusion
After these steps, Kontact can easily manage all your information from Gmail, Google Calendar, and Google Reader. In the future, opportunities will increase. GCALDaemon has the ability to sync contacts via LDAP, but it doesn’t work with Gmail version 2.0 yet. However, it is
likely that native LDAP support will appear soon . It may be easier to synchronize Google Calendar with KOrganizer with time, certainly not without Google help. And in the end, maybe Google will update Google Reader to sync with third-party clients, such as Akregator. Time to become a KDE and Google user.
Conclusion from the translator
At the time of this writing (December 4, 2007), the KDE4 project was only in the plans, so now it’s hard to say whether the above synchronization scheme with Google Calendar works or not, and whether there are simpler options. However, the fact that the KDE4 project has the potential to create such inconspicuous integration and full synchronization is an indisputable fact. How? Recall
one of the pillars on which KDE4 holds - Akonadi . Yes, it is this centralized repository, which is designed to facilitate the setup of programs for various sources of information. Why, then, cannot we say with certainty that Google Calendar can already work through Akonadi? At least because I didn’t try it out elementary. I have never used Google Calendar, so there’s nothing to synchronize my KOrganizer with and why. In addition, according to the developers of Akonadi themselves, so far they are just beginning their triumphal procession - in KDE 4.3 it does not play a big role, since almost no applications use it. With the release of version 4.4, it is planned to use Akonadi in the Address Book component, and in 4.5 - most of the other programs. Therefore, I can only advise you to switch to using KDE4 (if you haven’t already done this), or if you are an avid GNOME user, write letters to the developers so that they get to the attention of integrating with Akonadi as soon as possible - it is not linked to KDE, it was created for use in different environments and has bindings to different programming languages.
This is a cross post translation from my blog .