Nvidia Linux driver

NVIDIA announced a new release for the 460 Linux driver series today.

The new NVIDIA 460.56 driver added GeForce RTX 3060 support. The RTX 3060 features 5,888 CUDA cores, 1,777MHz GPU boost clock, 12 GB of GDDR6 video memory, and 170W TGP.

Besides the new GPU support, the 460.56 driver also fixed

  • a bug with indexed ray payloads in Vulkan,
  • a bug where calls to vkCreateDevice could fail on Ampere GPUs when ray tracing extensions were enabled and the application was running within the Steam Linux Runtime,
  • fixed a regression that could cause display corruption when using a scaled resolution after resuming from power management suspend.

How to Install NVIDIA 460.56 in Ubuntu:

Ubuntu now builds the latest NVIDIA drivers and pushes them via its own security & updates repositories. It however take time to publish the new packages.

You can just wait or use this well trusted Ubuntu PPA. Finally launch Additional Drivers utility to install & apply the new NVIDIA driver:

If you can’t wait, go to NVIDIA website and download the .run installer package (not recommended for beginners):

NVIDIA 460.56

Mozilla Firefox web browser 86.0 was released with improved pop out video support and latest privacy protection.

In Firefox 86, you can now play multiple videos at the same time in the Picture-in-Picture mode.

The new release also features new privacy protection: Total Cookie Protection. It stops cookies from tracking you around the web by creating a separate cookie jar for every website.

To enable this feature, go to about:preferences#privacy page and set Enhanced Tracking Protection to Strict mode.

Other changes in Firefox 86 include:

  • Improved Print functionality with a cleaner design and better integration
  • Enable credit card management and auto-fill feature for users in Canada.
  • Reader mode now works with local HTML pages.
  • Mitigate the stack clash attack in Linux and Android.
  • Remove DTLS 1.0 support.
  • Various security fixes.

How to get Firefox 86 in Ubuntu:

For all current Ubuntu releases, the new Firefox package will be published in Ubuntu security & updates repositories in next a few days.

At that time, you can easily update the web browser through Software Updater (Update Manager)

For those who can’t wait, go to the release page which also includes a download button:

Firefox 86 Release Note

Want to create web apps into the portable Appimage package format? Appnativefy is a simple tool to do the job.

Appnativefy is a simple command line tool to make executable AppImage files from any website, it uses the Nativefier API in the backend, with AppImageKIt.

Appimage is an universal Linux package format. Different to other packages, you don’t need to install it. Just make it executable and run to launch program!

How to use appnativefy:

With Appnativefy, you can run a simple command to turn a website into single executable Appimage:

appnativefy --name "TYPE_PACKAGE_NAME" --url "URL_ADDRESS"

For instance, you can make youtube.com into appimage via command:

appnativefy --name "YouTube" --url "https://youtube.com"

You can add more flags at the end of the command to enable more options, for instance:

  • --services enables to sign-in using services such as Microsoft 365 and Google.
  • --favicon forces to use the favicon of the site while making the AppImage.
  • --widevine adds Widevine support to enable playing DRM enabled content.
  • For more, run appnativefy -h

For example, run below command will create appimage for Spotify with Widevine support, sign-in services enabled, and using the favicon.

appnativefy --name "Spotify" --url "https://open.spotify.com" --services --widevine --favicon

The app will create an appnativefy folder in users home directory that contains all generated Appimage packages.

How to install Appnativefy:

The software is available as a NPM package. To install it, firstly open terminal and run command to install dependencies:

sudo apt install nodejs npm wget

Then install the tool via npm command:

sudo npm install -g appnativefy

How to Remove Appnativefy:

To remove the command line tool, simply run command:

sudo npm uninstall -g appnativefy

If you don’t use nodejs and npm, remove them to free up a few dozens of MB disk space:

sudo apt purge --auto-remove nodejs npm

This is a simple tutorial shows how to set the priority of a certain package and/or apt repository in Ubuntu, Debian, Linux Mint.

In Ubuntu, we install software packages from different sources, including Ubuntu universe repositories (using Ubuntu Software), Ubuntu PPAs (e.g., LibreOffice, Kodi, GIMP, and more), apps’ own apt repositories (e.g, Chrome, VirtualBox, Opera, and more).

We can even install apps from other Linux Distributions. For instance, installing Linux Mint’s IPTV player, Web App Mananger, and Chromium Browser (in deb format) in Ubuntu is possible.

Why setting priority:

However, installing from mixed software sources may cause following questions:

  1. Lock a package in specified version.
  2. More than one repositories have the same package, but you want to install or receive package updates from a certain repository.
  3. Install only one or two packages from the repository, but refuse all others.

Create and set package priority:

By adding a rule file under /etc/apt/preferences.d/ directory, and pinning a priority will fix the issues.

Just open terminal from system app launcher, and run command to create and edit a config file (replace gedit for other system):

sudo gedit /etc/apt/preferences.d/99mint-repository

In the case, I created a 99mint-repository file and added following lines:

# Allow upgrading only webapp-manager from Ulyssa repository
Package: webapp-manager
Pin: release n=ulyana
Pin-Priority: 500

# Also allow upgrading chromium (Added by another post).
Package: chromium
Pin: release n=ulyana
Pin-Priority: 500

# Never prefer other packages from the Ulyssa repository
Package: *
Pin: release n=ulyana
Pin-Priority: 1

As you can see, each entry has 3 lines (exclude the description line started with # at the beginning), and separated with a blank line.

The three lines started with Package: at the beginning specified the packages: “webapp-manager”, “chromium”, and “*” (everything).

About the “Pin: ” line:

The second line specifies the pin definition. It can be Pin: version 1.0.99*, the “*” is a “wildcard”, that says the package with all versions beginning with 1.0.99.

You can also use release or origin to specified package source. For example:

Pin: release o=LP-PPA-team-xbmc
Pin: release l=linuxmint
Pin: origin packages.linuxmint.com

The parameters for release are: a (archive), c (components), v (version), o (origin) and l (label).

And you can find out the values for release and origin by running command:

apt-cache policy |more

About the number of Pin-Priority:

The value of the third line can be set to:

  • 1000 or higher. Install a version from the target release even if it would replace (downgrade) an installed package with a higher version.
  • 990 to 999. Install a version even if it does not come from the target release, unless the installed version is more recent.
  • 500 to 899. Install a version unless there is a version available belonging to the target release or the installed version is more recent.
  • 100 to 499. Install a version unless there is a version available belonging to some other distribution or the installed version is more recent.
  • 1 to 99. Install a version only if there is no installed version of the package.
  • -1 or lower. Prevent the version from being installed

After setting up the config file, refresh system package cache via sudo apt update command and done.

HP Linux Imaging and Printing

HPLIP, HP developed printer and scanner drivers for Linux, released version 3.21.2 with new Linux distributions and devices support.

According to the release note, HPLIP 3.21.2 add following new Distro’s support:

  • Fedora 33
  • Manjaro 20.2
  • Debian 10.7
  • RHEL 8.3
  • RHEL 7.7
  • RHEL 7.8
  • RHEL 7.9

The new release also added a lot of new printers support:

  • HP LaserJet Enterprise M406dn, M407dn
  • HP LaserJet Enterprise MFP M430f, MFP M431f
  • HP LaserJet Managed E40040dn
  • HP LaserJet Managed MFP E42540f
  • HP Color LaserJet Enterprise M455dn
  • HP Color LaserJet Managed E45028dn
  • HP Color LaserJet Enterprise MFP M480f
  • HP Color LaserJet Managed MFP E47528f
  • HP PageWide XL 3920 MFP
  • HP PageWide XL 4200 Printer
  • HP PageWide XL 4200 Multifunction Printer
  • HP PageWide XL 4700 Printer
  • HP PageWide XL 4700 Multifunction Printer
  • HP PageWide XL 5200 Printer
  • HP PageWide XL 5200 Multifunction Printer
  • HP PageWide XL 8200 Printer
  • HP Laserjet M207d, M208d, M209d, M210d, M212d, M211d, M209dw, M209dwe, M210dw, M210dwe, M212dw, M212dwe, M208dw, M207dw, M211dw
  • HP LaserJet MFP M234dw, MFP M234dwe, MFP M233d, MFP M232d, MFP M235d
  • HP LaserJet MFP M237d, MFP M236d, MFP M232dw, MFP M232dwc, MFP M233dw
  • HP LaserJet MFP M236dw, MFP M235dw, MFP M235dwe, MFP M237dwe, MFP M237dw
  • HP LaserJet MFP M232sdn, MFP M233sdn, MFP M236sdn, MFP M234sdn
  • HP LaserJet MFP M234sdne, MFP M235sdn, MFP M235sdne, MFP M237sdne, MFP M237sdn
  • HP LaserJet MFP M232sdw, MFP M233sdw, MFP M236sdw, MFP M234sdw
  • HP LaserJet MFP M234sdwe, MFP M235sdw, MFP M235sdwe, MFP M237sdwe, MFP M237sdw

How to Install HPLIP 3.21.2 in Ubuntu:

1. To install the software, download the package “hplip-3.21.2.run” from the link below:

HPLIP Download Page

2. Then open terminal either via Ctrl+Alt+T or by searching for “terminal” from app launcher. When it opens, run command to give executable permission:

chmod +x ~/Downloads/hplip-3.21.2.run

3. Finally run command to start installing the driver:


Follow the terminal output and answer the questions. If everything goes OK, plug or re-plug your HP devices and enjoy!

Due to Pyqt5 dependency issue, the package does not install in Ubuntu 20.04.
As a workaround, choose “custom” as the installation mode, answer “no” to disable ‘Graphical User Interfaces (Qt5)’, and say “no” when installing the python-reportlab package.