Archives For jimingkui

This is a step by step guide shows how to enable fingerprint reader support for Lenovo ThinkPad T480/T480s, X1 Carbon 6th gen, X1 Yoga 3rd gen, X280, etc with 06cb:009a device in Ubuntu 22.04.

Ubuntu has fingerprint reader support out-of-the-box using libfprint, and provides option to enable fingerprint login in Users settings page. However, the library has a list of unsupported devices, including 06cb:009a that’s built-in in my used ThinkPad T480s laptop.

Thankfully, there’s a free open-source alternative python-validity that works in my case. Here’s how to install and set it up in Ubuntu 22.04, while Ubuntu 20.04 is also supported.

NOTE: This tutorial may also work in many other fingerprint readers, however, the project so far does NOT provide a page to list all supported devices.

Step 1: Tell Which Fingerprint Reader device your laptop have

First of all, you may press Ctrl+Alt+T on keyboard to open up a terminal window.

Then run command to find out the device name of your fingerprint reader:

Continue Reading…

This is a step by step beginner’s guide shows how to configure your Ubuntu laptop to limit the maximum battery charge level.

For those who keep laptop plugged in for long term, it’s better to set battery charge limit to reduce the battery wear by constantly trickle charging.

Linux Kernel supports battery charge threshold, and there’s a merge request to provide graphical UI options in Gnome Control Center. Until GNOME officially support this feature, you can follow this tutorial to do the job step by step.

Continue Reading…

For .NET developers, the latest .NET 8 can be installed on old Ubuntu 18.04 and/or Ubuntu 16.04 LTS easily through PPA.

.NET 8 was released few months ago in November, 2023. It’s a new LTS release with 3 years support, and features new code generator “Dynamic Profile-Guided Optimization” (PGO), AVX-512 instruction set, out-of-the-box AI features, first preview of .NET Aspire, native AoT, and various other changes. See the release note for details.

.NET 8 is made into Ubuntu system repositories for Ubuntu 23.10 and upcoming Ubuntu 24.04. For Ubuntu 22.04 and Ubuntu 20.04 LTS, I’ve written how to install .NET 8 from Microsoft repository.

For users of Ubuntu 16.04 and Ubuntu 18.04 who can’t upgrade the system, there’s now a third-party PPA contains the .NET 8 packages for 64-bit Intel/AMD machines.

The PPA is maintained by Rob Savoury, who maintains so many PPAs with Blender, Chromium, FFmpeg, Firefox, LibreOffice, Qt5/6, Python, LLVM, Node.js, and other popular software packages with old Ubuntu 16.04 and Ubuntu 18.04 support!


Continue Reading…

This simple tutorial shows how to install and use Incus container in Ubuntu 22.04 and Ubuntu 20.04 LTS.

Incus is a free open-source system container and virtual machine manager developed by Linux Containers community. It supports images for a large number of Linux distributions.

With it, you can manage your containers and VMs either with a simple command line tool, directly through the REST API or by using third-party tools and integrations.

Incus was started as community fork of Canonical’s LXD. Now, it’s led and maintained by much of the same people that once created LXD.

Step 1: Install Incus

Incus is available in Zabbly repository maintained by the software developer. So far, it supports Ubuntu 22.04, Ubuntu 20.04, Debian 12 and Debian 11.

To install it, first open terminal from system start menu or Gnome activities overview screen. Ubuntu users can simply press Ctrl+Alt+T on keyboard.

Continue Reading…

Deepin, the popular Linux Distribution from China, announced the last Beta of version 23 this Friday!

Deepin is a Linux Distro so far based on Debian ‘Stable’ branch, features Deepin Desktop Environment (DDE) that is built on Qt toolkit. It’s a free open-source system that has a very attractive desktop appearance.

Start in version 23, which is still in development, Deepin is going to be independent Linux Distribution. In the beta, it’s no longer depends on Debian or any other Linux, but still uses .deb and apt for installing and managing software packages.

The installer for Deepin 23 Beta3 is improved to be adaptive for different screen resolutions, including 768P, 1080P, 2K, and 4K. It added drivers support for certain i386 devices support, though without 32-bit download at the moment, due to human and resource limit.

The release introduced UOS AI plugin, available in system tray. User can communicate with it using text or voice. And, it can answer user questions and generate images based on user description.

Continue Reading…

This simple tutorial shows how to install Python 3.13 in Ubuntu 24.04, Ubuntu 22.04, and/or Ubuntu 20.04 LTS.

Python 3.13.0 was released on Oct 7, 2024 as the new major release that features new interactive interpreter, that supports multi-line editing, REPL-specific commands such as help, exit, clear, and quit, interactive help, history browsing, and ‘paste mode’ for pasting larger blocks of code.

CPython now has experimental support for free-threaded mode for running threads in parallel on available CPU cores, though disabled by default.

Other changes in Python 3.13.0 include:

  • New interactive interpreter, features multi-line editing and color support, as well as colorized exception tracebacks.
  • Experimental free-threaded build mode.
  • A preliminary, experimental JIT.
  • The (cyclic) garbage collector is now incremental.
  • Include a modified version of mimalloc, and enabled by default if supported by the platform.
  • Docstrings now have their leading indentation stripped, reducing memory use and the size of .pyc files.
  • The dbm module has a new dbm.sqlite3 backend that is used by default when creating new files.
  • Support for type defaults in type parameters.
  • New type narrowing annotation, typing.TypeIs.
  • New annotation for read-only items in TypeDicts.
  • Removals of many deprecated modules: aifc, audioop, chunk, cgi, cgitb, crypt, imghdr, mailcap, msilib, nis, nntplib, ossaudiodev, pipes, sndhdr, spwd, sunau, telnetlib, uu, xdrlib, lib2to3.

For more, see the official release note.

Continue Reading…

OnlyOffice, the popular free open-source office suite, announced new 8.0 release this Friday.

The release introduced one of the most awaited features, RTL support. It now supports bidirectional text in documents and presentations. But, RTL input is partially available with some limitations, since it’s still in Beta. In the settings page, user can enabled RTL interface with a checkbox, then restart the app to apply.

The new 8.0 release also added local interface themes support. Besides the built-in light, classic light, dark, and contrast dark, there’s now a “Add local theme” option to apply a custom interface using local JSON file.

Continue Reading…

This is a step by step beginners guide shows how to install the Floorp web browser in Ubuntu Desktop.

Floorp is a new free open-source web browser forked from Firefox. It’s promoted as “the most Advanced and Fastest Firefox derivative”.

The browser is based on Firefox ESR. It’s updated every 4 weeks, with security updates provided before each Firefox release. It has strong tracking protection, no user tracking, flexible layout, and switchable design.

Floorp provides official Linux packages through an apt repository and Flatpak package. Advanced users can simply follow the commands in its download page. For beginners here’s a step by step screenshots as well as descriptions.

Floorp Web Browser

Continue Reading…

LibreOffice, the popular free open-source office suite, announced a new major release this Wednesday.

It’s LibreOffice 24.2.0, the first release introduced the new calendar-based numbering scheme (YY.M). Meaning it’s release in February, 2024.

The release added better support for Qt-based UI variants. It automatically switches to dark app color and dark icon theme for KDE Plasma when the desktop is set to dark style.

Continue Reading…

This is a step by step beginners guide shows how to install Pale Moon web browser through its official Linux tarball in Ubuntu.

Pale Moon is a free open-source web browser that was started as a fork of Firefox, but now completely diverged from Firefox. It retains the highly customizable user interface, continues to support legacy add-ons and extensions, and runs in single-process mode.

The browser provides official package for Linux through a tarball, the binary package however is proprietary but NOT open-source.

This tutorial is going to show you how to install it through the tarball, though there’s an 3rd party apt repository contains the .deb package for choice.

Continue Reading…