Archive

Archive for January 2nd, 2010

Finally Synching my Blackberry on Linux

January 2nd, 2010 18 comments

Some readers may recall all of the attempts that I’ve made in the past to synchronize my Blackberry with Mozilla’s Thunderbird email and calendar client. During each of these tries, I had relied on the OpenSync framework, along with the Barry project for communication with my phone, and a number of different solutions to link into Thunderbird. At various times, these included the opensync-plugin-iceowl, opensync-plugin-sunbird, and bluezync packages, none of which yielded success.

While running GNOME on my Debian laptop, I had managed to successfully synchronize my phone with the Evolution mail client. Even so, I continued to work at Thunderbird synchronization because I disliked Evolution, seeing it as a Microsoft Outlook clone, which is a platform that I have had considerable problems with in the past.

With my recent installation of Kubuntu 9.10 on my PC, I have been exposed to the Kontact PIM suite, and have thus far been impressed. Kmail is a solid email client, although the way that it handles the setup of multiple email accounts is confusing to say the least, forcing the user to create a sending, receiving, and identity object for each account, and then to link them together. Likewise, Kontact is a decent application, but is sorely lacking basic GUI configuration options, something I never thought that I would say about a KDE app. Finally, Kalendar does everything that one would expect, and allows the user to display appointments in a number of useful ways. All have excellent integration, and live in a tray widget that uses the native KDE notifications system to let me know when something important has happened.

Most importantly however, I managed to get the entire Kontact suite to sync with my Blackberry after about five minutes of playing around in the terminal. Unlike during previous installation attempts, I found the latest stable Barry packages available in my repositories, so installation was a snap. I simply added the following packages to my system:

  • libopensync0 v0.22-2
  • multisync-tools v0.92
  • libbarry0 v0.14-2.1
  • opensync-plugin-kdepim v0.22-4
  • opensync-plugin-barry v0.14-2.1

From a terminal, I then used the msynctool application and the following steps to do a little bit of configuration:

  1. msynctool –listplugins if the install went well, this command should list both kdepim-sync and barry-sync as available plugins
  2. msynctool –addgroup BB create an OpenSync sync profile for my Blackberry called BB
  3. msynctool –addmember BB barry-sync add the barry-sync plugin to the BB sync group
  4. msynctool –addmember BB kdepim-sync add the kdepim-sync plugin to the BB sync group
  5. msynctool –showgroup BB this lists each of the plugins that we just added to the BB sync group, along with their member numbers. In my case, barry-sync was member number 1, and kdepim-sync was member number 2. The output also showed that while barry-sync still needed to be configured, kdepim-sync had no configuration options to be set.
  6. msynctool –configure BB 1 configures member number 1 of the sync group BB. In my case, this was barry-sync, and simply popped a config file in the nano text editor. All that had to be changed in the file was the PIN of the Blackberry that the plugin would attempt to sync with.
  7. msynctool –sync BB actually performed the synchronization process. For safety’s sake, I made sure that Kontact was fully closed before running this command.

And that’s it! In the future, I simply have to run the msynctool –sync BB command to synchronize my Blackberry with Kontact. That’s one more reason to stick with Linux – Blackberry synchronization that isn’t tied to Microsoft Outlook!




On my Laptop, I am running Linux Mint 12.
On my home media server, I am running Ubuntu 12.04
Check out my profile for more information.

End of the road with Gentoo – new year, new experiences

January 2nd, 2010 2 comments

Since my admittedly outdated last post, I’ve been keeping busy in real life – most recently, I was out of the country for seven days, braving airport security and experiencing relatively nice temperatures in Colorado.

I’ve also been apartment-seeking and dealing with my Logitech Z-5300 speaker system that one day mysteriously refused to power on. This was unfortunate as it left me without a convenient way to blast the latest 30 Seconds to Mars album at high volume. (OK… maybe I’ve also been overplaying the Glee soundtrack too.)

My taste in music aside, here are my conclusions from the experiment and what I plan to do for my computing environment in 2010:

My initial ambitions

To gain additional experience with Linux and figure out which open source applications make viable alternatives to commercial software. Being platform-agnostic, while maintaining as much data out of the privacy-reducing “cloud” as possible, is one of my top priorities.

Gentoo is certainly the distribution to pick for the additional experience goal. I have a much better understanding of the Linux filesystem and how package management works than I did in September, and I could probably maintain a Web or file server environment with Gentoo – even AFP worked nicely and more reliably than SMB once it was set up. I also gained additional experience with Songbird, KeePassX, Synergy and OpenOffice. These desktop applications are excellent examples of enabling a more positive user experience.

What didn’t go as expected?
My initial conceptions about Gentoo included a cutting-edge environment, with a difficult-to-master package management system and customization abilities that allowed for drastically improved performance. I learned that the stock version of Gentoo is very stable, but not necessarily cutting edge – many GNOME packages are still marked as ‘unstable’ for x64 architectures past 2.20, which was originally released in September 2007.

Unlike a Debian environment, where the ‘testing’ branch is reasonably usable for a non-project developer, the ‘unstable’ environment packages in Gentoo can completely break Portage, leaving you without a good way to manage software.

While desktop performance was quite in line with my idea of improved performance, certain elements are not quite at the level of more desktop-oriented distributions like Ubuntu. The bootup sequence happens in series by default and waits on a DHCP response before even thinking about GDM/KDM or other services; turning on parallel-boot options for reduced startup time caused my network adapter to need several mashings of “ifdown eth0; ifup eth0″ in a terminal before it would consider acquiring an IP address.

Cloud computing and privacy
Through the experiment I also did not succeed with my goal to keep data out of the ‘cloud’ as much as possible. Through numerous reinstalls, filesystem changes and hardware swaps, I found that the most reliable and convenient way to save and access data was to store it with Google – either in Gmail, Documents or another service. It’s the little things, like how Thunderbird will not save a SMTP password until you first send a message with that account… and then you have to fire up KeePass, and by that time you may be dealing with another message and forget about the original email.

I will be working on reducing my dependence on Google in the new year by migrating documents, keychains and other important files to a server in a local datacenter, which is not subject to the USA PATRIOT act. I expect this will be a long and slow process of learning and breaking old habits.

What’s next for me?

  • My main machine now boots Windows 7 Professional. This is due to the recent Steam holiday sale – one of my favourite games right now is Torchlight, which is heavily influenced by Diablo/Diablo II. I also enjoy having a Windows machine around for Visual Studio development.
  • During January, I will be installing Fedora 12 and trying to make some additional games work using some of these instructions.
  • I also now have a second machine running Xubuntu 9.10. I chose XFCE as the computer has a limited amount of memory and disk space, and makes a perfect test environment for Linux applications.
  • In the future, I might try managing an Asterisk installation from the Xubuntu system for more experience with telephony server administration.
Categories: Gentoo, Jake B Tags: