Monday, November 16, 2009

Synchronizing Google Tools with Kontact

Hello :)

Introduction
Using online tools has many advantages. One of the most important of them is the information is accessible from anywhere and at any time.
One need that was occurred after using this tools is Synchronizing information with other applications and devices. such as Synchronizing contacts between Mobile, Web and PC.

* The following guide is tested on Kubuntu 9.10 with KDE 4.3.3 environment.

Synchronizing Google Tools with Kontact
Step 1
Installing akonadi-kde-resource-googledata package. The package is available in Ubuntu 9.10 and Debian repositories.
sudo aptitude install akonadi-kde-resource-googledata


Step 2
After installing akonadi-kde-resource-googledata package, you need to add Google resources to Akonadi. Open Akonadi Console:
akonadiconsole


Click Add on Agents tab. Add a `Akonadi Google Calendar Resource` for Google Calendar and add `Akonadi Google Contacts Resource` for Google Contacts.
Add Google Resources to Akonadi Console

Enter your username without `@gmail.com` in the next window.
Enter your username

Step 3
After adding a resources open Kontact application :
kontact


Add Contacts
Go to Contact section and add `Akonadi Google Resource` to address books:
Add `Akonadi Google Resource` to Address Books

Add Calendar
Go to Calendar section and add `Akonadi Google Resource` to calendars:
Add `Akonadi Google Resource` to calendars

done :P

P.S.
Ubuntu 9.10 release party held in Tehran, Iran.

Have a good time :)

Monday, November 9, 2009

Add “Send files to email” item to right click menu on Dolphin and Konqueror

Hey :)

One of the useful features when you are using email clients, is "adding attachment(s)" item in right click menu.

Send files to email


This feature does not exist in default KDE 4.x version but adding this item is really piece of cake:

First, go to the service directory:
cd ~/.kde/share/kde4/services


Create file `email.desktop`:
touch email.desktop


Add below configuration commands.

for KMail
[Desktop Entry]
Type=Service
Icon=dolphin
ServiceTypes=KonqPopupMenu/Plugin,all/allfiles

Actions=Send_to_KMail
X-KDE-menu=Email
X-KDE-Priority=TopLevel

[Desktop Action Send_to_KMail]
Name=Send file(s) with KMail
Exec=kmail --attach %U
Icon=kmail


for Thunderbird
[Desktop Entry]
Type=Service
Icon=dolphin
ServiceTypes=KonqPopupMenu/Plugin,all/allfiles

Actions=Send_to_Thunderbird
X-KDE-menu=Email
X-KDE-Priority=TopLevel
Encoding=UTF-8
ServiceTypes=all/all

[Desktop Action Send_to_Thunderbird]
Name=Send file(s) with Thunderbird
Exec=thunderbird -P guest -compose "attachment=file://%U"
Icon=thunderbird


Now save the file and reopen the Dolphin file manager.
done!

Good luck