Category Archives: Ubuntu 12.04

view-pictures-xbmc

How to install XBMC in Ubuntu 12.04/11.10

XBMC is a free and open source media player – more precisely a Media Center Application with a bunch of cool and exciting features, which can be easily extended using freely available plugins. It’s a cross-platform application – available not only for Ubuntu or other GNU/Linux distributions (including Linux Mint, Fedora, ArchLinux etc) but also for Windows and Mac OS X.

The fancy & cool UI (user interface) and ease of use made it an award winning Application – an complete Entertainment Hub; so it’s perfect for Home Theater Experience. XBMC supports all kinds of popular media formats and it can play from anywhere i.e either remote files or local files from your hard-disk (but it must be mounted, e.g if you’ve some media files on a partition that is not mounted on startup then obviously you have to mount those partitions manually before trying to access those partitions from XBMC Media Center).

xbmc-snapshot

Install XBMC on Ubuntu 12.04 LTS / 11.10

Open a terminal and execute these commands –

sudo apt-add-repository ppa:nathan-renniewaldock/xbmc-stable
sudo apt-get update
sudo apt-get install xbmc

In Ubuntu there are already great media players available – the default one, VLC, etc but XBMC is some what different! If you’re running Ubuntu 11.10/12.04, then you must give it a try!

Here is few random snapshots of XBMC running on Ubuntu 12.04 (right now, i’m using Beta version, but stable will be out within a couple of months)

Installing Cool Add Ons in XBMC Media Center –

TV Guide – it’s a simple add-ons which will give you an overview about current TV programs.

xbmc-add-ons

Playing a mp3 song – from my music collection (Hard-disk)

xbmc-mp3

Browsing Pictures in XBMC –

view-pictures-xbmc

XBMC Settings

xbmc-settings

Recommended Reading(s)

  • XBMC.ORG – Visit official site for more goodies like – XBMC skins, plugins and scrips to customize it for complete Fun! :)
gitk snapshot

How to install Git on ubuntu 11.10/12.04

Git – is the fast, simple and easy to use version control system, and of course it’s a free software! Git is basically a distributed version control system (unlike subversion, which is a Centralized one) and you can even work offline, because network access is required only when you want to sync project files (using push, pull or fetch command). If you are new to version control system, then you must give it a try, it will make your development work less painful.

Ubuntu has now become a popular choice for development platform, so if you’re new to Ubuntu, then in this article you will learn how to start using git on Ubuntu 11.10/12.04/or older versions.

gitk snapshot

Install Git from Official Package Repository

it’s the most easy and recommended way to install Git on Ubuntu, but sometimes you may not get the latest version from the package repository, so unless you have strict version requirements/dependencies go for this method.

open a terminal and execute –

sudo apt-get install git-core

After installing Git, you may like to install gitk for visualizing commits in graphical way.

 sudo apt-get install gitk

Installing Git from Source

If you install git from source, you will always get the latest version. You may have to install some dependencies such as curl, zlib etc before installation procedure.

Install dependencies

sudo apt-get install  devl expat openssl zlib1g zlib1g-dev

Download the latest source code from the official site, and extract it. Then execute the commands (from the directory) –

make prefix=/usr all
sudo make prefix=/usr install

That’s All, now you can start using git for your project. e.g

cd your_project_directory
git init
git add .
git commit -m "It's my first commit"

Recommended Reading(s)

  • gitref.org – A good Reference/Tutorial for git
  • Intro to Git – Good introduction to Git, available in Video and PDF formats
nightingale-snapshot

Songbird for Ubuntu 11.10/12.04

Songbird is a free and open source audio player, available for Mac and Windows. It no longer supports GNU/Linux distributions such as Ubuntu, But the songbird project has been forked and imported to GNU/Linux platform (not only that it is also available for Mac OS X and Windows) with the name – Nightingale. So if you were missing songbird on Ubuntu 12.04/11.10 (or older versions or any other GNU/Linux distro such as Linux Mint, Fedora etc) then it’s time to cheer up as Nightingale – The New Songbird has arrived!

Nightingale – Songbird forked for GNU/Linux and other platforms

Nightingale has added some new features and done some significant performance improvements, such as faster search of music and improved user interface. A lot of cool add ons (listen to Last.fm radio, SHOUTcast Radio or edit lyrics using MLyrics in your right side pane) are available to add some missing features or something else you want to have.

nightingale-snapshot

Download and Install Nightingale in Ubuntu 11.10/12.04

On Ubuntu, the easiest way to install a third party application would be using PPA but unfortunately the PPA for Nightingale is not available right but some work is going on, so when the PPA will become available, I’ll update this post accordingly. It means, right now if you want to try it on Ubuntu or any other GNU/Linux OS, then Download the Archive and install it (or just run the executable).

Now, Go to Preferences and customize it as you want e.g add some cool add-ons for some extra features, web integration settings, media importer settings etc.

nightingale-preferences

That’s All – now import all your music stuffs and enjoy! :)

How to Tweak Unity Settings in Ubuntu 11.10/12.04

Unity is the default desktop in Ubuntu 11.10 (current stable version) or 12.04 LTS (upcoming, although beta 1 has released), so if you’re a new Ubuntu users and want to tweak some default settings (e.g fonts, icons, themes, behavior, launcher etc) of Unity Desktop, then try the Application called – MyUnity, very similar to what Gnome Tweak Tool does for Gnome Shell interface.

MyUnity – Customize Unity in Easy way!

myunity-snapshot

MyUnity is a simple tool for customizing Unity desktop in Ubuntu. The user interface has been updated according to the new look of Ubuntu, so it looks more native in Ubuntu 12.04 or 11.10 (or older versions but some features won’t be supported). So using MyUnity you can change the default look/layout, in one simple click. The above snapshot – explores the options to customize the unity launcher, while other random snapshots (below) will give you an idea – about the things you can configure using MyUnity.

myunity-dash

myunity-desktop

myunity-themes

How to install MyUnity on Ubuntu

In Ubuntu 12.04, it’s there by default, in official repository so just execute the single command or search in Ubuntu Software Center.

sudo apt-get install myunity

11.10/11.04 users can install via a PPA –

sudo add-apt-repository ppa:myunity/ppa
sudo apt-get update
sudo apt-get install myunity

Update! (Sep 04, 2012) – I forgot the cool app – Unsettings

Unsettings

Another great app for changing the default behavior of Unity. Using Unsettings, you can easily change various unity settings such as Unity panels, launchers, Dash and of course the other desktop attributes such as GTK icons, themes, cursor, fonts etc. If you don’t like the global menu in Unity, then you can easily turn it off, and get back the classic style menu.

unsettings-snapshot

Install Unsettings in Ubuntu [12.04]

sudo apt-add-repository ppa:diesch/testing
sudo apt-get update
sudo apt-get install unsettings

How to setup Google Public DNS on Ubuntu (11.10/12.04)

DNS i.e Domain Name System is a Naming System responsible for translating the human friendly domain names to I.P address. In most of the cases, by default – you would be using your ISP’s DNS server which may be slow or some geographical restrictions might be there. In such cases, it’s often recommended to use DNS service provided by third party such as OpenDNS (refer to article about setting up OpenDNS in Ubuntu, basically the process are same – only the I.P address of the servers are different) or the Google Public DNS, did I forget to mention that both DNS service are Free! (in general). it supports IPv4 as well as IPv6.

So, if you are not sure where to use ISP DNS server or Google Public DNS then you must know about some additional benefits of using Google Public DNS –

  • Faster DNS Lookup
  • Improved Security (Protection from phishing sites/domans)
  • No redirection (additionally, you can also access the sites blocked from ISP DNS Provider)

Change your Internet Settings to use Google Public DNS

Although the tutorial is primarily targeted for Ubuntu users but it should also work well on similar GNU/Linux distributions such as Debian, Linux Mint, OpenSuse etc. Just follow the simple steps and enjoy faster web surfing with Google Public DNS.

network-applet-ubuntu

#1. Go to Network -> Edit Network Connections

edit-network-connections

#2. Select your Network connection, you want to setup with Google Public DNS and click Edit. Then go to IPv4 Settings tab and select “Automatic (DHCP) addresses only ” in the Method section.

google public dns

#3. Now, specify the IP address in DNS Servers field and click on SAVE. Then restart your Router to start using Google Public DNS servers.

8.8.8.8, 8.8.4.4

Recommended Reading(s) and Reference(s)