Archives For Howtos

CopyQ, open-source clipboard manager with editing and scripting feature, released version 3.9.1 today. Here’s how to install it in Ubuntu.

CopyQ 3.9.1 release highlights:

  • Commands are moved to a separate configuration file “copyq-commands.ini”.
  • Horizontal tabs in the configuration dialog were replaced with a list of sections so it’s possible to view all of the sections even in a smaller window.
  • New option hide_main_window_in_task_bar can be set using copyq config hide_main_window_in_task_bar true.
  • New logs() script function prints application logs.
  • New clipboardFormatsToSave() script function allows to override clipboard
    formats to save.
  • Some hidden options can be modified using config() script function.
  • Font sizes in items and editor are limited to prevent application freeze.
  • Application icons are cached so as to avoid creating icons for the snip
    animation again.
  • And various bug-fixes.

How to Install Copyq 3.9.1 in Ubuntu:

The official PPA repository has made the latest packages for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.04, and Linux Mint 18.x, 19.x.

1. To add the PPA, open terminal (Ctrl+Alt+T) from application menu and run command:

sudo add-apt-repository ppa:hluk/copyq

Type user password (no asterisk feedback due to security reason) when it prompts and hit Enter to continue.

2. After added the PPA repository, install CopyQ either via Synaptic package manager or by running commands in terminal:

sudo apt-get update

sudo apt-get install copyq

Once installed, start the clipboard manager from application menu and you’ll see the icon in system tray area.

Uninstall:

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

sudo apt-get remove --autoremove copyq

To remove PPA repositories, launch Software & Updates and navigate to Other Software tab.

Wine Stable

The new development release Wine 4.14 was released today. The official apt repository has made the packages for Ubuntu 18.04 and Ubuntu 19.04.

Wine 4.14 release highlights:

  • New version of the Mono engine with upstream updates.
  • PE dlls no longer rely on the MinGW runtime.
  • Exception handling fixes on ARM64.
  • Various bug fixes.

How to Install Wine 4.14 in Ubuntu:

1. Open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for ‘terminal’ from application menu. When it opens, run following commands to download and install the key:

wget -nc https://dl.winehq.org/wine-builds/winehq.key && sudo apt-key add winehq.key

Type user password (no asterisk feedback) when it prompts and hit Enter.

2. Then add Wine repository for Ubuntu 19.04:

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ disco main'

For other Ubuntu releases, replace disco in the code with:

  • bionic for Ubuntu 18.04, Linux Mint 19.x

3. Install unmet dependence: faudio

The wine devel package requires libfaudio0 library which is not available in Ubuntu repositories.

As a workaround, run command to add the third-party PPA, which offers the packages for Ubuntu 18.04, Ubuntu 19.04.

sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport

4. Finally run command to install Wine 4.14, which will automatically install the required libfaudio0 libraries.

sudo apt install --install-recommends winehq-devel

Once installed, run winecfg to bring up the configuration window and check Wine version.

Uninstall:

Open Software & Updates and navigate to Other Software tab. Then remove the PPA, and Wine apt repository lines.

To remove Wine devel package, run command:

sudo apt remove --auto-remove winehq-devel

Mesa 3D graphics library 19.1.4, which was released a week ago, now is made into PPA for Ubuntu 18.04, and Ubuntu 19.04.

For those sticking to the open-source RadeonSI / RADV / Intel / Nouveau drivers, Mesa 19.1.4 is the latest stable release with following release highlights:

  • Vulkan 24/48 bit formats are now not supported on Ivybridge.
  • R8G8B8_UNORM_SRGB is not supported on Haswell.
  • A fix for hair artifacts in Max Payne 3 on AMD/RADV.
  • Vulkan transform feedback extension is disabled on Intel gen7.

Canonical’s Timo Aaltonen has made Mesa 19.1.4 package into “Ubuntu-X” team PPA, available to install in Ubuntu 18.04 and Ubuntu 19.04.

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

sudo add-apt-repository ppa:ubuntu-x-swat/updates

Type user password (no asterisk feedback) when it prompts and hit Enter to continue.

2. After adding the PPA, do system update via command:

sudo apt-get dist-upgrade

apt-get update is not required any more in Ubuntu 18.04 since adding PPA automatically refreshes system package cache.

3. Finally check your driver version via command:

glxinfo | grep "OpenGL version"

Uninstall:

To restore changes and downgrade to the default drives shipped in Ubuntu 18.04, run command:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:ubuntu-x-swat/updates

Avidemux video editor

Avidemux video editor released version 2.7.4 today with tons of bug-fixes. Here’s how to install it in Ubuntu 18.04, Ubuntu 19.04.

Aivdemux 2.7.4 release highlights:

  • Detect and warn when cut points in H.264 video streams may result in playback issues despite being on keyframes
  • Update to the 4.1.4 release
  • Enable HW accelerated decoding of 8-bit HEVC for recent versions of Intel graphics driver on Windows
  • Support audio tracks in fragmented MP4 files
  • Support E-AC3 audio tracks in MP4 files
  • Fix ASF demuxer still broken by chance with MSVC++ only, the fix relevant for all platforms
  • Support more varieties of BMP images
  • Optimize output of the Mp4 muxer for streaming on Windows too
  • Add option to the Mp4 muxer to output fragmented MP4 files
  • Support WMAPRO audio codec for decoding
  • Support AAC with signal band replication (SBR) in external audio tracks
  • Numerous other fixes. See HERE for details.

How to Install Avidemux 2.7.4 in Ubuntu:

There are a few ways installing the latest the video editor in all curren Ubuntu releases.

  • Appimage, single executable (enable it in file properties dialog) to launch the editor.
  • Flatpak, community maintained package that runs in sandbox.
  • Native Ubuntu (.deb) packages via an unofficial PPA.

For Ubuntu 16.04, Ubuntu 18.04, and Ubuntu 19.04, here’s how to install Avidemux 2.7.4 via the unofficial PPA.

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/avidemux

Type user password (no asterisk feedback due to security reason) when it prompts and hit Enter.

avidemux ppa

2. Then run following 2 commands to refresh package cache and install the video editor:

sudo apt update

sudo apt install avidemux2.7-qt5 avidemux2.7-qt5-data avidemux2.7-plugins-qt5 avidemux2.7-jobs-qt5

NOTE: if you get software launching error similar to:

avidemux2.7_qt5: symbol lookup error: avidemux2.7_qt5: undefined symbol: _Z20extractH264FrameTypePhjPjPiP11ADM_SPSInfoS0_

try updating your system via command sudo apt update && sudo apt upgrade.

Uninstall:

To remove the native Ubuntu .deb package of Avidemux 2.7, run command in terminal:

sudo apt remove --autoremove avidemux2.7-*

And remove the PPA via Software & Updates utility under ‘Other Software’ tab.

LibreOffice

Libreoffice, Ubuntu’s default office suite, released version 6.3 a few days ago. Here’s how to upgrade it in Ubuntu 18.04 and/or Ubuntu 19.04 via PPA.

LibreOffice 6.3 release highlights:

  • New ‘Tabbed Compact UI’
  • improved PDF export
  • improved Microsfot office file formats support.
  • Redact documents to remove/hide sensitive information
  • New ‘Tip-Of-The-Day’ dialog on startup

Although LibreOffice offers the latest snap package (runs in sandbox) in Ubuntu Software utility, you can choose upgrade the pre-installed LibreOffice package using the Fresh PPA.

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

sudo add-apt-repository ppa:libreoffice/ppa

Type user password (no asterisk feedback while typing) when it prompts, and read terminal output for PPA description and hit Enter to continue.

2. Then you’ll see the upgrade available in Software Updater after checking for updates.

Or run commands in terminal to install LibreOffice:

sudo apt update

sudo apt install libreoffice

For Ubuntu 18.04 and higher, you can skip sudo apt update as it’s done while adding PPA.

Uninstall:

You can restore to stock version of LibreOffice in Ubuntu main archive by running command in terminal:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:libreoffice/ppa