Archives For jimingkui

Ubuntu error reporting

If something goes wrong in Ubuntu Unity, you usually get the error dialog which says ‘Sorry, Ubuntu 13.10 has experienced an internet error’

This helps Ubuntu gather information about issues and create a fix for them. If it annoys you, this tutorial will show you how to easily turn it off.

To get started, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run command to edit the config file:

sudo gedit /etc/default/apport

Change the value to 0 to disable (1 to enable) this feature.

That’s it. Enjoy!

This tutorial is going to show you how to install Stellarium in Ubuntu 13.10 Saucy Salamander via PPA.

Stellarium is a free open source planetarium for your computer. It shows a realistic sky in 3D, just like what you see with the naked eye, binoculars or a telescope.

Features:

sky

  • default catalogue of over 600,000 stars
  • extra catalogues with more than 210 million stars
  • asterisms and illustrations of the constellations
  • constellations for 15 different cultures
  • images of nebulae (full Messier catalogue)
  • realistic Milky Way
  • very realistic atmosphere, sunrise and sunset
  • the planets and their satellites

interface

  • a powerful zoom
  • time control
  • multilingual interface
  • fisheye projection for planetarium domes
  • spheric mirror projection for your own low-cost dome
  • all new graphical interface and extensive keyboard control
  • telescope control

visualisation

  • equatorial and azimuthal grids
  • star twinkling
  • shooting stars
  • eclipse simulation
  • supernovae simulation
  • skinnable landscapes, now with spheric panorama projection

customizability

  • plugin system adding artifical satellites, ocular simulation, telescope configuration and more
  • ability to add new solar system objects from online resources
  • add your own deep sky objects, landscapes, constellation images, scripts…

The latest release 0.12.4 fixed:

  • crash Stellarium 0.12.3 (Ocular)
  • Render nighttime landscapes without lighting

To install Stellarium in Ubuntu, press Ctrl+Alt+T on your keyboard. When it opens, run below commands one by one:

sudo add-apt-repository ppa:stellarium/stellarium-releases

sudo apt-get update

sudo apt-get install stellarium

This quick tip is going to show beginners how to enable workspaces and add ‘show desktop’ shortcut icon on Unity Launcher in Ubuntu 13.10 Saucy.

Ubuntu 13.10 Saucy Salamander final is to be released on October 17th. Now it’s in beta 2.

By default, the Unity session only provide one working desktop. You can easily enable multi workspaces by following steps:

1.) Go to Unity Dash. Search for and open Appearance utility.

2.) When it opens, navigate to Behavior tab. Check the box which says “Enable Workspaces”, then you’ll get a shortcut icon on Unity Launcher which provides the ability to show and switch between workspaces.

As well as that, check the box “Add show desktop icon to the launcher”.

Ubuntu 13.10 Saucy Salamander Final is to be released on October 17th. Now it’s in beta stage.

This tutorial is going to show you how to upgrade your Ubuntu 13.04 Raring Ringtail to Ubuntu 13.10.

Before getting started:

Before you getting started any upgrade process, you need to do:

1.) Backup your important files, documents, bookmarks.

2.) If you’ve installed proprietary drivers manually directly from the manufacturers website then the recommendation is to remove these drivers first and revert to the open-source drivers before upgrading.

3.) Purge third-party PPAs via ppa-purge. Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run command to install ppa-purge:

sudo apt-get install ppa-purge

Then remove any ppa as well as downgrade installed packages. For example, purge ubuntu-x-swat ppa:

sudo ppa-purge ubuntu-x-swat/x-updates

You can use Y PPA Manager to add/remove/purge your PPAs on Ubuntu.

Upgrade to Ubuntu 13.10:

To get started upgrading process:

1.) Update system:

sudo apt-get update; sudo apt-get dist-upgrade

2.) Press Alt+F2 key combination on your keyboard, type in update-manager -d and open it.

3.) The software-updater is checking for updates and then downloading repository information.

4.) Once done, you’ll see below window where it says “However, Ubuntu 13.10 is now available (you have 13.04)”. Click on Upgrade button and the instructions afterwards.

Want to test your internet bandwidth without opening web browser? Well, here’s command line tool to do this using speedtest.net.

This may be help if you’re on Ubuntu Linux servers that doesn’t have a GUI. The tool is based on Python 2.4-3.3, so it works on all Canonical supported Ubuntu releases.

To install the tool, speedtest-cli:

1.) First install python-pip, a tool for installing and managing Python packages. To do so, run below command:

sudo apt-get install python-pip

2.) Install speedtest-cli via python-pip:

sudo pip install speedtest-cli

Once installed, you can use one command to test your internet bandwidth. The command is:

speedtest

You’ll see the similar output, which display you internet bandwidth as well as ISP & IP address.

Retrieving speedtest.net configuration…
Retrieving speedtest.net server list…
Testing from M-net Telekommunikations GmbH (88.217.180.40)…
Selecting best server based on ping…
Hosted by InterNetX GmbH (Munich) [2.23 km]: 18.756ms
Testing download speed………………………………….
Download: 7.81 Mbit/s
Testing upload speed…………………………………………..
Upload: 3.46 Mbit/s

This quick tip is going to show beginners how to install Adobe Reader 9 in Ubuntu 13.10 Saucy Salamander.

Adobe Reader is available in Canonical Partners repository for Ubuntu 13.04 Raring and earlier. At the moment the repository is not ready for Ubuntu 13.10. So this tutorial will show you how to install it via the official DEB package.

1.) Click to download the DEB for Adobe Reader

2.) Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below command to install it:

For 32-bit system:

sudo dpkg -i ~/Downloads/AdbeRdr9.5.5-1_i386linux_enu.deb; sudo apt-get -f install

For 64-bit system:

UPDATE: the easier way to install Adobe Reader DEB on 64 bit Ubuntu is using Gdebi, which will automatically install all dependencies.

sudo apt-get install gdebi

sudo gdebi AdbeRdr9.5.5-1_i386linux_enu.deb

Once installed, open Adobe Reader from Unity Dash or right-click your PDF files to open it via Adobe Reader.

UPDATE 1: Thanks for your comments! I’ve rewritten a clean tutorial about how to install this in Ubuntu 14.04 Trusty.

If you’ve already followed previous steps, run the below command to install required libraries should make the Adobe Reader work (Thanks to osman):

sudo apt-get install libgtk2.0-0:i386 libnss3-1d:i386 libnspr4-0d:i386 lib32nss-mdns libxml2:i386 libxslt1.1:i386 libstdc++6:i386

Ubuntu 13.10 Quick Tip: How to Install Skype

Last updated: October 27, 2013

This quick tip is going to show beginners how to install Skype in Ubuntu 13.10 Saucy Salamander.

Ubuntu 13.10 final will be release on October 17th. Now it’s in beta 2. If you’re going to install Skype on Ubuntu Desktop, this tutorial may help.

1.) Skype is available in Canonical Partners repository, so first we’re going to enable this repository. Search and open Software & Updates from Unity Dash. When it opens, navigate to Other Software tab. Check on the first two lines.

2.) Install Synaptic Package Manager from Ubuntu Software Center. When done, you can use the tool to install Skype (see picture):

If you don’t want to install Synaptic, you can also run below commands instead in terminal (Ctrl+Alt+T):

sudo apt-get update; sudo apt-get install skype

To fix Skype no sound or distorted sound issues occured on Ubuntu 13.10:

sudo sed -i 's/^Exec=.*/Exec=env PULSE_LATENCY_MSEC=30 skype %U/' /usr/share/applications/skype.desktop

How to move window buttons to right in Ubuntu 13.10

Last updated: September 27, 2013

Ubuntu 13.10 Saucy Salamander is going to be released on October 17th. I’ve installed the final beta on my laptop. If you’re not comfortable with Ubuntu’s default window title buttons (minimize, maximize, close) location, you can easily move them to right via following steps.

1.) Go to Unity Dash, search for and open Dconf Editor. If not exist, install it from Ubuntu Software Center.

2.) When it opens, navigate to org -> gnome -> desktop -> wm -> preferences.

3.) Change the value of button-layout to:

:minimize,maximize,close

That’s it. Enjoy!

The Linux Kernel 3.11.2 has been released. All users of the 3.11 kernel series must upgrade.

This tutorial shows you how to install / upgrade this kernel in Ubuntu 13.04, Ubuntu 12.04, Ubuntu 12.10 and Linux Mint.

Kernel 3.11.2 contains lots of fixes and improvements, see the official release note.

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

For 32-bit systems:

Download the DEBs:

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.2-saucy/linux-headers-3.11.2-031102-generic_3.11.2-031102.201309262136_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.2-saucy/linux-headers-3.11.2-031102_3.11.2-031102.201309262136_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.2-saucy/linux-image-3.11.2-031102-generic_3.11.2-031102.201309262136_i386.deb

Install the kernel:

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

For 64-bit systems:

Run commands one by one to download the DEBs:

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.2-saucy/linux-headers-3.11.2-031102-generic_3.11.2-031102.201309262136_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.2-saucy/linux-headers-3.11.2-031102_3.11.2-031102.201309262136_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.2-saucy/linux-image-3.11.2-031102-generic_3.11.2-031102.201309262136_amd64.deb

Then install them:

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

Once installed, reboot your machine.

(Optional) If you have any problem with this kernel, you can run below command to remove it:

sudo apt-get purge linux-image-3.11.2*

Kernel PPA:http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.2-saucy/

Enjoy!

The Linux Kernel 3.10 LTS series had reached 3.10.13. All users of the 3.10 kernel series are urged to upgrade as soon as possible.

The Kernel 3.10.13 contains lots of fixes and improvements, read the official released note

To install or upgrade to 3.10.13 in Ubuntu 13.04, Ubuntu 12.04, Ubuntu 12.10, Linux Mint and their derivatives. Press Ctrl+Alt+T on your keyboard to open temrinal. When it opens, follow below instructions:

For 32-bit systems:

Run below commands one by one to download the DEBs:

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.13-saucy/linux-headers-3.10.13-031013-generic_3.10.13-031013.201309262117_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.13-saucy/linux-headers-3.10.13-031013_3.10.13-031013.201309262117_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.13-saucy/linux-image-3.10.13-031013-generic_3.10.13-031013.201309262117_i386.deb

Then install them via:

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

For 64-bit systems:

Run commands to download the kernel debs:

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.13-saucy/linux-headers-3.10.13-031013-generic_3.10.13-031013.201309262117_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.13-saucy/linux-headers-3.10.13-031013_3.10.13-031013.201309262117_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.13-saucy/linux-image-3.10.13-031013-generic_3.10.13-031013.201309262117_amd64.deb

Install them via:

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

You can also download the Debs from Kernel PPA