Mar 31, 2016

How To Stream Audio To A Chromecast Or DLNA / UPnP Device From Linux (Using pulseaudio-dnla)

pulseaudio-dlna is a lightweight streaming server that makes it easy to stream audio from a Linux computer that uses PulseAudio, to a DLNA / UPnP or Chromecast device in the same network.

The tool discovers all UPnP / DLNA / Chromecast renderers in the network and adds them as sinks to PulseAudio. You can then either select the sinks from the sound settings, or use pavucontrol to control which applications can stream to the UPnP / DLNA or Chromecast device. 

Let's get started with installing and using pulseaudio-dlna.

For Ubuntu 16.04, 15.10 and 14.04, Linux Mint 17.x and derivatives, pulseaudio-dlna can be installed from a PPA. To add the PPA and install pluseaudio-dlna, use the following commands:
sudo add-apt-repository ppa:qos/pulseaudio-dlna
sudo apt-get update
sudo apt-get install pulseaudio-dlna

For how to install it in other Linux distributions, see the pulseaudio-dnla instructions.

Now, to run it, type the following in a terminal:
pulseaudio-dlna

On the other end, make sure the DLNA / UPnP or Chromecast device is powered on.

Next, open the system sound settings. In Ubuntu (Unity), from the Sound Menu, select Sound Settings and your DLNA / UPnP and/or Chromecast device should show up in the output list:


Select the device you want to stream to and... that's it (well, for DLNA / UPnP devices, you may need to accept the connection - a popup should be displayed on the device screen; Chromecast should start streaming immediately).

In my test under Ubuntu 16.04, the sound was perfect while using the default pulseaudio-dlna settings however, the sound was distorted when streaming to a Chromecast. To get it to work properly, I ran pulseaudio-dlna with mp3 as the codec and ffmpeg as the encoder backend:
pulseaudio-dlna --codec mp3 --encoder-backend=ffmpeg

Of course, this was the case for me, and it might not be needed in other cases.

Note: to be able to use ffmpeg as the encoder backend, you'll need to install it. It's available in the official Ubuntu 15.10 and 16.04 repositories (so to install it, use: "sudo apt-get install ffmpeg") however, it's not for Ubuntu 14.04.

For Ubuntu 14.04, you can search for a PPA that provides ffmpeg (use e.g. Y PPA Manager to search in Launchpad PPAs) - here's one that has ffmpeg backported from a newer Ubuntu version, but note that I didn't test it -, or install it from source.

pulseaudio-dlna allows changing the server port, force auto reconnect, set the cover mode (what's displayed on the DLNA / Chromecast device) and much more. To see all the available pulseaudio-dlna options, type:
pulseaudio-dlna --help

If you want to send single audio streams to the device, you can use pavucontrol. To install it in Ubuntu, use the following command:
sudo apt-get install pavucontrol

Then launch pavucontrol (it shows up as PulseAudio Volume Control in the menu / Dash) and on the Playback tab, change the stream to the DNLA / Chromecast device, only for the apps you want to use for streaming. As an example, here's Audacious set to stream to a Chromecast device:


For more information about pulseaudio-dlna, bug reports, etc., see its GitHub page.


via Web Upd8 - Ubuntu / Linux blog http://ift.tt/1pMSmde

Mar 30, 2016

Ubuntu Make 16.03 Released With Eclipse JEE And IntelliJ IDEA EAP Support, More

Ubuntu Make is a command line tool created by Canonical, which allows installing various development tools on Ubuntu. The tool can be used to install Android Studio, Unity3D, IntelliJ IDEA, Firefox Development Edition, Node.js and much more.

Ubuntu Make 16.03, released today, adds support for Eclipse JEE and IntelliJ IDEA EAP, as well as for the Kotlin compiler, along with various fixes, such as:
  • fix Unity3D on lts mesa;
  • fix VSCode license page due to server changes;
  • fix Android-NDK not working due to server changes (download is now for 64bit only);
  • fix Clang support due to server changes;
  • fix Intellij .desktop file.

Ubuntu Make Eclipse Java EE IDE

To install the the newly added Eclipse JEE in Ubuntu using the latest Ubuntu Make (after installing Ubuntu Make, obviously), use the following command:
umake ide eclipse-jee

For IntelliJ IDEA EAP, use:
umake ide idea --eap

To install the Kotlin language compiler, use:
umake kotlin kotlin-lang

To remove any package installed using Ubuntu Make, simply append "--remove" to the command you used to install it. For example, to remove eclipse-jee, you would use:
umake ide eclipse-jee --remove

To see all Ubuntu Make can do, type:
umake --help
and
man umake


Install Ubuntu Make


Ubuntu Make is available in the official Ubuntu repositories (starting with Ubuntu 15.04) however, it's not the latest version, as you can see HERE (though the latest Ubuntu Mate 16.03 will probably make it into Ubuntu 16.04 Xenial Xerus).

To install the latest Ubuntu Make, in Ubuntu (16.04, 15.10 and 14.04), Linux Mint 17.x and derivatives, you can use its PPA. Add the PPA and install Ubuntu Make by using the following commands:
sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
sudo apt-get update
sudo apt-get install ubuntu-make

If you want to help with the Ubuntu Make development, report bugs, etc., check out its GitHub page.



via Web Upd8 - Ubuntu / Linux blog http://ift.tt/1olIK8n

Mar 29, 2016

How To Get Chrome To Support Installing GNOME Shell Extensions From The GNOME Extensions Repository

[Quick tip for GNOME Shell users] By default, users are able to install GNOME Shell extensions from extensions.gnome.org only by using Firefox or Epiphany (Web) browsers.

Until GNOME Software will be able to install and update GNOME Shell extensions, Google Chrome / Chromium users are a bit left out, at least as far as the default experience goes. 

However, there is an easy way of installing GNOME Shell extensions using Chrome: with the help of a Chrome extension and a native connector that provides integration with GNOME Shell and its extensions repository, extensions.gnome.org.

Google Chrome GNOME Extension Repository integration
extensions.gnome.org integration for Google Chrome

For Ubuntu, this Chrome integration for GNOME Shell is available in a PPA, as a package called "chrome-gnome-shell", which includes the native GS-Chrome connector. The browser extension should be installed automatically upon installing this package and running Google Chrome / Chromium.

In my test, using the "chrome-gnome-shell" package brought support for installing extensions from extensions.gnome.org (and accessing their preferences), not only to Google Chrome and Chromium, but also to Vivaldi browser. Unfortunately, I it doesn't seem to work with Opera.

Vivaldi GNOME Extension Repository integration
extensions.gnome.org Chrome integration also works with Vivaldi


The "GNOME Shell integration for Chrome" Ubuntu PPA is only available for Ubuntu 14.04. Add the PPA and install it using the following commands:
sudo add-apt-repository ppa:ne0sight/chrome-gnome-shell
sudo apt-get update
sudo apt-get install chrome-gnome-shell

For Ubuntu (GNOME) versions newer than 14.04, you can download the deb from HERE and install it manually. I tested it under Ubuntu GNOME 16.04 (with GNOME Shell 3.18) and I didn't encounter any issues. The package might also work in Debian, but I didn't test it.

Once installed, restart Chromium / Google Chrome and you should be able to install extensions from http://ift.tt/sEfkiv (just like with Firefox and Epiphany, you need to use GNOME Shell to be able to install extensions).

For other Linux distributions, check out the GNOME Shell integration for Chrome wiki installation page.


via Web Upd8 - Ubuntu / Linux blog http://ift.tt/1pHtcgc

Video Editor `OpenShot` 2.0.7 (Beta 4) Released, Adds Universal Linux AppImage Downloads

OpenShot is a free and open source video editor for Linux, Windows and Mac OS X. 

OpenShot Video Editor 2.0.7 Ubuntu

With version 2.0, which was born as a result of a successful Kickstarter campaign, OpenShot uses a new cross-platform engine written in C++, while the app uses PyQt5. Also, while version 1.x is Linux only, with version 2.0, the application is also available for Windows and Mac OS X.

The latest OpenShot 2.0.7 (beta 4) brings improved stability and performance, as well as new features, such as support for image sequences.

Changes in OpenShot 2.0.7 (beta 4):
  • improved compatibility and stability on Mac and Windows;
  • support for image sequences;
  • added a new file properties dialog which displays all known audio/video details about a file;
  • initial support for opening legacy 1.x OpenShot project files;
  • faster timeline performance;
  • improved project saving;
  • ImageMagic support is now optional;
  • various bug fixes.

Check out the complete OpenShot 2.0.7 (beta 4) release announcement, HERE.

Probably the most exiting news regarding OpenShot 2.0 for Linux is not the latest 2.0.7 release itself, but the addition of universal Linux downloads.

The OpenShot downloads page now offers the latest OpenShot 2.0.7 beta 4 for Linux as a single "AppImage", which includes all the required dependencies. To use it, simply download the file, make it executable and launch it.

According to the OpenShot 2.0.7 beta 4 release announcement, the new OpenShot AppImage should work with the latest Debian, Fedora, Gentoo, openSUSE, Arch and Ubuntu. Other Linux distributions might work too, but only those I just mentioned were tested.


Download OpenShot


For Ubuntu, the OpenShot downloads page recommends using the official OpenShot PPA. However, at the time I'm writing this article, the PPA contains OpenShot 2.0.6 and not the latest 2.0.7 version. Furthermore, there are some dependency issues for the OpenShot Ubuntu 16.04 Xenial Xerus package and you won't be able to install it from the PPA for now.

To add the PPA and install OpenShot 2.x in Ubuntu (15.10 and 14.04), Linux Mint 17.x and derivatives, use the following commands:
sudo add-apt-repository ppa:openshot.developers/ppa
sudo apt-get update
sudo apt-get install openshot-qt

Download OpenShot (binaries available for Linux - generic AppImage, Windows and Mac, as well as source code)


To use the OpenShot AppImage in Linux, download it, make it executable (right click the file, select Properties and under "Permissions", check the box next to "Executable"; or via command line: "chmod +x OpenShot-2.0.7.AppImage") and double click it to run OpenShot.

OpenShot 2.0 is still in beta so you will encounter bugs! Report them @ GitHub.



via Web Upd8 - Ubuntu / Linux blog http://ift.tt/1RMYWNz