Archives For November 30, 1999

Install Java Ubuntu 14.10

This quick tutorial shows you how to easily install Oracle Java JDK 6, JDK 7 and/or JDK 8 (includes JRE) in Ubuntu 14.10 Utopic via PPA.

Thanks to Webupd8 Team for providing the installer scripts in PPA that automatically downloads Oracle Java package from its official site and installs it on your system.

1. To add the PPA, press Ctrl+Alt+T on keyboard to open the terminal. When it opens, paste the command below and hit enter.

sudo add-apt-repository ppa:webupd8team/java

Type in your user password when prompts. Note that there’s no visual feed back when typing your password.

2. After added the PPA, run commands below one by one to install Java (you may replace number 8 in the code with 6 or 7):

sudo apt-get update

sudo apt-get install oracle-java8-installer

Install Java in Ubuntu

If you have two or more Java versions installed on your system, run command below to set Oracle Java to default (you may replace number 8 with 6 or 7):

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

Finally, check out java version via:

java -version

You’ll see something like this:

java version “1.8.0_20”
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)

Turn off error reporting

This quick tutorial is going to show you how to turn off the Apport error reporting system in Ubuntu 14.10 Utopic Unicorn.

Apport is a system which gathers potentially useful information about the crash and the OS environment. If any process in the system crashes, a dialog pops up and asks user to send error report to help fix the problem.

Error Report Dialog

Reporting bugs is important, it helps improving system stability, but if you’re constantly getting crash report popups, you may want to disable it.

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

sudo gedit /etc/default/apport

You can use gksudo to replace sudo, but install gksu first from Ubuntu Software Center.

When the file opens, change the value of ‘enable’ from ‘1’ to ‘0’ and save it.

Turn off error reporting

After that, stop the Apport process so you don’t have to restart your computer:

sudo service apport stop

That’s it.

Ubuntu 14.10 Beta 2

Ubuntu 14.10 Utopic Unicorn Beta 2 and its official flavors are now available for download.

This Beta features images for Kubuntu, Lubuntu, Ubuntu Gnome, UbuntuKylin, Ubuntu Studio, Xubuntu, and Ubuntu Cloud.

The Ubuntu team is pleased to announce the final beta release of Ubuntu 14.10 Desktop, Server, Cloud, and Core products.

Codenamed “Utopic Unicorn”, 14.10 continues Ubuntu’s proud tradition of integrating the latest and greatest open source technologies into a high-quality, easy-to-use Linux distribution. The team has been hard at work through this cycle, introducing new features and fixing bugs.

This beta release includes images from not only the Ubuntu Desktop, Server, Cloud, and Core products, but also the Kubuntu, Lubuntu, Ubuntu GNOME, Ubuntu Kylin, Ubuntu Studio and Xubuntu flavours.

The beta images are known to be reasonably free of showstopper CD build or installer bugs, while representing a very recent snapshot of 14.10 that should be representative of the features intended to ship with the final release expected on October 23rd, 2014.

see the official release note.

According to Ubuntu 14.10’s release schedule, there will be:

  • Kernel Freeze on October 9th
  • Final Freeze and Release Candidate on October 16th
  • Final Release of Ubuntu 14.10 (Stable) on October 23rd

What to expect in the Ubuntu 14.10 Final:

  • Both Unity 8 (Mir) and Unity 7 (X.org) available.
  • Ubuntu 14.10 will bring better 3G mobile modems.
  • Kubuntu 14.10 will be using KDE Plasma 5.

Download Ubuntu 14.10 Beta 2:

For Unity: http://cdimage.ubuntu.com/releases/14.10/
For Kubuntu: http://cdimage.ubuntu.com/kubuntu/releases/14.10/
For Lubuntu: http://cdimage.ubuntu.com/lubuntu/releases/14.10/
For Ubuntu Gnome: http://cdimage.ubuntu.com/ubuntu-gnome/releases/14.10/
For UbuntuKylin: http://cdimage.ubuntu.com/ubuntukylin/releases/14.10/
For UbuntuStudio: http://cdimage.ubuntu.com/ubuntustudio/releases/14.10/
For Xubuntu: http://cdimage.ubuntu.com/xubuntu/releases/14.10/
For Ubuntu Cloud: http://cloud-images.ubuntu.com/releases/utopic/

SMPlayer Ubuntu

The latest SMPlayer 14.9 has been released recently with Youtube playback fixed. The official PPA is ready for Ubuntu 14.10, Ubuntu 14.04, and Ubuntu 14.04.

SMPlayer is a free and open-source GUI for MPlayer based on QT. It features audio and video filters & equalizer, multiple speed playback, configurable subtitles (Internet fetch), build-in Radio, TV, and Youtube browser support.

SMPlayer in Ubuntu

The new version 14.9 was released recently on September 7, 2014. According to the release note, the new release brings:

  • a new fix for Youtube playback
  • improved the option to search for subtitles
  • ability to shut down the computer after playback.

Install / Upgrade SMPlayer in Ubuntu:

The new release has been made into the PPA, available for Ubuntu 14.10, Ubuntu 14.04, Ubuntu 12.04 and derivatives.

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

sudo add-apt-repository ppa:rvm/smplayer

After that, update the system package lists and install the player:

sudo apt-get update; sudo apt-get install smplayer smtube smplayer-themes smplayer-skins

Install SMPlayer from PPA in Ubuntu

That’s it. Enjoy!

faenza icons 1.3.1 ubuntu 14.10

Faenza is a legendary icon pack for Gnome provides monochromatic icons for panels, toolbars and buttons and colourful squared icons for devices, applications, folder, files and Gnome menu items. Four themes are included to fit with light or dark themes/panels.

The icon theme is created by tiheum. The sources can be downloaded from Google Code.

The creator has built the Ubuntu binaries into PPA so that we can easily install the Faenza icon theme in Ubuntu via below steps:

1. Click the link below to download the .deb package from the developer’s PPA repository:

Faenza-icon-theme 1.3.1 DEB

2. Double-click the package to open with Ubuntu Software Center and click the install button:

Install Faenza Icon Theme

3. After installed the theme, open Unity Tweak Tool (install it from Ubuntu Software Center) and navigate to Appearance -> Icons.

You’ll see the Faenza themes available in the list. Choose one to apply the icons immediately.

apply faenza icons

That’s it. Enjoy!

HotShots screen capture tool

HotShots, a screenshot and annotation tool, now is at version 2.2.0. PPA has updated for Ubuntu 14.10, Ubuntu 14.04, Ubuntu 12.04 and derivatives.

Hotshots is a screenshot tool with some editing features. It is particularly suitable for writing documentation (as used in the following chapters) but you can use it to highlight some details on a map image or what ever you want.

Besides basic screen capturing and editing features, HotShots allows to send image directly to printer or to web services, such as FTP, imgur.com, imageshack.us, canardpc.com, freeimagehosting.net.

HotShots Main window and Unity indicator

HotShots Main window and Unity indicator

HotShots Editor

HotShots Editor

HotShots is a good and lightweight alternative to Shutter except:

  • Undo/Redo buttons are grayed out.
  • Does not support Dropbox.

Install HotShots 2.2.0:

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

sudo add-apt-repository ppa:ubuntuhandbook1/apps

sudo apt-get update

sudo apt-get install hotshots

If you don’t want to add the PPA, grab the .deb package directly from Launchpad Page.

Gtk3 Apps

In Ubuntu 14.04 and Ubuntu 14.10, some Gnome applications use client-side decorations which don’t work properly in the default Unity Desktop.

The applications with client-side decorations look broken in Unity and they are unresizable. Here are some examples:

Gnome Clock in Ubuntu 14.04

Gnome Clock in Ubuntu 14.04

Gthumb

The Latest gthumb 3.3.2 (gthumb from Ubuntu repositories is old and does not use CSD)

gtk3-nocsd, a hack by one of the LXDE founders, is a small module used to disable the client side decoration of gtk+ 3. It works on most, but not all CSD applications.

After disabled client side decoration, above applications will look like:

Gnome Clock with CSD disabled

Gnome Clock with CSD disabled (Picture was taken in Gnome-Shell)

gthumb with CSD disabled

gthumb with CSD disabled

How to Install & Use gtk3-nocsd

This module has been made into Webupd8 PPA, available for Ubuntu 14.10 and Ubuntu 14.04.

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

sudo add-apt-repository ppa:nilarimogard/webupd8

sudo apt-get update

sudo apt-get install gtk3-nocsd

To disable client side decoration, for gnome clock as example:

First run command to edit the application shortcut file, .desktop file under /usr/share/applications or .local/share/applications.

gksudo gedit /usr/share/applications/gnome-clocks.desktop

When the file opens, add env LD_PRELOAD=/usr/lib/gtk3-nocsd/gtk3-nocsd.so to the value of Exec as a parameter, so it looks like:

disable-csd

Save the file and done. Note that gtk3-nocsd does not work for gnome-tweak-tool, gnome-music, etc.

via: webupd8

install latest GIMP in Ubuntu

The popular GIMP image editor has been updated to version 2.8.12 with a lot of bug fixes. Here is how to install or upgrade it in Ubuntu 14.10, Ubuntu 14.04, Ubuntu 12.04 and their derivatives.

GIMP, GNU Image Manipulation Program, is a raster graphics editor[5] used for image retouching and editing, free-form drawing, resizing, cropping, photo-montages, converting between different image formats, and more specialized tasks.

GIMP image editor

Changes in GIMP 2.8.12:

Core:

  • OSX: Fix migration code for old GIMP directories
  • Fix brush sizes when used from plug-ins
  • Windows: Allow to Explorer-open files with UTF-8 characters in the filename
  • Make XCF loading more robust against broken files

GUI:

  • Make sure the widget direction matches the GUI language
  • Remove the option to disable the warning when closing a modified image
  • Fix canvas overlay widgets (like the text options) for tablets
  • Make DND work between images in one dockable

Libgimp:

  • Make gimp_image_get_name() return the string used for the image title

Plug-ins:

  • Make script-fu-server more secure by listening to 127.0.0.1 by default and add a warning about changing that IP. This breaks the procedure’s API, but for security reasons.
  • Bring back proper script-fu translations

General:

  • Massively clean up and fix the OSX build and bundle
  • Add Jenkins tutorial
  • Documentation updates
  • Bug fixes
  • Translation updates

Install / Upgrade GIMP in Ubuntu:

GIMP packages are available in PPA for all current support Ubuntu releases, Ubuntu 14.10, Ubuntu 14.04, and Uubntu 12.04.

As the PPA description says, you can always install or upgrade to the latest GIMP in Ubuntu by running below commands one by one in terminal (press Ctrl+Alt+T to open terminal):

sudo add-apt-repository ppa:otto-kesselgulasch/gimp

sudo apt-get update

sudo apt-get install gimp

GIMP PPA

After you added the PPA, you can receive updates using Software Updater

upgrade-gimp

That’s it. Enjoy!

Liferea RSS Feed Reader

Liferea, a free RSS feed reader and news aggregator, gets a new release. PPA has been updated with the latest packages, available for Ubuntu 14.10 Utopic, Ubuntu 14.04 and Ubuntu 12.04.

Liferea, stands for Linux Feed Reader, is a native app for Linux desktop. Its GUI is similar to a desktop mail/newsclient, with an embedded graphical browser. It’s able to play audio & video feeds with plugins.

Liferea Feed Reader

The latest version 1.10.11 was released a few hours ago with bug fixes and translation updates:

  • Fixed: Doesn’t automatically update feed name and favicon for new feed (reported by asl97)
  • Fixed: Missing dist files for documentation (patch by Mikel Olasagasti)
  • Fixed Javascript links not opening in new browser tabs
  • Updated French translation (Guillaume Bernard)
  • Updated Hebrew translation (Genghis Khan)

How to Install Liferea in Ubuntu:

Liferea is available in Ubuntu Software Center by default, but it’s always old. I have create a Ubuntu PPA and keep uploading the latest packages for all current support Ubuntu releases.

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

sudo add-apt-repository ppa:ubuntuhandbook1/apps

sudo apt-get update

sudo apt-get install liferea

The above will add the PPA repository and install the latest liferea packages in your system.

install-latest-liferea

Once installed, open the feed reader from Unity dash or application menu and enjoy!

How to Play Your PSP Games in Ubuntu 14.04/14.10

Last updated: August 24, 2014

psp emulator ubuntu

This simple tutorial is going to show you how to play your PSP games in Ubuntu desktop with ppsspp Sony PSP emulator.

Install PPSSPP psp emulator:

PPSSPP can run your PSP games on your PC in full HD resolution. It can even upscale textures that would otherwise be too blurry as they were made for the small screen of the original PSP.

All trademarks are property of their respective owners. The emulator is for educational and development purposes only and it may not be used to play games you do not legally own.

PPSSPP is available in its official PPA for Ubuntu 14.10, Ubuntu 14.04 and their derivatives. 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:ppsspp/stable

sudo apt-get update

sudo apt-get install ppsspp-qt

Replace the last command if you want to install the sdl version:

sudo apt-get install ppsspp-sdl

install ppsspp emulator in Ubuntu

Load psp game via the emulator:

Start the psp emulator, under Games tab navigate to the folder that saves your PSP games (.iso files).

psp-emulator1

Use arrow keys to choose and hit enter to load the game:

psp-emulator