Archives For jimingkui

Linux Kernel 3.13.7

The latest Linux Kernel 3.13.7 has been released a few hours ago, March 23, by the famous kernel developer Greg Kroah-Hartman.

This release brings various important improvements, such as architecture updates (ARM, PowerPC, x86 and s390), and driver updates for gpu, wireless, usb and radeon, as well as other fixes. For details, see the release note.

Install/Upgrade to Kernel 3.13.7:

Ubuntu Kernel Team has built the new kernel and you can download and install them at kernel.ubuntu.com.

If you’re familiar with Linux command line, you can also follow the steps below to download & install this kernel:

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

For 32-bit system:

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13.7-trusty/linux-headers-3.13.7-031307-generic_3.13.7-031307.201403240156_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13.7-trusty/linux-headers-3.13.7-031307_3.13.7-031307.201403240156_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13.7-trusty/linux-image-3.13.7-031307-generic_3.13.7-031307.201403240156_i386.deb

For 64-bit system:

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13.7-trusty/linux-headers-3.13.7-031307-generic_3.13.7-031307.201403240156_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13.7-trusty/linux-headers-3.13.7-031307_3.13.7-031307.201403240156_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13.7-trusty/linux-image-3.13.7-031307-generic_3.13.7-031307.201403240156_amd64.deb

2. Install them via:

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

Once installed, restart your computer and done.

NOTE: Proprietary video driver may need a re-build or upgrade to get it work with the new kernel.

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

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

This quick tutorial is going to show beginners how to changes an application icon in Ubuntu Unity. It’ll work on Ubuntu 14.04, Ubuntu 13.10, Ubuntu 12.04 and future Ubuntu releases if Unity still to be the default desktop environment.

In Unity Desktop, application launchers are actually files stored in your computer, with a ‘.desktop’ extension. So besides changing the icon theme, you can edit the ‘.desktop’ to change the launcher icon for an specific application.

Below are the steps to change the application icon, Firefox Web browser as example, in Ubuntu 13.10 Unity:

1. Edit the ‘firefox.desktop’

The ‘.desktop’ files are usually stored in “/usr/share/applications/”. For some applications that are installed in user’s directory, you may find the .desktop files in “~/.local/share/applications/” directory.

To edit the firefox.desktop, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run:

cd /usr/share/applications

sudo gedit firefox.desktop

It will navigate to /usr/share/applications/ directory and open the firefox.desktop file via gedit editor. You can run ls |more to list all available files in that directory.

2. Change the value of Icon

In gedit window, scroll down to find out the line that starts with “Icon=” and change its value to the exact path to your NEW icon file. The image is usually .png file in 64×64 or 128×128.

3. After saved the changes, open the unity dash and search the launcher and see the result:

That’s it. Enjoy!

Indicator Stickynotes is a simple application similar to Windows Sticky Notes that allows you to jot down thoughts, lists, and reminders.

Indicator Stickynotes is meant for Ubuntu’s Unity interface. It has also been tested on the GNOME Shell, XFCE/Xubuntu, KDE/Kubuntu, MATE/Mint, and Cinnamon/Mint interfaces, but support for these platforms is not guaranteed.

Install Indicator Stickynotes:

This simple app is hosted on Launchpad.net. The developer has created a PPA that provides the app packages for Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.10 and Ubuntu 12.04.

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

sudo apt-add-repository ppa:umang/indicator-stickynotes

After that, update package lists and install the Sticky Notes Indicator:

sudo apt-get update

sudo apt-get install indicator-stickynotes

Once installed, start the app from Unity Dash or Menu and enjoy!

Yorba Team has announced the 0.18 release of its shotwell photo manager recently with various bug fixes and translation updates.

According to the release note, Shotwell 0.18 contains below changes:

  • Tumblr publishing fixed
  • Fixed resource leak when importing videos
  • Improved searching for event comments and diacritics
  • Various bug fixes
  • Compile and install translated help files
  • Updated translations

Install Shotwell:

Yorba’s Stable PPA only provides the update for Ubuntu 13.10 Saucy. To install it, 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:yorba/ppa

sudo apt-get update

sudo apt-get install shotwell

For Ubuntu 14.04 and Ubuntu 12.10, besides building it from the source code. You can use the Yorba’s Daily build PPA.

sudo add-apt-repository ppa:yorba/daily-builds

sudo apt-get update

sudo apt-get install shotwell

NOTE: As the Daily PPA’s description says, “This PPA contains daily builds of Yorba’s software, including Shotwell Photo Manager and Geary. Because these builds correspond to the current state of the development source tree, they are untested and highly volatile. Us it at your own risk!”

NetBeans IDE 8.0 was finally released on March 18, 2014, which provides out-of-the-box code analyzers and editors for working with the latest Java 8 technologies.

Besides the Java 8 support, the IDE also has a range of new enhancements that further improve its support for Maven and Java EE with PrimeFaces; new tools for HTML5, in particular for AngularJS; and improvements to PHP and C/C++ support. See the release note for more details.

Install NetBeans IDE 8.0:

1. Download the installer:

NetBeans IDE 8.0 works better and faster with JDK distribution, so you can download the oracle’s Co-bundled package from the links below. You may check your OS type 32-bit (x86) or 64 bit (x64) via System Settings -> Details.

Download the Linux x86 or x64 package

You can also download the other bundles at netbeans.org/downloads/.

2. Give executable permission.

Press Ctrl+Alt+T on your keyboard to open the terminal. When it opens, run the command below to make the installer executable.

chmod +x ~/Downloads/jdk-8-nb-8-linux-*.sh

You may change the file name “jdk-8-nb-8-linux-*.sh” in the code to yours, also do this in next command.

3. Start the installer:

In the terminal run:

cd ~/Downloads && ./jdk-8-nb-8-linux-*.sh

This will bring up the install wizard. Just follow it and you’ll finally get the NetBeans IDE 8 installed on your system.

(Optional) To uninstall the IDE, run ./uninstall.sh in the install directory.

That’s it. Enjoy!

UPDATE: SyncWall is NO LONGER in active development since 2014!!

SyncWall, a wallpaper changer with multi-monitor support, is now at version 2.0.0. In this tutorial I will show you how to install or upgrade it in Ubuntu 14.04, Ubuntu 13.10, Ubuntu 12.10, or Ubuntu 12.04.

As you may know, SyncWall is quite a basic wallpaper changer with the ability to synchronize wallpaper change between several workstations with a basic (and unsecured) client/server protocol. Another interesting feature is a simple multi-monitor support. Because SyncWall is written with Qt, it runs on Windows and Linux.

Changes in SyncWall 2.0.0:

  • Autostart on linux
  • Direct synchronization of wallpapers across network (sharing the same file is no more used)
  • Add Romanian translation. Thanks to jaff.
  • Change default location of translation file on linux (“/share/hotshots/locale” instead of “/share/locale”)
  • Ability to keep wallpaper system settings (on Windows)
  • Add MacOSX target
  • Add debian package files
  • Bug fixes:
    • find the correct path for translation files on linux in some cases
    • incorrect display on multiple screen configuration in some cases
    • incorrect display of splashscreen on linux in some cases
    • incorrect decoding of image parameters during synchronization
    • incorrect clipping with horizontal center alignment
    • relaunch scheduler when wallpaper is changed manually
    • invalid lock of UI in server mode
    • incorrect behavior with fixed time scheduling
    • compilation error on quite old CentOS platform

Install SyncWall in Ubuntu:

The Webupd8 Team PPA, maintained by the popular Ubuntu Linux blog webupd8.org, provides the latest build of SyncWall for all current support Ubuntu releases.

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

sudo add-apt-repository ppa:nilarimogard/webupd8

Then update and install the wallpaper manager via:

sudo apt-get update

sudo apt-get install syncwall

(Optional) Uninstall:

To remove the ppa, run:

sudo apt-get remove syncwall && sudo apt-get autoremove

To remove the PPA:

sudo add-apt-repository -r ppa:nilarimogard/webupd8

Avidemux, a video editor designed for simple cutting, filtering and encoding tasks has reached version 2.6.8. In this tutorial I will show you how to install or upgrade to this release in Ubuntu 13.10, Ubuntu 12.10, Ubuntu 12.04 and their derivatives.

Changes in Avidemux 2.6.8:

  • Image/export: Proper initialization of Qz for jpeg export
  • UI : Add an override menu to force language
  • tinypy : Add support for os.environ
  • x264 : Improved settings (tobias)
  • Win32 : Fix crash when having an audio problem
  • Win32 : Re-add mp4v2 to installer files
  • Audio/FAAC : Fix channel mapping when source is mono
  • Audio/AMR : Re-enabled AMR
  • Audio/lavc : Fixed encoding for codec not supporting planar (MP2)
  • Audio : Fixed importing MP2 audio detected as MP3
  • Editor : Fix deleting chunks of the video leading to seek errors
  • Editor : Initial copy/paste support
  • Editor/audio: Fix issue when source has more than 4 tracks
  • Editor : Better detection of double fps input files
  • TS/Demux : Brute force eac3 probe
  • TS/Demux : Better initialization, avoid dropping audio
  • MP4/Demux : Fix management of PCM audio
  • Mkv/Demux : Proper re-indexing for mpeg2 in mkv
  • Mp4v2/Mux : Add fast start mode back
  • OpenSolaris : Some fixes by pfelecan
  • Subtitles : Update libass + very simple srt2ssa converter
  • OsX : Enables more optional codecs…
  • avsfilte : Performance Improvements (fahr)

Install:

The default versions in Ubuntu universe repository is avidemux 2.5.x. To install the latest version, you can use the GetDeb repository or Thanh Tung Nguyen’s PPA.

Method 1: To add the GetDeb repository, download and install this deb.

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

sudo apt-get update

sudo apt-get install avidemux2.6-qt

These commands will install the video editor in Ubuntu 13.10 or Ubuntu 12.04. If you’re still running Ubuntu 12.10, use the Method 2:

sudo add-apt-repository ppa:rebuntu16/avidemux+unofficial

sudo apt-get update

sudo apt-get install avidemux2.6

This PPA is maintained by a French guy, due to lack of time, he will update the PPA later this night.

Cuttlefish is a simple tool, which realises reflexes on your computer by executing actions when specific events are triggered. You can configure the tool in such way that cuttlefish can for example change your default printer according to the currently connected wireless network. You can also lock/unlock your computer, when a specific USB device is dis/reconnected.

Install:
The cuttlefish is available in Ubuntu 12.04 Precise’s repository. If you want to install this app on Ubuntu 14.04 or Ubuntu 13.10, besides building from source, you can use my PPA which contains the latest build released in December 2013.

Changes in 13.12 release:

  • Fixed activate/deactivate reflex not show options.
  • Fixed bug in start/stop application.
  • Removed dependencies on launchpad
  • Added default null logger
  • Added local directory for finding plugins during development
  • Fixed help and about menu items
  • Made dialogs popup centered on main window
  • Changed to mono-icon for indicator
  • Some bug fixes

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

sudo add-apt-repository ppa:ubuntuhandbook1/apps

sudo apt-get update

sudo apt-get install cuttlefish

For the source code, go to code.launchpad.net/cuttlefish

 
This simple tutorial is going to show you how to install the Blender 2.70 in Ubuntu 14.04, Ubuntu 13.10, Ubuntu 12.04 and Ubuntu 12.10 via PPA repository.

At the moment, Blender 2.70 is at its second release candidate. New features include initial support for volumetrics in Cycles, and faster rendering of hair and textures. The motion tracker now supports weighted tracks and has improved planar tracking. For mesh modeling there are new Laplacian deform and wireframe modifiers, along with more control in the bevel tool. The game engine now supports object levels of detail.

The first results from the new user interface project are also in this release, with dozens of changes to make the interface more consistent and powerful. This is also the first release of the multithreaded dependency graph, which makes modifier and constraint evaluation faster in scenes with multiple objects. See the release note.

Install Blender 2.70

The IRIE Shinsuke’s PPA contains the 2.70 RC builds for all current support Ubuntu releases. You’ll be able to upgrade to the Blender 2.70 stable version via this PPA when it’s released.

To do so, press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run the commands below one by one to add the PPA, update system and install or upgrade the software.

sudo add-apt-repository -y ppa:irie/blender

sudo apt-get update

sudo apt-get install blender

That’s it. Enjoy!

 

The default wallpapers of Ubuntu 14.04 Trusty Tahr LTS are now available for download in launchpad.net. There are the classic purple background and other 11 wallpapers from the wallpaper contest.

Ubuntu 14.04 default background:

Download the original picture

The other wallpapers:

Download all the 11 wallpapers at launchpad.net (ubuntu-wallpapers-trusty_*_all.deb under the trusty tahr section).