Archives For November 30, 1999

The community has made Sublime Text 3 into the SNAP package. So far, it’s available for testing in candidate channel.

A snap is an universal Linux application comes with all its dependencies bundled. It runs in sandbox and is isolated from other system software.

If you just want to install latest stable Sublime Text 3 in Ubuntu. There’s an official apt repository and here’s how-to tips.

Install Sublime Text 3 via Snap:

Open terminal either via Ctrl+Alt+T or by searching for ‘terminal’ from application launcher. When it opens, run command:

snap install sublime-text-3 --classic

The command works in Ubuntu 16.04 and higher. And the --candidate flag is not required anymore since the snap is now in stable.

The snap package co-exists with traditional packages, you’ll have two launcher icons:

To make sure you’re running the snap app, you can launch it from the terminal command:

/snap/bin/sublime-text-3

Uninstall:

To remove the snap app for Sublime Text 3, run command:

snap remove sublime-text-3

Jetbrains announced the release of its Python IDE, PyCharm 2017.3.2, a day ago. Here’s how you can install it in Ubuntu 16.04 and higher.

Changes in PyCharm 2017.3.2 include:

  • Type annotation ahead of time. You can’t put an inline type annotation when defining a variable in a for or a with statement, so you need to provide the annotation in a separate place, read more on the ticket. This is now supported in PyCharm.
  • ‘Show command line afterwards’ now works correctly for remote interpreters. And further fixes to this feature
  • Various SQL syntax fixes for PostgreSQL and Oracle (PyCharm Professional Edition bundles all DataGrip features)
  • React code completion improvements (PyCharm Professional Edition bundles all WebStorm features)
  • And more, see the release notes for details

How to Install PyCharm 2017.3.2 in Ubuntu:

You can easily run the new release in Ubuntu either via:

method 1: official Linux binaries. NON-INSTALL version, just extract and run executable file to launch the IDE:

method 2: or install the Snap package. App run in sandbox. Support for Ubuntu 16.04 and higher:

Simply open terminal via Ctrl+Alt+T or by searching for ‘terminal’ from app launcher. When it opens, run command:

snap install pycharm-community --classic

For professional edition, run following command instead:

snap install pycharm-professional --classic

Once installed, launch the IDE from your application launcher and enjoy!

Uninstall:

To remove the snap packages, either use Ubuntu Software or run command in terminal:

sudo snap remove pycharm-community pycharm-professional

For those who prefer traditional Ubuntu PPA, keep an eye on the launchpad PPA.

How to Install MPV 0.28.0 in Ubuntu 18.04, 16.04

Last updated: December 28, 2017

MPV media player reached the 0.28.0 release a few days ago. Here’s how to install it via PPA in Ubuntu 18.04, Ubuntu 16.04.

MPV 0.28.0 requires FFmpeg 3.4 and features initial d3d11 and vulkan support. Other changes include:

  • Add DRM_PRIME Format Handling and Display for RockChip MPP decoders
  • Add support for Display P3 primaries
  • support multiple seekable cached ranges, display cache ranges on OSC
  • demux_playlist: support .url files
  • dvb: Add multiple frontends support (up to 8)
  • dvb: implement parsing of modulation for VDR-style channels config
  • hwdec: add mediacodec hardware decoder for IMGFMT_MEDIACODEC frames, rename mediacodec to mediacodec-copy
  • lua: integrate stats.lua script (bound to i/I by default)
  • add support for nvdec hwaccel
  • add android opengl backend

How to Install MPV 0.28.0 in Ubuntu:

MPV does not provide official Linux binaries, but it refers to a third-party PPA which contains the latest packages for Ubuntu 16.04, Ubuntu 18.04, and derivatives.

To install it, open terminal via Ctrl+Alt+T or by searching for “Terminal” from start menu. When it opens, do:

1. add the PPA repository via command:

sudo add-apt-repository ppa:mc3man/mpv-tests

Type in your password (no visual feedback due to security reason) when prompts and hit Enter.

2. If you have a previous release installed, you can now launch Software Updater and upgrade the software after checking for updates:

Or just run commands to install it for the first time:

sudo apt update && sudo apt install mpv

Uninstall:

For any reason, you can remove the PPA easily by going to System Settings -> Software & Updates -> Other Software tab. And remove the player via command:

sudo apt remove mpv && sudo apt autoremove 

Liferea Feed Reader 1.12.1 Released with Some Fixes

Last updated: December 27, 2017

The Liferea feed reader reached the 1.12.1 release earlier today with some bug-fixes. Here’s how to install it in Ubuntu 16.04, Ubuntu 17.04, Ubuntu 17.10, Ubuntu 18.04.

Changes in Liferea 1.12.1 include:

  • Fix typo in debug message
  • Add patch: appstream data has new format
  • Fix that Liferea doesn’t remember the feeds’ custom settings
  • Fix assertions/crashes on changing view layouts
  • Workaround to avoid GtkPaned shrinking
  • Added Indonesian default feed list
  • And some translation updates.

How to Install Liferea 1.12.1 in Ubuntu:

For Ubuntu 16.04 and higher, you can easily install the new release from this PPA repository.

1. Open terminal either via Ctrl+Alt+T or by searching for ‘terminal’ from app launcher. When it opens, run command:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

Type your password (no visual feedback while typing) when it asks and hit Enter.

2. Then upgrade Liferea via Software Updater utility:

or run commands one by one to install the Linux feed reader:

sudo apt-get update

sudo apt-get install liferea

Uninstall Liferea:

To remove the software, either use your system package manager or run command:

sudo apt-get remove --autoremove liferea

To remove the PPA repository, open “Software & Updates” utility and navigate to Other Software tab.

IntelliJ IDEA Reached 2017.3.2 with Numerous Fixes

Last updated: December 26, 2017

IntelliJ IDEA 2017.3.2 was released earlier today with some new features and numerous bug-fixes.

New Features in IntelliJ IDEA 2017.3.2 includes:

  • Support Heroku API v3
  • Add dedicated support for java.time.Duration in config files
  • Spring Boot: Endpoints: support new SB 2.0.0 properties for managing actuator endpoints
  • Allow configure vuejs interpolation literals
  • Node debugging: allow to override default debug options passed to Node
  • ES6: Copy-paste support. Add imports for referenced exported elements
  • Support authorization with Basic or Digest
  • TypeScript service: if project contains only one root tsconfig.json use the config options for all files from the project
  • And see the release note for bug-fixes.

How to Install IntelliJ IDEA 2017.3.2 in Ubuntu:

There are a few ways to run the latest release of the Java IDE in Ubuntu desktop. And here are 3 of them:

method 1: Download official Linux package (NON-INSTALL), extract and run the executable to launch the IDE:

method 2: Install the Snap package (runs in sandbox) for Ubuntu 16.04 and higher:

Open terminal via Ctrl+Alt+T or by searching ‘terminal’ from app launcher. When it opens, run command:

sudo snap install intellij-idea-community --classic

Replace intellij-idea-community with intellij-idea-ultimate for ultimate edition. And type your password (no visual feedback) when it asks.

method 3: Install the traditional .deb package via PPA to get the official Linux package and install the application shortcut automatically.

To do so, open terminal (Ctrl+Alt+T) and run following commands one by one to add the PPA and install the .deb packages:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

sudo apt-get update

sudo apt-get install intellij-idea-community

Also replace intellij-idea-community in the code with intellij-idea-ultimate for ultimate edition.

Uninstall:

For the snap packages, you can either remove them from Ubuntu Software, or by running command in terminal:

sudo snap remove intellij-idea-community intellij-idea-ultimate

For the PPA packages, remove them either via Synaptic package manager, or by running command in terminal:

sudo apt-get remove --autoremove intellij-idea-community intellij-idea-ultimate

And you can remove the PPA via “Software & Updates” utility under Other Software tab.

Yarock, a Qt music player designed to provide an easy and pretty music collection browser based on cover art, reached 1.3.0 release on Christmas Eve.

Yarock 1.3.0 release highlights:

  • New favorite stream editor with extended option
  • Improve favorites streams management
  • Improve stream search (TuneIn, Dirble)
  • Add bitrate info for radio stream view (TuneIn, Dirble)
  • Add option to enable/disable playing history
  • Better icon color consistency for light or dark system theme
  • Save/restore bottom bar state (expanded/collapsed)
  • Fix favorite stream loss
  • Fix playcount update if history not enabled
  • Fix auto rating calculation
  • Fix cover size management for album edition
  • Fix phonon engine crash condition on stopping player (with gstreamer backend)
  • Fix mpv engine player crash
  • Improve playing item visibility
  • Restore previous playing cover for radio stream
  • Minor code update for deprecated Qt5
  • Minor ui changes & improvments

How to Install Yarock 1.3.0 in Ubuntu:

And unofficial PPA contains the new release for Ubuntu 17.04, Ubuntu 17.10, Ubuntu 18.04. Due to requirement of Qt >=5.6, Support for Ubuntu 16.04 ends up with Yarock 1.2.0.

1. Open terminal either via Ctrl+Alt+T or by searching for “terminal” from app launcher. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

Input your password (no visual feedback while typing) when it prompts and hit Enter.

2. After adding the PPA, upgrade the player from an existing release with Software Updater.

Or run commands one by one in terminal to install it:

sudo apt-get update

sudo apt-get install yarock

Uninstall:

To remove the PPA, launch “Software & Updates” utility and navigate to “Other Software” tab.

To remove Yarock music player, either use synaptic package manager or run command:

sudo apt-get remove --autoremove yarock

Thanks for reading and Merry Christmas!

Sigil epub ebook editor reached the 0.9.9 release a few days ago. Here’s how to install it in Ubuntu 16.04, Ubuntu 17.04, Ubuntu 17.10, and higher via PPA.

Sigil 0.9.9 release highlights:

  • Ability to limit/disable clipboard history saving.
  • A new Spellcheck Dictionary Preferences setting that allows the user to include words with numbers in them.
  • Two new Quick Launch Icons for plugins added to the main menu.
  • Preview Window Title bar will now show height and width of the Preview Window
  • Convert br tags in header text to linebreaks for toc/ncx/nav generation routines
  • And various bug-fixes. See the announcement for details.

How to Install Sigil 0.9.9 in Ubuntu:

Besides building the new release from source tarball, an unofficial PPA is available that contains the packages for Ubuntu 16.04, Ubuntu 17.04, Ubuntu 17.10, and Ubuntu 18.04.

1. Open terminal by pressing Ctrl+Alt+T or searching for “Terminal” from start menu. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/sigil

Type in your password (no visual feedback due to security reason) and hit Enter.

2. Then you can upgrade Sigil editor from an existing release via Software Updater:

Or install /upgrade Sigil via commands:

sudo apt update

sudo apt install sigil

In Addition, for Linux libxml2 bug see HERE. Sorry that I can’t build it with DBUILD_PATCHED_LIBXML2=1 option since it requires cloning source from github.com but Launchpad builders do not have internet access.

Uninstall:

To remove the PPA repository, launch ‘Software & Updates’ utility and navigate to ‘Other Software’ tab.

To remove Sigil epub editor, either use system package manager or run command in terminal:

sudo apt-get remove --autoremove sigil sigil-data

Snow on Gnome Desktop with Gsnow Extension

Last updated: December 23, 2017

Since the command line tool xsnow does not work any longer, Gnome 3 users can use an extension called ‘gsnow’ to make desktop snow.

Never installed a Gnome extension? You may first read this how to install tutorial.

After installed required libraries, you can either install ‘gsnow’ from extensions.gnome.org/extension/1156/gsnow/,

or search for and install it via Ubuntu Software:

To start or stop snowing on desktop:

Once installed the extension, start or stop snowing by clicking on the little snowflake icon on top-right system tray.

Turn On/Off gsnow extension:

Search for and install ‘Gnome Tweaks’ in Ubuntu Software. The tool offers a tab for managing installed Gnome extensions.

SMPlayer 17.12 Released with Some New Actions (PPA)

Last updated: December 22, 2017

SMPlayer media player reached the 17.12.0 release earlier today with enhancements. Here’s how to install it in all current Ubuntu releases via PPA.

SMPlayer 17.12.0 release highlights:

  • Two new actions to take screenshots with or without subtitles (only work when using mpv). Assigned by default to Ctrl+Shift+S and Ctrl+Alt+S.
  • New action which displays the filename in the OSD for 2 seconds. Assigned by default to Shift+O.
  • New option osd_bar_pos for smplayer.ini. It specifies the position of the OSD bar (0 = top, 100 = bottom).
  • The support for DVD menus has been removed. It never worked well and also mpv already removed support for it a long time ago.
  • The option to open an informative page after an upgrade has been removed.

How to Install SMPlayer 17.12.0 in Ubuntu:

For Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.04, Ubuntu 17.10, and derivatives, the latest SMPlayer packages are available in the PPA repository.

1. Search for and launch “terminal” from application launcher. When it opens, run command:

sudo add-apt-repository ppa:rvm/smplayer

Input your password (no visual feedback while typing) when it asks and hit Enter.

2. Then upgrade SMPlayer using Software Updater (or Update Manager):

or run commands in terminal to install (or upgrade) the media player:

sudo apt-get update

sudo apt-get install smplayer smtube smplayer-themes

Uninstall:

To remove SMPlayer, run command in terminal:

sudo apt-get remove --autoremove smplayer smtube smplayer-*

And remove the PPA via “Software & Updates” utility under Other Software tab.

Installing Spotify desktop client in Ubuntu now is quite easy via the Snap universal binary package.

A snap is an universal Linux application with all its dependencies bundled. It runs in sandbox and is isolated from other system software.

Spotify has an official apt repository contains traditional .deb packages for Ubuntu.

Now the snap of Spotify client is available, and you can simply search for and install it in Ubuntu Software:

For those who don’t want to login with Ubuntu One account, open terminal (Ctrl+Alt+T) and install the snap via command:

snap install spotify

The snap co-exists with traditional Spotify .deb package. You can either launch it from application launcher or run command:

/snap/bin/spotify

For any snap issue, you may refer to forum.snapcraft.io.

Uninstall:

To remove Spotify snap package, either use Ubuntu Software or run command in terminal:

sudo snap remove spotify