The BlackBerry in a World without Windows
(I have obscured my device and pin numbers in the above output.)
Barry's btool offers a lot of functionality, and I encourage you to do a man btool to learn more.
To back up my phone's databases, I used the barrybackup application. The installer did not set the program to setuid root, which is required. I had to sudo chmod +s /usr/local/bin/barrybackup before the program would work correctly.

Figure 1. BarryBackup
Simply click the Backup button, and all databases are backed up. You can configure which databases are backed up and also choose to restore only certain databases, by clicking Edit→Config. Backups are stored as tar.gz files in ~/.barry/backup/FFFFFFFF, where that last hex number is your device PIN.
I got this phone specifically to replace my MP3 player. It has excellent sound and video quality (given the tiny screen's limitations), and a high-capacity microSD card can hold a lot of music. Of course, given that the card must hold music, video, photos taken with the built-in camera, ebooks and everything else, you will want to use the most efficient file formats.
First, let's discuss music. The Curve supports MP3, AAC, MIDI and WMA files for audio. Because I'm trying to use free tools as much as possible, WMA and AAC formats are problematic, leaving me with MP3. (MIDI is a specialized format not usable for recorded music.) MP3 files also are supported in fapg (see below).
For CD audio, I use A Better CD Encoder (abcde) to rip the CD, with the command:
abcde -o mp3
This rips the CD into MP3 files in the current directory. As abcde uses lame for MP3 encoding, you can control the details of the files created to the finest detail, but the default settings actually are more than good enough for me.
The video screen on the Curve has a resolution of 320x240. It accepts video in MP4, 3GP and WMV formats. Obviously, we free-software types prefer to use MP4 (even if it's a patented format) over WMV. I'm not aware of any good free tools to create 3GP (Third-Generation Phone) files.
The Swiss Army knife of free software video encoders is FFmpeg. For Debian distributions, you can obtain it by adding the repository at debian-multimedia.org to your /etc/apt/sources.list, then running sudo apt-get update && sudo apt-get install ffmpeg. Starting with any supported video, converting is as simple as this command:
ffmpeg -i myvideo.avi -s 320x240 -b 64k --ab 64k myvideo.mp4
This sets the dimensions to 320x240, and the audio and video bitrates to 64kbps. You can adjust these settings to taste. Note that the Curve can play back video compressed using only the MPEG 4 Part Two Advanced Simple Protocol (ASP). H.264, or MPEG 4 Advanced Video Codec, is not supported.
Transferring audio and video files to the handset can be done with cp or a file manager like Krusader. Audio files should be stored in /Blackberry/music, and video in /Blackberry/videos. You can create subfolders within these for your own convenience, but the handset will ignore them and catalog the media based only on metadata (also known as ID3 tags) embedded in the files. Music can be viewed by Artist, Album, Genre or Playlists. The Media application works with M3U playlists, which can be created using fapg (the FAst Playlist Generator, see Resources). M3U playlists are simple text files and can be modified using any editor.
When the Curve is disconnected from your computer, the Media application scans the music and video directories and generates lists of available audio and video files. This takes a few minutes, depending on how much is stored on the microSD card. Your songs may not be available until the scan is complete.
NetDirect has an excellent document explaining how to sync your BlackBerry Contacts and Appointments with Evolution using Barry here: www.netdirect.ca/software/packages/barry/sync.php. To do so requires that you install the Debian packages multisync-tools and libopensync0.
Before synchronizing, you must create a sync group that includes Evolution and the Barry opensync plugin (Listing 1).
Listing 1. Setting Up msynctool to Work with Evolution and the BlackBerry
msynctool --addgroup evo-barry # Create the sync group
msynctool --addmember evo-barry evo2-sync # dd Evolution's OpenSync
# plugin
msynctool --addmember evo-barry barry-sync # Add Barry's OpenSync
# plugin
msynctool --configure evo-barry 1 # Opens an editor for the
# evo2-sync config file
msynctool --configure evo-barry 2 # Opens an editor for the
# barry-sync config file
Unless you have changed the default locations of the Evolution data files, you shouldn't need to change anything in the configuration file for evo2-sync. The barry-sync default configuration file looks like Listing 2.
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
- Designing Electronics with Linux
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Dynamic DNS—an Object Lesson in Problem Solving
- Using Salt Stack and Vagrant for Drupal Development
- What's the tweeting protocol?
- New Products
- Mediated Reality: University of Toronto RWM Project
- A Topic for Discussion - Open Source Feature-Richness?
- Validate an E-Mail Address with PHP, the Right Way
- Drupal Is a Framework: Why Everyone Needs to Understand This
- General
55 min 46 sec ago - Kernel Problem
10 hours 58 min ago - BASH script to log IPs on public web server
15 hours 25 min ago - DynDNS
19 hours 1 min ago - Reply to comment | Linux Journal
19 hours 33 min ago - All the articles you talked
21 hours 57 min ago - All the articles you talked
22 hours 27 sec ago - All the articles you talked
22 hours 1 min ago - myip
1 day 2 hours ago - Keeping track of IP address
1 day 4 hours ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?




Comments
bb backup evolution sync not working
I use 9.04 ubuntu and BB 8900 curve. Even after installing all, when I do barrybackup the window comes, no pin is shown and my bb shows "connecting to desktop" but after some time the window in my laptop greys out and errors. But btool finds my pin number alright. Due to this, I could not sync with evolutions as the BB plugin not works. Please help me
thanks in advance
Blackberry Modem for Linux, 8 Easy steps for connecting Internet
hi all
I am excited to get internet via my Blackberry in my fedora 10 machine. I have shared my actions for you guys in 8 easy steps. See this, hope you will be connected via your Blackberry.
Connect Internet Using your Blackberry for Linux Users
Best regards
CodeFighters
http://codefighters.blogspot.com