Archives For Ubuntu 14.04

Linux Kernel 3.17

Linus Torvalds finally announced the stable release of Linux Kernel 3.17. He wrote on the Linux Kernel Mailing List (

So the past week was fairly calm, and so I have no qualms about releasing 3.17 on the normal schedule (as opposed to the optimistic “maybe I can release it one week early” schedule that was not to be).

However, I now have travel coming up – something I hoped to avoid when I was hoping for releasing early. Which means that while 3.17 is out, I’m not going to be merging stuff very actively next week, and the
week after that is LinuxCon EU…

What that means is that depending on how you want to see it, the 3.18 merge window will either be three weeks, or alternatively just have a rather slow start. I don’t mind getting pull requests starting now
(in fact, I have a couple already pending in my inbox), but I likely won’t start processing them for a week.

Anyway, back to 3.17. Nothing major happened during the last week, as you can see from the appended shortlog. Mostly drivers (i915, nouveau, ethernet, scsi, sound) and some networking fixes. With some misc
noise all over.

Go out and test,


What’s New in Linux Kernel 3.17:

  • Radeon R9 290 “Hawaii” GPUs finally play nicely with the open-source AMD Linux driver.

  • Microsoft Xbox One controller support.

  • Improvements to the Sony SIXAXIS support

  • Toshiba “Active Protection Sensor” Support, a driver to detect if Toshiba laptops are in a free-fall.

  • New ARM hardware support: Rockchip RK3288 SoC, Allwinner A23 SoC, Allwinner A31 Hummingbird, Tegra30 Apalis board, Gumstix Pepper AM335x, and the AM437x TI evaluation board.

  • Open-source NVIDIA driver improvements.

  • DMA-BUF cross-device synchronization support

  • Broadcom BCM7XXX-based board support

  • ACPI 5.1 activity and other power management improvements.

  • Audio support includes Wildcatpoint Audio DSP on Intel Broadwell Ultrabooks.

Install / Upgrade to Linux Kernel 3.17 in Ubuntu:

Ubuntu Kernel Team has made the binary packages, available for download in the link below:

Download Linux Kernel 3.17 (Deb)

You may first check out your OS type, 32-bit (i386) or 64-bit (amd64), then download and install the packages below in turn:

  1. linux-headers-3.17.0-031700_xxx_all.deb
  2. linux-headers-3.17.0-031700-generic_3.17.0-031700.xxx_i386/amd64.deb
  3. linux-image-3.17.0-031700-generic_3.17.0-031700.xxx_i386/amd64.deb

For Ubuntu server that does not have a graphical session, you can download and install the kernel by running below commands one by one:

For 32-bit system, navigate to /tmp, download the debs and finally install them via below commands:

cd /tmp/




sudo dpkg -i linux-headers-3.17.0-*.deb linux-image-3.17.0-*.deb

For 64-bit system, run:

cd /tmp/




sudo dpkg -i linux-headers-3.17.0-*.deb linux-image-3.17.0-*.deb

When done, restart your computer.

Tip: If you’re using a proprietary video driver, you may need to re-build (or re-install) the driver to get it work with new kernel.

If for some reason, the new kernel does not work properly for you, reboot with the previous Kernel (Grub boot loader -> Advanced -> select previous kernel) and run below command to remove Linux Kernel 3.17:

sudo apt-get remove linux-headers-3.17.0-* linux-image-3.17.0-* && sudo update-grub

That’s it. Enjoy!

Install Quassel irc client ubuntu

This quick tutorial shows you how to install the latest release of Quassel IRC client in Ubuntu 14.10, Ubuntu 14.04, Ubuntu 12.04 and derivatives via PPA.

Quassel is a modern, cross-platform, distributed KDE / Qt IRC client. One (or multiple) client(s) can attach to and detach from a central core. It’s much like the popular combination of screen and a text-based IRC client such as WeeChat, but graphical.

Quassel Irc Client

While Ubuntu 14.04 Software Center provides Quassel 0.10, the latest release has recently reached 0.11. See what’s new:

changes in v0.10.1:

  • Fix buffer hotlist sorting

  • Split CTCP messages if they’re too long

  • Make database problems more obvious

  • Fix backlog loading for QuasselDroid

  • Properly save the toolbar state on Mac OSX

  • Fix a crash with KDE’s network detection

  • Various other fixes

changes in v0.11.0:

  • New build requirements: C++11 capable compiler (gcc 4.7+, clang 3.3+, MSVC 2013+), cmake 2.8.9+

  • Full support for Qt 5.2+ in addition to Qt 4.6+

  • Completely revamp the build system, making use of “new” CMake features

Install Quassel IRC Clien via PPA:

Thanks to Michael Marley, a PPA repository has been created with the latest stable builds of Quassel packages for Ubuntu 14.10, Ubuntu 14.04, Ubuntu 12.04 and derivatives.

1. Press Ctrl+Alt+T on keyboard to open terminal. When it opens, run the command below to add the PPA:

sudo add-apt-repository ppa:mamarley/quassel

Type in your user password when it asks. Note that there is no visual feed back when you’re typing a password.

2. Then update and install the client:

For KDE build, run:

sudo apt-get update; sudo apt-get install quassel

For Qt build, run:

sudo apt-get update; sudo apt-get install quassel-qt4

Install Quassel IRC Client

Once installed, open the irc client from Unity dash or application menu and you can receive future updates by running regular update via Software Updater.

clean up sound menu players

Have tried multiple media players in Ubuntu and found that the sound menu is full of player controls? Well, below I’ll tell how to clean it up by removing unwanted players from the menu.

Remove unwanted players from sound menu

Remove unwanted players from sound menu

To get started, we need a simple tool called dconf-editor. If you don’t have it on your system, click the link below to bring up Ubuntu Software Center and click the install button.

click install dconf-editor

Once you have it installed, open the tool from Unity dash or left launcher. When dconf-editor opens, navigate to com -> canonical -> indicator -> sound.

Double click the closed brackets next to ‘interested-media-players’ and remove the names of the players ended with .desktop.

For me, after removing ‘tomahawk.desktop’, ‘pragha.desktop’, ‘gnome-music.desktop’, ‘rhythmbox.desktop’, ‘pithos.desktop’, ‘nuvolaplayer.desktop’, only VLC media player is left under the sound menu.


If you later launch a player after you “removed” it, it will be added back to the sound menu automatically. To prevent this happens, add it into blacklisted-media-player.

In my case, pragha and gnome music player will be never listed in the sound menu, even you’re listening with one of them.


That’s it. Enjoy!

Pandora Radio Client for Ubuntu Linux

This tutorial shows how to install Pithos, a native Pandora Internet Radio client, in Ubuntu 14.04 or Ubuntu 14.10 via its PPA repository.

Pandora Radio is a music streaming and automated music recommendation service which is only available in the United States, Australia and New Zealand. The service plays musical selections of a certain genre based on the user’s artist selection.

Pithos is an open source Pandora Radio client for Linux. It’s much more lightweight than the web client, and integrates with desktop features such as media keys, notifications, and the sound menu.

Pandora Radio Client in Ubuntu

The client features:

  • Play / Pause / Next Song
  • Switching stations
  • Remembering user name and password
  • Cover Art
  • Thumbs Up / Thumbs Down / Tired of this song
  • Notification popup with song info
  • Launching song info page and station page
  • Reconnecting when pandora session times out
  • Editing QuickMix
  • Creating stations
  • Media Key support
  • Proxy support
  • scrobbling

The latest release has reached v1.0.1, you can get the detailed changes from the github page.

Install Pithos in Ubuntu 14.10 / 14.04:

The developers have created a PPA repository that provides the latest packages for Ubuntu 14.10, Ubuntu 14.04 and their derivatives such as Linux Mint 17.

To install the client, press Ctrl+Alt+T on keyboard to open terminal. When it opens, paste commands below and run one by one:

sudo add-apt-repository ppa:pithos/ppa

sudo apt-get update

sudo apt-get install pithos

Install Pithos Pandora client

If you don’t want to add the PPA, grab the .deb installer directly from the launchpad page.

create wifi hotspot in Ubuntu for android

Dear readers, I’ve found a new way to create wireless hotspot in Ubuntu, AP mode with Android devices support, using Unity’s Network Manager.

After this tutorial, I’ve found 3 ways to create wifi hotspot in ap mode:

  1. Using Ap-hotspot, an open-source app from github: see this post.
  2. Using KDE connection editor, see the post.
  3. Using Unity’s Default Network Manager with a little hack. See below

Below I will show you how to use Unity’s default network manager to create a wireless hotspot with Android devices support, tested in 64-bit Ubuntu 1404 with Nexus 4 and Sumsung Galaxy ace3.

1. Disable WIFI and plug in an internet cable to your laptop so that your Ubuntu is connect to a wired internet and wireless is disabled.

2. Go to Network Icon on top panel -> Edit Connections …, then click the Add button in the pop-up window.

Edit Network Connections

3. Choose Wi-Fi from the drop-down menu when you’re asked to choose a connection type:

Choose Connection Type

4. In next window, do:

  • Type in a connection name. The name will be used later.
  • Type in a SSID
  • Select mode: Infrastructure
  • Device MAC address: select your wireless card from drop-down menu.


5. Go to Wi-Fi Security tab, select security type WPA & WPA2 Personal and set a password.

6. Go to IPv4 Settings tab, from Method drop-down box select Shared to other computers.


When done, click the save button.

After above steps, a configuration file created under /etc/NetworkManager/system-connections directory. File name is same to the connection name you typed in step 4.

Now press Ctrl+Alt+T on keyboard to open terminal. When it opens, paste the commands below and hit enter to edit the configuration file:

gksu gedit /etc/NetworkManager/system-connections/wifi-hotspot

Replace wifi-hotspt with the connection name you typed in step 4.

When the file opens, find out the line mode=infrastructure and change it to mode=ap. Finally save the file.

Change to AP mode

When everything’s done, enable WIFI from Network Manager icon on the panel. It should automatically connect to the hotspot you created. If not, select “Connect to Hidden Wi-Fi Network …” and select it from the drop-down box.


Now you can search and connect the access point from your Android mobile and enjoy!