Archives For November 30, 2017

shutter screenshot

Shutter screenshot tool got a maintenance release a day ago with some bugs fixed. Here’s how to install it in Ubuntu 18.04, Ubuntu 16.04.

Shutter 0.94.2 includes following changes since the 0.94 release:

  • Remove ITmages, Minus, TwitPic upload plugins since the services down.
  • Fix error in vygme plugin
  • Add support for Gyazo uploads
  • Fix insecure perl system calls
  • Use reverse-DNS style AppStream ID
  • Convert all JSON modules to JSON::MaybeXS instead of discouraged JSON modules
  • Fix the issue that right click > “show in folder” results in “There was an error executing xdg-open”

How to Install Shutter 0.94.2 in Ubuntu:

It seems the official Shutter PPA won’t update for the new release packages. So I uploaded the packages into an unofficial PPA with support for Ubuntu 18.04 and Ubuntu 16.04.

1. Open terminal either from app launcher or via Ctrl+Alt+T keyboard shortcut. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/shutter

Type your password (no asterisks feedback) when it prompts and hit Enter.

2. Then upgrade Shutter via Software Updater utility:

or run commands one by one in terminal to install or upgrade the tool:

sudo apt-get update

sudo apt-get install shutter

For Ubuntu 18.04, the PPA also includes libgoo-canvas-perl to fix the ‘Edit’ option. And for system tray icon, run command:

sudo apt install libappindicator-dev && sudo cpan -i Gtk2::AppIndicator

Unintall

For any issue, you can revert back to Ubuntu build of Shutter by purging the PPA via command:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:ubuntuhandbook1/shutter

The open source video transcoder HandBrake 1.1.2 was released a day ago with various bug-fixes.

Changes in HandBrake 1.1.2 include:

  • Fixed Blu-ray title name where reading from raw device
  • Improved handling of broken units in Blu-ray source (skip and continue reading)
  • Fixed rare crash related to preview images, anamorphic, and default preset values
  • Fixed jitter produced by 59.94 fps to 29.97 fps frame rate conversion
  • Fixed duration of silence buffers (may improve audio/video sync for some sources)
  • Updated libraries: libdvdread 6.0.0, libdvdnav 6.0.0 (DVD decoding)
  • Fixed potential crash where $HOME directory is missing
  • Fixed legacy preferences causing preset window being shown at every launch
  • Fixed preset name and menu display on Ubuntu 14.04 Trusty Tahr
  • Fixed default destination file name for Blu-ray source to not include MPLS number
  • Fixed queue reloading in Flatpak sandbox
  • Fixed toolbar icons alignment and use correct art for lower pixel density
  • And some fixes for Mac OS and Windows.

How to Install HandBrake in Ubuntu:

The software has an official PPA repository for current Ubuntu releases. As usual, HandBrake 1.1.2 will be available via PPA a few days later.

At that time, open terminal either via Ctrl+Alt+T or from software launcher, and run following commands one by one to install the latest handbrake:

1. Run command to add the PPA repository:

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

Type your password (no asterisks feedback) when it prompts and hit Enter.

2. Refresh system repositories cache via command:

sudo apt update

3. Remove Ubuntu build of handbrake if installed:

sudo apt remove --autoremove handbrake

4. Finally install the video transcoder from the PPA:

sudo apt install handbrake-gtk handbrake-cli

Uninstall:

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

To remove HandBrake, run command in terminal:

sudo apt remove --autoremove handbrake-gtk handbrake-cli

In addition, the latest HandBrake also available as Flatpak (containerised software package) for 64-bit Ubuntu.

A new bug-fix release for Liferea 1.12 series was released today. Here’s how to install it in Ubuntu 18.04, Ubuntu 16.04, and derivatives.

This is a bugfix release. It includes an important bug fix that solves a possible endless loop on using “Next Unread” which several users experienced as endless high CPU usage. If you are affected by this: please upgrade!

This release also switches the keyring integration from GnomeKeyring to libsecret and introduces a flatpak JSON.

Changes in Liferea 1.12.5 according to the changelog:

  • Webkit browser now supplies ‘Liferea’ component in user agent
  • Added “Mark All As Read” button to headerbar plugin
  • Added flatpak JSON
  • Added item list column drag and drop reordering
  • Move from GnomeKeyring to libsecret
  • Correct instapaper sharing link
  • Update sharing links
  • Fix consistent over usage of CPU (trigger by “Next Unread” loop)
  • Dropping Inoreader support (API broke)

How to Install Liferea 1.12.5 in Ubuntu:

For Ubuntu 16.04, Ubuntu 18.04, Linux Mint 19, 18.x, the new release is available in the unofficial PPA repository.

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

Type your password (no asterisks feedback while typing) when it prompts 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

Finally launch the news reader from your application launcher and enjoy! (Log out and log back if you don’t see the icon).

Uninstall Liferea:

As the PPA also contains many other software packages, you may remove it by launching Software & Updates and navigating to Other Software tab.

If you want to remove the Liferea news reader software, either use your system package manager or run command in terminal:

sudo apt-get remove --autoremove liferea

For those who want to play League of Legends in Ubuntu desktop, the game has been made into Snap, containerised software package designed to work within most Linux desktop.

UPDATE 2025: League Of Legends for Linux is over! See this thread for details.

The game package is based on wine platform, and it is using the wine-base-staging to use the latest changes released from winehq.org.

The snap so far is available for testing purpose. If you’re interested in this, do following steps to help testing it in Ubuntu 18.04 or Ubuntu 16.04:

1. Open terminal either via Ctrl+Alt+T shortcut key or by searching for ‘terminal’ from software launcher.

2. When terminal opens, run command to install the wine platform if you don’t have it:

snap install wine-platform

3. Then install the Lol snap package via command:

snap install leagueoflegends --edge --devmode

NOTE for Ubuntu 16.04, install snapd via command sudo apt install snapd if previous commands do not work.

4. Once installed, launch the game from your software launcher.

On first launch you’ll be prompted to choose the game installer region and the download process starts:

Lol will finally launch if everything goes well. And you can report issues at snapcraft.io.

Uninstall:

To remove Lol snap package, run command in terminal:

snap remove leagueoflegends

Mozilla Firefox 62.0 was released a day ago with new features, performance improvements, and various security fixes.

Firefox 62.0 release highlights:

  • Firefox Home (the default New Tab) allows to display up to 4 rows of top sites, Pocket stories, and highlights
  • “Reopen in Container” tab menu option appears for users with Containers that lets them choose to reopen a tab in a different container
  • A preference allows users to distrust certificates issued by Symantec. (go to about:config in the address bar and set the preference “security.pki.distrust_ca_policy” to 2.)
  • Added FreeBSD support for WebAuthn
  • Improved graphics rendering for Windows users without accelerated hardware
  • Support for CSS Shapes, allowing for richer web page layouts. This goes hand in hand with a brand new Shape Path Editor in the CSS inspector.
  • CSS Variable Fonts (OpenType Font Variations) support, which makes it possible to create beautiful typography with a single font file
  • AutoConfig is sandboxed to the documented API by default. You can disable the sandbox by setting the preference general.config.sandbox_enabled to false.
  • Added Canadian English (en-CA) locale, and various bug-fixes.

Download / Install Firefox in Ubuntu:

As usual, Ubuntu Mozilla Team will publish the new Firefox release packages through Ubuntu security & updates repositories.

So just wait and Firefix 62 will be available for upgrade via Software Updater in 2 or 3 days.

Jetbrains announced the release of IntelliJ IDEA 2018.2.3 a day ago with various bug-fixes and some improvements for v2018.2.

IntelliJ IDEA 2018.2.3 release highlights:

  • Ability to open HTML files in Edge using the Open in Browser action.
  • Fixed IntelliJ IDEA freezes.
  • Git: The built-in SSH doesn’t fail when Git protocol version 2 is enabled.
  • Fixed regressions in Mercurial support.
  • Docker: the IDE now validates Command line options and reports unknown options.
  • Docker: volume mounting now works on Windows using Linux containers.
  • Minor Gradle bug-fixes.

How to Insall the Latest IntelliJ IDEA in Ubuntu:

It’s quite easy to install the latest IDEA packages in Ubuntu since Jetbrains offers official snap (containerised software package) package in snappy store.

Simply open Ubuntu Software, search for and you’ll see IDEA ultimate and community packages available for install.

NOTE for Ubuntu 16.04 users who never installed a snap package, make sure snapd is installed by running command in terminal (Ctrl+Alt+T):

sudo apt install snapd snapd-xdg-open

LiVES 2.10.0, free and open-source video editor and VJ tool, was released earlier today. Here’s how to install it in Ubuntu 18.04, Ubuntu 16.04.

Changes in the LiVES 2.10.0 according to the changelog file:

  • Fix regression issues with youtube download.
  • Ensure audio waveform is redrawn after running fade audio.
  • Fix crash when adjusting cross-linked real time effect parameters (e.g LADSPA effects).
  • Fix an instability caused by NULL messages in the message cache (regression).
  • Fix possible crash when the real time effect parameters window is open during rendering.
  • Fix hang when clearing matches in the MIDI / JS learner window (GUI issue).
  • Improve the MIDI / JS tab in Preferences.
  • Add pref for creating a dummy alsa MIDI output port.
  • Add “OMC notify” to MIDI / JS mapper (MIDI -> OSC, sends USER1 notify event to all listeners).
  • Code cleanup. Standard checkbuttons and check menuitems now have their state set in the creation function.
  • Remove “use_mnemonic” parameter for widget functions. Use widget_opts.mnemonic_labels instead.
  • Amend the autolives toy so it can be triggered via OSC (and move to vj menu, add startup options).
  • MIDI channel can now used as a filter instead of a parameter to be matched.
  • Device mappings can now be shipped with builds.
  • Improved a/v synch with pulse audio.
  • Correct some minor GUI issues.
  • -noset startup option now has a permanent effect.
  • Add -asource [internal | external] startup option.
  • Fix bug in setting loop mode via OSC.
  • Fix broken framerate after pause / unpause during realtime playback.
  • Updated translation to Czech.

How to Install LiVES 2.10.0 in Ubuntu:

For Ubuntu 16.04, Ubuntu 18.04, Linux Mint 18.x and 19, you can easily install the latest packages from the unofficial PPA.

1. Open terminal via Ctrl+Alt+T shortcut key and then run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/lives

Type in your password (no visual feedback while typing due to security reason) when it asks and hit Enter.

2. Then upgrade the software from an existing release via Software Updater:

or simply run commands in terminal to install or upgrade LiVES:

sudo apt-get update

sudo apt-get install lives lives-plugins

Uninstall:

To remove the software, simply run commands:

sudo apt-get remove --autoremove lives lives-plugins

The PPA can be removed via Software & Updates utility under Other Software tab.

Flameshot is a simple yet powerful screenshot tool with annotation feature. Other than Shutter, it’s another of my favorite screen capturing tools for Ubuntu desktop so far.

Flameshot is written by C++ with Qt5 framework. It offers a system tray icon with ‘Take Screenshot’ and ‘Configuration’ menu options.

While selecting a screen area to capture, many editing tool buttons appear at the bottom. And you can press right-click to show color picker, and Space to open the side panel.

Other software features include:

  • Customizable appearance.
  • DBus interface.
  • Upload to Imgur.

How to Install Flameshot in Ubuntu:

The software is available in all current Ubuntu system repositories. Simply launch Ubuntu Software (or App Center), then search and install the package.

NOTE: the screenshot tool is available in App Center for both Snap (run in sandbox) and native Debian package formats. Choose either one that you prefer.

For choice, the software provides official packages for Debian, Fedora, Ubuntu, AppImage, and Flatpak, available to download under “Assets” in the link below:

Uninstall:

To uninstall the tool, either use Ubuntu Software (App Center) or open terminal (Ctrl+Alt+T) and run the command below instead:

  • For Debian package:
    sudo apt remove --autoremove flameshot
  • For Snap package:
    sudo snap remove flameshot

VLC media player 3.0.4 was released with support for decoding AV1 streams and various bug-fixes.

According to the changelog file, VLC 3.0.4 contains following changes:

  • Decode AV1 streams
  • Fix playback of low-fps files
  • Fix seeking with streams containing WebVTT subtitles
  • Fix decoding some CC-608 streams with roll-up
  • Fix crashes with LPCM streams
  • Fix colorspace of JPEG, PNG and screen inputs
  • Fix MediaCodec rotation handling
  • Fixes for ogg, flac, MKV, AVI, MP4, and incomplete RAR streams.
  • Support 44.1kHz DTS passthrough
  • Fix crashes on DirectSound output
  • Fix some crash in Direct3D11/Direct3D9 because of sensors
  • Fix some broken DVD subtitles rendering (OpenGL, notably)
  • Fix misc display in Direct3D11 due to broken drivers
  • Some text rendering fixes.
  • Fix ChromeCast compatibility with web interface
  • Fix detection SAT>IP servers
  • Fix tooltip display when using Wayland
  • Various fixes for Mac OS, and other more.

How to Install The Latest VLC in Ubuntu

For Ubuntu 18.04 Bionic Beaver, Ubuntu as usual will publish VLC 3.0.4 packages via security & updates repository.

At that time you can upgrade VLC via Software Updater (check the building page, The Bionic Beaver section).

For Ubuntu 16.04, Ubuntu 18.04 and higher, the VideoLan team offers the official Snap package, containerised software package designed to work securely within most Linux desktop.

You can simply install the snap (3.0.3 at the moment) via Ubuntu Software, and it will auto-updates to the latest VLC 3.0.4 once it’s published.

Note for Ubuntu 16.04 users who never installed a snap package, make sure if snapd daemon is installed via command:

sudo apt install snapd snapd-xdg-open

The default Gedit text editor in Ubuntu 18.04 always opens file in a new window, even though there’s already an existing instance. And there’s no easy option to change the behavior.

Thanks to fossfreedom, you can re-built Gedit pakages so to always open files in new tabs in the same gedit window.

1. Open terminal either via Ctrl+Alt+T shortcut key or by searching for ‘terminal’ from software launcher.

2. When terminal opens, paste the command below and hit run to install the building tools:

sudo apt-get install devscripts build-essential fakeroot

3. Launch Software & Updates, and click enable download Source code from Ubuntu repositories.

4. In user downloads, create a build folder and navigate to the directory.

cd ~/Downloads/ && mkdir build && cd build

5. Download the gedit source code via command:

sudo apt-get update; apt-get source gedit

Type your password (no asterisks feedback) when it prompts

6. Next edit the source file gedit-app.c:

cd gedit-* && gedit gedit/gedit-app.c

When the file opens, add new line return TRUE; as the picture shows (line 320 for Ubuntu 18.04):

7. Give a unique package name by editing the debian/changelog file.

gedit debian/changelog

8. Finally rebuild the gedit via commands:

sudo apt-get build-dep gedit

debuild -i -us -uc -b

The commands will take a few minutes building the gedit text editor packages.

9. At last, install the new packages via command and enjoy!

cd ~/Downloads/build/ && sudo dpkg -i gedit*.deb

In addition, you may lock the changes so it won’t be overwritten after installing system updates.

And it can be done easily via Synaptic package manager (available in Ubuntu Software). Simply search for ‘gedit’ and choose lock version for gedit and gedit-common packages one by one.