Archives For November 30, 1999

For Ubuntu and Linux Mint users, the latest Enlightenment DR 0.25 now is easy to install via an unofficial Ubuntu PPA.

Enlightenment (aka, E) released version 0.25 (then v0.25.1) as well as Enlightenment Foundation Libraries (EFL) 1.26 a few weeks ago. Here’s how to install them in Ubuntu via PPA.

E 0.25 series comes with lots of minor bug fixes, flat look to match new flat theme, new touchpad gesture recognition bindings, new Procstats module can show mem/CPU usage in titlebar, and many more other changes.

Install Enlightenment 0.25.1 via PPA:

The trustworthy, but unofficial Niko2040’s PPA is back almost 4 years after the last update!!!

Thanks to the maintainer, user may now do following steps to install the latest Enlightenment while Ubuntu repositories always provide old versions.

1. Add Enlightenment PPA

Firstly, either press Ctrl+Alt+T on keyboard or search for and open terminal from start menu (‘Activities’ overview).

When terminal opens, run the command below to add the PPA:

sudo add-apt-repository ppa:niko2040/e19

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

2. Update package cache:

Ubuntu 18.04 and some old Ubuntu based systems may need to manually refresh the package cache after adding PPA. To do so, simply run command in terminal:

sudo apt update

3. Install Enlightenment:

Finally run command in terminal to install the desktop and EFL libraries:

sudo apt install enlightenment

For choice, the latest terminology package is also available to install via the PPA.

After installation, log out and click on the bottom-right corner gear button to choose login via ‘Enlightenment’ session.

Uninstall Enlightenment:

To remove the Ubuntu PPA as well as downgrade the Enlightement package to its original version, use command below to purge it:

sudo apt install ppa-purge && sudo ppa-purge ppa:niko2040/e19

Or, remove the desktop package as well as dependencies via command:

sudo apt remove --autoremove enlightenment

And remove the Ubuntu PPA either via ‘Software & Updates’ utility or by running command in terminal:

sudo add-apt-repository --remove ppa:niko2040/e19

When clicking a magnet link in Chrome browser, it pops-up with “Open xdg-open” option allows to launch the default app to start the downloading.

Unlike Firefox, Google Chrome does not offer an option to choose which app to handle the link. Instead, it launches the default app directly. For those want to change this default app to handle magnet links, here’s how to do the trick in Ubuntu.

Click “Open xdg-open” to open link via default app

Step 1: Tell the default app for magnet links:

Firstly, press Ctrl+Alt+T on keyboard to open a terminal window. When it opens, run the command below will tell the default app for magnet links:

xdg-mime query default x-scheme-handler/magnet

Here xdg-mime is the standard wrapper. User may also run this command instead, which will also output the registered applications:

gio mime x-scheme-handler/magnet

Tell the default app for magnet

Step 2: Set/Change the default app for magnet links:

As the previous steps shows, the both command also support for changing the default app. Say set “QBittorrent” as default app for magnet link, use command:

xdg-mime default org.qbittorrent.qBittorrent.desktop x-scheme-handler/magnet

Or use command:

gio mime x-scheme-handler/magnet org.qbittorrent.qBittorrent.desktop

For any other app, replace org.qbittorrent.qBittorrent.desktop in the previous commands via the .desktop file. You may even set an un-registered app as default, and gio command will register it automatically.

In addition, in case you don’t know the filename of the .desktop file for your app, try running following commands one by one to find it out:

  • First, open terminal and run command to install mlocate (or plocate for 22.04 & higher):
    sudo apt install mlocate plocate
  • Then, update the database:
    sudo updatedb
  • Finally, search the .desktop file for your torrent app:
    locate "*ransmission*desktop"

    In command, replace ransmission with the keyboard for yours. Its case sensitive! I skipped the first letter because which one (‘T’ or ‘t’) is in use for the file-name.

Want to display time and date on your Ubuntu Desktop as widget? Without Conky or any other app, there’s now Gnome extension can do the trick by adding a live clock on your wallpaper.

It’s ‘Showtime’, an extension based on the Budgie Desktop widget. It displays transparent live digital lock, weekday, as well as date on the background wallpaper. And, it shows date and time in both vertical and horizontal styles.

Wallpaper clock

Wallpaper clock vertical style

User may change the display position by press and holding Super (Windows) key, and dragging to move it.

As well, it offers preference settings via “Gnome Extensions” app that allows to configure:

  • 12-hour or 24-hour format.
  • The display color.
  • Date and clock display format.
  • Date and clock font family and size.
  • Shadow transparency.

How to Install the Extension in Ubuntu:

The ‘Showtime’ extension so far supports Gnome 3.36, 3.38 and 40. So it will work in Ubuntu 20.04 and Ubuntu 21.10.

1. Install ‘chrome-gnome-shell’:

Firstly, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command to install the ‘chrome-gnome-shell’ and Gnome Extensions packages if you don’t have it:

sudo apt install chrome-gnome-shell gnome-shell-extension-prefs

This package enables ability to install Gnome Extensions via a web browser.

2. Install the Extension:

Next, click the link button below to go to the extension web page and turn on the slider icon to install it:

For the vertical style, install this one instead.

If you don’t see the toggle icon, install the browser extension via the link in that page and refresh it.

NOTE: The pre-installed Firefox in Ubuntu 21.10 is a Snap package that does NOT support for installing Gnome Extensions so far. Use another browser or install Firefox as deb.

The widget should appear immediately after installation. After that, press Super (Windows) key and drag to move its position, and open ‘Gnome Extensions‘ from overview screen to configure it’s appearance.

Manage Gnome Extensions

That’s all. Enjoy!

Want to check your laptop battery status in Ubuntu or other Linux? There’s a small indicator applet that can do the job in GNOME desktop.

Battery Status” is the free and open-source indicator applet developed by Lorenzo Carbonell, a software developer behind touchpad-indicator and my weather indicator.

It displays an icon on GNOME top bar in system tray area, along with the battery remaining time. By clicking on the applet, it shows battery percentage based on both current and original maximum capacities.

As well, it shows battery health via current and original maximum capacities, and the original and current Voltages.

Battery Health

A setting dialog is also available to configure the refresh time, warning, and colors, etc.

Battery Status Settings

How to Install ‘Battery Status’ in Ubuntu:

The app is available to install as GNOME Extension. At the moment, it supports for Gnome 3.36 and Gnome 40. Which means, user may install it in Ubuntu 20.04 and Ubuntu 21.10 via following steps.

1. Install ‘chrome-gnome-shell’:

Firstly, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command to install the ‘chrome-gnome-shell’ package if you don’t have it:

sudo apt install chrome-gnome-shell

This package enables ability to install Gnome Extensions via a web browser.

2. Install the Extension:

Next, click the link button below to go to the extension web page and turn on the slider icon to install it:

If you don’t see the toggle icon, install the browser extension via the link in that page and refresh it.

NOTE: The pre-installed Firefox in Ubuntu 21.10 is a Snap package that does NOT support for installing Gnome Extensions so far. Use another browser or install Firefox as deb.

The indicator should appear immediately after installation. If not, try to enable it via “Gnome Extensions” app, which can be installed via command:

sudo apt install gnome-shell-extension-prefs

That’s all. Enjoy!

The free open-source game chatting app Mumble released new major 1.4 version a day ago with exciting new features!

Mumble is a high quality and low latency voice over IP (VoIP) app designed for gamers. By releasing v1.4.230, the first stable in v1.4, it now uses new versioning scheme of the form major.minor.build. The third component of version numbers may now much higher and discontinuous. Because there are snapshot (beta) builds in between stable versions.

Mumber 1.4 introduced a new, general purpose plugin framework. Plugins are no longer restricted to positional data delivery and they can now be installed and updated at any time. See the documentation for more.

The release also added a “Search Dialog“, allows to search users or channels with regular expression support. User may open it either from menu or Ctrl+F keyboard shorcut.

Mumble 1.4 Search Dialog

User may now “listen to” a channel without joining it. Though listener will be visible in the channel’s user-list via an “ear” or a “listener”. In order to speech to people in listened channel, you have to either join the channel or shout to it.

Listen to a channel without joining it

To quickly find out who’s currently talking, “TalkingUI” is introduced in the release. It’s an optional floating window automatically resizes itself to the minimal size needed to display the information. It can be placed in the corner without taking too much of your screen. And, just like the main UI, it supports selection and context menu.

floating window indicates who’s currently talking

Other changes in Mumble 1.4 include:

  • Markdown support for text messages.
  • stereo audio (restricted to playback so far).
  • Set nicknames for users.
  • Join user’s channel” context menu option.
  • Reset all settings at once.
  • Disable text-to-speech for specific user.
  • Echo Cancellation for macOS (experimental).
  • Native PipeWire support.
  • Indicate “access-restricted” channels with a lock icon
  • And much more.

Download / Install Mumble:

Mumble is available to install in Windows, MacOS, Linux, as well as iOS and Android mobiles. Download it at the link below:

For Ubuntu / Linux Mint users, there’s an official PPA though not updated at the moment of writing.

It’s as well available to install in most Linux via universal Flatpak package.

Looking for an app to store your passwords? Secrets is a good choice for those using GNOME desktop.

“Secrets” is a free open-source password manager that integrates perfectly with GNOME desktop and provides a modern and easy to use user interface. It’s formerly Password Safe (nothing to do with pwsafe). Since v6.0, it’s called Secrets.

Secrets:

Secrets is a GTK4 app using libadwaita library to provide an adaptive UI. With it, user may create or open KeePass v4 format database in “.kdbx” files. And, it supports AES, Twofish, and ChaCha20 256-bit encryption algorithms.

Secrets add new or open database

The “.kdbx” file is used to store your passwords. While creating it, user may choose to secure it via password, key file, or password and key combination.

Secure database with password, key, or their combination

Then, each time you open the database or back from inactive, it asks for unlock the database before accessing your passwords.

Need to unlock when back from inactive

After creating / opening a database, user may add as many password entries or groups as possible. It allows to assign a color, icon, and add attachments for each entry. As well, it supports OTP tokens and expiration dates.

Assign color, icon, add attachments, & support one-time password, expiration date

All password entries are listed in the home of the database, with buttons to quickly copy username or password into clipboard. And, the data will be cleared from clipboard 30 seconds later.

Password Entries

Install Secrets:

Actually I don’t use a password manager app, because I use similar accounts and passwords in different websites. And, I wrote them down in plain text 😓. The Gnome Secrets looks really good. Maybe I’ll store passwords with it. The only downside however is that it’s only available via Flatpak package.

1. Open terminal by searching from ‘Activities’ overview. When it opens, run command to install the flatpak daemon:

sudo apt install flatpak

2. Next, install the app via command:

flatpak install https://dl.flathub.org/repo/appstream/org.gnome.World.Secrets.flatpakref

There will be hundreds of MB more install, if you’re first time installing GTK apps via Flatpak.

Once installed, search for and open it from ‘Activities’ overview and enjoy!

Uninstall Secrets:

To remove the app, simply open terminal and run command:

flatpak uninstall --delete-data org.gnome.World.Secrets

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

Linux Kernel 5.16 was released a few days ago. Here’s how to install it in Ubuntu 20.04, Ubuntu 21.10, and/or Linux Mint 20.x.

Kernel 5.16 comes with many new features. Here are some of them:

  • Initial DisplayPort 2.0 Support For AMD Radeon Driver.
  • Intel Protected Xe Path for Gen12 graphics.
  • Intel AMX support for Sapphire Rapids.
  • Raspberry Pi Compute Module 4 support.
  • Snapdragon 690 and other new Arm hardware support such as Rockchip RK3566 and RK3688.
  • Better support for the Sony PlayStation 5 controller.
  • Better support for HP Omen laptops.
  • Realtek RT89 WiFi driver
  • Support for 2021 Apple Magic Keyboard.
  • Apple M1 PCIe driver

How to Install Kernel 5.16 in Ubuntu 21.10:

NOTE: The Mainline Kernel PPA provides packages for Ubuntu 21.10. However, it does not include any Ubuntu-provided drivers or patches, which are NOT appropriate for production use.

The .deb packages for amd64, arm64, ppc64el and s390x are available to download at the link below:

For personal computers, select generic for common system, or lowlatency for a low latency system (e.g. for recording audio):

  • linux-headers-5.16.0-xxxxxx_all.deb
  • linux-headers-5.16.0-xxx-generic(/lowlatency)_xxx_amd64.deb
  • linux-modules-5.16.0-xxx-generic(/lowlatency)_xxx_amd64.deb
  • linux-image-xxx-5.16.0-xxx-generic(/lowlatency)_xxx_amd64.deb

Keep an eye on the date in package names. 64-bit build has two versions of same package with different package date.

For those familiar with Linux command, open terminal and run commands one by one to download & install the packages:

cd /tmp/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16/amd64/linux-headers-5.16.0-051600_5.16.0-051600.202201092355_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16/amd64/linux-headers-5.16.0-051600-generic_5.16.0-051600.202201092355_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16/amd64/linux-image-unsigned-5.16.0-051600-generic_5.16.0-051600.202201092355_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16/amd64/linux-modules-5.16.0-051600-generic_5.16.0-051600.202201092355_amd64.deb

sudo dpkg -i *.deb

Once installed, restart your computer and enjoy!

Uninstall Linux Kernel 5.16:

Restart your machine and select boot with the previous kernel in boot menu ‘Grub2 -> Advanced Option for Ubuntu’. Then run command to remove Linux Kernel 5.16:

sudo dpkg --purge linux-image-unsigned-5.16.0-051600-generic

Install Kernel 5.16 for Ubuntu 20.04:

The mainline kernel was build against Ubuntu 21.10, so it won’t install in Ubuntu 20.04 LTS. However, for those insist on installing the new kernel, this project is available along with an Ubuntu PPA. Use it at your own risk!

You may run command in terminal to add the PPA:

sudo add-apt-repository ppa:tuxinvader/lts-mainline

Once the Kernel 5.16 package is updated, use command to install it:

sudo apt install linux-generic-5.16

NOTE: Linux Kernel keeps rolling new releases regularly. The PPA package name varies according to the version number. It’s better to check the PPA page before running the apt command.

For Ubuntu 20.04+ and other Linux with GNOME desktop (e.g., Fedora workstation, Debian and Arch Linux), there’s an extension lets you quickly locate mouse pointer.

The extension is called “Jiggle“. It highlights the mouse pointer position when it moved rapidly by applying 3 cool animation effects: Cursor Scaling, Spotlight, and Fireworks.

Cursor Scaling animation. Original pointer can be turned off

Fireworks effect

spotlight animation

User may choose one of the three effects to function. And each has options to configure the shake threshold, speed, and other settings.

Choose effect & change the “Shake Threshold”, etc.

Install Jiggle extension in Ubuntu 20.04

The extension at the moments supports for Gnome 3.36, 3.38 and 40. Though it works on GNOME 41 as reported.

The Extension so far does not support Ubuntu 22.04, scroll down and see another method to highlight pointer position.

1. Install Gnome Extensions App:

Before installing the extension, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command to install the ‘chrome-gnome-shell’ and ‘gnome-shell-extensions-prefs’ packages:

sudo apt install chrome-gnome-shell gnome-shell-extension-prefs

The first package is required for installing Gnome Extensions from web browser in Ubuntu based system. The latter installs the app for managing extensions.

2. Install Jiggle:

Next, go to the extension web page via your web browser. And then turn on the toggle icon to install it:

If you don’t see the slider icon, install the browser add-on and refresh the page.

After installed the extension, search for and open ‘Gnome Extensions‘ from Activities overview screen.

Manage Gnome Extensions

Finally, open settings for ‘Jiggle’ and apply your favorite animation and enjoy!

Highlight pointer in Ubuntu 22.04:

Without installing an extension, there’s hidden option to quickly locate the pointer position by hitting Ctrl key on keyboard.

Firstly, open system settings either by searching from activities overview or use system tray menu option:

When it opens, navigate to Accessibility in the left, then turn on the option for “Locate Pointer” in the bottom right.

When done, press Ctrl on keyboard to quickly find your mouse pointer and enjoy!

Mozilla Firefox 96.0 was released today. The new release focuses on performance and security improvements.

Firefox 96.0 significantly reduced the main-thread load, improved noise suppression and automatic gain control for better overall experience.

It now enforces the Cookie Policy: Same-Site=lax by default which helps defend against Cross-Site Request Forgery (CSRF) attacks.

The release also fixed some issues, including video quality degradation issues on certain sites, issue where WebRTC downgrades screen sharing resolution, and video intermittently drops SSRC. As well, there are various security fixes.

And for developers, Firefox 96 adds WebP image encoder support for canvas.

Firefox Dark

How to Install Firefox 96 in Ubuntu Linux:

For Ubuntu 21.10+ using the pre-installed Firefox as Snap, it updates automatically and user should now have v96.0.

For those using the native .deb version, the best choice is wait! The official Ubuntu build will be available in next few days. At that time, open “Software Updater” to upgrade the Firefox package.

Firefox website also provides Linux package via portable tarball. Extract and run the executable file within the source will launch the web browser:

As you may know, Gnome control center (aka settings) has “Fractional Scaling” option since Ubuntu 20.04, allows to change scaling level for HiDPI displays.

By default, user may scale up to 125%, 150%, 175% and 200% to make Ubuntu (or other GNOME based Linux, such as Fedora) to be read easily. In this tutorial, I’m going to introduce “BetterScale”, a command line tool gives more scaling levels.

GNOME by default has 125%, 150%, 175%, 200% scaling levels

BetterScale:

BetterScale is a group of bash scripts that helps Gnome & Budgie x11 users perfectly scale their desktop. With it, user may scaling via 110%, 120%, 130%, 140%, 150%, 160%200% levels.

BetterScale uses a similar concept for scaling as macs do by enabling Gnomes experimental scaling support & increasing the graphics framebuffer. It makes your system easily readable while remaining fully clear, crisp and sharp.

BetterScale with more scaling levels

The tool uses xrandr to scale the framebuffer. Which means, it only works for GNOME / Budgie on Xorg. Ubuntu 21.10+ needs to switch to Xorg session at Login Screen for using the tool.

Install & Use BetterScale:

The tool is hosted on Github page. Ubuntu user may press Ctrl+Alt+T on keyboard to open terminal, and run command to grab the source:

git clone https://github.com/rbreaves/betterScale.git

Install git via sudo apt install git for those don’t have it.

Next, run cd command to navigate to the source folder:

cd betterScale

Finally, start the script via command:

./setup.sh

Grab and start BetterScale

When it starts, read the description and warning before hitting Enter.

And, it will ask if to install the fix for tearing & mouse flickering for intel GPU. Type “n” to skip it if you don’t have this issue, or answer “Y” and type user password to install the fix.

If you answered ‘Y’ to fix tearing and flicker, log out and back in. Then, re-run the script to get the scaling level selection screen and type number to choose your favorite scaling factor.

BetterScale with more scaling levels

How to Restore:

The tool is in quite earlier stage. It might not work sometimes. I tested it in Ubuntu 21.10 with normal HD display without system’s ‘Fractional Scaling’ enabled. It works mostly but NOT occasionally.

To restore the changes, simply re-run the script and select 10 to set scaling to 100%. Do it twice if it does not work properly!

And remove the “20-intel.conf” file via the command below if you’ve installed the fix for tearing and mouse flickering:

sudo rm -rf /usr/share/X11/xorg.conf.d/20-intel.conf

That’s all. Enjoy!