Monday, December 19, 2011

Application Spotlight: Qalculate!

Today's application is my favorite calculator on a desktop computer (and my N900). It is called Qalculate!:


- All drivers need education before they hit the road. Learn more at Education4Drivers -

Qalculate! has all the features you expect from a calculator and has a fairly straight forward layout:



I like Qalculate! because in addition to being fairly simplistic in appearance it is also a powerful tool. Qalculate! supports creating your own functions and by default it comes with a slew of it's own:


As you may note from the menu Qalculate! also comes pre-programmed with a variety of scientific variables and various unit conversions (because the US is silly and still doesn't use the metric system!).

Beyond the functionality of Qalculate! it is also a well written tool because the calculations/tasks it performs are completed separated from the GUI front end. This means Qalculate! comes with more than one front end, currently it has both GTK and QT options (and I hope to see an EFL front end some day). If you have not yet tried Qalculate! out before I highly recommend it. You should be able to easily find and install it from your distribution's repositories (Bodhi users can also find it in the appcenter).

Cheers,
~Jeff Hoogland

Saturday, December 10, 2011

HOWTO: Force Skype to use Alsa on Linux

Like it or not Skype is a popular piece of software. In fact it is so popular it is the only piece of voice communication software a number of my friends will use. Because of this I have an account an use it on my Bodhi system every now and then (at least it has a native - if poor - Linux client and I don't have to run it via Wine). In case you didn't know - Bodhi ships with just the Alsa sound server by default (there are a number of reasons for this - none of which I am going to get into here) and luckily Skype installs and works perfectly fine with Alsa - until pulse audio shows up that is.

It seems something I installed recently drug pulse audio in with it as a dependency - this would be fine and dandy except for the fact that my Skype audio (input and output) 100% stopped with the addition of pulse audio to my system. Apparently the authors of Skype (in their infinite wisdom) made it so that if Skype is launched while pulse audio is installed Skype will use pulse (and only pulse) without the option to change back to Alsa. As I mentioned above my Skype audio was non-functional under pulse (for whatever reason) so I sought out a method for forcing Skype to use Alsa without having to remove pulse audio from my system.

The Solution -
To start, you need to close Skype and then kill the pulse audio server. To do this in one swift command open a terminal and run

killall skype && killall pulseaudio

Next you need to tell your pulse audio server not to auto launch itself (which it does by default). To do this we simply need to add one configuration setting to a file. To do this run the command:

nano ~/.pulse/client.conf

In the text file that is opened paste the following line:

autospawn = no

Save and close the file (ctrl+x when using nano), launch Skype and you should be good to go.

Hope this saves someone the 20 minutes I spent crawling around Google to track down this information.

~Jeff Hoogland

Thursday, November 17, 2011

HOWTO: Use APT without the Bloat

Today I would like to share a small tidbit with all the users of APT distros out there. One of the reasons Bodhi Linux is so light weight and snappy is because when I install all the base packages for Bodhi I install them with the minimal amount of extra dependencies.

For whatever reason a good deal of Debian packagers like to tack on a whole slew of "optional" dependencies to the packages they create. By default apt-get installs all of these extra dependencies on your computer. If you are like me and don't want all the extra bloat it is as simple as running apt-get with on extra argument:

sudo apt-get install --no-install-recommends foo 

In the above example "foo" is the name of the package you wish to install. Doing this can save a good bit of space on your system. For example:

sudo apt-get install abiword


VS

sudo apt-get install --no-install-recommends abiword


or

sudo apt-get install k3b


VS

sudo apt-get install --no-install-recommends k3b


~Jeff Hoogland

Wednesday, November 16, 2011

One Year with Bodhi Linux

Today marks the one year point from our first Bodhi Linux "0.1.0" release. I feel we have come a long way in such a short time and I am happy with everything the team has accomplished thus far. Would you believe that I first started Bodhi simply because I was tired of having to recompile E on each of my half dozen systems every week?

What has been done in the last year? Well we racked up over 150,000 ISO downloads between source forge and our torrent tracker alone (and over two-thirds of these downloads have been since our 1.0.0 release in March). In addition to disc downloads it would appear more people are actually using Bodhi due to the increase of server traffic (on our main mirror) we have experienced over the last year:


Our forums have also become fairly active. We total almost 30,000 posts now from our 1,600 users.

I would also like to take a moment to thank our community for all the contributions people have made. Our document wiki has been gaining more and more valuable content. It has become a truly great resource.

Beyond this I would like to thank everyone that has contributed a monetary donation. When the Bodhi project first started Ken and I paid out of pocket for all the server costs. Since we opened the door for donations in February we have more than covered our server costs each month. The 150$ our main mirror has cost the last couple months may not seem like much, but it is costly for two students to maintain on their own.

Looking to the future I'd just like to clear up a few release dates and plans our team currently has. First off our next update release (1.3.0) will be out towards the end of December. This will again be something current Bodhi users can easily update their systems to obtain - it's main goal is to keep the LiveCD current. We will continue to have these update releases for our 1.x.y versions until the release of Bodhi 2.0.0

Speaking of Bodhi 2.0.0 - this will be our next "major" release, meaning a full reinstall will be recommended for those wanting to move from the 1.x.y version of Bodhi. 2.0.0 will be re-based on the new Ubuntu LTS 12.04 version. With this version we also plan to add a 64bit version of Bodhi that will have workstations and multimedia production systems in mind. Since Ubuntu 12.04 releases in April expect to see Bodhi 2.0.0 sometime after that, most likely May or June.

While I'm on the topic of new architectures I'd like to also say we will be moving forward with our Debian based ARM build. I'm also excited to announce that Genesi has become a Bodhi Affiliate - meaning we plan to support our ARM build on their hardware once we get a bit further along. We also hope to extend our support to the Raspberry Pi devices as well once they are released.

Thanks for reading and we hope you enjoy using Bodhi!



~Jeff Hoogland

Tuesday, November 15, 2011

Application Spotlight: Parcellite

After getting a few comments on my post about NCDU I've decided I'm going to start doing a few posts a month with the topic of "Application Spotlight". Basically I am going to feature applications I use on my Linux desktop every week that I feel haven't seen enough attention in the FOSS world to date.

Today I would like to talk about a light weight clip board manager called:



- We all have our favorite celebrities. Get high quality posters of yours at IDPoster. -

A clipboard manager is one of those small things I have that make using my Linux desktop more enjoyable (it is also one of the things I miss the most when sitting down in front of someone else's computer). A clipboard manager essentially just saves the last couple of dozen lines you have saved with ctrl+c:


If you can't think of any situations in which a tool like this is useful I ask you to simply use it for a few days and you will find a few. I like parcellite because in addition to being stable it is also light weight, it's installation leaves a fairly minimal footprint (just a few GTK things).

Parcellite is also fairly configurable:


All in all I believe Parcellite is an excellent piece of software. It is almost always one of the first things I install while setting up a newly installed Linux distro. Give it a try and let me know what you think of it.

~Jeff Hoogland

Monday, November 14, 2011

Playing Magic the Gathering on Linux with Cockatrice

If you ask almost anyone that knows me in person they will attest to the fact that I am a huge nerd. Today I would like to give a short tutorial on how I've combined two of my most nerdy passions:


For the uninformed, Linux is my operating system of choice and Magic the Gathering is a trading card game created by Wizards of the Coast. I recently came across an open source application that is being written in C++ and QT4 called Cockatrice that allows you to play Magic the Gathering games over the internet for no charge. I intend to do a full review/overview of all the features Cockatrice offers at some point in the near future, today however I would simply like to go through how the get this excellent piece of software installed and setup on Linux.

Installation:

If you are using Bodhi Linux then you are in luck, Cockatrice is in our official repositories. Grab it from our App Center or by simply install it by running:

sudo apt-get install cockatrice

If you are running something other than Bodhi Linux that is still Debian based I try to keep the .deb packages I create fairly generic. You can try manually downloading and installing my package from here. If you now have Cockatrice installed you can skip down to configuration section below. 

If that doesn't work (or if you are using some other distribution) compiling Cockatrice from source isn't a huge deal. The exact package names will vary based on your distribution but you need to first install: Git, GCC, QT4 Developmental, QT4 Mobility and Pulse Audio. Next download the source code from here, extract it and run the following from the source directory:

cmake .
make
sudo make install

Depending on the speed of your system the make lines may take a little while, if all goes without errors you will be set to move on.

Configuration:

Next you just need to take care of a few configuration things and you will be ready to start slinging some cards. If you installed Cockatrice from my Debian package you will have two new menu entries under Applications->Games. First you need to run the Cockatrice card downloader (if you built Cockatrice from source run the command oracle). You will be greeted with a window that looks like:



Click File->Download Sets and then select OK on the window that pops up. Next, check the boxes next to the sets you want to download (really it is best to just check them all) and hit start download:


Wait for this to finish (it will take a while based on how fast your internet is). Once it is done, load Cockatrice (cockatrice if you installed from source). You will be greeted by a configuration window that looks like:


You will need to select the path you want to save your decks and downloaded images in. These can be where ever you want (personally I put them right into my dropbox). The third entry needs to point to the card information you just downloaded though. If you installed with my Debian package this file should be located in /opt/cockatrice/oracle/cards.xml:


Once you set these three paths simply hit close and you should be greeted by the main Cockatrice window. Before you can play you will need to make a deck. The deck editor is select-able from the main menu:


Finally once you have a deck saved you can connect to the main cockatrice server and play a few games:



Have any issues feel free to drop a comment below and I'll do my best to help you out. If you see me online feel free to ask for a game - my user name is the very non-creative "JeffHoogland"

Have fun!
~Jeff Hoogland

Monday, November 7, 2011

Bodhi Linux ARM Repository Online

Five months ago I did a post announcing that we are working to bring Bodhi to ARM devices. I've been rather quiet about this part of our project since then. We are still finalizing the direction this part of our project is headed in, but for now we have landed on the choice of Debian Wheezy as our core. Our repository is currently online and you can easily install our Enlightenment packages on top of your Debian Wheezy ARM install by following these steps:

Edit your /etc/apt/sources.list file and add the following line (yes squeeze is correct):

deb http://packages.bodhilinux.com/bodhi/ squeeze stable

Save and close the file and then run:

sudo apt-get update && sudo apt-get install bodhi-desktop

Let apt work it's magic and you will soon have our customized Enlightenment desktop installed on your system (there are even some extra E modules in the repo). Our goal is to get our ARM packages as polished and stable as our x86 release on a variety of hardware.
 
I've recorded a short demo video of these packages running in a Debian chroot on my Nokia N900:


As you can see, still a little rough around the edges - but we will be improving these in the coming months. If you wish to help us test packages be sure to leave us some feedback on our forums.

Finally, we will not be officially supporting ArchOS Gen8 devices as we had hoped. The number of lacking closed source drivers they require make it impossible for us to achieve the level of polish on these devices we would like to see. Note the steps above work for installing Bodhi packages on your ArchOS after installing Debian.

~Jeff Hoogland