Archives For jimingkui

Install Nvidia Driver 334.21 in Ubuntu linux

Last updated: March 5, 2014

Nvidia 334.21 ubuntu

Nvidia has just announced the short lived branch driver 334.21 for Linux. This driver added support for the new GeForce GTX 750 Ti, GeForce GTX 750, GeForce GTX 745, and GeForce GTX TITAN Black.

Besides that, Nvidia 334.21 brings quite a few bug fixes, the first in the list is for a regression in the NVIDIA kernel module which caused it to improperly dereference a userspace pointer. This potential security issue was initially reported on the grsecurity forums. Check out the changelog for a complete list of fixes and improvements.

Install Nvidia 334.21:

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

sudo apt-get purge nvidia*; sudo apt-get install nvidia-319-updates-dev

2. You may switch to the recommended open-source driver in “Software & Updates -> Additional drivers” utility after restarted your computer.

3. Download the driver from the official links below:

Nvidia 334.21 for 32 bit Linux

Nvidia 334.21 for 64 bit Linux

Nvidia 334.21 for 32 bit ARM Linux

4. Press Ctrl+Alt+F1 key combination on your keyboard to switch to command console and login.

5. Stop the graphic session with the appropriate command below:

sudo service lightdm stop     ## For the default LightDM

sudo service gdm stop     ## For the Gnome GDM

sudo service mdm stop     ## For the Linux Mint default MDM

6. Now give executable permission and start the installer, and finally follow the on-screen instructions to complete the process.

chmod +x ~/Downloads/NVIDIA-Linux-*-334.21.run && sudo sh ~/Downloads/NVIDIA-Linux-*-334.21.run

Tips: You may keep the installer file so that you can remove this driver via below command if for some reason this driver does not work properly:

sudo sh ~/Downloads/NVIDIA-Linux-*-334.21.run --uninstall

That’s it. Enjoy!

Gnome 2 Fork MATE 1.8

 
The classic Gnome 2 fork MATE Desktop 1.8 has been released a few hours ago. This release brings various improvements and new features, including side-by-side tiling (windows snapping), support for Metacity as window manager and more.

MATE 1.8 contains below changes:

  • Control Center: added support for Metacity as window manager;
  • Marco (window manager): added side-by-side tiling (windows snapping);
  • Caja (file manager):
    • added option to use IEC units instead of SI units;
    • added “Open parent location” option in context menu in search view;
  • Panel: Added support to run dialog and main menu opening with Metacity keybindings;
  • Screensaver: show date and time in lock dialog;
  • Applets:
    • added undo functionality to sticky note applet;
    • new “command” applet to show the output of a command;
    • rewritten “timer” applet in C;
    • mouse middle click on volume applet toggles mute state;
  • added MATE User Guide;
  • added mpaste tool for paste.mate-desktop.org;
  • Eye Of MATE (image viewer): added shuffle mode in slideshow;
  • See the release note for more.

Dropped packages:

  • Replaced mate-doc-utils with yelp-tools
  • Replaced libmatekeyring/mate-keyring with libsecret/gnome-keyring
  • Replaced libmatewnck with libwnck
  • Replaced mucharmap with gucharmap
  • Replaced mate-bluetooth with blueman
  • Merged all caja extensions in a single package

Some Screenshots from mate desktop website:

mate18-caja

mate18-control-center

mate18-windows-placement

mate18-power-stats

Install MATE Desktop:

MATE 1.8 will be available soon in its official repository, so far it contains the 1.6 build for Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.10, and Ubuntu 12.04.

When the repository is ready, follow the below steps to install it in Ubuntu:

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

sudo add-apt-repository "deb http://packages.mate-desktop.org/repo/ubuntu saucy main"

2. Update and install the key:

sudo apt-get update; sudo apt-get install mate-archive-keyring

4. Finally update and install the MATE desktop:

sudo apt-get update; sudo apt-get install mate-core mate-desktop-environment

Once installed, log out from the current session and you’re able to choose MATE in the login screen.

MATE login in ubuntu 13.10

That’s it. Enjoy!

mkvmerge gui ppa

The mkvmerge gui tool MKVToolnix has reached release 6.8.0 recently with tons of bug fixes for the Windows builds and support for h.265/HEVC video.

So far the h.265/HEVC support is only for reading it from elementary streams or from other Matroska files. See the changelog.

mkvmerge-gui68

Install MKVToolnix:

The official website provides the most recent builds for Ubuntu 13.04 Raring, Ubuntu 12.04 Precise and Ubuntu 13.10 Saucy. To download the .deb, go to bunkus.org/ubuntu/ -> select your release code name -> binary -> os type -> download the package.

For command line, run the commands below in a terminal (Ctrl+Alt+T) window one by one:

sudo add-apt-repository "deb http://www.bunkus.org/ubuntu/saucy/ ./"

wget -O - http://www.bunkus.org/gpg-pub-moritzbunkus.txt | sudo apt-key add -

sudo apt-get update

sudo apt-get install mkvtoolnix mkvtoolnix-gui

NOTE: in the code change the Ubuntu code name saucy to yours.

These commands will add the mkvtoolnix repository, download & import the key, update system package lists and install mkvtoolnix and the gui.

Here are some beautiful images from the Ubuntu 14.04 Trusty Tahr Wallpaper Contest.

The atareao team has built these images into the PPA. You can download the .tar.gz package and get all the pictures in its data folder, or install the .deb which will save all the wallpapers into /usr/share/backgrounds/, the default location for Ubuntu Wallpapers.

Below are a few of them:

ubuntu 14.04 wallpaper contest ubuntu 14.04 wallpaper contest
ubuntu 14.04 wallpaper contest ubuntu-14.04 wallpaper-contest4
ubuntu1404wallpapercontest5 ubuntu1404wallpaper6
ubuntu1404wallpaper7 12597583213_24eb9628f0_o
12518898083_afcb22ecca_o 9767374484_621b41ce40_o
12581396003_021f9daf43_o 12495476114_ab5b659479_o

To download these images, go to the link below and scroll down and click the line that says “trusty-tahr-wallpaper-contest – 0.0.1-0extras14.04.0“.

Download Ubuntu 14.04 Wallaper Contest

Ubuntu 14.04 Beta 1

The first set of beta builds of Ubuntu 14.04 are now available for download in 8 different ‘flavors’, including:

  • Kubuntu 14.04 Beta 1
  • Ubuntu GNOME 14.04 Beta 1
  • Xubuntu 14.04 beta 1
  • Lubuntu 14.04 beta 1
  • Edubuntu 14.04 beta 1
  • Ubuntu Kylin 14.04 beta 1
  • Ubuntu Cloud 14.04 beta 1
  • Ubuntu Studio 14.04 beta 1

According to the Ubuntu 14.04 LTS release schedule, the next beta will be released on March 27th. After the Release Candidate (April 10th), the Ubuntu 14.04 final release will be available on April 17th.

Download Ubuntu 14.04 Beta 1:

Oracle Java Ubuntu 14.04

This simple tutorial is going to show you how to easily install Oracle Java (JDK) 6, 7, or 8 in Ubuntu 14.04 Trusty Tahr via PPA.

There’s a Launchpad PPA (Personal Package Archive) maintained by webupd8.org, a popular Ubuntu Linux blog, which provides the most recent installers to automatically download and install Oracle Java JDK6 / JDK7 / JDK8 from oracle website. Note there are no actual Java files in this PPA.

To get started:

Press Ctrl+Alt+T on your keyboard to open a terminal window. When it opens, copy and paste the command below and hit enter. Input your user password when prompts and it will add the PPA repository into your system.

sudo add-apt-repository ppa:webupd8team/java

After that, update package lists via:

sudo apt-get update

To install Oracle Java 8, run:

sudo apt-get install oracle-java8-installer

Change the number 8 to 6 (or 7) in the code to install Java 6 (or 7).

While installation, you’ll be asked to agree the license and then the installer start downloading Java file from oracle website and install it on your system.

To set the default Java, run:

sudo apt-get install oracle-java8-set-default

Also change number 8 to the Java version you want.

Finally check whether everyting is OK:

java -version

It will output something like below:

java version “1.7.0_60”
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)

digikam 4.0 PPA

The photo management software digiKam 4.0.0 has reached its third beta release just a few hours ago. There will be also beta4 and RC releases, and the digiKam 4.0.0 final will be released on May 11.

According to the release notes, following new features will be added in this version:

  • A new tool dedicated to organize whole tag hierarchies. This new feature is relevant of GoSC-2013 project from Veaceslav Munteanu. This project include also a back of Nepomuk support in digiKam broken since a while due to important KDE API changes. Veaceslav has also implemented multiple selection and multiple drag-n-drop capabilities on Tags Manager and Tags View from sidebars, and the support for writing face rectangles metadata in Windows Live Photo format.
  • A new maintenance tool dedicated to parse image quality and auto-tags items automatically using Pick Labels. This tool is relevant to anotherGoSC-2013 project from Gowtham Ashok. This tool require feedback and hack to be finalized for this release.
  • Showfoto thumbbar is now ported to Qt model/view in order to switch later full digiKam code to Qt5. This project is relevant to another GoSC-2013 project from Mohamed Anwer.
  • A lots of work have been done into Import tool to fix several dysfunctions reported since a very long time. For example, The status to indicate which item have been already downloaded from the device is back. Thanks to Teemu Rytilahti and Islam Wazery to contribute. All fixes are not yet completed and the game continue until the next beta release.
  • This release is now fully ported to Qt4 model-view and drop last Q3-Support classes. The last pending part was Image Editor Canvas ported and completed by Yiou Wang through this GoSC-2013 project. In the future, port to Qt5 will be easy and quickly done, when KDE 5 API will stabilized and released.
  •  
    Install:
    Besides building digiKam 4.0 from the source tarball. Ubuntu 13.10 Saucy users can install the beta release from the third-party PPA.

    Press Ctrl+Alt+T on your keyboard to open a terminal window. When it opens, run the commands below to add the digiKam Beta repository:

    sudo add-apt-repository ppa:msylwester/digikam-beta

    There’s also a stable PPA created by the maintainer. It will provide the digiKam 4.0.0 final build for Ubuntu 13.10 Saucy and Ubuntu 14.04 Trusty. To add this PPA, run:

    sudo add-apt-repository ppa:msylwester/digikam

    After adding the PPA, run the commands below to update package lists and install digiKam:

    sudo apt-get update 
    
    sudo apt-get install digikam

    That’s it. Check out the PPA packages on Launchpad page.

    pinta ubuntu 14.04

    This simple tutorial shows how to install the latest stable or development Pinta release in Ubuntu 14.04 Trusty Tahr.

    As you may know, Pinta is a free, open source drawing/editing program modeled after Paint.NET. Its goal is to provide users with a simple yet powerful way to draw and manipulate images on Linux, Mac, and Windows. Pinta is available in Ubuntu Software Center by default, but it’s a little old.

    pinta ubuntu 14.04

    Install Pinta Stable:

    Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run the commands below one by one:

    sudo add-apt-repository ppa:pinta-maintainers/pinta-stable
    
    sudo apt-get update
    
    sudo apt-get install pinta

    Previous commands will add the official Pinta Stable PPA and install the latest build (so far it’s version 1.4) in your system.

    Install Pinta Development

    Also open a terminal window and run the commands below one by one:

    sudo add-apt-repository ppa:pinta-maintainers/pinta-daily
    
    sudo apt-get update
    
    sudo apt-get install pinta

    This will install Pinta 1.5 dev in your system from the Pinta Daily build PPA.

    Linux Kernel 3.13.5

    Linux Kernel 3.13.5 has been announced today, February 23, by the famous kernel developer Greg Kroah-Hartman. This release brings various important improvements and fixes, such as architecture updates (ARM, PowerPC, x86 and s390), and assorted fixes and improvements for the Intel i915 and Radeon drivers. For details, see the changelog.

    Below steps will teach you how to install or upgrade to this kernel release in Ubuntu 14.04, Ubuntu 13.10, Ubuntu 12.10 and Ubuntu 12.04.

    1. Download the .deb packages from THIS PAGE. Or, press Ctrl+Alt+T on keyboard to open the terminal and run below commands instead:

    For 32 bit system:

    cd Downloads && wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13.5-trusty/linux-headers-3.13.5-031305-generic_3.13.5-031305.201402221823_i386.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13.5-trusty/linux-headers-3.13.5-031305_3.13.5-031305.201402221823_all.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13.5-trusty/linux-image-3.13.5-031305-generic_3.13.5-031305.201402221823_i386.deb

    For 64 bit system:

    cd Downloads && wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13.5-trusty/linux-headers-3.13.5-031305-generic_3.13.5-031305.201402221823_amd64.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13.5-trusty/linux-headers-3.13.5-031305_3.13.5-031305.201402221823_all.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13.5-trusty/linux-image-3.13.5-031305-generic_3.13.5-031305.201402221823_amd64.deb

    2. Install these .deb packages by running the below command:

    cd Downloads && sudo dpkg -i linux-headers-3.13.5-*.deb linux-image-3.13.5-*.deb

    Once installed, restart your computer and done.

    NOTE: If you’re running a proprietary video driver, you may need to re-build or even re-install to get it work with the new kernel.

    If for some reason this kernel release doesnt work properly for you, reboot into previous kernel (Grub -> Advanced -> select previous kernel) and run this command to remove Linux Kernel 3.13.4:

    sudo apt-get remove linux-headers-3.13.5-* linux-image-3.13.5-*

    Clementine Music Player Ubuntu 14.04

    This tutorial will show you how to install the latest Clementine music player and library organizer in Ubuntu 14.04 Trusty Tahr.

    As you may know, Clementine is a multiplatform music player inspired by Amarok 1.4, focusing on a fast and easy-to-use interface for searching and playing your music. Since version 1.2, you’re able to control Clementine remotely from an Android device and listen to your music stored in Box, Dropbox, Onedrive and Ubuntu One. Clementine 1.2.2 is the second update with following changes:

    • (Android Remote) Add kittens support.
    • Rename SkyDrive to OneDrive.
    • Don’t include the user’s IP address in the log (from the network remote settings dialog).
    • (Debian) Fix a bug with HTTPS logins to all cloud storage providers.
    • (Mac OS X) Fix a bug in the workaround for a weird font issue on 10.9.
    • (Mac OS X) Fix rendering of source icons on retina displays.
    • (Android Remote) Don’t advertise songs that aren’t available.
    • (Android Remote) Fix playing songs with special characters in filenames.

    Install:

    The official download page provides DEB packages for all supported Ubuntu releases, including Ubuntu 14.04. Just download the package for your Ubuntu and OS type, and install it via Gdebi (recommended, it’s available in Software Center) or Ubuntu Software Center.

    If you would like to keep the player update-to-date by regular system update, you may add the Clementine PPA (check out the PPA in launchpad page).

    Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run:

    sudo add-apt-repository ppa:me-davidsansome/clementine

    After that, you can install / upgrade the music player after checking for updates. For command line, run:

    sudo apt-get update
    
    sudo apt-get install clementine

    Clementine-1.2