Archives For jimingkui

The Ubuntu team announced the 6th point release for Ubuntu 20.04 LTS. According to the release note, Ubuntu 20.04.6 fixed the Secure Boot issue for the amd64 installer:

Unlike previous point releases, 20.04.6 is a refresh of the amd64 installer media after recent key revocations, re-enabling their usage on Secure Boot enabled systems.

The release also includes many security updates, and backports from Ubuntu 22.04 LTS. The “Software & Updates” has been updated to replace Livepatch tab with Ubuntu Pro.

Other changes include:

  • add meta package to improve support for Lenovo ThinkCentre M70t/M80t Gen 3, Lenovo ThinkPad P14s/T14 Gen 2a, Lenovo ThinkPad T14s/X13 Gen 2a, etc devices.
  • fix slow refresh rate with AMD GPU Screen output in reverse prime mode.
  • add GSettings power management keys for AD SYStem integration.
  • fix samba interoperability with Windows 22H2 client.
  • fix issue that starting a salted session fails when using an RSA key in FIPS mode
  • add support for open kernel module or driver in nvidia-515
  • support EM120/160 firmware update
  • add sdio firmware for qca9377 wifi module

See the changelog for more changes in Ubuntu 20.04.6.

Download Ubuntu 20.04.6

For earlier version of Ubuntu 20.04, just open Software Updater and install all available updates will bring you to the new Ubuntu 20.04.6. For the .iso image, just go to this page.

Got a Logitech or SteelSeries headset? This app may help to adjust sidetone, get battery state, toggle LED, and set inactive time in Ubuntu Linux.

It’s HeadsetControl, a free and open-source application that supports:

  • Logitech G430, G432, G433, G533, G535, G633, G635, G733, G930, G933, G935, G Pro.
  • Logitech Zone Wired/Zone 750
  • SteelSeries Arctis 1, Arctis 1 for XBox, Arctis (7 and Pro), Arctis 7+, Arctis Nova 7, Arctis 9, Arctis Pro wireless.
  • HyperX Cloud Flight Wireless
  • Corsair Void (Every void-version*, regardless whether Elite, Pro, HS70 Wireless)
  • Roccat Elo 7.1 Air

The application is a command line tool, though it has a graphical interface for GNOME 42+ (Ubuntu 22.04 / Fedora 35 and higher).

Image borrowed from extension web page, as I don’t have a headset at hand

How to Install the HeadsetControl app

The app so far does not have binary package for Ubuntu Linux, though it’s not hard to build it from source. The following steps is tested and works in my case in Ubuntu 22.04 LTS.

1. First, press Ctrl+Alt+T on keyboard to open a terminal window. When it opens, run command to install build dependencies:

sudo apt install build-essential git cmake libhidapi-dev

2. Then, clone the source by running the git command in terminal, and then navigate to the source folder:

git clone https://github.com/Sapd/HeadsetControl && cd HeadsetControl

3. Create ‘build’ sub-folder, navigate to that sub-folder and start building it:

mkdir build && cd build && cmake ../

4. Finally, run make and then make install to build and install the tool:

make -j4
sudo make install

Once successfully installed, it will output that ‘/usr/local/bin/headsetcontrol‘ and ‘/usr/local/lib/udev/rules.d/70-headsets.rules‘ installed.

How to Install the Extension for graphical UI

For Ubuntu 22.04 and higher, first search for and install “Extension Manager” from Ubuntu Software.

Install Extension Manager in Ubuntu 22.04+

Then, use “Extension Manager” to search and install the ‘HeadsetControl’ extension under ‘Browse’ tab.

Once installed, it should show the indicator applet in system tray area immediately with menu options to control your headset! Other Linux can go to this page to use ON/OFF switch to install the extension.

Uninstall:

To remove the extension, either go to the link page above and use ON/OFF switch, or use “Extension Manager” or Gnome Extensions tool.

To remove the command line application, open terminal and run command:

sudo rm /usr/local/bin/headsetcontrol /usr/local/lib/udev/rules.d/70-headsets.rules

This simple tutorial is going to show beginners how to install the latest stable Battle for Wesnoth (so far 1.16.8) via PPA in Ubuntu 22.04, Ubuntu 20.04, Linux Mint 20/21.

The Battle for Wesnoth is an open source, turn-based strategy game features both single player and online multiplayer combat.

Ubuntu includes the game package in its system repository but always old. User can choose to install the official Flatpak package, by running 2 commands one by one in a terminal window.

sudo apt install flatpak
flatpak install https://dl.flathub.org/repo/appstream/org.wesnoth.Wesnoth.flatpakref

Though, it’s universal Linux package format that runs in sandbox.

For users who prefer the classic .deb package format, The Debian/Ubuntu Games Team maintains an Ubuntu PPA with the latest stable/devel release (1.16.x stable at the moment) of the game packages. Which, so far supports Ubuntu 20.04, Ubuntu 22.04, Ubuntu 22.10, and their derivatives.

1. First, either search for and open a terminal from start menu or press Ctrl+Alt+T on keyboard to open terminal.

2. When terminal opens, paste the command below and hit Enter to add the PPA repository.

sudo add-apt-repository ppa:pkg-games/wesnoth-devel

Type user password (no asterisk feedback) when it asks for sudo authentication, and hit Enter to continue.

3. If a previous 1.16.x version of the game package was installed on your system, launch “Software Updater” (or Update Manager) to upgrade the game:

Or, run command in terminal to install/upgrade the game package:

sudo apt instatll wesnoth-1.16

NOTE: Linux Mint user may first run sudo apt update to refresh package index.

Once installed, search for and launch the game either from start menu or ‘Activities’ overview depends on your DE and enjoy!

Uninstall:

To download the game to the stock version available in system repository, open terminal (Ctrl+Alt+T) and run command:

sudo apt install ppa-purge && sudo ppa-purge ppa:pkg-games/wesnoth-devel

This command will install ppa-purge tool and purge the PPA, which also downgrade installed packages.

To simply uninstall the game package, use command:

sudo apt remove --autoremove wesnoth-1.16

Also remove the PPA, either via “Software & Updates” under Other Software tab in Ubuntu, or use “Software Sources” tool in Linux Mint, or run command:

sudo add-apt-repository --remove ppa:pkg-games/wesnoth-devel

That’s all. Enjoy!

For sports fans who want to keep a watchful eye on live scores for favorite teams, here’s an indicator applet for Ubuntu, Fedora, and other Linux with GNOME.

It’s colosseum, which displays an indicator in top-panel system tray area. By clicking on it will show the menu with live scores for your favorite sports teams.

So far, it supports 12 sports leagues:

  • Bundesliga
  • 2. Bundesliga
  • English Premier League
  • La Liga
  • Ligue 1
  • Major League Baseball
  • National Basketball Association
  • National Football League
  • National Hockey League
  • Serie A
  • UEFA Champions League
  • Women’s National Basketball Association

There are also 5 supported tournaments, including

  • CONCACAF Gold Cup
  • Copa America
  • FIFA World Cup
  • UEFA Champions League
  • UEFA European Championship

How to Install this live scores indicator

This indicator is available as an extension, which so far supports GNOME v40, 41, 42 and 43. Meaning, you can install and use it in Ubuntu 22.04+, Fedora 35+, Arch, Manjaro, Rocky Linux, etc with GNOME desktop.

1. For Ubuntu 22.04 and higher, first search for and install “Extension Manager” from Ubuntu Software.

Install Extension Manager in Ubuntu 22.04+

2. Then open the extension manager tool, navigate to “Browse” tab. Finally, search and install “colosseum” extension.

3. Once installed, switch back to “Installed” tab, and click on gear icon for that extension to open the configuration page.

There, set the refresh time interval, turn on the toggle buttons for your favorite sports leagues and/or tournaments. New configuration tabs will appear, where you can follow your favorite teams.

TIP: If the indicator applet does not appear in panel, try to turn off and then turn on again the extension, or just log out and log back to restart Gnome Shell.

For other Linux, go to this page and use ON/OFF switch to install the extension. And, install and use “Gnome Extensions” app to manager extensions’ configurations.

RetroArch emulator released version 1.15.0 a few days ago. Here’s how to install it in Ubuntu 22.10, Ubuntu 22.04, Ubuntu 20.04 and Ubuntu 18.04 via PPA.

The new 1.15.0 release feature steam support for macOS user, though macOS 10.13 or later is required. Also, it supports Apple’s native Gamepad protocol MFi, includes Vulkan video driver that is HDR capable for macOS users.

The new release also features Append Preset and Prepend Preset, allows to stack shader presets now on top of each other. Meaning user can mix various shader presets and then save it as a new preset.

Another big change is the alternative system to runahead – preemptive frames. Which, works by rerunning core logic to “rewrite history” before the current frame. Frames are only rerun when the controller state changes. Runahead is still available, and user can choose which one to use.

 

Other changes include:

  • Add support for system subdirs per core/database.
  • Restore cached video driver always on quit
  • Add keyboard recording support to BSV
  • Add checkpointing feature for replay recordings
  • PS3/PSL1GHT: Add RSX video driver
  • Add “Switch Icons” option
  • Add Run-Ahead data to on-screen statistics
  • See the release note for more details.

How to Install RetroArch 1.15.0 in Ubuntu / Linux Mint

RetroArch download page offers the downloads for all supported platforms.

For Ubuntu, Linux Mint based systems, the official PPA is a good choice, which so far support for Ubuntu 18.04, Ubuntu 20.04, Ubuntu 22.04, Ubuntu 22.10, and upcoming Ubuntu 23.04.

1. First, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:libretro/stable

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

2. For the old Ubuntu 18.04 and Linux Mint, user may need to manually refresh package cache by running command:

sudo apt update

3. Finally, either run command in terminal to install the emulator:

sudo apt install retroarch libretro-*

Or if an old version was installed, use Software Updater to update to v1.15.0.

After installing the software, search for and launch it from start menu or ‘Activities’ overview.

Then, use “Online Updater” menu option to update core libraries, assets, profiles, database, etc. And, use ‘Content Downloader’ option to grab free contents for selected core.

How to Remove RetroArch

To remove the software package, open terminal (Ctrl+Alt+T) and run command:

sudo apt remove --autoremove retroarch libretro-*

Also remove the PPA repository, either by running the command below:

sudo add-apt-repository --remove ppa:libretro/stable

Or use “Software & Updates” utility by removing the source line under “Other Software” tab.