Archives For jimingkui

The latest stable Linux Kernel 3.10.5 has been released. All users of the 3.10 kernel series are urged to upgrade as soon as possible. Here’s how to install / upgrade in Ubuntu 13.04 Raring, 12.04 Precise and 12.10 Quantal.

install kernel 3.10.5 ubuntu

UPDATE: The 3.10 kernel series has reached 3.10.6, see this tutorial.

Linux kernel 3.10.5 contains lots of fixes and improvements, such as updated video drivers (Radeon, i915, Nouveau, etc.), updated iSCSI, MD, RAID, Wireless, ATA, SATA, ACPI and USB drivers, as well as sound improvements.

Install / Upgrade Kernel 3.10.5

Press Ctrl+Alt+T to open terminal for running commands. When it opens, follow below steps:

For 32-bit system, run below commands to download the Debs:

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.5-saucy/linux-headers-3.10.5-031005-generic_3.10.5-031005.201308040618_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.5-saucy/linux-headers-3.10.5-031005_3.10.5-031005.201308040618_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.5-saucy/linux-image-3.10.5-031005-generic_3.10.5-031005.201308040618_i386.deb

For 64-bit system, run beloww commands instead:

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.5-saucy/linux-headers-3.10.5-031005-generic_3.10.5-031005.201308040618_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.5-saucy/linux-headers-3.10.5-031005_3.10.5-031005.201308040618_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.5-saucy/linux-image-3.10.5-031005-generic_3.10.5-031005.201308040618_amd64.deb

After downloading the packages, both 32-bit & 64-bit can run below commands to install them:

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

Once installed, update grub to apply changes:

sudo update-grub

(Optional) To remove Linux Kernel 3.10.5, run below commands in terminal:

sudo apt-get purge linux-image-3.10.5*

The desktop publishing app Scribus has reached version 1.4.3, this tutorial will show you how to install it in Ubuntu 13.04, 12.04, 12.10, 10.04, Linux Mint via its official repository.

UPDATE: Latest Stable Scribus 1.4.4 Now is available in PPA for Ubuntu 14.04, Ubuntu 13.10, and Ubuntu 12.04.

Like the previous version, this is mostly a bugfixing release, but there are also some important enhancements:

  • Scribus has been ported to the Haiku operating system. For more information see: Installing_Scribus_on_Haiku
  • The Barcode Writer has been updated and supports many more barcodes, including QR.
  • The Galaxy Gauge™ color matching system and color tools have been included.
  • New color palettes from government agencies (Canada, Germany, The Netherlands, United Kingdom) have been included.
  • More Open Source color palettes have been included.
  • Improvements to the build system.
  • Improvements to the Preflight Verifier.
  • The A4 page size limit of TeX-rendered graphics in Render Frames has been removed.
  • The Short Words plug-in now supports Danish.
  • Many updates to the Online Manual.

Most important bugfixes:

  • Disabled hyphenation on some Linux distributions is working again.
  • Some unit conversion issues have been fixed.
  • Display issues related to Ubuntu’s Unity interface have been fixed.
  • Some fixes to wrong or irritating UI behavior.
  • Memory management in connection with the new Hyphenator has been optimized.
  • Issues with the Clang compiler have been fixed.
  • Scribus now supports Pillow as an alternative to the Python Imaging Library.
  • Many translation updates.

Install Scribus from Official Repository:

Press Ctrl+Alt+T to open terminal for running commands. When it opens, follow below steps:

1.) Run command to add the Scribus repository:

sudo add-apt-repository "deb http://debian.scribus.net/debian/ $(lsb_release -cs) main non-free"

2.) Get the key:

gpg --keyserver wwwkeys.pgp.net --recv-keys EEF818CF

Export the key and add it to the apt keyring:

gpg --armor --export EEF818CF | sudo apt-key add -

3.) update and install the packages:

sudo apt-get update; sudo apt-get install scribus

That’s it! After this tutorial, you can redo step 3.) to receive updates when a new release comes out.

This simple tutorial shows you how to enable DVD playback and install multimedia codecs in Ubuntu 13.10 Saucy, so that you can play encrypted DVDs, wmv, mpeg, mp3, divx, and more with the default player.

All you need to to is run below commands in terminal one by one and then restart your computer to take effect.

To get started, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below commands to install multi-media codecs:

sudo apt-get install gstreamer0.10-plugins-ugly gstreamer0.10-ffmpeg libxine1-ffmpeg gxine mencoder libdvdread4 totem-mozilla icedax tagtool easytag id3tool lame nautilus-script-audio-convert libmad0 mpg321 gstreamer1.0-libav

Then run command to install libdvdcss2 to enable DVD playback:

sudo /usr/share/doc/libdvdread4/install-css.sh

Done.

Enable Nautilus Preview in Ubuntu 13.04, 13.10

Last updated: August 4, 2013

Want to preview documents on Nautilus file browser? Well, here I’m going to show you how to do it. As well as preview files folders, you’ll be able to previewing Pictures, Movies, Music, and everything that can be opened in your system.

To get started, install the Sushi plugin for Nautilus in Ubuntu. You can search for and install the gnome-sushi from Ubuntu Software Center. Or just click the link below to bring up USC:

click to install sushi preview

That’s it!

You may need to install multi-media codecs to enable previewing movies. Press Ctrl+Alt+T to open terminal. When it opens, run below commands to install media codecs:

sudo apt-get install gstreamer0.10-plugins-ugly gstreamer0.10-ffmpeg libxine1-ffmpeg gxine mencoder libdvdread4 totem-mozilla icedax tagtool easytag id3tool lame nautilus-script-audio-convert libmad0 mpg321 gstreamer1.0-libav

Restart Nautilus to apply the changes:

nautilus -q

You’re done. Enjoy!

As you may know, Pinta is a Paint.NET-like image drawing and editing program which is free and open-source. It is lighter and simpler than popular open-source image editor GIMP.

Pinta is available in Ubuntu Softare Center by default, but it’s a little old. In this tutorial I’ll show you how to install the latest stable and development version of Pinta in Ubuntu 13.10 Saucy, Ubuntu 13.04 Raring, 12.10 Quantal, 12.04 Precise and Linux Mint via PPA repository.

To get started, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below commands:

To install the latest development version, run following 3 commands one by one in terminal:

sudo add-apt-repository ppa:pinta-maintainers/pinta-daily

sudo apt-get update

sudo apt-get install pinta

To install the latest stable version (support Ubuntu 12.10, 12.04, 11.10), run below commands instead:

sudo add-apt-repository ppa:pinta-maintainers/pinta-stable

sudo apt-get update

sudo apt-get install pinta

This simple tutorial is going to show you how to install and setup Google Authenticator to secure your Ubuntu SSH remote login by two-factor authentication.

Google provides this application for various smartphone platforms. With it, you can secure your account by logging in with a frequently-changing authentication code. So far, I’m using this in WordPress Login, Ubuntu Server SSH Login, Linode VPS Login. As I know, Google Authenticator also works on Amazon Web Services, App.net, Dropbox, and more.

Install Google Authenticator in Ubuntu:

Since Ubuntu 12.04 Precise, the Google Authenticator PAM module is available in the universe repository by default. Just open Ubuntu Software Center, search for and install libpam-google-authenticator package

Once installed, press Ctrl+Alt+T to open terminal. Run below command to create a key and display a QR code which you can scan using the smartphone app. The emergency codes can be used when you don’t have your phone.

google-authenticator

To enable two-step authentication for SSH login, add the line “auth required pam_google_authenticator.so” (witout quotes) into /etc/pam.d/sshd. To do so, run below command in terminal:

sudo sh -c 'echo "auth required pam_google_authenticator.so" >> /etc/pam.d/sshd'

Also add the line “ChallengeResponseAuthentication yes” (without quotes) to /etc/ssh/sshd_config, you can do it by running below command:

sudo sh -c 'echo "ChallengeResponseAuthentication yes" >> /etc/ssh/sshd_config'

Finally restart SSH service on Ubuntu:

sudo /etc/init.d/ssh restart

UPDATE 2024: Nightingale is also discontinued! Try Clementine Music Player which is available in Ubuntu Software / App Center.

Here I’m going to tell you that the popular Songbird Music Player project has been discontinued. For those who are looking for an alternative, check out Nightingale which is built upon Songbird.

Eric Wittman announced on the Songbird blog, “Unfortunately, the company has found ourselves unable to fund further business operations and as of June 28, 2013 all of Songbird’s operations and associated services will be discontinued.”

Songbird is a music player originally released in early 2006 with the stated mission “to incubate Songbird, the first Web player, to catalyze and champion a diverse, open Media Web”. On June 3, 2010, official Linux support for Songbird was dropped.

While thanking the users, investors, partners, developers of Songbird, Eric Wittman openly recommends the open source desktop media player Nightingale as an alternative.

To access the open source for the Songbird Desktop player, you can go here:

http://getsongbird.com/desktop/index.php?download=source (Domain expired)

Nightingale is an open source media player based on Songbird and focused on Linux. It has a beautiful interface with a wide range of supported audio formats, all with multi-platform support!

Nightingale is available for downloading at: getnightingale.com/all-versions.php

For Ubuntu 13.04, 12.04, 12.10 and Linux Mint 13, 14, 15 users, run below commands in terminal (Ctrl+Alt+T) to install nightingale from PPA:

sudo add-apt-repository ppa:nightingaleteam/nightingale-release

sudo apt-get update

sudo apt-get install nightingale

This tutorial shows you how to install Cisco VPN on Ubuntu 13.04 Raring or 13.10 Saucy. You don’t have to do anything special to install Cisco VPN client, because network manager supports Cisco IPSec VPNs after installed the vpnc plugin.

To get started, search for and install network-manager-vpnc package from Ubuntu Software Center. It installs the Cisco-compatible VPN client as well as the plugin for network manager.

Once installed, you can follow below steps to setup Cisco VPN for Ubuntu:

1.) Move your cursor to right-top corner system tray area, click on Network Manager icon and choose VPN Connections -> Configure VPN

2.) In next window, click on Add button to add a new connection and then choose Cisco Compatible VPN (vpnc) from the drop-down menu.

3.) Click on Create and you’re able to type in your Cisco VPN details in next window. After all, check off “Use this connection only for resources on its network” otherwise your traffic significantly slowed down

Want to display weather on Ubuntu Desktop? Well, the best choice should be Typhoon since Stormcloud is not available in Ubuntu 13.04 due to dependency problem.

Typhoon is a free and open-source weather application, which displays a HTC-like weather widget on your Ubuntu desktop. It uses Yahoo! weather service

Typhoon is a fork of discontinued Stormcloud 1.1 with some changes. It excludes the multiple locations feature because no one can live in more than one places in a specific time except electrons! It also removes ‘chameleonic background’ as it would make the app resource hungry.

Install Typhoon in Ubuntu:

To install this weather app for Ubuntu 13.10 Saucy, Ubuntu 13.04 Raring, 12.04 Precise, 12.10 Quantal and Linux Mint users. Press Ctrl+Alt+T to open terminal. When it opens, run below commands to add the Typhoon ppa:

sudo add-apt-repository ppa:apandada1/typhoon

Then update package lists and install it via:

sudo apt-get update; sudo apt-get install typhoon

Once installed, open it from Unity Dash and enjoy!

Typhoon project homepage: https://launchpad.net/typhoon

LinSSID is a graphical and functional wifi scanner for Ubuntu Linux, which is similar to iwscanner and Inssider. It can be easily installed in Ubuntu and Linux Mint via PPA repository.

LinSSID is written from scratch entirely in C++ using Linux wireless tools and Qt4. It displays the information available from iwlist tool in graphical format. LinSSID displays a table of all of the local wireless networks that your device can receive, and information about them. It also displays charts of the signal strength of each network by channel number and over time. LinSSID will work with more than one wireless device attached to a system, but only one at a time (selectable).

LinSSID requires root privilege to run the iwlist tool. So you’ll be prompt to input the user password when start the program from Unity Dash.

Install LinSSID wifi scanner for Ubuntu & Linux Mint

UPDATE: LinSSID is NOT being updated for years!

For recent Ubuntu 20.04, Ubuntu 22.04, Ubuntu 24.04 and higher, Linux Mint 21/22, simply press “Ctrl+Alt+T” to open terminal, then run the commands below to install:

sudo apt update; sudo apt install inssid

For old Ubuntu 12.04, Ubuntu 14.04, Ubuntu 16.04, and Ubuntu 18.04:

Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below command to add the LinSSID ppa. So far, the ppa supports for Ubuntu 13.04 Raring, 12.10 Quantal, 12.04 Precise and Linux Mint 13, 14, 15.

sudo add-apt-repository ppa:wseverin/ppa

After that, you can use your favorite application manager to install the wireless scanner. Or just run below commands:

sudo apt-get update; sudo apt-get install linssid

Once installed, you’re able to open it from Unity Dash Home. Enjoy!