| C B | . Net |
“And can the liberties of a nation be thought secure when we have removed their only firm basis, a conviction in the minds of the people that these liberties are the gift of God?”
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| « Jul | ||||||
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | ||||
f
The WordPress Development blog announced today’s release of WordPress 2.6. Lots of (mostly incremental) changes; see the following video:
Download WordPress 2.6 today.
Also, be sure to let me know if anything seems broken here after the upgrade.
In my previous post, I detailed how to use OpenSync, MultiSync, and KitchenSync to synchronize Google Calendar with KDE-PIM.
The reason that I do not use this method to synchronize KDE-PIM with my Google Calendar is three-fold:
Fortunately, GCalDaemon provides all the functionality that I need for Google Calendar synchronization.
From the GCalDaemon web site:
GCALDaemon is an OS-independent Java program that offers two-way synchronization between Google Calendar and various iCalendar compatible calendar applications. GCALDaemon is primarily designed as a calendar synchronizer but it can also be used as a Gmail notifier, Address Book importer, Gmail terminal and RSS feed converter.
The first two requirements for GCalDaemon should seem obvious:
The only package dependency is Java Runtime, version 1.5 or later. Install either of the following packages (but not both):
These instructions are generally based on the GCalDaemon web site’s installation instructions. They do require use of the command line, but aren’t anything too painful.
Begin by downloading the latest Linux installation ZIP file.
Unzip this archive under the ‘/usr/local/sbin’ directory. Assuming you downloaded the ZIP file into ~/downloads/, then:
cd /usr/local/sbin
unzip ~/downloads/gcaldaemon-linux*.zip
chmod -R g+w /usr/local/sbin/GCALDaemon
chmod 755 /usr/local/sbin/GCALDaemon/bin/*.sh
Test your setup by trying to run the password-encoding script:
/usr/local/sbin/GCALDaemon/bin/password-encoder.sh
If you see something like the following, then GCalDaemon is successfully installed:
Your Google password: _
We will run the password encoder script later, during configuration; so for now, hit ENTER to exit the script.
We will use the file-based synchronization scheme, explained by the following diagram (provided by the GCalDaemon web site):

The key to this synchronization scheme is to have an iCal calendar file that is read/written by both GCalDaemon and KDE-PIM.
First, create the iCal file using KDE-PIM:
You will now see your new calendar appear in KDE-PIM. If you want, add a sample event in your calendar.
Now that the calendar file is created, we can configure GCalDaemon to synchronize this file with Google Calendar. To do so, you have two options: editing the configuration file directly, or using the Configuration Editor application.
If you are only synchronizing one calendar file, either method is equally easy. I did find, however, that configuring multiple calendar files to synchronize (I have four) was much easier using the Configuration Editor.
This guide will first explain how to edit the configuration file directly, and then how to run the Configuration Editor.
Using the command-line instructions above, run the Password Encoder script:
/usr/local/sbin/GCALDaemon/bin/password-encoder.sh
At the prompt, enter your gmail password. The script will return the result of encoding the password. Take note of this result; you will need it shortly.

Go to Google Calendar, and copy the iCal URL for your calendar’s Private Address on the Calendar Settings page.

Now you are ready to edit the configuration file. Using the editor of your choice (e.g. Kate), open the /usr/local/sbin/conf/gcal-daemon.cfg file. Edit as follows:
The following screenshot details the above instructions:

Save and close the file. Everything should now be configured.
GCalDaemon doesn’t provide a KMenu shortcut for the Configuration Editor. (You can create one, but doing so it outside the scope of this guide.) To launch the Configuration Editor, use the command-line to run the Config Editor script:
/usr/local/sbin/GCALDaemon/bin/config-editor.sh
This script will run the Configuration Editor, which looks something like the following:

The GCalDaemon website has a nice guide for how to configure using the Configuration Editor (note: the method I describe uses the Offline-Enabled mode). Please see the GCalDaemon guide for screenshots. Also, This guide by MakeTechEasier does a nice job of explaining how to use the Configuration Editor.
To configure:
GCalDaemon is now fully configured.
Start GCALDaemon by running the “standalone-start.sh” script:
/usr/local/sbin/GCALDaemon/bin/standalone-start.sh
GCalDaemon is now running. You should now see your Google Calendar events in KDE-PIM. Verify the two-way synchronization by adding an event to your calendar in KDE-PIM. Depending on the polling frequency in gcal-daemon.cfg, it may take a few minutes for your new event to appear in your Google Calendar.
It would probably be a good idea to set this script to be started at session startup. (Again, doing so is outside the scope of this guide.) If this script is running, GCalDaemon will continuously poll both your Google Calendar and your local iCal file, and keep both in synch.
If, however, you don’t want to leave the script running, you can use the one-time synchronize script whenever you want to synchronize your calendars. This script will run the synchronization and then exit:
/usr/local/sbin/GCALDaemon/bin/sync-now.sh
That’s it! Your calendars will stay perpetually synchronized (if you use the always-running script) or will synchronize on command (if you use the one-time synchronization script). Again, the setuip is more involved than using OpenSync, but in the end, maintaining synchronized calendars is easier and more secure using GCalDaemon.
As a follow-up to my previous post, I was asked a question regarding how to synchronize KDE-PIM with Google Calendar using OpenSync. This post will explain how to use the Google Calendar plugin for OpenSync. In my next post, I will explain what I believe to be a better way to synchronize KDE-PIM with Google Calendar, using GCalDaemon.
This guide will assume that the synchronization will take place between Google Calendar and KDE-PIM.
(Caveat: this guide is purely theoretical, in that I have not actually followed the steps in practice, to perform a real-life synchronization. I prefer using GCalDaemon, which I will explain later in this post.)
Assuming OpenSync, MultiSync, and KitchenSync are installed and working, in order to synchronize Google Calendar, install the following plugin:
(OpenSync plugin for Google Calendar)
The rest of the instructions are pretty similar to the original guide.
We will use msynctool, which we previously installed, to set up the synchronization via the command line. I found the msynctool manpage documentation to be incredibly helpful. To set up the synchronization via msynctool, at the command line type the following:
msynctool –addgroup GCal
msynctool –addmember GCal google-calendar
msynctool –addmember GCal kdepim-sync
You have just created a group called “GCal” that contains two members: a Google Calendar and KDE-PIM. The KDE-PIM member requires no configuration; however, the Google Calendar member does require configuration - namely, the gmail credentials and private feed URL of the calendar to by synchronized. To see the group configuration, at the command line type the following:
msynctool –showgroup GCal
The command will return information that member 1 (google-calendar) is not configured, and that member 2 (kdepim-sync) does not require configuration. To configure google-calendar, type the following at the command line:
msynctool –configure Gcal 1
The “1″ at the end of the command indicates “member 1″, which is google-calendar (if you followed the above instructions). This command brings up the configuration file for the google-calendar member of the “GCal” group. Optionally, you can edit the file (using Kate or your editor of choice), by opening the file directly.
Currently, the OpenSync configuration files are located in:
~/.opensync-0.22/.
If you followed the previous guide, and already have another sync group configured, then this group’s configuration files should be found in:
~/.opensync-0.22/group2/
If you defined google-calendar as member 1, then the google-calendar configuration files should be found in:
~/.opensync-0.22/group2/1/.
In this directory, open and edit the barry-sync.conf file. You will only need to edit one line, as indicated by the instructions in the file. The line to edit begins with “Device” and should look something like:
<url>
http://www.google.com/calendar/feeds/USER@gmail.com/private/full
</url>
<username>USER@gmail.com</username>
<password>PASSWORD</password>
Edit to add your gmail credentials, as follows:
Edit, save, and close the configuration file, and your synchronization group should be ready to go. To verify using msynctool, type the following at the command line:
msynctool –showgroup GCal
This time, the command should return the configuration information you just entered.
Now comes the moment of truth: performing the synchronization. First, make sure that KDE-PIM is not running (otherwise the process will generate errors). Again using msynctool, at the command line type the following:
msynctool –sync GCal
That’s it. You should see the synchronization process in the command shell, and once the process completes, you should see your KDE-PIM (Kalendar) calendar events on your Google Calendar, and vice versa.
To begin, go to KMenu -> Utilities -> KitchenSync, which will launch the KitchenSync application.
The process of creating groups and group members is pretty straight-forward. (Note: if you have already created a sync group in the previous step, you will see this group displayed within KitchenSync.) To configure:
You should now see the group you just configured, along with two links: “Synchronize Now” and “Configure.”
Click “Synchronize Now” (or, click the “Synchronize” button on the toolbar), and the synchronization should commence, with indications of its progress. At this point, you should see the synchronization progress indication, and once the process completes, you should see your KDE-PIM (Kalendar) calendar events in your Google Calendar, and vice versa.
Again, I can’t confirm that this method works; but if anyone would like to try, and report, please let me know.
We recently switched our mobile carrier, from Sprint to AT&T. That change meant new phones, and at my wife’s insistence that I get something other than the boring, basic phones I had always used, I got a BlackBerry Curve.
I have mainly used my PDA (an iPaq Mobile Companion rx5915) as a GPS Navigator, so it would be nice to be able to use the PIM features of the BlackBerry. Unfortunately, RIM (the manufacturer of the BlackBerry) has been less-than-friendly to Linux users, and has not provided proper drivers to allow Linux to support the BlackBerry. Fortunately, however, the Linux community has come through to provide options. As a result, my BlackBerry now communicates with my laptop and synchronizes with KDE-PIM (a better-than-Outlook PIM replacement for Outlook). Oh, and as a bonus, I can transfer music to the BlackBerry’s microSD card using Amarok.
Here’s how:
My first step was to install a microSD card (I used a 2.0GB card). As this Linux App Finder tutorial explains, the following two settings must be configured under Settings -> Options -> Media Card on the BlackBerry:
Upon connecting the BlackBerry to the laptop via USB, Kubuntu Hardy natively recognized the microSD card as removable media, and mounted it. The BlackBerry itself, however, indicated the following warning:
USB charging current is not sufficient. Verify that your handheld is connected to a powered USB charging source and that the proper USB driver is installed.
(Interestingly, the BlackBerry still seemed to charge via the USB connection.) Not to worry; we will address this issue a bit later.
Since I was following along with the tutorial, I went on to part 2, which explained how to use Amarok to manage music on the microSD card. I skipped the first section regarding using Amarok to transcode from FLAC to MP3 on-the-fly, as I rip my CDs as MP3 anyway. Moving on to the next section, regarding how to configure Amarok:
That’s it! Your music is ready for listening on the BlackBerry, using the installed media player.
Now, onto the more important task of configuring the BlackBerry itself for communication and synchronization with Linux. The Linux.com article Syncing Your BlackBerry on Linux provided a great start.
While RIM does not officially support synchronization between the BlackBerry and Linux, the Barry Project comes to the rescue. Begin by installing the necessary packages.
(Note that the installation instructions in both the Linux.com article and on the Barry project web site may not be up-to-date. For Ubuntu users, no compilation is required. Barry developers now provide .DEB packages that are current through Ubuntu 7.10. The packages should handle the necessary dependencies, making installation much more simple that before.)
My installation method may not be the best or most efficient, but it worked for me. Here’s what I did:
First, install OpenSync and related plugins. Using the package manager of your choice (which, from within Kubuntu, would be Adept Manager), install the following packages:
You may find other OpenSync plugins useful; for example, I also installed the following:
Once you have OpenSync and related plugins installed, ensure you have the libusb packages installed. The current package available in the Ubuntu repositories is:
Next, install the MultiSync package and its related plugins. MultiSync is another GUI for performing PIM synchronization. I won’t go in detail on its use here; we are mainly installing it for its msynctool command-line utility. Install at least the following packages:
Note: if you want to use the full plugin suite avaliable for MultiSync, just install the following package:
Finally, install the appropriate packages for Barry, from the Barry project Sourceforge site. Download files for the current version (Barry-0.12) are here. Download and install the following packages:
You now have all the needed packages installed.
You are now ready to verify communication between Kubuntu and the BlackBerry. Connect the BlackBerry via USB. At this point, you will still see the message on your BlackBerry regarding insufficient power for USB charging. We are about to resolve that issue. Open a terminal, and type the following:
btool -t
If the command returns a list of databases found on the BlackBerry, congratulations! Kubuntu sees and can communicate with the BlackBerry. You should also notice that the warning about insufficient power for USB charging has disappeared from your BlackBerry.
If that step was successful, the next step is to backup the data on your BlackBerry. To do so, we will use the Barry Backup utility that we recently installed. In the terminal, type the following:
barrybackup
You should now see the GUI for the Barry Backup utility. Since the BlackBerry is connected, and Kubuntu recognizes it, the PIN field should be pre-populated with your BlackBerry’s PIN. (Note: you should copy this PIN, as you will need it in later steps.)
Click the “Backup” button, and the utility will backup all of the database data on your BlackBerry. The progress bar will display the progress of the backup process. Once complete, this backup will be available (via the “Restore” button), should you need to restore your data for any reason.
And finally, the moment we’ve been waiting for: synchronizing KDE-PIM calendar and contacts with the BlackBerry.
Synchronization of calendar and contacts will take place via OpenSync. OpenSync requires the definition of a sync group, which consists of sync members. Think of the group as the synchronization profile, and the members as the two sources to be synchronized. In our case, our profile will consist of KDE-PIM and our BlackBerry.
The next steps can be carried out either via the command line using msynctool, or through a GUI using the KitchenSync application. I will first give the command-line instructions, and then take a look at KitchenSync.
We will use msynctool, which we previously installed, to set up the synchronization via the command line. I found the msynctool manpage documentation to be incredibly helpful. To set up the synchronization via msynctool, at the command line type the following:
msynctool –addgroup Blackberry
msynctool –addmember Blackberry barry-sync
msynctool –addmember Blackberry kdepim-sync
You have just created a group called “Blackberry” that contains two members: a BlackBerry and KDE-PIM. The KDE-PIM member requires no configuration; however, the BlackBerry member does require configuration - namely, the device PIN, and flags for synchronization of Calendar, Contacts, or both. To see the group configuration, at the command line type the following:
msynctool –showgroup Blackberry
The command will return information that member 1 (barry-sync) is not configured, and that member 2 (kdepim-sync) does not require configuration. To configure barry-sync, type the following at the command line:
msynctool –configure Blackberry 1
The “1″ at the end of the command indicates “member 1″, which is barry-sync (if you followed the above instructions). This command brings up the configuration file for the barry-sync member of the “Blackberry” group. I’m not terribly comfortable with file editing via the command shell. If you’re the same, then note that you can save and exit the file editor in the shell, and then edit the file (using Kate or your editor of choice), by opening the file directly.
Currently, the OpenSync configuration files are located in:
~/.opensync-0.22/.
If you have only configured one synchronization group, then that group’s configuration files should be found in:
~/.opensync-0.22/group1/
If you defined barry-sync as member 1, then the barry-sync configuration files should be found in:
~/.opensync-0.22/group1/1/.
In this directory, open and edit the barry-sync.conf file. You will only need to edit one line, as indicated by the instructions in the file. The line to edit begins with “Device” and should look something like:
Device 123A4567 1 1.
The parameters are as follows:
Edit, save, and close the configuration file, and your synchronization group should be ready to go. To verify using msynctool, type the following at the command line:
msynctool –showgroup Blackberry
This time, the command should return the configuration information you just entered.
Note: I actually created two separate synchronization groups: BlackberryCalendar and BlackberryContacts. I wanted to separate the two sync groups, mainly for troubleshooting purposes. (Synchronizing my calendar was more critical for me. I have over 2,000 contacts in KDE-PIM, and haven’t wanted to tackle that synchronization yet.)
Now comes the moment of truth: performing the synchronization. First, make sure that KDE-PIM is not running (otherwise the process will generate errors). Again using msynctool, at the command line type the following:
msynctool –sync Blackberry
That’s it. You should see the synchronization process in the command shell, and once the process completes, you should see your KDE-PIM (Kalendar/Kontact) calendar events (if you synchronized calendars) and contacts (if you synchronized contacts) on your BlackBerry, and vice versa.
The process of defining and configuring synchronization groups and group members, and performing the synchronization can take place using a GUI application. To do so, go to KMenu -> Utilities -> KitchenSync, which will launch the KitchenSync application.
The process of creating groups and group members is pretty straight-forward. (Note: if you have already created a sync group in the previous step, you will see this group displayed within KitchenSync.) To configure:
You should now see the group you just configured, along with two links: “Synchronize Now” and “Configure.”
Click “Synchronize Now” (or, click the “Synchronize” button on the toolbar), and the synchronization should commence, with indications of its progress. Once again, at this point, you should see the synchronization process in the command shell, and once the process completes, you should see your KDE-PIM (Kalendar/Kontact) calendar events (if you synchronized calendars) and contacts (if you synchronized contacts) on your BlackBerry, and vice versa.
And that’s it! To summarize, at this point you should be able to do all of the following within Kubuntu:
If you have any comments, questions, or suggestions, please let me know in the comments.
Update 1: Added instructions for installation of msynctool and fixed a mis-spelling; thanks theZoid from UbuntuForums.org!

| Roast | Dark | |||||
| Aroma | 9 | |||||
| 5 | 10 | |||||
| Acidity | 7 | |||||
| 5 | ||||||