Archives For jimingkui

For Ubuntu 24.04, Fedora workstation 39/40, Arch, Manjaro, etc, with GNOME desktop 43 ~ 46, 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

The extension so far supports GNOME from version 43 to 46. It is available in EGO, which however lack of update for recent GNOME versions. If you want this quick toggle button, then it’s easy to install from the source tarball.

1. First, click the link below to download the source tarball.

For choice, you may go to the Github project page for the source code.

2. After downloaded the source package, do following steps one by one to install it:

  • Extract the downloaded package, and navigate to the extracted folder.
  • Open another file window and navigate to .local/share/gnome-shell/extensions directory.
  • Finally, drag and drop the sub-folder from extracted folder to new opened window.

Tips: .local is a hidden folder, you need to press Ctrl+H to view (and press again to hide) in file manager. The gnome-shell and extensions sub-folders may NOT exist under ‘.local/share‘ if this is the first extension you’re going to install. Just create manually.

3. Next log out and back in.

Install either GNOME Extensions or Extension Manager from App Center (filter by Debian package), and launch it. Finally, turn on the “Auto Brightness Toggle” extension for displaying the new button in top-right system status menu.

Uninstall:

As the last screenshot shows you, in “Extension Manager” window just click the up/down arrow beside the toggle switch. Then, you’ll see the ‘Remove’ button for removing the extension.

Alternatively, you may delete the theme folder under .local/share/gnome-shell/extensions directory, and log out and back in to apply.

The lightweight audacious music player announced the beta release of the next v4.3 a few days ago.

Usually, the final release will be out in next or next few months with mostly no change since beta. So far, this beta release include the following new features.

The new release added plugin support for Pipewire, which is a low latency sound server that is default in Ubuntu since 22.10.

Also, it added a plugin for Opus audio decoding support. Though it previously supports Opus through FFmpeb library compiled with --enable-libopus.

Audacious 4.3 also added again GTK3 as well as Qt6 support. In current v4.2 stable, I prefer to use Qt UI since GTK2 interface looks ugly due to incorrect icon size.

However, Qt UI lacks automatic light and dark mode switch depends on system color scheme in GNOME (default desktop environment in Ubuntu). With the new GTK3 build, it now looks good in my case in Ubuntu 22.04 with better integration.

Audacious 4.3 GTK3 UI

Other changes in Audacious 4.3 Beta include:

  • Implement Meson build system.
  • Allow copying file path in song info dialog
  • Support Ogg FLAC audio streams
  • Support reading embedded lyrics tags
  • Support new song length database format in SID plugin
  • Increased M3U file size limit from 16 MB to 256 MB
  • Support Publisher and Catalog Number tags
  • Add file filter to Export Playlist file dialog
  • Removed alarm plugin due to serious bugs

How to Get Audacious 4.3 Beta:

Audacious website provides the Windows EXE and source code for downloading at the link below:

For all current Ubuntu releases, including Ubuntu 18.04, Ubuntu 20.04, Ubuntu 22.04, Ubuntu 22.10, just open terminal (Ctrl+Alt+T) and run the commands below one by one to install it:

sudo add-apt-repository ppa:ubuntuhandbook1/apps
sudo apt update
sudo apt install audacious audacious-plugins

Uninstall:

To uninstall Audacious packages installed from PPA, open terminal (Ctrl+Alt+T) and run command:

sudo apt remove --autoremove libaudcore5 audacious-plugins-data

And remove the PPA repository via command:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

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 23.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.4 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.4

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!

Ubuntu has an indicator applet to quickly prevent screen goes blank, lock screen, and/or automatically suspend on system idle.

It’s “Caffeine”, a more than 10 years old tool, that’s now available as Gnome Shell Extension. Which is useful when watching movies, or doing automation process that needs screen to keep alive.

Previously, it acts an indicator applet in the system tray on top-panel. By clicking on it will prevent (or allow again) screen blank and auto suspend when system idle.

Now it’s available as an extension for the default Ubuntu Desktop, which adds a button in the upper right system menu, to quickly toggle on/off system idle feature.

Besides prevent screen blank infinitely, there’s now also sub menu options to do the action in just 5, 10, or 30 minutes. Once you enable Caffeine along with one of the time options, it shows the applet with count down timer in the aggregation icons on top-bar.

As well, instead of showing notifications, it now display volume control style OSD in center of bottom screen when toggling on/off Caffeine option.

How to Install Caffeine in Ubuntu:

NOTE: Caffeine works on all current Ubuntu (Ubuntu 18.04, Ubuntu 20.04, Ubuntu 22.04, and Ubuntu 24.04), Fedora and other Linux with GNOME Desktop. Though, the features mentioned above are only for GNOME 43 so far.

For Ubuntu 22.04 and Ubuntu 24.04, search for and install “Extension Manager” from Ubuntu Software (or App Center).

Install Extension Manager in Ubuntu Software/App Center

Then launch it and use the tool to search and install Caffeine extension.

For old Ubuntu 18.04 and other Linux with GNOME, use the ON/OFF switch at the page below to install it:

Caffeine also has a configuration page can be opened either via “Extension Manager” or “Gnome Extensions” app. There you can do:

  • toggle display applet or not.
  • show notification or not.
  • enable the app when there’s full-screen app.
  • set keyboard shortcut.
  • enable the app when launching custom applications.

Transmission, the default torrent downloading app for Ubuntu, announced the new major 4.0.0 release today!

The new release migrated the codebase from C to C++ programming language. And now it uses the gtkmm toolkit instead of GTK for its user interface.  With the code improvements, it can even have 50% less CPU and 70% fewer memory usage.

Transmission 4.0.0 introduced support for using BitTorrent v2 and hybrid torrents. In ‘Preferences’ ->’Network’ settings page, there’s option to set default public trackers. And in “Seeding” settings page, it allows to call a custom script when done seeding.

Other changes in Transmission 4.0.0 include:

  • New version system (v3.00 -> v4.0.0)
  • Remote control GUI now use RPC API ‘table’ mode, resulting smaller payloads and less bandwidth usage.
  • Rewrite Web app in JavaScript with fully mobile support.
  • Support IPv6 blocklists.
  • See github release page for details.

How to Install Transmission 4.0.0 in Ubuntu:

Windows and macOS users can download the new release package from the software website:

For Linux user, there’s no package at the moment of writing. But as a lazy man, I use this pre-installed app to download torrents in Ubuntu frequently. If possible, I’ll make a deb package in case no PPA packages available in next few days.

UPDATE: here it is the PPA for Transmission 4.0.0 with Ubuntu 20.04, Ubuntu 22.04, and Ubuntu 22.10 support. Sadly, new WebUI excluded but it seems working with old web interface.

Want to hear your sound in microphone? Here’s a stupid simple tool to the job in Linux.

It’s Whisper, a new free and open-source GTK4 application, allowing listen to microphone through your speaker. Which, is useful for testing your microphone or for listening to your voice.

As the screenshot shows, the app is quite easy to use. Just select the microphone and speaker from the list, and click ‘Connect’. Then, you can say something or make some noise through microphone to see the magic.

As a GTK4 application, it follow system color scheme by switching between light and dark automatically. However, it needs both PulseAudio and Pipewire to make things work, which is default in Pop! OS 22.04, Ubuntu 22.10, Ubuntu 23.04, Fedora 35/36/37, etc.

How to Install Whisper in your Linux

As mentioned above, this application requires Pipewire audio server. For current Ubuntu 22.04 LTS, it’s NOT the default, though you can enable it by following this tutorial (NOT recommend for beginners).

Whisper is available to install as universal Flatpak package. You can install it by following the steps below one by one:

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

sudo apt install flatpak

Other Linux can follow this setup guide to enable Flatpak support.

2. Then, run command to install Whisper as Flatpak package:

flatpak install https://dl.flathub.org/repo/appstream/it.mijorus.whisper.flatpakref

3. After installation, search for and launch it from start menu (Show Applications) like normal app and enjoy!

How to Remove Whisper

To remove the software package, also open a terminal window and run command:

flatpak uninstall --delete-data it.mijorus.whisper

Also run flatpak uninstall --unused to remove useless runtime libraries.

This simple tutorial shows how to easily check your SSD health in Ubuntu and/or Linux Mint desktop.

I’ve been running Ubuntu Linux on my old laptop for about 7 years. Everything works well, but it recently refuses to boot sometimes when pressing on the physical power button. Not sure what’s the problem, but I guess it’s something to do the data reading issue from SSD drive.

In Windows 10, I prefer to use CrystalDiskInfo which is super easy to understand for beginners. For Linux, there’s a tool GSmartControl available for choice.

1. First, the tool is available in most Linux’s system repositories. User can just search for and install it from system package manager. For Ubuntu, it’s available to install via Ubuntu Software app:

For those familiar with Linux command can run a single command in terminal (Ctrl+Alt+T) to install it:

sudo apt install gsmartcontrol

2. After that, search for and launch it from start menu (or Activities overview). It will list your SSD drive in the app window.

By double-clicking on the disk icon or go menu “Device -> View Details” will open the information dialog that you need.

Things are not so easy to read for beginners. But it will highlight something that is not going well with red text font or background.

By moving mouse cursor over any item in the app window, there will be a tool-tip pop-over that explain with detailed information. As the screenshot below shows, it shows you:

  • power-on time.
  • total disk read and write.
  • read error rate.
  • temperature and other information.

For those prefer a percentage value of the device life, go “Statistics” tab and check the value of Percentage Used Endurance Indicator. In my case as the screenshot shows, there should be still 93% left.

And you can click on “View Output” button to view all the info as text, copy and paste them into online forums to ask for help! Or, run a “Self-Tests” manually to see if there’s any error.

LibreOffice, the default office suite in most Linux, announced the new 7.5 feature release today!

The new release has greatly improved the dark mode support. It now has fully dark appearance, instead of leaving the document background white in dark mode.

LibreOffice 7.5 now has new icons for standard app shortcuts, MIME types, and macOS specific app shortcuts. App start center now includes a filter box for Recent Documents.

A better single-toolbar user interface is available under “View -> User Interface” menu, with context-aware controls and their customization support.

The “Writer” app gains new Plain Text content control and Combo Box content control. And, Content Control now supports titles and tags, as well as exporting to PDF.

For “CALC”, data tables are now supported in charts, the Function Wizard allows to search for descriptions. And, Impress & Draw gets a new set of default table styles.

Other changes in LibreOffice 7.5 include:

  • Much more visible bookmarks in writer.
  • Initial machine translation based on DeepL translate APIs
  • Ability to define a custom color for Grammar mistakes in the Application Colors dialog.
  • “Spell out” number formats in CALC.
  • Ability to crop inserted videos in the slide and still play them
  • Run presenter console can run as a normal window.

See short video about new features of LibreOffice 7.5:

How to Install LibreOffice 7.5 in Ubuntu Linux.

LibreOffice is available to install in 4 different package formats: Deb, Flatpak, AppImage, and Snap.

NOTE: User can install all of them side by side in same machine, meaning have duplicated app icons in start menu (‘Activities’ overview search results).

Option 1: Deb package

Libreoffice website offers official .deb packages, which is however built for supporting all Debian based systems.

For better integration, the LibreOffice Fresh PPA is HIGHLY recommended for Ubuntu Linux. User can press Ctrl+Alt+T on keyboard to open terminal and run command to add it:

sudo add-apt-repository ppa:libreoffice/ppa

NOTE: The PPA so far contains LibreOffice v7.5 for only Ubuntu 22.04 and Ubuntu 22.10

Then, run regular updates via Software Updater (Update Manager) app will update the pre-installed LibreOffice packages to the latest!

Option 2: Snap package

Snap is an universal package runs in sandbox. Ubuntu 20.04 and higher can easily search for and install LibreOffice as Snap from Ubuntu Software.

As mentioned, install LibreOffice Snap will cause duplicated app icons to the pre-installed package.

Option 3: Flatpak package

Flatpak is another universal package runs in sandbox. It’s a competitor to Snap. Users can run following commands one by one to install LibreOffice as Flatpak.

  • First, press Ctrl+Alt+T on keyboard to open terminal. Then run command to install Flatpak daemon:
    sudo apt install flatpak
  • Next, install the office suite as Flatpak via command:
    flatpak install https://dl.flathub.org/repo/appstream/org.libreoffice.LibreOffice.flatpakref

Option 4: AppImage

AppImage is an non-install package format runs in most Linux. It’s a good choice to try AppImage until the LibreOffice Fresh PPA updated for the new release packages.

Just grab the package from the official website:

Then, right-click and go file “Properties” dialog, add executable as program permission under Permission tab, and finally click run the AppImage to launch the office suite.

Uninstall:

For the LibreOffice PPA package, open terminal and run command:

sudo apt install ppa-purge && sudo ppa-purge ppa:libreoffice/ppa

It will remove the PPA repository and downgrade the office suite to the pre-installed version.

For the Flatpak package, run the command below to remove it:

flatpak uninstall --delete-data org.libreoffice.LibreOffice

For other two, either uninstall via Ubuntu Software or just remove the package file.

Elementary OS 7 is finally released! Here’s how to enable the “Minimize” title-bar button in its app windows.

Elementary OS 7 is based on Ubuntu 22.04 LTS. It was released on Tuesday with many improvements on its core applications as well as desktop experience.

Like Fedora workstation, this Linux Distro does not has a ‘Minimize’ button out-of-the-box. But changing the button-layout key via either dconf-editor or gsettings does not function.

Step 1: Install Pantheon Tweaks

Pantheon Tweaks is simple configuration tool adds more options to configure Elementary OS’ Pantheon desktop appearance.

1. First, search for and open a terminal window from top-left ‘Application’ menu.


2. When terminal opens, run command to install the package for the ability to add PPA repositories:

sudo apt install software-properties-common

Run sudo apt update first on a fresh OS to update package index.

3. Next, run command to add the Ubuntu PPA that contains the Pantheon Tweaks package:

sudo add-apt-repository ppa:philip.scott/pantheon-tweaks

4. After adding PPA, install the tool by running command:

sudo apt install pantheon-tweaks

Step 2: Enable Minimize button

After installing Pantheon Tweaks, open or re-open System Settings from the bottom dock launcher. When it opens, you’ll see a new “Tweaks” option under ‘Personal’.

Click on it to open the settings page. There’s a drop-down box for selecting layout of “Window Controls”. Just choose Windows, Ubuntu, macOS, add minimize, or whatever option that you prefer.

The title-bar button layout will change immediately! Done.

OnlyOffice announced the new 7.3.0 release for its desktop editors office suite one day ago.

For Linux users, the new release now use native dialog windows (e.g., file manager and print). And, it adds support for xdg-desktop-portal in the file dialog window, meaning better desktop integration for application installed as Flatpak and/or Snap packages.

This release also add a Quick Print button right beside the original print button. Instead of bringing to the print configuration page, it will directly send your entire document to the last selected or default printer.

For the Spreadsheet Editor, there’s new Watch Window under Formula tab, as well as new functions include TEXTBEFORE, TEXTAFTER, TEXTSPLIT, VSTACK, HSTACK, TOROW, TOCOL, WRAPROWS, WRAPCOLS, TAKE, DROP, CHOOSEROWS, CHOOSECOLS.

Other changes in OnlyOffice 7.3.0 include:

  • Advanced forms via Forms tab in DOCXF files -> Available fields and Manage Roles menu
  • SmartArt (e.g., List, Process, Cycle, Hierarchy, Matrix) under Insert tab.
  • Ability to password protect document while allowing filling forms, commenting, or tracking changes.
  • Ability to add links between several spreadsheets
  • New Date and time, Zip Code, Credit Card for creating forms.
  • Support for creating math equations in both Unicode and LaTeX syntax.
  • Show/hide left and right panel.
  • Ability to insert data from the XML Spreadsheet 2003 file

How to Install OnlyOffice Desktop Editors 7.3:

The office suite is available to install in Ubuntu Linux in 3 different package formats: Snap, Deb, and Flatpak. Choose either one that you prefer.

1. Snap

Snap is an universal package format that runs in sandbox. Ubuntu 20.04 and higher users can simply search for and install OnlyOffice as Snap from Ubuntu Software.

The snap automatically receive updates, though the package at the moment of writing is still at version 7.2.1.

ONLYOFFICE Snap in Ubuntu Software

2. Deb

Deb is the native package format for Debian/Ubuntu and their based Linux systems. OnlyOffice provides the .deb package along with RPM, EXE, MSI, and DMG packages for downloading at the github releases page:

Just select download the “onlyoffice-desktopeditors_amd64.deb” package, then click in file manager to open with Software Install and install it.

3. Flatpak

Linux Mint user may prefer the Flatpak package a bit more, since it’s available to install directly from the Software Manager.

It’s another universal package format runs in sandbox. Ubuntu user can install ONLYOFFICE Desktop Editors as Flatpak by following the steps below one by one:

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

sudo apt install flatpak

Then, install the office suite via:

flatpak install https://dl.flathub.org/repo/appstream/org.onlyoffice.desktopeditors.flatpakref

The Flatpak package is also in v7.2.1 at the moment, use the command flatpak update org.onlyoffice.desktopeditors to update the package once new version published.

Uninstall ONLYOFFICE Desktop Editor

Depends on which package you installed, choose to run either command below in a terminal (Ctrl+Alt+T) window to remove the office suite.

For the Snap package, remove it either via Ubuntu Software or by running the command below:

snap remove --purge onlyoffice-desktopeditors

For the native deb package, run command to remove it:

sudo apt remove onlyoffice-desktopeditors --autoremove

And to remove the package installed as Flatpak, run command:

flatpak uninstall --delete-data org.onlyoffice.desktopeditors

Also clear useless runtime libraries via flatpak uninstall --unused command.