Configuring KDE's KGpg, Korganizer, Kontact and Kmail with ownCloud and Gmail on openSuSE 42.1

February 2016

openSuSE version: 42.1
KDE version:      4.14.18
ownCloud version: 8.2.4

ownCloud Configuration
----------------------
  Enable Calendar App (0.8.2)
  Enable Contact app (0.5.0.0)
  Enable Tasks app (0.8.1)
In this example: ownClowd would be accessible at https://www.example.com/owncloud

KGpg
----
Start:
  kgpg &
Configuration
  Welcome to KGpg Assistant - Next
  Binary: /usr/bin/gpg2 (2.0.24) - Next
  Configuration File: /home/$USER/.gnupg/gpg.conf - Next
  Generate new key + Start KGpg automatically ... - Finish
  Generate Key Pair = need at least Name + Key size (4096) + Algorithm (RSA)

Korganizer
----------
Start:
  korganizer &
Configuration - ownCloud
  Right click where the calendars are (lower left panel)
    Add Calendar - DAV groupvare resource
      Login Credential for ownCloud
      Groupware Server ownCloud
      Connection: Host: www.example.com
                  Installation Path: owncloud
                  Use secure connection: yes
      Test Connection - Finish
  KWallet - Basic setup - Yes, I wish to use KDE wallet ...
    Use GPG - if you setup KGpg bfore otherwise use Blowfish
  Select the calendar to be visible
Configuration - Gmail
  Right click on empty space in calendar list area (lower left corner) - Add Calendar - Google Calendars and Tasks
  Accounts: Add - Fill Gmail web login info - OK

Kontact
-------
No setup needed.
View address book by expanding (click on +) by owncloud and select Contacts

Kmail + Gmail using IMAP
------------------------
Gmail Configuration:
  Gmail Settings (under cogwheel in upper right corner)
    Forwarding and POP/IMAP - Enable IMAP
  My Account (under 3x3 app grid in upper right corner)
    Sign-in & security - Allow less secure apps: ON
Start:
  kmail &
Configuration:
  Settings - Configure KMail
    Identities
    Accounts:
      Receiving - Add - IMAP E-mail server
        Account name: Any descriptive name, typically email address
        IMAP Server: imap.gmail.com
        Username: email without @gmail.com
        Password: ....
        Enable interval email checking: 5min
        Advanced: Automatically compact folders, Use Default Identity
                  Connection settings: SSL/TLS, Port: 993, Authentication: Plain (as per Auto Detect)
      Sending - Add
        Create Outgoing Account:
          Name: Any descriptive name, typically email address
          Account type: SMTP + Create and Configure
        Configure Account:
          Outgoing mail server: smtp.gmail.com
          Server requires authentication: yes
          Login: email without @gmail.com
          Password: ....
          Advanced: Connection Settings: SSL, Port: 465, Authentication: PLAIN (as per Auto Detect)
          OK
  Expand gmail account in the account KMail section (left hand side panel) to access inbox and other folders.