Archives For November 30, 1999

Avidemux video editor

Avidemux video editor released version 2.7.2 today with new demuxers / encoders, bug-fixes, and various other changes.

Avidemux 2.7.2 release highlights:

  • Native AviSynth demuxer (MSVC++ 64 bits Windows builds only)!
  • VapourSynth demuxer to directly load .vpy scripts
  • FFmpeg-based VA-API HW accelerated H.264 encoder (Intel/Linux)
  • FFmpeg-based VA-API HW accelerated HEVC encoder (Intel/Linux)
  • FFmpeg 4.x compatible
  • Allow to cancel indexing of MKV files
  • Add decoding support for multichannel Opus audio
  • Other enhancements, and many bug-fixes.

How to Install Avidemux 2.7.2 in Ubuntu:

Appimage:

The software offers Linux universal binaries (non-install executable to launch the software) in its download page:

Once you get it, do:

  • right-click and go to file Properties -> Permissions -> allow executing file as program.
  • right-click and select run the Appimage.

Flatpak:

Avidemux is also available as flatpak, see the Flathub page for more details.

Native Ubuntu package:

There’s also an unofficial PPA contains the latest 2.7.2 packages for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 18.10, and higher.

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.

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

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.

This quick tutorial shows how to get Mac OS style auto-resize dock launcher in Ubuntu 18.04, without installing extensions, e.g., Dash to Panel or Dash to Dock.

The left panel in Ubuntu 18.04 is called “Ubuntu Dock“. It is forked from Dash to Dock extension and less customizable via System Settings. There are only auto-hide, panel position, and icon size settings.

To get more settings for Ubuntu Dock, there’s a graphical tool called Dconf Editor.

1. First search for and install dconf editor from Ubuntu Software:

2. Launch dconf editor, and navigate to org/gnome/shell/extensions/dash-to-dock. And turn off the switch for ‘extend height’.

Then you’ll see an auto-resize Mac OS style dock launcher instead of the extended panel.

Audacity audio editor 2.3.1 was finally released and restored Linux support which was missing in 2.3.0.

Audacity 2.3.1 brings over 20 bug-fixes and following new features / improvements:

  • Microfades are now an opt-in feature. They were always on in 2.3.0.
  • The advanced vertical zooming option is now available in the View->Zoom menu.
  • Regular interval labels now support range labels.

How to Install Audacity 2.3.1 in Ubuntu:

There’s an unofficial PPA contains the 2.3.1 packages for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 18.10, Ubuntu 19.04, and their derivatives, e.g., Linux Mint 18.x and 19.x.

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

sudo add-apt-repository ppa:ubuntuhandbook1/audacity

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

2. If you have a previous version installed, you can upgrade Audacity via Software Updater after adding the PPA.

or run following commands one by one to check updates and install (or upgrade) audacity 2.3.1:

sudo apt-get update

sudo apt-get install audacity

Uninstall:

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

To remove Audacity audio software, either use system package manager or run command in terminal:

sudo apt-get remove --autoremove audacity audacity-data

NVIDIA driver 418.43 for Linux was released 2 weeks ago with G-SYNC Compatible (a.k.a. FreeSync / Adaptive-Sync) support. Now you can install it in Ubuntu 18.04 and higher via the “Graphics Drivers” team PPA.

NVIDIA driver 418.43 is the first stable release in the 418 series, and it features:

  • New GPUs support:
    • GeForce GTX 1660 Ti
    • GeForce RTX 2070 with Max-Q Design
    • GeForce RTX 2080 with Max-Q Design
  • Initial support for G-SYNC Compatible monitors.
  • Support for stereo presentation in Vulkan.
  • NVIDIA optical flow support.
  • NVIDIA Video Codec SDK 9.0 support
  • Various Vulkan and OpenGL fixes
  • See the release note for more details.

How to Install NVIDIA Driver 418.43 in Ubuntu:

For Ubuntu 18.04, Linux Mint 19, Ubuntu 18.10, Ubuntu 19.04, you can do following steps to add the PPA and install the latest NVIDIA 418 drivers.

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:graphics-drivers/ppa

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

2. For Linux Mint 19, you may need to run command to refresh system package cache:

sudo apt update

3. Launch Software & Updates utility, and navigate to Additional Drivers tab.

Then choose using “NVIDIA driver metapackage from nvidia-driver-418” from the list and click Apply Changes.

In addition, if the driver does not install after clicking ‘Apply Changes’, try running command in terminal:

sudo apt install nvidia-driver-418 nvidia-settings

For unmet dependency issue, try removing old NVIDIA proprietary drivers first.

Caprine is an unofficial and privacy-focused Facebook Messenger works on Ubuntu, Mac OS, and Windows.

Caprine is free, open-source, and features a dark theme, privacy settings, keyboard shortcut, Work chat support, code blocks, custom styles, compact mode, and more.

The software offers .deb, .snap, and .Appimage packages to make it easy to install in Ubuntu desktop.

1. Caprine snap package:

Snap is a containersized software package that features software auto-updating. Ubuntu 18.04 and higher can easily install it from Ubuntu Software.

2. Caprine .deb package:

For those don’t prefer snap applications, download the .deb package from the release page:

Then install the package via:

  • install Gdebi package installer from Ubuntu Software.
  • Right-click the .deb -> open with other application -> Gdebi package installer.
  • Finally install the package and launch Caprine from applicatione menu.

3. Caprine .Appimage package

Without installing the software, you can launch the messenger by running the .Appimage file.

  • download the .Appimage from the previous link.
  • right-click and go to file Properties -> Permissions.
  • check the box says ‘Allow executing file as program’
  • finally click run the Appimage file to launch Caprine.

Mari0, a fan-made video game that combines elements of Super Mario Bros and Portal, now is available to install in Ubuntu easily via Snap package.

Although there’s already a 2D jump and run game SuperTux available in Ubuntu Software, Mari0 is available as a complete from scratch recreation of Super Mario Bros, with puzzle game mechanics from Portal. It also features play 4-player coop, with everyone having their own Portal gun!

How to Install Mari0 in Ubuntu:

It’s quite easy to install the snap package (unofficial) in Ubuntu 18.04 and higher. Simply open Ubuntu Software, search for and install mari0.

For Ubuntu 16.04, open terminal either via Ctrl+Alt+T keyboard shortcut or from application menu. When it opens, install snapd via command:

sudo apt-get install snapd

Then install the game via command:

sudo snap install mari0

In addition, for allowing the game to use joystick, you need to run one more command:

sudo snap connect mari0:joystick

Uninstall:

To remove the game, simply run command in terminal:

sudo snap remove mari0

Linus Torvalds announced the released of Kernel 5.0 yesterday afternoon. He wrote on lkml.org:

Ok, so the last week of the 5.0 release wasn’t entirely quiet, but it’s a lot smaller than rc8 was, and on the whole I’m happy that I delayed a week and did an rc8.

It turns out that the actual patch that I talked about in the rc8 release wasn’t the worrisome bug I had thought: yes, we had an uninitialized variable, but the reason we hadn’t immediately noticed it due to a warning was that the way gcc works, the compiler had basically initialized it for us to the right value. So the same thing that caused not the lack of warning, also effectively meant that the fix was a no-op in practice.

But hey, we had other bug fixes come in that actually did matter, and the uninitialized variable _could_ have been a problem with another compiler.

Regardless – all is well that ends well. We have more than a handful of real fixes in the last week, but not enough to make me go “Hmm, things are really unstable”. In fact, at least two thirds of the patches are marked as being fixes for previous releases, so it’s not like 5.0 itself looks bad.

Changes in Linux Kernel 5.0 include:

  • AMD Radeon FreeSync support
  • Logitech High Resolution Scrolling support
  • Raspberry Pi Touchscreen support out of the box.
  • New console font for HiDPI and retina screens.
  • Initial support for NVIDIA Turing GPUs
  • And numerous other changes

How to Install Linux Kernel 5.0 in Ubuntu:

The mainline kernel packages for Linux 5.0 are available for download at the link below:

Depends on your OS type, download and install the packages in turns:

  1. linux-headers-5.0.0-xxxxxx_all.deb
  2. linux-headers-5.0.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  3. linux-modules-5.0.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  4. linux-image-xxx-5.0.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb

Select generic for common system, and lowlatency for a low latency system (e.g. for recording audio), amd64 for 64bit system, i386 for 32bit system, or armhf, arm64, etc for other OS types.

Alternatively you can download and install the kernel binaries via terminal commands (Ctrl+Alt+T):

For 64-bit OS:

cd /tmp/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000_5.0.0-050000.201903032031_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-image-unsigned-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-modules-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb

sudo dpkg -i *.deb

for 32-bit OS:

cd /tmp/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000_5.0.0-050000.201903032031_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-image-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-modules-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb

sudo dpkg -i *.deb

Once installed, restart your computer and enjoy!

Uninstall Linux Kernel 5.0:

Restart your machine and select boot with the previous kernel in boot menu ‘Grub2 -> Advanced Option for Ubuntu’. Then run command to remove Linux Kernel 5.0:

sudo dpkg --purge linux-image-5.0.0-050000-generic linux-image-unsigned-5.0.0-050000-generic

Ubuntu will play a simple alert sound for certain types of messages and events, e.g., error input in terminal and usb plugged in or removed.

For some reason, you may want to disable or mute the alert sounds. And this quick tutorial will show you how to do it in Ubuntu 18.04 Gnome desktop.

1. Open Settings utility from the left panel, and navigate to Sound settings from its left pane.

2. Then navigate to Sound Effects tab, and either mute or turn off “Alert volume”.

3. (Optional) Instead of playing alert sounds, you can have visual flashes for the events.

Go to Univeral Access settings, choose enable “Visual Alerts”, and set flash window title or entire screen.

That’s it. Enjoy!

GNU Octave 5.1.0 was announced yesterday as a new major release with Matlab compatibility improvements, and many new and improved functions.

GNU Octave 5.1.0 release highlights:

  • Adds HiDPI support
  • Requires Qt4 >= 4.8, though Qt5 is preferred.
  • Adds many new functions.
  • Printing to raster formats now uses an OpenGL-based method by default
  • New print options for PDF and PostScript
  • A new printing device produces ASCII art for plots
  • The FFTW library is now required for FFT calculations
  • The OSMesa library is no longer used.

How to Install Octave 5.1 in Ubuntu 18.04/16.04:

1. First open terminal (Ctrl+Alt+T) and make sure Flatpak support is enabled by running command:

sudo apt-get install flatpak

For Ubuntu 16.04, you need to add the Flatpak PPA first to be able to install Flatpak framework.

2. Then add the Flathub repository, the best place to get Flatpak apps:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

3. Finally install GNU Octave from the Flathub repository:

flatpak install flathub org.octave.Octave

It will take a few minutes downloading the flatpak package as well as dependency platform if you’re first time installing it.

Like normal applications, you can launch Octave from Gnome app launcher:

The flatpak co-exists with traditional Octave package. You can alternatively run it in command line:

flatpak run org.octave.Octave

Uninstall:

You can remove the Octave flatpak package by running command:

flatpak uninstall org.octave.Octave

And remove flatpak support if you want:

sudo apt-get remove flatpak

Pragha music player 1.3.4 was released few days ago. Here’s how to install it in Ubuntu 16.04, Ubuntu 18.04, Ubuntu 18.10.

While Pragha 1.4 is being close to the final release, Pragha 1.3.4 was released a few days ago as a new maintenance that features:

  • Fixes some border, spacing and margin in all gui.
  • Various improvements to the tag editor dialog.
  • Implement emit CanNext/Prev/Play/Pause/Seek.
  • Use Alt+Return shortcut to edit the selected song.
  • Some backport of improvents to MTP plugin
  • Set user-agent and ssl strict ssl to gstreamer on internet music.
  • Fix second sidebar dont show with accel.
  • Allow apply a custom css. Related to Issue
  • Allows to customize the styles to the distro packagers.

How to install Pragha 1.3.4 in Ubuntu:

There’s an unofficial PPA that contains the latest Pragha packages for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 18.10, and Linux Mint 18.x/19.

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

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

2. Then install the music player either via Synaptic Package Manager or by running commands:

sudo apt-get update

sudo apt-get install pragha

Uninstall Pragha:

To remove the music player, either use Synaptic Package Manager or run command in terminal:

sudo apt-get remove --autoremove pragha

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