i’ve moved permanently to raspbian

This weekend I found some time to fire up the Raspberry Pi model B+. I wanted to update the Arch Linux installation on it, and then I wanted to do some NodeJS Javascript programming after the system updates.

Unfortunately for me I couldn’t update Arch. The last time I updated Arch was back in October of 2014. Right after upgrading I created an image, zipped it up, and uploaded it to my Google Drive to share with all. After my failure to upgrade Arch I’ve deleted that image from Google Drive, and I’m now working exclusively with Raspbian Linux released December 2014.

In a way I’m actually glad to now be using Raspbian as opposed to Arch. All my other Linux-powered computers are running some variant of Debian, either Debian directly (Beagle Bone Black) or Ubuntu/Mint Linux (my notebook and virtual machines). While the GUIs might certainly differ, they’re pretty much the same down at the CLI level. Moving between the various machines isn’t as jarring when one of them is as different as Arch is.

The problem came when I tried to update Arch using ‘pacman -Syyu’. The update refused to execute, failing with some sort of version mismatch with pacman itself. After looking on various Arch forums and trying to use Google to find a solution, I decided that perhaps it was time to move over to Raspbian. And so I have. The only minor issues had to do with the Apple keyboard, and I’ve documented how to fix that with Arch. I’d already given an older version of Raspbian a dry run, and found that fixing the Apple keyboard for Arch was also the way to fix it for Raspbian.

I’m now in the process of getting my NodeJS environment rebuilt and getting ready to write some more controller software in Javascript. I’ll have more to post shortly.

tweaking raspbian on the raspberry pi B+

Raspberry Pi B+

I spent some time today working with the latest Raspbian, tweaking it to work with my Apple keyboard.

Just as with Arch Linux (see “tweaking arch on the pi” from February) I had to fix the function keys, i.e. make them functional. Before that could happen, I had to fix the key mappings on the Apple keyboard by running ‘sudo dpkg-reconfigure keyboard-configuration’ and selecting English(US) mappings. For whatever reason they’re set for English(UK). Then I had to create the file /etc/modprobe.d/hid_apple.conf and add the line ‘options hid_apple fnmode=2’. Reboot, and I had a full US English Apple keyboard with working function keys.

One feature I fully appreciated in Raspian is its ability to set the time from the network, once the networking was properly configured. I got the wireless network running through the Lxde desktop and the graphical network utility. Once I had the wireless network connection set up, all further reboots set the time on the board. The board doesn’t have a battery-backed clock. With Arch Linux it always sets to 1969 unless I run a simple script to execute ‘ntpd -q -g’ at startup, which I was forced to add myself.

Performance

Performance was a bit of a mixed bag. If I logged into the command line, Raspian seemed to execute faster and smoother than Arch Linux. But run the graphical desktop, first with LXDE and then XFCE4, and things got slower, many times annoyingly so. I did certainly appreciate the update to the Epiphany browser; it worked as well as advertised, but it also slowed considerably when it hit a site with a lot of complex features, such as this WordPress blog. I had hoped to write this update from the Raspian desktop, but I turned back to my workhorse Ubuntu system on the now-five-year-old Samsung R580 notebook to write this.

General Conclusions

Raspbian’s a good distribution for the Raspberry Pi B+, but for my tastes I think I’ll stick with Arch Linux for Arm. I had thought to try and unify all my Linux environments as much as possible around Ubuntu/Debian, but that won’t happen any time soon. My greatest concern outside of performance is drive footprint. Raspbian came out of the box consuming more drive space than Arch Linux, and I’ve been tinkering with Arch Linux since late January. When I installed Xfce, Raspbian’s overall footprint had grown to 2.7 GB, a good .5GB greater than Arch Linux, and that’s even after uninstalling Lxde from Raspbian.