Archive

Archive for September 30th, 2009

Barry: Round Two with the Blogosphere riding Shotgun

September 30th, 2009 2 comments

Given the problems that I’ve been having lately with getting my Blackberry calendar and contacts to synchronize with anything in Linux, I was quite surprised when I almost got it working tonight. Forgetting everything that I’ve learned about the process, I started over, following these helpful tutorials and working through the entire install from the beginning. Unfortunately, aside from some excellent documentation of the install process (finally), the only new idea that those blogs provided me with was to try syncing the phone with different pieces of software. Specifically, Chip recommended KDEPIM, although I opted to  jump through a few more hoops before giving in and dropping the Thunderbird/Lightning combination entirely.

After a bit more mucking about, I decided to give up Lightning and installed Iceowl, Debian’s rebranding of Mozilla Sunbird, instead. Iceowl is the standalone calendar application that Lightning is based on, and is a very lightweight solution that is supposed to cooperate with the opensync-plugin-iceowl package. In theory, this allows calendar data to be shared between my device and the Iceowl calendar after configuring the plugin to read my Iceowl calendar from the /home/username/.mozilla/iceowl/crazyfoldername/storage.sdb file. In practice, the sync process gets locked up every time:

Screenshot-PIM Synchronization - KitchenSync-1

Why must you tease me?

Well, I’ve tried everything that I can think of to get my phone to synchronize with any Mozilla product. I’m very close to giving up, which is a shame, because they really are superior products. The ridiculousness of the entire thing is that I can easily dump my PIM data to a folder, and Thunderbird stores it’s data in an SQLite database. If this were Windows, I’d have written a VB app to fix my problems hours ago… Anybody know any python?

Update: I’ve also managed to successfully synchronize my phone with the Evolution mail client. Unfortunately, Evolution looks rather pale next to Thunderbird. In fact, the entire reason that I switched to Thunderbird about a week ago is that Evolution mysteriously stopped receiving my IMAP email with no explanation. No new email comes in, and the Send/Receive button is grayed out. Until now, I was happy with my decision, as Thunderbird is a superior application.

Update

September 30th, 2009 1 comment

Hi Everyone,

Sorry about the lack of updates. I’ve been pretty busy lately. After a lot of fighting and arguing, Linux and I are finally getting along.

I was unsuccessful in installing Linux as I had mentioned early, by running it from my portable hard drive off of my Mac. As a result, I decided to wipe the Ubuntu partition on my Asus eeePC and install openSUSE on there. It was fairly simple to do, and it installed without much hassle. This guide came in handy with the smooth transition.

Although Gentoo is definitely the best flavour of Linux I’ve encountered, openSUSE hasn’t been too bad.

With that being said, I have a few tasks for the coming days, and I will be sure to post about all of them. First, I want to install a softphone to connect to my Asterisk server. Jake has said after some fighting he managed to get this to work. If I run into issues, I can always ask him. Additionally, I have to get Eclipse set up with some various environments I’m going to have to use in the coming weeks. I’ve successfully set it up to work in OpenGL thus far.

That’s it for now. I’ll be posting more in the next few days as I accomplish these tasks.

Barry: The Open-Sourced Blackberry Utility

September 30th, 2009 No comments

There is no denying that the installation process for the Barry project sucks. That said, the promise of having the ability to sync my blackberry with a linux-based calendar application like Mozilla’s Thunderbird or the Evolution mail client kept me working at it through the wee hours of the night. The Barry site at Sourceforge provides not one, not two, but four Debian packages (which rely on an additional two undocumented packages), that need to be downloaded and installed in a specific and undocumented order:

  1. libbarry0_0.15-0_i386.deb (sourceforge)
  2. barry-util_0.15-0_i386.deb (sourceforge)
  3. libglademm-2.4-1c2a (debian.org)
  4. barrybackup-gui_0.15-0_i386.deb (sourceforge)
  5. libopensync0 (debian.org)
  6. opensync-plugin-barry_0.15-0_i386.deb (sourceforge)

With the packages installed, I launched a terminal and used the auto-complete feature to find the command barrybackup. At first, I couldn’t figure out what it’s syntax was, until I realized that it doesn’t need any arguments, because it simply launches a GUI (that doesn’t appear anywhere in my Applications menu) that lets you back up your device databases:

Screenshot-Barry Backup

Well, thats a handy utility, assuming that it is also capable of restoring the backups to the device. I shied away from trying the restore feature, as I didn’t have access to a Windows box with which to fix the device should the worst happen.

I’m currently using Mozilla’s Thunderbird (re-branded in Debian as Icedove) as my primary mail client, along with the Lightning calendar plugin, and would be thrilled if I could synchronize it with my Blackberry. You’ll note that libopensync and a Barry opensync plugin were both a part of the installation process; having never used libopensync, I had a tough time figuring out how to make them cooperate.

The opensync page on Wikipedia lead me to install the multisync-tools package, which claims to be able to “synchronize calendars, address books and other PIM data between programs on your computer and other computers, mobile devices, PDAs or cell phones. It relies on the OpenSync  framework to do the actual synchronisation.” I have PIM data that I would like to sync! I have the OpenSync framework! We’re on a roll!

Finally, I installed the multisync-0.90 GUI and opensync-plugin-evolution v0.22-2 opensync plugin packages, which should have allowed me to sync between the Evolution mail client and my phone. I chose to try the process with this software first, as a plugin for Thunderbird was not immediately available. Unfortunately, when attempting to sync, I got this message:

Surprisingly, it was the evolution plugin that failed to connect

Surprisingly, it was the evolution plugin that failed to connect

Useful? Sort of. The Add button let me set up a Blackberry profile with both the barry and evolution plugins, but no matter how I tweaked the settings, I couldn’t get the evolution plugin to connect to my PIM data. Further, after making a synchronization group and adding plugins to it, I couldn’t find a way of replacing a plugin with a different one.

Sick of the limited GUI, I moved on to try KitchenSync, the KDE-based alternative. While it was uglier, I found it to be a far more useful front-end, and managed to get it to sync my device calendar and contacts with my filesystem:

Screenshot-PIM Synchronization - KitchenSync

This process exported all of the calendar and contact information from my Blackberry to a folder full of vCalendar and vContact files on my machine. Now if only I could get Thunderbird to read these files.

After a bit more looking around on the OpenSync webpage, I found a link to these guys, who claim to have programmed an opensync plugin called libopensync-plugin-mozilla-0.1.6 that allows Thunderbird and Lightning to talk to the OpenSync manager. They provide the plugin as a tarball that contains a *.so binary file and a sample *.xml configuration file… but no instructions on how to install them.

Thouroughly lost, I turned to the #opensync channel on freenode.net for help. Until they see fit to help me out, I’m taking a break from this. No sense in giving myself a heart attack out of extreme frustration.

Edit: I got some help from the members of the #opensync channel, who recommended that I drop the mozilla-sync.so file into the /usr/lib/opensync/plugins/ directory. While this didn’t immediately allow OpenSync to see the plugin, I noticed that every other plugin in the directory has an associated *.la configuration file. So I fabricated my own *.la file, and tried again. That didn’t work either.

The members of the channel then recommended that I try downloading the source code directly from the creators. I did as much, and found that it didn’t include a configure or make script, but just the source code. Not knowing how to proceed, I attempted to follow these instructions, which entailed downloading another 20 or so packages, including the sunbird-xpcom-devel package, which again lacks documentation on how to proceed with installation.

Lacking that package, and again frustrated beyond belief, I decided to drop the issue for another hour or so and do some math homework. That’s right, I chose to do math homework over playing with my computer, because this process has been that frustrating.

It doesn’t help that this entire process seems to be aimed at installed BlueZync, and not the opensync-mozilla-plugin. What the hell is going on here?

New rule added to the experiment

September 30th, 2009 No comments

We took a quick vote and decided to add a new rule to this ongoing experiment. Rule #5 now states:

After committing to a distribution you may not later change to a different one

This now requires us to make the best of our given circumstances, which should result in either a lot more complaints or even more victories. Stay tuned to find out which.

Categories: Tyler B Tags: ,

Gentoo updates and annoyances

September 30th, 2009 2 comments

After hearing about the recent MintCast mention of our experiment, I figured it was high time to post an update with what’s gone right and what’s been enraging about my experiences with Gentoo over the past month.

What’s Gone Right

  • I’ve installed GNOME (Gentoo’s stable version is still 2.24.3, but I’m looking into the newest version) as I needed more of a true “desktop environment” – removable device mounting, in particular, wasn’t always functional in XFCE. Sometimes my external USB drives would be recognized and other times the system would just sit there as if nothing had happened. GNOME handles this task wonderfully, which I assume is in combination with dbus and HAL. I also like the toolbar customization features and login manager.
  • The installation for VirtualBox 3 went really well – I have Windows XP running in a virtual environment for a dedicated accounting image with Simply Accounting 2007. (While I may be running Linux as my primary OS, we can’t afford to stop doing business.) Bridge mode for the network adapter works even better than it has on Windows for me. The VM has its own IP address on my network, allowing the router to manage port forwarding operations and continue with issuing invoices as usual.
  • After giving up on Ekiga and conducting yesterday’s conference call using X-Lite on my Asus netbook running Windows, I gave VOIP on Linux another shot. I removed the Ekiga SIP account from the connection manager since it was giving me incredible grief. Access denied error messages, calls that wouldn’t complete and an odd signup process are not conducive to attracting users to your service! After adding my own Asterisk server credentials, I went ahead and made a test call – both internal extensions and external numbers worked great, and voice quality was wonderful.
  • Networking support has also been improved with my GNOME installation. I can easily save favourite server mountpoints without having to define them in /etc/fstab, and related applications such as VLC seem to handle this style of network mapping in a more consistent manner. For example, mounting “/media/server” through fstab would often result in stuttery video playback from a SMB share. Performing the same operation using GNOME’s Connect to Server option seems to indicate the appropriate buffer size and the video plays smoothly as expected.
  • The ISO downloader .EXE’s from MSDNAA work great under Wine! Just another example of how I could see potentially running Linux as a main system, even though I have to interact with Windows on a regular basis.

What’s Been Enraging

  • Some fonts in web browsing still don’t anti-alias properly. It’s a very intermittent issue only appearing on certain sites, and as soon as I can find a page causing this issue I will get to the root cause. In the meantime, I’ve installed all the appropriate font packages using emerge – there may be a replacement for the “odd man out” in there somewhere.
  • The mixer resets my primary volume to zero on every reboot.
  • I need to use “overlays” and “autounmask” to enable some packages for the AMD64 architecture. autounmask is a pretty decent tool – it automatically finds package dependencies and allows me to force installation of a program that for some unknown reason isn’t available. layman also has helped in this regard, and a searchable directory of overlay packages is decent. I just installed Firefox 3.5 using this technique and all seems well.
  • My mixer now shows the appropriate “mute/unmute” icons:
    Mixer with proper mute/unmute icons
  • Audio inputs and outputs on my “Intel HDA” card aren’t labelled as you might expect. Here’s a list of them:

    Volume Control Preferences
    Of these inputs and outputs, the appropriate one for my front microphone to actually work worth a damn? Capture. Incredibly intuitive.

That’s all I’ve got for now, but I’d appreciate any suggestions for new programs and neat tricks. Knock on wood that Portage doesn’t start acting like dpkg did on Sasha’s machine!




I am currently running various *BSD variants for this Experiment.
I currently run a mix of Windows, OS X and Linux systems for both work and personal use.
For Linux, I prefer Ubuntu LTS releases without Unity and still keep Windows 7 around for gaming.
Check out my profile for more information.