31 Dec 2010

Why I use (and love) Ubuntu

Media_httprickvauseco_phufv
Since my inspiration to write has been rather dry the past couple of months, mostly due to work and work, I thought it would be cool to re-ignite my writing by sharing some reasons why I use (and love) Ubuntu. So here goes. There are many reasons why my partner, my son and I use Ubuntu but here is just a few.

Ubuntu and Gnome get out of your way

This is a big deal for me as I have a demanding job that means I need my system to just work and not bother me with configuration and complaints. Ubuntu and the Gnome desktop together work really well, the defaults are great and I know everything will just work so that I also may just work.

Compatibility with hardware

I am yet to come across any compatibility issues with hardware whilst using Ubuntu. This is great when I see colleagues and friends using Windows constantly hunting for compatible drivers for the right architecture and version of Windows whilst I know I can install Ubuntu on (almost) any machine and it will just work.

Discovering free software and choice

Free software is always good to have but the Ubuntu Software Centre just keeps getting better and better making it easier to discover new applications and utilities to make your Ubuntu experience better. This has become my primary platform for finding new software during the last two iterations of Ubuntu that have included many an update to the software centre. Although Ubuntu is shipped with a default set of software the choice is always there to use another media player, such as Banshee or another photo manager. The ability to remove components (even big ones like the desktop) is just as valuable as the ability to add them, choice is an advantage to any Linux desktop.

Media playback I don't have to worry about file formats, codecs, containers. Ubuntu will manage all this for me, it doesn't matter what sort of video or audio I am trying to play, it just works.

Design Ubuntu was very...brown when I started using it and it was not the prettiest looking desktop (by default) for a long time, but in the last two releases the design has come a long way with a new default theme that is almost a crime to change and a new font that looks amazing. It is only going to get better with the new Unity desktop that will be the default shell in Ubuntu 11.04.

Security Ubuntu and Linux is not targeted like Windows for malware and various other bad stuff. You will not have to constantly scan update and clean your system, you get security just by using it.

It's fresh With a new release every six months Ubuntu is always fresh and new and never goes stale. Updates are regular meaning your system is always secure and you are getting the new good stuff from the packages on your system. -- There are a ton of other reasons, such as the great dev tools, the ease with which you can set up a server, the super useful live USB and the massive community and plethora of ways you can get support.

The above are reasons why I love Ubuntu, based on my well established opinions.  They may well be the reason why you don't.

10 Oct 2010

A Thought About Salesmen

Media_httpwwwrickvaus_vgnsh
I know this could potentially piss off my colleagues as well as other peers but do we need them? This is coming from my area of work only, I know only about web services, websites, software, technology, I have no intention of bullshitting my way to make you beleive I really know anything about business. Putting myself in the shoes of a client (or potential client) I would much rather speak with a person with the functional ability and knowledge to get the job done rather than someone who's skills and abilities revolve around getting me to buy something that perhaps I don't even need. Sure they are young, smart, well presented and possibly intelligent, but do they really know what they are talking about? Sending out salesmen for your service, as far as I see it, is working in completely the wrong direction that this should work. If your product is good and has value then people are going to come to you. The only scenario where I see you needing a salesman is when your product or service is of no use to anybody, in which case, what the fuck are you doing?
3 Oct 2010

Service is in a State


Photograph by Christina Campisi

What happened?

Our little family of three were in the town center where we live yesterday and we had to find somewhere to get lunch. When my son's belly starts rumbling finding a place to eat gets quite time critical. So we hastily set about finding a place that looked like it might serve something that, at least, resembled food and could accommodate children. The first restaurant we entered had two floors (probably making use of the limited and probably more expensive space in a town center). We waited to be seated, until we were approached by a waitress who sent us upstairs and told us that we would be seated there. So we went upstairs where we were ignored for some reason. The top of the stair case was situated right by a door to the kitchen and several staff walked right by the three of us standing there like lemons, a little odd I thought. Whilst I was waiting I had a look around to see if there was no where to seat us, but there was plenty of space for my little family.

Read the rest of this post »

21 Sep 2010

Things to do after installing Ubuntu Maverick Meerkat (10.10)

The new release of Ubuntu is not long off so today I decided to try out the beta on my laptop. Seeing as I am going to have to do a similar installation on a number of desktops that I use, I thought that I would write a quick bash script to automate things I want executing once I have installed the new Ubuntu Maverick Meerkat release next month. So here it is:

#!/bin/bash

# To Begin
sudo apt-get -y install ttf-droid ttf-inconsolata
sudo add-apt-repository ppa:chromium-daily/beta
sudo apt-get -y update && sudo apt-get -y upgrade

# Gnome tweaks
gconftool-2 -s -t bool /desktop/gnome/interface/menus_have_icons true
gconftool-2 -s -t bool /desktop/gnome/interface/buttons_have_icons true

# Desktop fonts
gconftool-2 -s -t string /desktop/gnome/interface/document_font_name "Droid Sans 9"
gconftool-2 -s -t string /desktop/gnome/interface/font_name "Droid Sans 9"
gconftool-2 -s -t string /desktop/gnome/interface/monospace_font_name "Droid Sans Mono 9"
gconftool-2 -s -t string /apps/metacity/general/titlebar_font "Droid Sans Bold 9"
gconftool-2 -s -t string /apps/nautilus/preferences/desktop_font "Droid Sans 9"

# Remove the fail
sudo apt-get -y autoremove mono-runtime
sudo apt-get -y autoremove openoffice-*
sudo apt-get -y autoremove gnome-games-common
sudo apt-get -y autoremove evolution-common evolution-data-server evolution-plugins evolution-webcal evolution-indicator
sudo apt-get -y autoremove gwibber-service
sudo apt-get -y autoremove simple-scan
sudo apt-get -y autoremove pitivi

# Install the win
sudo apt-get -y install chromium-browser
sudo apt-get -y install hamster-applet imageshack-uploader shutter xchat gm-notify
sudo apt-get -y install git-core bzr sqlite3
sudo apt-get -y install build-essential python-dev libjpeg62 libjpeg62-dev zlib1g zlib1g-dev

# Plugins for mp3 playback and other media
sudo apt-get -y install gstreamer0.10-ffmpeg gstreamer0.10-fluendo-mp3 gstreamer0.10-plugins-ugl
sudo apt-get -y install flashplugin-nonfree

# Python stuff
sudo apt-get -y install python-setuptools
sudo easy_install pip
sudo pip install virtualenv virtualenvwrapper
echo "source /usr/local/bin/virtualenvwrapper.sh" >> ~/.bashrc
mkdir $HOME/.virtualenvs

# Cleanup
sudo apt-get autoremove && sudo apt-get clean all && sudo apt-get autoclean all

# Reminders
echo "***********************************************************************"
echo "Go and download Dropbox from https://www.dropbox.com/downloading "
echo "Go and install Wing IDE from http://wingware.com/downloads/wingide/4.0 "
echo "***********************************************************************"

As you can see, I am not in opposition to using a little bit of beta software. Hope you find this useful.

16 Jun 2010

Quick Tip for Gnome: Taking Back the Location Entry in Nautilus

I have seen this question come up a couple of times on IRC channels and now on twitter (warning: passionate language) so I thought I would explain how to retrieve the location bar that has seemingly been replaced altogether by the 'windowsy' location browser since 2.30. Just in-case you do not know what I am talking about here is a screenshot of what we generally do not want:
Media_httpwwwrickvaus_fmktb
And here is a screenshot of what we generally do want:
Media_httpwwwrickvaus_ulqge
It's not a difficult fix. All you need to do is open a terminal window and enter the following:
gconftool-2 -s -t bool /apps/nautilus/preferences/always_use_location_entry true
and to switch back:
gconftool-2 -s -t bool /apps/nautilus/preferences/always_use_location_entry false
Done.
14 Jun 2010

An Alternative to Dropbox using Bazaar

Ubuntu One is great in theory, but I have not been able to get it working in a way that I can rely on. I am constantly experiencing connection issues and finding it randomly crashes, so until that becomes more stable it remains shelved as I need something reliable and don't have the time to keep an eye on it. I recently read about SparkleShare which looks like a very easy to use take on version control (it's built aroung Git). But its not actually officially released yet, so I'll be keeping an eye on that one. I've been using Dropbox in the mean time, which is really great, for a lot of reasons. Problem is that it's not free and the version control side things seems to be very limited and I can't host my own files, I use it and enjoy it's ease of use but I never really wanted to use it. When I saw this post on the sync box (a non-dropbox solution to syncing files across different computers using Mercurial) I was inspired to do something similar and re-usable with Bazaar. The company I work for has a dedicated server with loads of space and bandwidth so I started by initializing a project in my home directory there. I then branched that project on my desktop and added a sync directory inside it with the following scripts: server
#!/bin/bash
bzr update
client
#!/bin/bash
bzr add
bzr remove
bzr commit -m "Update"
bzr push
bzr pull
sync
#!/bin/bash
cd $HOME/notdropbox
sync/client
I also added a README file to remind myself because I could be forgetful. I copied the file named sync to my home directory then pushed the project back to the server. Now the project has a stored push and pull location and should push and pull quietly. I set up a cron job to run the sync script every so often. I then went back to the server and set up a cron job to run the server script at regular intervals to update the project with pushed revisions. After that its just a case of branching the project on other computers I use and setting up a cron job, if I want a cron job. Another advantage to using Bazaar is that if I want to quickly get my files on a colleagues computer there is no configuration or sharing folders, I can simply just branch the project get what I need then discard it, if you know what I mean? So thanks to Paul Bissex at e-scribe.com for inspiring this one.
8 Jun 2010

Random Wallpaper Changer for Gnome

I've got loads of wallpapers. I really like high resolution images and the idea of having them on my desktop is great. I have collected so many because I thought it would be great to have all these wallpapers on my desktop. Problem, though, I somehow never find the time to change between all these wallpapers. So I thought I would write a little python script that I could run on a cron job as well as on login to pick a random wallpaper from my wallpaper folder and change the displayed wallpaper on my desktop. There may be the facility to do this already somewhere hidden in Gnome but I don't know about it and this seems like an incredibly simple solution. Long overdue in my opinion, but here it is.
import os, random

WALLPAPER_DIR = '/path/to/wallpapers'

walls = os.listdir(WALLPAPER_DIR)
wallpaper = os.path.join(WALLPAPER_DIR, random.choice(walls))

if os.path.exists(wallpaper):
    os.system('gconftool-2 -s -t string /desktop/gnome/background/picture_filename "%s"' % wallpaper)
Just save it somewhere it can execute from and run it as a cron job and/or at login.
8 Jun 2010

Update on Playing HD Video With an Acer Revo

This is an update of an earlier post where explained how to easily get set up to play video with the Nvidia ION chip that comes inside this tiny little Revo box. As of 30th May 2010, version 1.0 rc3 of Mplayer is shipped with support for VDPAU output and is available in Ubuntu's multiverse repositories. More information at Mplayer's website here.
26 May 2010

Fedora 13 Released and it is nice.

I tried Fedora Core 4 (or was it 5) a while back. I remember downloading and burning 4 CD's and battling to get it installed on my old Dell Dimension PC. I found it a little bit buggy, difficult to configure (I don't like spending a lot of time configuring an OS) and had loads of problems with regards to networking amongst many other things, it just didn't feel right. So I sacked it, binned the CD's and went back to using SUSE 9.0. Since then I have made the switch, like so many others probably have to everyone's favorite, Ubuntu and have been using the most current release since (as of writing this that is Lucid Lynx). Everything was going well until with Ubuntu until I upgraded to 10.04. A few of their latest packages seem a little unstable (I am running Evolution with dbg right now waiting for it to crash). But I am not writing this to talk about issues I am having with Ubuntu.
Media_httpwwwrickvaus_hyeii
I had been following news on Fedora for a while, since I had not fallen out of love with it completely. When I saw the announcement for the release of Fedora 13, I immediately downloaded it and created a Live USB using unetbootin. I decided to install it on my laptop as I could safely destroy all the data on it since all my work lies in subversion repositories and my dropbox account. I was well impressed with the installation experience. There was, all the usual options that you would expect from an installer and it was rapid! After about 5 minutes of booting the Live USB, setting up the installer to start running, I left the room and made some coffee. When I returned it was complete. This suggests it took less than the 7(ish) minutes I was away from the laptop. On first booting Fedora 13 you are asked to set up your user account and log in. The packages that come with the Live version are not too overwhelming, which is good, in most cases all you need is a simple set of tools to get the job done. ie gedit, empathy, rhythmbox, pino, etc. The configuration is simple, and well designed. There is not a huge array of 'configurators' that you get with a distro like Ubuntu, there is a simplified well defined set of easy to use controls to configure your desktop and system -  there is even a colour manager, to set up colour output for your display (very cool). The graphical package install is a little difficult to use, however. All in all, the whole feel of Fedora 13 is really robust and stable, sometimes other distro's desktops just feel like your mouse cursor might fall through the desktop , I am yet to experience this feeling yet with Fedora 13. I am still getting to know Fedora but what I have seen so far it has been a great experience. I'm going to leave it on the laptop and continue using it to see how it goes. Go get it and give it a whirl.
25 May 2010

Awesome T-Shirts: Last Exit to Nowhere

I like t-shirts a lot, so today whilst I was taking a look at the Satchmo Project (a Django based shopping cart framework), I was really pleased when looking through their gallery of sites that use Satchmo, to find Last Exit to Nowhere, an online T-Shirt shop that sell t-shirts with designs inspired by fictitious places and companies from movies.
Media_httpwwwrickvaus_bbdec
I think I may have to buy the Initech shirt immediately.

Rick Vause's Space

Hi, I’m Rick Vause. I am a web developer that loves Python.

I have always been interested in technology and software. I am a keen supporter of a number of open source projects.

I am obsessed with my ideas and attempts to continuously better myself in both my work and leisure time. I am always learning and trying to improve as long as there is space left in my head. I often find interesting, new things (interesting and new to me, at least) that I share on my blog.

I also like music and art.

I once spent 2 months working on a self-portrait that turned out terrible so for the avatar portrait I turned to my better half, Klaudia.

If you have any questions, comments or wish to talk to me about a project you are working on, please contact me.

I also try to be social so you can find me on Twitter, Facebook and Last.fm.

Contributors

Rick Vause