Nov 27, 2014

Insync For Linux Gets Nested Selective Sync Support (Unofficial Google Drive Client)

Insync is an unofficial Google Drive client which "extends Drive's web functionality to your desktop by integrating tightly with Windows, Mac and Linux so you can get work done".

The app is not free: it costs $15 per Google account (one-time fee) and there are also plans for 3 Google accounts and for business - see the Insync pricing page for more info. Also, there's a 15 day trial if you want to try Insync before purchasing a license.

For those not familiar with Insync, here's a quick list of features:

  • supports multiple accounts;

  • share files via file manager;

  • Google Docs conversion;

  • share files outside your Insync folder from the file manager (uses symbolic links, at least on Linux);

  • supports external & network drives;

  • recent changes feed;

  • desktop notifications;

  • selective sync;

  • proxy support;

  • more.

On Linux, Insync comes with notification are (systray) and Ubuntu AppIndicator support. Furthermore, it integrates with most file manager - there are extensions available for Nautilus, Nemo, Caja, Thunar and Dolphin.

Insync 1.1 was released about a week ago, bringing various bug fixes as well as nested selective sync, a long-awaited feature for many users. Nested selective sync allows you to selectively sync sub-folders and files.

This feature was missing on Linux, until today, when according to the Insync G+ page, Insync for Linux was updated with nested selective sync. Here's a screenshot with the Insync Linux settings UI, updated to support nested selective sync:

Download Insync

Download Insync (available for Linux, Windows and Mac OS X)

The Linux downloads page provides packages for Ubuntu / Linux Mint, Debian and Fedora as well as unofficial Arch Linux AUR packages portable binaries.

After installing the Insync package, the app will try to detect your desktop environment and offer to install a file manager extension. However, you can install any of the available Insync file manager extensions manually (for Nemo, the extension is called "insync-nemo", for Nautilus: "insync-nautilus" and so on).

via Web Upd8 - Ubuntu / Linux blog

Nov 25, 2014

YouTube Command Line Player And Downloader `mps-youtube` 0.2.0 Released With Support For Downloading YouTube Playlists, More

mps-youtube is a command line tool that can be used to search, play and download YouTube videos, which supports both local and YouTube playlists.

By default, mps-youtube is basically a YouTube audio player (and downloader), but you can enable external video playback (via mpv or MPlayer) from its options:


  • search and play audio / video from YouTube;

  • search tracks of albums by album title;

  • search and import YouTube playlists;

  • create and save local playlists;

  • download audio / video from YouTube, with support for DASH (so it can mux separate audio and video streams - that means it can download 1080p YouTube videos since all 1080p YouTube videos use DASH);

  • view video comments;

  • works under Linux, Windows and Mac OSX;

  • many other small but useful features.

The latest mps-youtube 0.2.0, released today, adds quite a few new features and improvements, such as:

  • auto detect terminal size;

  • transcode audio to mp3 and other formats (requires ffmpeg or avconv);

  • added "da" (download best available audio file) and "dv" (download best available video file) commands to playlist search results;

  • added options to download YouTube playlists (use "dapl" for audio and "dvpl" for video) by url or id;

  • the progress indicator now works with mpv;

  • added option to show system notifications (on Ubuntu, install "libnotify-bin" and enable notifications using "set notifier notify-send");

  • Added overwrite true/false option for downloads (skips download if downloaded file already exists);

  • added copy to clipboard feature (requires "xclip" on Linux);

  • remux audio downloads for better file compatibility.

Getting started with mps-youtube

To start mps-youtube, use the following command:


Before using mps-youtube, let's configure it.

For some reason, the latest mps-youtube 0.2.0 doesn't set a default player which means you can only download audio / video from YouTube but you can't play any audio / video using mps-youtube itself. So let's set a player - to do this, use the following command:

set player PLAYERAPP

where "PLAYERAPP" can be "mplayer" or "mpv"

By default, mps-youtube searches for music only. If you want to disable this, use the following command:

set search_music false

Also, mps-youtube plays just the audio by default so if you wish to enable playing videos (using the player set above), run the command below (once again, after running "mpsyt"):

set show_video true

You can view all the available configuration options by using the command below:


Searching for music / videos using mps-youtube is as easy as adding "." or "/" in front of the search terms (without the quotes). For instance, to search for Led Zeppelin, you can use:

.led zeppelin


/led zeppelin

You can navigate to the next / previous page of results by using "n" (next) and "p" (previous).

To play an item, enter its number. You can also play multiple items, for instance, use "1-5" to play items 1 to 5 or "1, 2, 6" to play the first, second and sixth item and so on.

To download an item, use:


For example, to download the 3rd search result, use "d 3" - this displays all the available audio and video formats and lets you choose which to download. You can also download the best audio (use "da ITEM-NUMBER") or best video (use "dv ITEM-NUMBER"). This works for both searches and playlists.

This is just to get you started so for more information on using mps-youtube, type "h" and then "help TOPIC" (where topic is "basic", "search" and so on) as explained in mps-youtube:

Install mps-youtube

Arch Linux users can install the latest mps-youtube via AUR

mps-youtube is available in Ubuntu 14.04 and 14.10 as well as Debian Sid and Jessie however, that's an older version so if you want to install the latest version in Ubuntu, Debian, Linux Mint and so on, you can use PIP:

1. Install Python PIP:

sudo apt-get install python-pip

2. Install mps-youtube using Python PIP:

sudo pip install mps-youtube

3. You'll also need either mpv or mplayer if you want to play audio or video via mps-youtube.

mpv is available in the official Ubuntu 14.04, 14.10 and 15.04 repositories as well as in Debian Jessie and Sid so to install it, use the following command:

sudo apt-get install mpv

Of course, you can also use mplayer, which is available in the official repositories for any Ubuntu / Debian version - install it using the following command:

sudo apt-get install mplayer

If you had mps-youtube installed and you want to upgrade it (or you want to upgrade it later on, when a new version is released), use the following command:

sudo pip install mps-youtube --upgrade

For Windows and Mac OS X installation instructions, bug reports and so on, see the mps-youtube GitHub page.

via Web Upd8 - Ubuntu / Linux blog

Create a Tree View of your Google Drive

If you have ever worked with DOS or Linux before, you’ll be familiar with the “tree” command that recursively lists all the files and folders in the current directory in a tree like format. Most of us prefer visual navigation through Windows Explorer or Mac Finder but a unique advantage with the tree command is that you can save and print the directory structure.

Google Drive - Folder Tree

Tree Command for your Google Drive

I have written a little Google Script that is much like running “tree” but against your Google Drive. It creates a hierarchical tree diagram of all the files and folders in your Google Drive that you can save for offline reference or even print.

To get started, click here and authorize the script to access the files in your Google Drive. Once the authorization is complete, it may take a minute to generate the entire Google Drive tree. You’ll then get a link to download an HTML file that mirrors your Drive structure. You can directly send the file to the printer as well.

Internally, all the script does is recursive traversal and the tree itself is sylized through simple CSS. In the current version, only the folder names in the tree are linked to their corresponding location in your Google Drive though the script can be easily extended to create a more data-rich tree that includes details like file URLs, sharing permissions, file sizes, file types and so on.

The process may take slightly longer if you have a large drive with tons of file and folders. Also, as soon as you authorize the Google Drive Tree script, you’ll get an email from Google with instructions on how to revoke access. You can do so as soon as the tree has been generated.

The story, Create a Tree View of your Google Drive , was originally published at Digital Inspiration by Amit Agarwal on 25/11/2014 under Google Drive, Internet.

via Digital Inspiration Technology Blog

How To Install RVM (Ruby Version Manager) In Ubuntu Via PPA

Ruby Version (enVironment) Manager (or simply RVM) is a tool that manages Ruby application environments and enables switching between them.

RVM has not been packaged for recent Ubuntu versions (it's only available for Ubuntu 12.04, but it's a very old RVM version) and to install or update it, you must run a script. To make things easier, WebUpd8 reader Rael G.C. has packaged RVM for Ubuntu and uploaded it to a PPA, for easy installation and of course, automatic updates.

Here's what the PPA package does:

  • installs the latest stable RVM;

  • mixed-mode installation is used: usable by all users on the system, with isolated rubies / gemsets in user's $HOME (see more here);

  • all sudoers are automatic added to rvm group automatically;

  • all sudoers get local gemsets enabled;

Rael's packaging is available on GitHub so if you want to report bugs, make suggestions and so on, see THIS page.

Install RVM (Ruby Version Manager) in Ubuntu via PPA

1. To add Rael's PPA and install RVM in Ubuntu (and derivatives), use the following commands:

sudo apt-add-repository ppa:rael-gc/rvm
sudo apt-get update
sudo apt-get install rvm

2. In order to always load RVM, you need to set GNOME Terminal (or whatever terminal emulator you use) to run Bash as login shell. To do this for GNOME Terminal, from its menu select Edit > Profile Preferences and on the Title and Command tab, enable "Run command as login shell".

3. Restart your session (logout and login).

Now you can start using RVM - for instance, install the latest Ruby using:

rvm install ruby

For how to use RVM, see its GitHub page or run "man rvm".

Thanks to Rael for the tip and info!

via Web Upd8 - Ubuntu / Linux blog

Nov 24, 2014

Video Transcoder `HandBrake` 0.10.0 Released With Support For New Encoders

HandBrake, a free, open source video transcoder for Linux, Windows and Mac OS X, has been updated to version 0.10.0, getting support for new encoders, like H.265 and VP8, along other interesting changes.

For those who aren't familiar with HandBrake, here's a quick list of features:

  • for input sources, HandBrake supports most common multimedia files and any DVD or BluRay sources that do not contain any kind of copy protection;

  • supported outputs:

    • file containers: MP4 (M4V) and MKV;

    • video encoders: H.264 (x264), H.265 (x265) MPEG-4 and MPEG-2 (libav), VP8 (libvpx) and Theora (libtheora);

    • audio encoders: AAC,, MP3, Flac, AC3 and Vorbis;

  • device presets;

  • title / chapter selection;

  • chapter markers;

  • queue up multiple encoding jobs;

  • subtitles support (VobSub, Closed Captions CEA-608, SSA, SRT);

  • constant quality or average bitrate video encoding;

  • video dilters: deinterlacing, decomb, denoise, detelecine, deblock, grayscale, cropping and scaling;

  • live video preview;

  • comes with graphical and command line interfaces.

Changes in HandBrake 0.10.0 include:

  • Libavformat is now used for muxing instead of mp4v2 and libmkv;

  • added FDK AAC encoder for Windows and Linux as a optional compile-time option;

  • added support for H.265 through x265 1.4 (this encoder is still early in it's development, so is missing many H.265 features and optimizations);

  • added VP8 encoder (using libvpx);

  • added Lanczos scaler, which is currently HandBrake's default;

  • added Bicubic (OpenCL) scaler - requires an AMD or Intel GPU supporting OpenCL 1.1 or later. On Linux, this is only available on the command line for now;

  • denoise: hqdn3d filter now accepts individual settings for both chroma channels (Cr, Cb);

  • denoise: new NlMeans filter which offers much higher quality denoising (though it is very slow);

  • added Windows Phone 8 preset;

  • updated libraries: x264 r2479-dd79a61, Libav v10.1 and libbluray 0.5.0;

  • the audio and subtitle controls have been overhauled to support default behaviors which can be stored in presets. This simplifies the workflow for many batch encoding scenarios;

  • Libfaac has been removed due to GPL compatibility issues, and replaced with the libav AAC encoder as the new default for Windows and Linux;

  • removed mcdeint deinterlace and decomb modes. This relied on the snow encoder in libav which has been was removed by upstream;

  • Linux only: automatic audio and subtitle track selection behaviors which can be stored per preset;

  • Linux only: improvements to Auto-Naming feature;

  • Linux only: Batch Add to queue by list selection;

  • Linux only: requires GTK3.

This release also includes some Windows-only new features, like Intel QuickSync video encode / decode support and experimental hardware decode support via DXVA.

For more information, see the official HandBrake 0.10.0 changelog.

Note that under Unity, the bottom HandBrake panes may use a dark background - this is a bug caused by Unity's overlay scrollbars and you can fix it by disabling the overlay scrollbars (for instance, using Unity Tweak Tool).

Download HandBrake

Download HandBrake

(binaries available for Mac OS X and Windows, or source code)

Ubuntu 14.10 and 14.04 / Linux Mint 17.1 and 17 (and derivatives) users can install the latest HandBrake by using its official PPA. Add the PPA and install HandBrake using the commands below:

sudo add-apt-repository ppa:stebbins/handbrake-releases
sudo apt-get update
sudo apt-get install handbrake-gtk

The last command above will install the HandBrake GTK3 GUI. If you want to install the command line version, use the following command (of course, after adding the PPA):

sudo apt-get install handbrake-cli

You may want to check out the HandBrake Guide.

via Web Upd8 - Ubuntu / Linux blog