How to install SoftSqueeze on Ubuntu

Softsqueeze is a software music player developed in Java (allowing it to work on most operating systems) that works with the Squeezebox Server software. Softsqueeze emulates most of the Boom, Duet, Transporter, Squeezebox and Slimp3 hardware music players. It uses a TCP based protocol, allowing it to use across the Internet and through firewalls/NAT routers using ssh tunneling. The software music player supports synchronization with hardware players.

Prerequisites (what you need to get it working):

  • Hardware
    • Computer running Ubuntu
    • SqueezeCenter Server
    • Network connection
  • Software
    • SoftSqueeze

 

Let’s get started:

Download the java version of SoftSqueeze (the .zip file) from your favourite browser.

Create a folder called SoftSqueeze in your home folder by opening a terminal window (Applications \ Accessories \ Terminal).

mkdir SoftSqueeze
cd SoftSqueeze

 

Now unzip the zip file:

unzip ~/Downloads/softsqueeze_3.8.zip

 

Make the JAR file executable:

sudo chmod +x SoftSqueeze.jar

 

Install Sun Java 6 Runtime:

sudo add-apt-repository “deb http://archive.canonical.com/ lucid partner”
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-fonts

 

Make JAR file open with Java:

java -jar ~/SoftSqueeze/SoftSqueeze.jar

 

The only thing left to do in Softsqueeze is to point it to the SqueezeCenter Server and redirect the audio output to “Java Sound Audio Engine”.

 

Suggestions for improving this article are welcome, please let me know and drop me a line.

Ubuntu upgrade resulting in a no sound situation

After working happily a couple of months with Ubuntu 10.04 I installed a new kernel with the update feature. This resulted in not having any sound or volume controls. After reading a lot on internet articles  I found the following article… Comprehensive Sound Problem Solutions Guide v0.5e I followed the following commands that brought back sound to my notebook.

Getting the ALSA drivers from a *fresh* kernel

Sometimes, sound might be configured correctly, but for some reason or another (tinkering) it stops working. One way to go back to the old setup is to reinstall Ubuntu. However, this step is actually quite unnecessary since you are reinstalling everything because of one thing.

A faster way, is to just remove the problematic packages and reinstall them cleanly.

Step – 1: Remove these packages

Code:

sudo apt-get –purge remove linux-sound-base alsa-base alsa-utils

Step – 2: Reinstall those same packages

Code:

sudo apt-get install linux-sound-base alsa-base alsa-utils

[LIST][*]

VERY IMPORTANT NOTE: Ubuntu (GNOME) users have reported that packages ‘gdm’ and ‘ubuntu-desktop’ are removed after removing the linux-sound-base packages. If this happens, then do the following

Code:

sudo apt-get install gdm ubuntu-desktop

Step – 3: Reboot

Using Excel’s conditional formatting to colorize the weekends

In this period of the year most of us are starting to make plans for next year, Excel is an incedibly powerfull tool that can help you visualize your plans. Using Excel’s conditional formatting you can colorize the weekends and make them standout more than the other days of the week or vice versa. This article is an How to colorize the weekends in Excel using conditional formatting.

To colorize the weekends in Excel using conditional formatting, based upon the date in column B, you can use the following formula:

=IF(OR(WEEKDAY($B2)=1;WEEKDAY($B2)=7);1;0)

 

To create a rule using conditional formatting:

  • Select the cells that you want to apply the conditional formatting to.
  • Click “Conditional Formatting”.
  • Choose “New Rule”.
  • In the “New Formatting Rule” dialog box, choose “Use a formula”.
  • Under “Format values”, type the formula: =IF(OR(WEEKDAY($B2)=1;WEEKDAY($B2)=7);1;0)
  • The formula uses the dates in column B (You can select your own column with dates, by replacing the $B2 part in the formula with the column letter of your choice).
  • Click “Format”.
  • In the “Color” box, select your favourite color.
  • Click “OK” until all dialog boxes are closed.

 

Suggestions for improving this article are welcome, please let me know and drop me a line.

Give your Raspberry Pi a fixed IP address

Having a fixed (or static) IP address on your Raspberry Pi, comes in handy if you want to access your Raspberry Pi from the internet (for a how to about port forwarding, read this article). As you might want to use ownCloud for instance.

You can give your Raspberry Pi a fixed IP address by editting the network interfaces file.

But first, we are making a backup of the old configuration!

sudo cp /etc/network/interfaces /etc/network/interfaces.bak

 

Next thing is, editing the network interfaces file:

sudo nano /etc/network/interfaces

 

Although the IP address you want to use might be different, make your /etc/network/interfaces look like this:

auto eth0                                     # The loopback interface

iface eth0 inet static              # Tells your Raspberry Pi to use a static IP address

address 192.168.2.25            # Defines the static ip address
gateway 192.168.2.1              # Defines the gateway to use (choose the IP address of your modem)
netmask 255.255.255.0     # Defines the subnet mask

network 192.168.2.0             # Defines the network family
broadcast 192.168.2.255    # Defines the network family

 

You can save the adjustments you made to your /etc/network/interfaces file by pressing ctrl o

Press ctrl x to exit

 

After saving your new settings, you need to activate them by restarting your network components:

sudo /etc/init.d/networking restart

 

Suggestions for improving this article are welcome, please let me know and drop me a line .

Getting Broadcom STA to work on Ubuntu Studio 13.04 or Xubuntu

As I upgraded Ubuntu Studio 12.10 to Ubuntu Studio 13.04 on my Mac Book 5.1 my wireless stopped working… After surfing the internet for a couple of days I’ve found the following solution to enable the Broadcom STA on my Mac Book 5.1.

Check whether Ubuntu sees your Broadcom STA device by running the lspci command from a terminal:

lspci | grep Network

 

After using the the lspci command you should get something like this:

03:00.0 Network controller: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01)

 

Next up is, installing the drivers. To install the drivers run the following command using the terminal:

sudo apt-get install firmware-b43-installer

 

The broadcom-sta-common package, blacklists the b43 driver.

To fix this you need to edit the file: /etc/modprobe.d/broadcom-sta-dkms.conf

 

You can do that by using the following command in the terminal:

sudo nano /etc/modprobe.d/broadcom-sta-dkms.conf

 

Delete or comment out with a “#” the line “blacklist b43”, my file looks like this:

# wl module from Broadcom conflicts with the following modules:
# blacklist b43
blacklist b43legacy
blacklist b44
blacklist bcma
blacklist brcm80211
blacklist brcmsmac
blacklist ssb

 

Then to force the module to load during boot by using the following command in the terminal:

sudo nano /etc/modules

 

Then add a line with “b43”, my /etc/modules file looks like this:

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with “#” are ignored.
lp
rtc
b43

 

You don’t need to reboot your computer as you can load the module manually by entering the following command in the terminal:

sudo modprobe b43

 

Suggestions for improving this article are welcome, please let me know and drop me a line.