Add “Auto Brightness” ON/OFF Switch in Ubuntu 22.10 System Menu

For Ubuntu 22.10, Fedora workstation 37, Arch, Manjaro, etc, with GNOME desktop 43, there’s now an extension to add “Auto Brightness” toggle button in quick settings (aka system menu).

Meaning user don’t have to open System Settings and go to Power page again and again to turn on/off the function. Just open the top-right corner system tray menu, there’ll be a toggle button to quickly turn on/off auto brightness just like on a smartphone.

NOTE: Your laptop MUST support auto brightness feature and have GPU driver properly installed. To verify, just open System Settings and find out if there’s Automatic Screen Brightness option under Power tab.

How to Install the Auto Brightness quick menu button

As mentioned, it’s available as an extension for GNOME desktop, v43 so far.

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

Install Extension Manager in Ubuntu 22.04+

Then, open the tool and navigate to “Browse” tab. There search for and install “Auto Brightness Toggle” extension.

For Fedora 37 and other Linux, just go to the extension web page via the link below and use ON/OFF switch to install it.

If your system does support auto-brightness, the button will appear in the quick settings menu immediately after you installed the extension.

That’s all. Enjoy!

New PPA for Installing Transmission 4.0.0 in Ubuntu 22.04 | 20.04 | 22.10

The Transmission BitTorrent client released version 4.0.0 a few days ago. Here’s PPA repository contains the package for Ubuntu 20.04, Ubuntu 22.04, Ubuntu 22.10, Linux Mint 21/20.

According to the release note, transmission 4.0 features new C++ and gtkmm code-base, with much less CPU and memory usage than before. It also adds support for using BitTorrent v2 and hybrid torrents, support for IPv6 blocklists, and more.

How to Install Transmission 4.0.0 via Ubuntu PPA

I’ve built the new release packages into this unofficial PPA for Ubuntu 20.04 and higher. Ubuntu 18.04 is not supported due to dependency library version mis-match.

The new web user interface depends on NPM (Node.js package manager). It requires internet connection while building process, but launchpad build farm does NOT have. Meaning so far the PPA package does not include new web UI via JavaScript, but the old web user interface for remote control is stilling working in my case in Ubuntu 22.04.

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

sudo add-apt-repository ppa:ubuntuhandbook1/transmission

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

2. After adding the PPA, you can then launch Software Updater (Update Manager) and upgrade the system pre-installed transmission package to the new 4.0.0 release.

For Ubuntu based system without the BitTorrent client pre-installed, you may run command below to install it:

sudo apt update && sudo apt install transmission-gtk

You may replace transmission-gtk with (or add) following package:

  • transmission-qt – Qt user interface for KDE, LXQt, etc.
  • transmission-cli – command line interface.
  • transmission-daemon – the daemon for running in background, and access via webUI

Uninstall Transmission 4.0.0

You can choose to downgrade the BitTorrent client to system pre-installed version, by running command in terminal:

sudo apt install ppa-purge && sudo ppa-purge ppa:ubuntuhandbook1/transmission

Or, remove the software packages instead by running command:

sudo apt remove --autoremove transmission-gtk transmission-qt transmission-cli transmission-daemon

And remove the PPA repository either via “Software & Updates” tool by removing the source line under “Other Software” tab, or by running command:

sudo add-apt-repository --remove ppa:ubuntuhandbook1/transmission

That’s all. Enjoy!

Wine 8.0 Stable Released! How to Install in Ubuntu 22.04 | 22.10

Wine, the compatibility layer for running MS Windows apps in Linux and macOS, announced new stable 8.0 release after 1 year of development.

Wine 8.0 has finally completed PE conversion. All modules can be built in PE format. Meaning various features to be supported, such as copy protection, 32-bit applications on 64-bit hosts, Windows debuggers, x86 applications on ARM, etc.

Wow64 (Microsoft’s subsystem for running 32 bit applications on 64-bit Windows) is implemented for essentially all Unix libraries. Once the legacy calls removed, it will be possible to run 32-bit Windows applications on Linux without any 32-bit Wine libraries.

Other changes in Wine 8.0 include:

  • Print Processor architecture implemented.
  • Enable light theme for configuration by default.
  • Convert the graphics drivers to run on the Unix side of the syscall boundary.
  • Effects are supported in Direct2D.
  • Direct3D improved with more graphics cards support.
  • Greatly improved the controller hotplug support.
  • Support Sony DualShock and DualSense controllers when the hidraw backend is used.
  • Introduce Windows.Gaming.Input API with hotplug notifications, force feedback effects and haptics, as well as trigger rumble support.
  • Mono engine updated to 7.4.0

How to Install Wine 8.0 in Ubuntu and Linux Mint

Winehq website now has a good tutorial teaching about how to install Wine packages in Ubuntu based systems. And, here is a re-write with more descriptions.

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

sudo dpkg --add-architecture i386

This command makes it possible to install 32-bit packages in 64-bit Ubuntu, since Wine at the moment still requires a lot of 32-bit libraries.

2. Then, run command in terminal to create “keyrings” folder under ‘/etc/apt’ directory for storing the keys. With -p flag, it ignores error if that folder already exist.

sudo mkdir -p /etc/apt/keyrings

3. Next, use wget command line downloader to download the GPG key for winehq repository, and store in the folder you created in last step.

sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key

4. Now, run command to download the config file for Winehq apt repository and store in ‘/etc/apt/sources.list.d/’.

sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/$(lsb_release -sc)/winehq-$(lsb_release -sc).sources

IMPORTANT: This command is for Ubuntu 22.10, 22.04, 20.04, 18.04 only! For Linux Mint, Zorin OS, etc, you have to replace the “$(lsb_release -sc)” in command with the codename of Ubuntu version your system is based on:

  • For Ubuntu 22.10 based system, use kinetic.
  • For Ubuntu 22.04 based system (e.g., Linux Mint 21), use jammy instead.
  • For Ubuntu 20.04 based (e.g., Zorin OS 16.x), use focal.
  • For Ubuntu 18.04 based system, use bionic

5. After setting up the Wine’s official apt repository, run the command below to fetch package index:

sudo apt update

In the output, there should be a output line indicates Get x https://dl.winehq.org/wine-builds/ubuntu xxxxx InRelease.

6. Finally, install Wine stable 8.0, as well as dependency libraries via command:

sudo apt install --install-recommends winehq-stable

7. After successfully installed Wine packages, run command to generate the config files and open the configuration dialog.

winecfg

There you can verify Wine version and change the settings of this layer.

8 Finally, right-click on your EXE file in file manager and select “Open With Wine Windows Program Loader” (or select it from open with other applications dialog). See if Wine supports your Windows app.

How to Remove Wine 8.0

To remove the software package as well as dependency libraries, simply open terminal and run command:

sudo apt remove --autoremove winehq-stable

Also, remove the Wine apt repository by removing the source file:

sudo rm /etc/apt/sources.list.d/winehq-*.sources

And remove the key file via:

sudo rm /etc/apt/keyrings/winehq-archive.key

Finally, remember to refresh package index via sudo apt update command.

OBS Studio 29.0 is Out! How to Install via PPA in Ubuntu 22.04 | 22.10

OBS Studio, the popular free and open-source video recording and live streaming software, announced a new major 29.0 today.

The new release came with great improvements for Windows users, including AMD AV1 Encoder for the RX7000 series GPUs, Intel AV1 Encoder for Arc GPUs, and Intel HEVC Encoder.

It also introduced native HEVC and ProRes encoders, including P010 and HDR and Desk View support for macOS.

Other changes OBS Studio 29.0 include:

  • Upward compressor filter
  • 3-band equalizer filter
  • Update channels for opting into receiving beta/release-candidate builds to Windows
  • Websockets 5.1.0
  • Add media key support in Linux
  • Encryption and authentication support for SRT and RIST outputs
  • Support for higher refresh rates in the Video Capture Device source on Windows
  • Apple VT Hardware encoder to the Auto Configuration Wizard

How to Install OBS Studio 29.0 in Ubuntu:

It provides official binary packages for Windows, macOS and Linux in its official website.

For Ubuntu 20.04, Ubuntu 22.04, Ubuntu 22.10, Linux Mint 21, and their based systems, there’s also an official PPA repository contains the latest packages.

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

sudo add-apt-repository ppa:obsproject/obs-studio

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

2. Then, either use Software Updater to upgrade the software package is an old version was installed on your system.

Or, use apt command to install/upgrade the software package:

sudo apt install obs-studio

NOTE: Linux Mint may need to run sudo apt update first to update package cache.

Once installed, search for and launch OBS Studio from ‘Activities’ overview or start menu depends on your desktop environment and enjoy!

Uninstall OBS Studio

To downgrade the software to the stock version that your system repository provides, run command:

sudo apt install ppa-purge && sudo ppa-purge ppa:obsproject/obs-studio

Or, either open Software & Updates and remove the PPA source line under ‘Other Software’ tab:

or run command in terminal to remove the PPA repository:

sudo add-apt-repository --remove ppa:obsproject/obs-studio

Also, remove the OBS Studio if you want by running command in terminal:

sudo apt remove --autoremove obs-studio

How to Compile & Install Pinta 2.1 from Source in Ubuntu 22.04 |22.10

For Pinta users who do NOT like the Snap and Flatpak packages that run in sandbox. Here’s how to build the 2.1 release from source tarball in Ubuntu 22.04 & 22.10.

Pinta has switch to .NET 6.0 framework since version 2.0. Which however needs internet connection to fetch something for the first time during the build time. And, most Linux so far still has Pinta v1.x in their system repositories.

Thankfully, building Pinta 2.1 from source is not hard. And, here’s the step by step guide show you how!

1. Firstly, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command to install .NET 6 as well as dev libraries for building the package.

sudo apt install dotnet-sdk-6.0 debhelper autotools-dev autoconf-archive gettext intltool libgtk-3-dev

NOTE: If you’ve already installed dotnet 7.0 from Microsoft repository, skip dotnet-sdk-6.0 in command.

2. Next, download the source tarball from github release page (under ‘Assets’ section):

3. Then, extract the tarball in file manager. Right-click on source folder and select “Open in Terminal”.

4. The last step will open a terminal window and automatically navigate to the Pinta source folder as working directory.

In the terminal window, run command to configure the source:

./configure

And, finally compile and install it via:

sudo make install

NOTE: This step needs internet connection if you’re first time using dotnet to build a package. And, it may fail if you’ve ever installed .NET 7.0 but removed (not completely) and use .NET 6.0 now.

If everything’s done without any error, you should now be able to search for and launch Pinta from system start menu (‘Activities’ overview).

Uninstall:

Until you remove the source folder, you can run sudo make uninstall at any time from in that folder to uninstall Pinta package.

If you’ve removed the source folder, re-do the previous steps and replace the last command with sudo make uninstall.

[Quick Tip] How to Disable Event Sound in Ubuntu 22.04 | 22.10

Ubuntu by default play a short alert sound when you plug in/out USB drive, power supply, or hit tab function key in terminal.

This is useful for indicating certain type of system messages and events, but it’s easy to mute these type of sounds in case you don’t like them. And, here’s the quick tutorial show you how.

Single command to disable event sound

There’s a dconf database option to toggle on/off this feature for GNOME and Cinnamon desktop.

Simply, press Ctrl+Alt+T key combination on keyboard to open terminal. When it opens, run command:

gsettings set org.gnome.desktop.sound event-sounds false

Not only for Ubuntu, this command should also work for Fedora workstation, Debian, Arch and other Linux with GNOME desktop.

For Linux Mint cinnamon desktop, use the command below instead:

gsettings set org.cinnamon.desktop.sound event-sounds false

Disable event sound via Dconf Editor (graphical way)

In case for those who hate Linux commands, there’s an advanced configuration tool Dconf Editor, that provides a graphical interface to do the job.

1. Firstly, search for and install Dconf Editor from Ubuntu Software (or your system package manager).

2. Then launch Dconf Editor, and navigate to org/gnome/desktop/sounds. Finally, turn off the option for ‘event-sounds’.

Similarly, navigate to org/cinnamon/desktop/sounds or org/mate/desktop/sounds and set the key depends on your desktop environment.

That’s all. Enjoy!

This Extension Adds Audio Visualizer on Desktop in Ubuntu 22.04 | 22.10

Want to display audio/music visualizer on the desktop? This extension can do the job for Ubuntu 22.10, Fedora 37, Arch/Manjaro Linux with GNOME.

It’s “Sound Visualizer” extension for Gnome Shell based on Gstreamer specially for Wayland. And, it’s working good in my case in Ubuntu 22.04, though it’s said for Gnome v43.

Besides for music playback, it works when any sound play from your computer. And, it has a right-click menu to switch between input/output audio sources. Meaning, it supports sounds input from microphone.

How to Install this “Sound Visualizer” desktop widget

1. (For Ubuntu 22.04 only) As mentioned, the extension supports GNOME v43 at the moment of writing. If you want to try it out in 22.04, first disable extension version validation.

To do so, press Ctrl+Alt+T on keyboard. When it opens, run command:

gsettings set org.gnome.shell disable-extension-version-validation true

2. Next, open Ubuntu Software. Search for and install ‘Extension Manager‘ tool for installing and managing Gnome Shell extensions. Or, run command in terminal in case the Software App does not work.

sudo apt install gnome-shell-extension-manager

Install Extension Manager in Ubuntu 22.04+

3. Finally, launch ‘Extension Manager‘, and navigate to ‘Browse‘ tab. Search for and install the ‘Sound Visualizer‘ extension. (For Ubuntu 22.04, just click on Unsupported button)

For Fedora 37, Arch and Manjaro Linux with GNOME, visit this page in web browser and use the ON/OFF switch to install it.

4. After installation, try playing some sounds and see your desktop for the result. To move the widget, you have to temporarily disable “Desktop Icons NG (DING)” under ‘Installed’ tab in Extension Manager.

You can also adjust the visualizer size by opening the extension preferences either via widget’s context menu or by clicking the gear button for that extension in Extension Manager.


HandBrake 1.6.0 Released! How to Install in Ubuntu 22.04 | 22.10

HandBrake video transcoder and DVD ripper announced new major 1.6.0 release today. Here are the new features and how to install guide for Ubuntu Linux users.

HandBrake 1.6.0 is a big release with new AV1 video encoding support. They are SVT-AV1 (software) and Intel QSV AV1 (hardware) video encoders.

This release as well introduced high bit depth and color depth support to various encoders and filters, including VP9 10-bit, NVENC HEVC 10-bit, and VCN HEVC 10-bit encoders.

Other change include:

  • 4K AV1 General, QSV (Hardware), and MKV (Matroska) presets
  • 4K HEVC General presets
  • H.264 levels 6, 6.1, and 6.2 for the x264 encoder
  • H.264/H.265 4:2:2 and 4:4:4 profiles for the x264 and x265 encoders
  • H.265 4:2:2 profile for VideoToolbox encoder on Apple Silicon
  • Support for Intel Deep Link Hyper Encode
  • Fixed longstanding issue where slowest NVENC encoder preset caused encoding failures
  • Bwdif deinterlace filter
  • Remove VP8 presets, the VP8 video encoder is now deprecated
  • Remove support for Intel CPUs older than 6th generation (Skylake) when using Intel Quick Sync Video
  • Require .NET 6 for Windows.
  • See more details in the project releases page.

How to Install HandBrake 1.6.0 in Ubuntu:

NOTE: Please backup custom presets and preferences first if you’re trying to upgrade the software from an existing package.

HandBrake offers official Linux package through Flatpak, an universal package format runs in most Linux. For Ubuntu, simply follow the steps below one by one to install it.

1. First, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command to make sure the daemon package installed:

sudo apt install flatpak

For the old Ubuntu 18.04, add this PPA first.

2. Then, either run command to install the video transcoder as Flatpak from Flathub repository by running command:

flatpak install https://dl.flathub.org/repo/appstream/fr.handbrake.ghb.flatpakref

The package in this repository is not updated to v1.6.0 at the moment of writing, check the link page to before running the command.

Or, download the flatpak package file from the official website:

Finally, open terminal (Ctrl+Alt+T), navigate to ‘Downloads folder’ via command:

cd ~/Downloads

And, install the local Flatpak file (change file-name in command accordingly) via:

flatpak install ./HandBrake-1.6.0-x86_64.flatpak

NOTE: If it refuses to install due to old version already installed. Remove it first via description below.

Duplicated shortcut icons:

The Flatpak package won’t override the native Deb package installed from Ubuntu Software. If you have both versions installed, you’ll have duplicated app icons.

As a workaround, either remove the old Deb package via Ubuntu Software, or launch HandBrake as Flatpak using the command in terminal:

flatpak run fr.handbrake.ghb

Uninstall HandBrake

To remove the video transcoder installed as Flatpak, open terminal (Ctrl+Alt+T) and run command:

flatpak uninstall --delete-data fr.handbrake.ghb

Also remove the QuickSync plugin (if installed) via command:

flatpak uninstall --delete-data fr.handbrake.ghb.Plugin.IntelMediaSDK

Finally, clear unused run-time libraries via flatpak uninstall --unused.

XFCE 4.18 Released! How to Install in (X)Ubuntu 22.04 | 22.10

The popular lightweight desktop environment XFCE4 got a new major release after 2 years of development. Here’s how to install it in (X)Ubuntu 22.04, (X)Ubuntu 22.10, Linux Mint 21, and/or Linux Lite 16.x.

The new release, XFCE 4.18, focuses on improving its Thunar file manager. They include image preview, Undo/Redo option, customize toolbar, highlight files with different background and filename colors.

In the List View mode, it shows how many files contained for directories, and supports for displaying ‘file creation date’ column. Other changes include split view, recursive search, new ‘Bookmark’ menu, as well as:

  • “Recent” in left pane for quick access recently used files.
  • Trash option ‘Restore and Show’
  • Custom action menu option can now have sub-menu entries.
  • Show file thumbnail for only limited size.
  • Verify file checksum on copy.
  • Restore tabs on startup.

There are as well new features for other part of the desktop, including new Clock plugin (the original DataTime and the Clock plugin combination), option to hide window decorations, new shortcut editor for Thunar file manager, Xfce4-terminal and Mousepad text editor.

It also improved UI scaling, and added support for thumbnail sizes x-large and xx-large, for better Hi-DPI displays support. Settings Editor now has a search function support. All header bars of Xfce Windows and Dialogs now rendered by default by the XFCE4 window manager. And, there’s now option to hide window decorations.

How to Install XFCE 4.18 via PPA

The Xubuntu Developers team has built the packages for (X)Ubuntu 22.04, (X)Ubuntu 22.10, and their based systems into this PPA repository.

NOTE: As PPA description said, the packages were built for testing purpose! Do NOT install in production machine!!

1. Add the PPA

First, open a terminal window either by pressing Ctrl+Alt+T on keyboard or by searching from ‘Activities’ overview or start menu depends on your system.

sudo add-apt-repository ppa:xubuntu-dev/staging

Type user password when it asks while no asterisk feedback, then hit Enter to continue.

2. Refresh package cache

Ubuntu 22.04+ should automatically refresh system package cache while adding PPA, though it might not for some based systems.

To manually update the cache, run command:

sudo apt update

3. Install or upgrade to XFCE 4.18

Finally, either run the command below to install all available package updates:

sudo apt upgrade

or launch Software Updater (Updater Manager) and click install updates to upgrade to XFCE 4.18. Finally, restart your computer and enjoy!

For non-XFCE users, run the command below to install the whole desktop environment on your Ubuntu based system:

sudo apt install xubuntu-desktop

How to Restore:

For XUbuntu 22.04|22.10, Linux Mint XFCE edition, and/or Linux Lite 16.x, install ppa-purge and purge the PPA will downgrade all installed package into stock versions in system repository.

To do so, open terminal and run commands:

sudo apt install ppa-purge && sudo ppa-purge ppa:xubuntu-dev/staging

Kdenlive video editor 22.12 is out! PPA updated with Ubuntu 22.10 Support

KDE’s Kdenlive video editor released version 22.12 this Monday! See what’s new and how to install guide for Ubuntu 22.04 and Ubuntu 22.10.

The new release of the video editor overhauled the whole guide/marker system. The new ‘Guides’ dock is available to seek, search, sort and filter all marker and guide.

Kdenlive 22.12 also improved support for Glaxnimate integration. It now sends the content of the timeline to Glaxnimate (need version >= 0.5.1) which then shows it as background, which makes it much easier to create animations that play together with your videos.

Other changes in Kdenlive 22.12 include:

  • New ‘Remove All Spaces After Cursor‘ and ‘Remove All Clips After Cursor‘ options.
  • Hamburger menu (‘≡’ icon) in tool-bar when menu bar hidden.
  • More explanation text in tool-tip when pressing Shift.
  • Custom cache size limit.
  • Cleanup the software configuration page.
  • Initial Qt6 and KDE Frameworks 6 support.
  • New Pixabay Video provider
  • Add option to disable countdown on audio capturing.
  • Add Pipewire as SDL output
  • audio level visualization filter, audio spectrum filter, audio wave form filter

How to Install Kdenlive 22.12 via PPA in Ubuntu:

The official PPA has updated the packages for Ubuntu 22.04, Ubuntu 22.10, and their based systems.

Add the PPA

To add the Ubuntu PPA, either press Ctrl+Alt+T on keyboard or search for and open terminal (konsole) from start menu.

When terminal opens, run command to add PPA:

sudo add-apt-repository ppa:kdenlive/kdenlive-stable

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

Install / Update Kdenlive

After adding PPA, user can either open Software Updater (or Update Manager) to update the software package from an installed version:

Or run the command below to install or update the video editor:

sudo apt install kdenlive

NOTE: Linux Mint user has to run sudo apt update first to manually refresh package cache

And, if you got overwriting files issue due to the old dependencies: libmlt-data and melt, run command to remove them and then re-run the apt command above:

sudo dpkg -r melt libmlt-data

Once installed, press Super (Windows logo key) to open ‘Activities’ overview or start menu, and search for and open Kdenlive.

Uninstall Kdenlive

To remove Kdenlive, either use your system package manager or run the command below in a terminal window:

sudo apt remove --autoremove kdenlive

And remove the Ubuntu PPA either by running command in terminal:

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

Or use “Software & Updates” utility to remove the source line under “Other Software” tab.