xfce panel

Xfce desktop session in Ubuntu 14.04 /14.10 does not display Network Manager, Messaging Menu, Keyboard Input, and Power icons on the panel out-of-the-box.

Thanks to Mark Trompell, it’s quite easy to add those icons back to Xfce panel by a small plugin called xfce4-indicator-plugin.

Xfce4 Indicator Plugins

1. To install the plugin, open Ubuntu Software Center, search for and install the package xfce4-indicator-plugin.

2. Once you have the plugin installed, right-click on Xfce panel and navigate to “Panel -> Panel Preferences ….

Under Items tab, add new item “Indicator Plugin” and put it right after the “Notification Area” plugin.

Xfce4 Indicator Plugin

While the plugin includes the time and session menu, you can remove the “Clock” and “Action Buttons” from the list.

3. The xfce4-indicator-plugin includes the Global Menu indicator, which displays application menus on panel.

If you don’t like this feature, right-click on the Network Manager icon and select Properties. When it opens, tick the box after “Application Menus (Global Menu)” to hide the applet.

Disable Global Menu

Log out and back in to apply the changes.

Virtualbox repository

Oracle finally made the Virtualbox binary packages for Ubuntu 14.10 Utopic available in its official Linux repository. Which means running regular system updates via Software Updater will keep your Virtualbox release always up-to-date.

While Ubuntu 14.10 repositories provide the Virtualbox 4.3.18, the latest has reached the version 4.3.20. For the changelog, see the web page.

Virtualbox 4.3 in Ubuntu 14.10

How to Add Virtualbox Repository in Ubuntu:

Open terminal from the Unity Dash or just press Ctrl+Alt+T on keyboard. When it opens, paste the command below into terminal and run to get the key:

wget -q -O - http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc | sudo apt-key add -

Type in your user password when it asks. Then run command to add the vbox repository for Ubuntu 14.10:

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian utopic non-free contrib" >> /etc/apt/sources.list.d/virtualbox.org.list'

Now install Vbox 4.3 via your package manager after checking for updates. Or just run commands below one by one:

sudo apt-get update

sudo apt-get install virtualbox-4.3

Finally keep your system up-to-date by running regular system updates, which also keep your Virutalbox 4.3 series up-to-date.

Install Android Studio in Ubuntu

Quick tutorial shows you how to install Android Studio, a new Android development environment developed by Google and based on IntelliJ IDEA, via PPA in Ubuntu 14.10, Ubuntu 14.10, Ubuntu 12.04 and the next Ubuntu 15.04.

Similar to Eclipse with the ADT Plugin, Android Studio provides integrated Android developer tools for development and debugging.

On top of the capabilities you expect from IntelliJ, Android Studio offers:

  • Gradle-based build support.
  • Android-specific refactoring and quick fixes.
  • Lint tools to catch performance, usability, version compatibility and other problems.
  • ProGuard and app-signing capabilities.
  • Template-based wizards to create common Android designs and components.
  • A rich layout editor that allows you to drag-and-drop UI components, preview layouts on multiple screen configurations, and much more.
  • Built-in support for Google Cloud Platform, making it easy to integrate Google Cloud Messaging and App Engine as server-side components.

android-studio

Install Android Studio via PPA in Ubuntu:

Installing Android Studio in Ubuntu becomes easy. A Ubuntu PPA contains simple script that automatically downloads and installs the latest release from Google download server. So far, Ubuntu 15.04, Ubuntu 14.10, Ubuntu 14.04, and Ubuntu 12.04 are supported.

1. Android Studio depends on Java, and Oracle Java 7 or 8 is recommended. Press Ctrl+Alt+T on keyboard to open terminal. When it opens, run the commands below one by one:

sudo add-apt-repository -y ppa:webupd8team/java

sudo apt-get update

sudo apt-get install oracle-java7-installer oracle-java7-set-default

2. To add the Android Studio PPA, run the command:

sudo add-apt-repository ppa:paolorotolo/android-studio

Then update package lists and install the script:

sudo apt-get update

sudo apt-get install android-studio

Depends on your internet connection, it takes a few minutes downloading the source package.

Install Android Studio from PPA

Once installed, start the setup wizard from the Unity Dash (may need restart), or just run command /opt/android-studio/bin/studio.sh.

via: github

handbrake ubuntu 14.04

The HandBrake video transcoder got a new update recently by releasing the 0.10 release, which brings hundreds of new features, changes, and bug fixes.

HandBrake is a free and open-source multithreaded transcoding app, available for Windows, OS X and Ubuntu. After several beta and RC releases, version 0.10 was finally released one year and a half after the last 0.9.9 release.

HandBrake 0.10 in Ubuntu 14.10

What’s new in HandBrake 0.10:

The new release introduced several new encoders:

  • Intel QuickSync Video, a hardware based H.264 encoder that is available on Intel CPUs. Currently, QSV is only supported on Windows. Linux support will be available in future release.
  • H.265 is now available through x265 1.4. It’s still under heavy active development and is only going to improve over time!
  • Deprecated Theora (VP3) in favour of VP8 which is a more modern encoder offering better quality encodes at lower file sizes.
  • Due to GPL compatibility issues, LibFaac has been replaced by the libav AAC encoder as the default for Windows and Linux.
  • Added the FDK AAC encoder for Windows and Linux as a optional compile-time option. The Mac release will continue to use CoreAudio as the default.
  • A number of the core libraries including x264 and libav has been updated.

The HandBrake 0.10 also brings the new NLMeans filter that offers much higher quality denoising. In addition to the default Lanczos scaling algorithm, HandBrake now offers BiCubic scaling on Windows via OpenCL.

The audio and subtitle controls have been overhauled to support default behaviours which can be stored in presets. This simplifies the workflow for many batch encoding scenarios. For Linux, now requires GTK+ 3.

For more details, check out the release note.

How to Install HandBrake 0.10 in Ubuntu 14.04, Ubuntu 14.10:

The developer has made the binary packages into the official HandBrake PPA, available for Ubuntu 14.10, Ubuntu 14.04 LTS, and Linux Mint 17.

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

sudo add-apt-repository ppa:stebbins/handbrake-releases

Type in your user password when it asks and press Enter to continue.

After that, install HandBrake via your package manager after checking for updates. Or just run the commands below one by one:

sudo apt-get update

sudo apt-get install handbrake-gtk handbrake-cli

That’s it. Enjoy!

Linux Kernel 3.17.4

The fourth update of the latest stable Linux Kernel 3.17 was released recently. Greg Kroah-Hartman announced this kernel release and urged all users of Kernel 3.17 series to upgrade as soon as possible.

According to the release note, this kernel release brings various important improvements, such as architecture updates (ARM, and x86), and driver updates for wireless, ethernet, i915 and radeon, as well as other fixes. For details, see the official changelog.

Install / Upgrade to Kernel 3.17.4:

The Ubuntu Kernel Team has made the .deb installers of the kernel release, available for download at the link below:

Download Kernel 3.17.4 Debs

Depends on your OS type, 32-bit = i386 or 64-bit = amd64, download & install the .deb packages in below orders:

  1. linux-headers-3.17.4-xxxxxx_all.deb
  2. linux-headers-3.17.4-xxx-generic_i386/amd64.deb
  3. linux-image-3.17.4-xxx-generic_i386/amd64.deb

For Ubuntu Server without graphical user interface, run below commands to download & install the new kernel:

For 32-bit system:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.4-vivid/linux-headers-3.17.4-031704-generic_3.17.4-031704.201411211317_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.4-vivid/linux-headers-3.17.4-031704_3.17.4-031704.201411211317_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.4-vivid/linux-image-3.17.4-031704-generic_3.17.4-031704.201411211317_i386.deb

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

For 64-bit system:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.4-vivid/linux-headers-3.17.4-031704-generic_3.17.4-031704.201411211317_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.4-vivid/linux-headers-3.17.4-031704_3.17.4-031704.201411211317_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.4-vivid/linux-image-3.17.4-031704-generic_3.17.4-031704.201411211317_amd64.deb

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

When done, restart your machine. Note that for proprietary graphics drivers, you may re-build (or re-install) the driver to make 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 the command below to remove Linux Kernel 3.17.4:

sudo apt-get remove linux-headers-3.17.4-* linux-image-3.17.4-* && sudo update-grub