Archives For November 30, 1999

 

Parole, the lightweight media player for XFCE Desktop, released version 4.18.1 few days ago.

The new release updates the app icons with 32px, 64px, 96px sizes support, so it should have a cleaner look in system menus like App Finder, Whisker Menu.

The extensions icons have been updated using newer Xfce palette, and semi-transparent borders giving it a sharper look in dark themes.

The system tray icon now is disabled outside X11. And, it now supports middle click actions to control video playback:

  • middle click to pause/resume playback.
  • middle wheel scrolling over tray icon to volume up/down.

Other changes in the release include:

  • Allow to built without X11 support and therefore whithout XfceSMClient.
  • Fix critical warning and memory leak
  • mpris2: Properly disconnect signal handlers
  • honor gtk-dialogs-use-header as Xfce 4.18 is CSD opt-in.
  • Small UI Improvements and many translation updates

How to Install Parole 4.18.1:

At the moment of writing, there’s no binary package of Parole 4.18.1 for Ubuntu.

But it’s not hard to compile the package from the source (tested in XUbuntu 22.04):

  • First, open terminal and run command to install the build dependency packages:
    sudo apt install debhelper-compat gtk-doc-tools intltool libclutter-1.0-dev libclutter-gtk-1.0-dev libdbus-1-dev libdbus-glib-1-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libgtk-3-dev libnotify-dev libtagc0-dev libxfce4ui-2-dev libxfconf-0-dev pkg-config xfce4-dev-tools
  • Then, download the source tarball by going to XFCE website via the link below:
  • Extract the source tarball, then right-click on the new generated folder, and select “Open in Terminal”. Finally, run the 3 commands below one by one to compile it from source:
    ./configure
    make -j4
    sudo make install

NOTE: It by default installs the parole executable to /usr/local/bin without overriding the pre-installed one. Meaning you’ll have 2 versions of the media player installed in your system, while the app icon in menu will launch the newer 4.18.1 version.

(Uninstall) By opening the source folder in terminal, you may also uninstall the media player by running command:

sudo make uninstall

This simple tutorial shows how to install the Waterfox web browser from its official tarball & create app shortcut in Ubuntu Linux.

Waterfox is a free open-source fork of Firefox, claims to be ethical and user-centric, emphasizing performance and privacy.

The browser provides official Linux package through the portable tarball package, though a community maintained Flatpak package is also available to run it in sandbox.

Step 1: Download Waterfox Tarball

To download the package, simply go to its website via the link button below and click the “Download” button:

Once you got the package, just extract it, and run the executable file (waterfox or waterfox-bin) in the new generated folder, will launch the web browser.

Extract, and Launch Waterfox web browser

Step 2: Create App Shortcut for Waterfox

If you want to make the app icon visible in the ‘Activities’ overview search result (or application/start menu depends on your desktop environment), then follow the steps below to create app shortcut for it.

1. Move the source folder

Before creating app shortcut, it’s better to move the ‘waterfox’ folder for long time use.

For current user only, you may put the folder to anywhere in your user home. I usually create a custom folder in user home (e.g., bin, apps) or put portable apps into .local (it’s hidden, press Ctrl+H to view/hide).

In the screenshot below, I moved the waterfox folder into the custom “MyApps”  folder:

For global, it’s good choice to move the folder to “/opt“, so all users in the system can launch the web browser.

In the case, right-click on blank area of the folder that contains “waterfox” sub-folder, and click “Open in Terminal”. In pop-up terminal, run command to move or copy it to opt:

sudo cp -R waterfox /opt

2. Create App Shortcut

In most Linux, the app shortcuts are handled by .desktop files located in either /usr/share/applications or .local/share/applications.

First, search for and launch your system text editor from overview or application menu depends on your DE:

When it opens with an empty document, paste following lines:

[Desktop Entry]
Version=1.0
Name=Waterfox Web Browser
Comment=Browse the World Wide Web
GenericName=Web Browser
Keywords=Internet;WWW;Browser;Web;Explorer
Exec=/home/ji/MyApps/waterfox/waterfox %u
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=/home/ji/MyApps/waterfox/browser/chrome/icons/default/default128.png
Categories=GNOME;GTK;Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
StartupNotify=true
Actions=new-window;new-private-window;

[Desktop Action new-window]
Name=Open a New Window
Exec=/home/ji/MyApps/waterfox/waterfox -new-window

[Desktop Action new-private-window]
Name=Open a New Private Window
Exec=/home/ji/MyApps/waterfox/waterfox -private-window

Depends on where you moved the ‘waterfox’ folder, change the value of “Exec” and “Icon” accordingly! Meaning replace /home/ji/MyApps to yours.

When done pasting file content and changing Exec/Icon path, press Shift+Ctrl+S to open the “Save as” dialog. Then, do:

  • press Ctrl+H to show hidden folders in the pop-up dialog.
  • navigate to home -> .local -> share -> applications. Create ‘applications’ if it does not exist.
  • type waterfox.desktop as the file name.
  • finally click Save button.

If you did the previous steps correctly, it should now show ‘waterfox’ icon in the start/application menu or ‘Activities’ overview depends on your desktop environment.

Uninstall Waterfox

To uninstall the web browser installed via the previous steps, first remove the ‘waterfox’ folder depends on where you saved it. Then, remove the waterfox.desktop file from .local/share/applications.

 

digiKam, KDE’s photo management software, released version 8.2.0 this Sunday.

The new release includes most recent Libraw library, updates runtime libraries to Qt 5.15.11, KDE frameworks 5.110, Exiftool 12.70, and Exiv2 28.1.

For Windows user, digiKam now has new Windows installer compiled under Windows with VCPKG tool-chain and based on Qt6 and KF6 frameworks.

Besides toolkit updates, digiKam 8.2.0 also has about 250 bug-fixes. They include slow Geolocate, tags not saving on exit, failed to database creation on MariaDB, slideshow does not prevent monitor turning off, various crashes, and other bugs. See NEWS file for more details.

Get digiKam 8.2.0

The software provides official packages for Linux, Windows, and MacOS, available to download at the link below:

For Linux, it’ non-install AppImage. Just download it, add executable permission, and run it to launch the photo manager.

digiKam is also available to install as Flatpak package. Linux Mint 21 can directly search for & install it from Software Manager.

While, Debian/Ubuntu users can install it via:

  • First, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command to install the daemon package:
    sudo apt install flatpak
  • Then, install digiKam as Flatpak by running command:
    flatpak install https://dl.flathub.org/repo/appstream/org.kde.digikam.flatpakref

Uninstall:

To uninstall the Flatpak package, open terminal and run command:

flatpak uninstall --delete-data org.kde.digikam

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


 

HPLIP, free open-source Linux driver for HP’s inkjet and laser printers, released version 3.23.12 few days ago.

The new release add some new HP devices support. They include:

  • HP OfficeJet Pro 9130b series
  • HP OfficeJet Pro 9120b series
  • HP OfficeJet Pro 9110b series
  • HP Color LaserJet Enterprise Flow MFP X58045z
  • HP Color LaserJet Enterprise Flow MFP X58045zs
  • HP Color LaserJet Enterprise MFP X58045dn
  • HP Color LaserJet Enterprise MFP X58045
  • HP LaserJet Pro P1106 plus
  • HP LaserJet Pro P1108 plus

Nothing else!

If you happen to have a HP printer in the list above, then below is going to show you how to install the driver for it in Ubuntu Linux.

Download & Install HPLIP 3.23.12

HPLIP offers official .run installer available to download at the link below:

It’s “hplip-3.23.12.run“. Once you downloaded the file, right-click on blank area in the ‘Downloads’ folder and select “Open in Terminal“.

When terminal opens, run the commands below one by one will start the installing process for the new driver package:

  • Add executable permission for the file:
    chmod u+x hplip-3.23.12.run
  • Run the file, follow the on-screen prompt and answer some questions:
    ./hplip-3.23.12.run

In the terminal output, answer questions by typing ‘y’, ‘n’, etc. Until the command’s done without error, you can plug or re-plug your HP printer for the new driver to work.

Install HPLIP 3.23.12 in Ubuntu 23.10

The .run installer so far does not support Ubuntu 23.10! However, running the commands above will generate the source folder in your ‘Downloads’ folder. Right-click on that folder and select ‘Open in Terminal’, then 23.10 user can try running the commands below one by one to build from source:

1. Firstly, in the terminal window run single command to install the build dependency packages:

sudo apt install --assume-yes libcups2-dev libdbus-1-dev build-essential ghostscript openssl libjpeg-dev libsnmp-dev libtool-bin libusb-1.0-0-dev wget python3-pil policykit-1 policykit-1-gnome python3-pyqt5 python3-dbus.mainloop.pyqt5 python-gi-dev python3-dev python3-notify2 python3 python3-reportlab libsane-dev xsane libavahi-client-dev libavahi-core-dev avahi-utils

2. Then, configure the source by running command:

./configure --prefix=/usr --enable-qt5 --disable-qt4

3. Finally, make and install by running the 2 commands below one by one:

make -j4
sudo make install

NOTE: in command -j4 will start 4 threads in parallel to speed up the process. You can skip it, or change number 4 depends on how many CPU cores you have.

After installed HPLIP 3.23.12, plug or re-plug your HP printer, then you can either refresh the driver in system ‘Printer’ settings page, or launch “HP Device Manager” to set up your printer.

Uninstall HPLIP 3.23.12

As mentioned above, running the installer will create a source folder in user ‘Downloads’ folder.

Right-click on that source folder and select “Open in Terminal”. Then run the uninstall script in pop-up terminal window to remove HPLIP:

sudo ./uninstall.py

 

This simple tutorial shows how to install the latest qBittorrent 4.6.2 (the Qt5 build) from PPA in Ubuntu 22.04 LTS.

qBittorrent has an official PPA, which however seems no longer updating for Ubuntu 22.04 since v4.6 release series.

User can choose to install the Flatpak package, which runs in sandbox. But if you prefer the classic .deb package, then here’s new unofficial PPA for Ubuntu 22.04.

While Ubuntu 22.04 has Qt6 6.2.4 in system repository, now qBittorrent requires at least Qt6 6.4. That could be the reason the official PPA stop updating for 22.04. Thankfully, Qt5 version is still supported, so I built it into PPA for those who need it.

Features in qBittorrent 4.6.x

  • Experimental I2P support
  • UI editor for the default theme
  • Implement torrent tags editing dialog
  • Allow to add new torrents to queue top
  • Option to stop seeding when torrent in-actived.
  • See HERE for more.

Install qBittorrent 4.6.2 in Ubuntu 22.04 via PPA

The PPA package uses the total same debian/rule from the official PPA. It seems working good in my case though with minor testing.

1. Add the PPA

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

sudo add-apt-repository ppa:ubuntuhandbook1/qbittorrent

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

2. Update system package cache

Ubuntu now automatically refresh system package cache while adding PPA, but Linux Mint does NOT.

To do it, simply run command:

sudo apt update

3. Install or Update to qBittorrent 4.6.2

If you’re using the torrent client package from either system repository or its official PPA, simply launch Software Updater (Update Manager) to update it.

Or, run the command below in terminal window to install/update it:

sudo apt install qbittorrent

Uninstall qBittorrent

To uninstall the torrent client package, open terminal and run command:

sudo apt remove --autoremove qbittorrent libtorrent-rasterbar2.0

Also, remove the unofficial Ubuntu PPA either by running command:

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

or by removing source line under Other Software tab in “Software & Updates” tool.

There are so many tutorials teaching how to install the latest Kernel, while, this one is going to show you how to downgrade to the original GA (General Availability) Kernel 5.15 in Ubuntu 22.04.

The GA Kernel is shipped by default in the first stable release of Ubuntu 22.04. By rolling out Ubuntu 22.04.1, 22.04.2, and 22.04.3, it now has Kernel 6.2 as default (next should be 6.5 in 22.04.4).

Don’t know why, but someone asked how to revert back the original Kernel 5.15. So, here’s the quick tips show you how.

Install GA Kernel in Ubuntu:

All current Ubuntu releases, including the next Ubuntu 24.04 Noble, include linux-image-generic package in system repositories for the Generic Linux kernel.

Simply press Ctrl+Alt+T on keyboard to open terminal. Then, run command to install it:

sudo apt install linux-image-generic

Run sudo apt update if the command above does not work.

Boot Your Ubuntu with Kernel 5.15

After installing the kernel package, you have to either set it as default in boot-menu or remove the HWE 6.2 Kernel.

Firstly, boot/reboot your machine, press Esc while booting to show the Grub menu. Then, select boot the Kernel 5.15 from “Advanced options for Ubuntu” -> “Ubuntu, with Linux 5.15.0-xx-generic”.

After booted into Ubuntu and logged in, verify by running command in terminal window (Ctrl+Alt+T):

uname -a

To make it default, either remove the HWE kernel by running command:

sudo apt remove --autoremove linux-image-generic-hwe-22.04

Or, use Grub Customizer to set default boot entry under ‘General settings’ tab. See how to install Grub Customizer in Ubuntu.

This simple tutorial shows how to install ungoogled chromium web browser in Ubuntu 22.04, Ubuntu 24.04, and their based systems.

Ungoogled-chromium is a free open-source variant of Chromium web browser, that removes all Google web services.

The project was started in 2015. It retains the default Chromium experience as closely as possible. But disables functionality specific to Google domains, including Google Safe Browsing, blocks internal requests to Google at runtime by replacing Google web domains in the source code with non-existent alternatives, and strips binaries from the source code.

It also features tweaks to enhance privacy, control, and transparency. However, almost all of these features must be manually activated or enabled.

How to Install Ungoogled Chromium in Ubuntu

The project refers to OBS repository for Debian and Ubuntu packages, however, no longer updated for long time.

As far as I know, there are still community maintained Flatpak and Ubuntu PPA available for choices.

Option 1: Flatpak package

The flatpak package can be installed in most Linux, but run in sandbox and take more disk space due to run-time library.

Tips: Linux Mint 21 can directly search for and install the Flatpak package from Software Manager.

All current Ubuntu releases can open terminal (Ctrl+Alt+T) and run 2 commands below to install the browser as Flatpak:

  • First, run command to install the flatpak daemon:
    sudo apt install flatpak

  • Then, install the browser package by running command:
    flatpak install https://dl.flathub.org/repo/appstream/com.github.Eloston.UngoogledChromium.flatpakref

If you’re first time installing a software package as Flatpak, then you need log out and back in to make the app icon visiable.

Option 2: Ubuntu PPA

For Ubuntu 22.04, Ubuntu 24.04, the xtradebs PPA also contains the browser packages for amd64 (Intel/AMD), arm64/armhf (Apple Silicon/Raspberry Pi) CPU architecture types.

First, press Ctrl+Alt+T on keyboard to open terminal. Then, run command to add the PPA:

sudo add-apt-repository ppa:xtradeb/apps

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

Linux Mint 21 users need to manually refresh system package cache after adding PPA. To do so, run command:

sudo apt update

Finally, install the web browser as .deb package by running command:

sudo apt install ungoogled-chromium

For choice, also install ungoogled-chromium-driver package for WebDriver support.

After installing the package, search for and launch the web browser from start/application menu or ‘Activities’ overview depends on your DE and enjoy!

Uninstall Ungoogled chromium

Depends on how you installed the software package, select remove it via:

  • For the Flatpak package, uninstall it by running command:
    flatpak uninstall --delete-data com.github.Eloston.UngoogledChromium

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

  • For the .deb package installed from Ubuntu PPA, remove it by running command:
    sudo apt remove --autoremove ungoogled-chromium

    Also, remove the Ubuntu PPA, either by running command:

    sudo add-apt-repository --remove ppa:xtradeb/apps

    Or by launching “Software & Updates” and remove source line under “Other Software” tab.

Looking for app to convert your photo images into other formats? Try Switcheroo.

For batch image processing, I’d recommend to use Converseen. However, stupid simple applications are always good choices for beginners.

And, Switcheroo is one stupid simple app for converting photo images, while having modern look and feel in today’s Linux desktop.

Click ‘Open Images’ or drag’n’drop files into app window

With it, just click “Open Images” button and choose your image file/files, or drag and drop files into the app window to open them.

It shows thumbnail preview of all opened images, along with delete buttons in top-right for each images.

By using top-left ‘+’ button, user can add more images (Tips: hold Ctrl or Shift can select multiple files). And, ‘≡’ menu even provides an option to paste images from clipboard.

After opening all your photo images, click the drop-down box in the right of “Export Format” to select which file format to convert to.

At the moment of writing, it support converting image to PNG, JPG, WEBP, HEIF, HEIC, BMP, AVIF, JXL, TIFF, PDF, GIF. Though, you have to either use top-right hamburger menu or press Ctrl + H to show less popular file types.

The app’s hamburger menu

Before clicking ‘Convert’, it provides few more options, such as set background color, resize with or without aspect ratio, and change image quality. There’s also “Save To Zip” to directly output images into ZIP archive.

Instead of providing an in-app option, it pops-up file chooser dialog asks to choose where to save output images or ZIP archive, once clicking “Convert” button.

How to Install Switcheroo Image Converter

The app is available as universal Flatpak package, that can be installed in Ubuntu, Debian, Fedora, Arch, Chrome OS, and most other Linux, even including the mobile device, such as PinePhone.

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

sudo apt install flatpak

Other Linux can follow the official setup guide to get Flatpak support.

2. Then, run command to install the app as flatpak:

flatpak install https://dl.flathub.org/repo/appstream/io.gitlab.adhami3310.Converter.flatpakref

As you see in the screenshot, the downside is that a small app can have 1 GB downloading due to run-time libraries (though shared).

3. Once installed, search for and launch it from your system application launcher, start menu, or ‘Activities’ overview depends on desktop environment.

First time installing Flatpak app needs a log out and back in, to make app icon visible.

4. To enable drag’n’drop support, you need to grant access permission to the folders that contain the photo images.
To do so, install Flatseal, then use it to allow access either all user files or certain folders (by adding Other files).

Uninstall Switcheroo

To uninstall the image converting application, also open terminal (Ctrl+Alt+T), then run command:

flatpak uninstall --delete-data io.gitlab.adhami3310.Converter

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

Have 2 or more PCs connected to a single external monitor? If you run Ubuntu (or other Linux) on one of the PCs, then here’s how to add a keyboard shortcut to switch video source on the monitor.

Most external monitors today have more than one video input ports, e.g., HDMI1, HDMI2, DP1, allowing to connect with different computers at the same time.

And, they usually support DDC/CI protocol to control monitors without hitting physical buttons.

I have multiple computers connected to the single monitor.

To save desktop space, I have only one monitor on my desk, and 2 computers connected to this single monitor. One is running Windows 10 for gaming and another with Ubuntu for work.

In Windows, I use ControlMyMonitor (it’s http link, not sure if it works now) to modify monitor settings and autohotkey to setup keyboard shortcuts.

In Ubuntu and most other Linux, it’s easy to do the job through ddcutil. And, here’s the how to steps one by one.

NOTE: This tutorial is tested and works in my case in Ubuntu 22.04 and Ubuntu 24.04, though it should also works in all other Ubuntu releases, such as Ubuntu 20.04.

Step 1: Install ddcutil

For Ubuntu user, simply press Ctrl+Alt+T on keyboard to open a terminal window. When it opens, run command to install the command line tool:

sudo apt install ddcutil

Type user password when it asks for sudo authentication, though there’s no asterisk feedback.

For Fedora, RHEL, based systems, run the dnf command below instead:

sudo dnf install ddcutil

And, Arch based Linux can install it via command:

sudo pacman -S ddcutil

Step 2: setup permission

After installing the package above, i2c user group is created. You have to add current user to that group by running command:

sudo gpasswd --add $USER i2c

Not sure if required, but try to restart computer if next step does not work for you.

Step 3: Use Linux command to Switch Monitor Input Source

1. Now, run command in terminal to report connected monitors, and find out the logical display number:

ddcutil detect

In my case, it’s number 1. Usually you can skip this step if only one monitor connected.

2. Next, run command to find out the feature code, as well as its values for input source:

ddcutil --display 1 capabilities

Replace number 1 to yours according to the last command. And you can just skip for --display 1.

In the terminal output, 60 is the input source feature code for me. And, values include: 0f and 11 in hex. So, they are 0x0f and 0x11.

3. After finding out the feature code and its values, try running command to switch monitor input source:

ddcutil setvcp 60 0x11

In this command, replace 60 to yours feature code. And, replace 0x11 (its HDMI-1 in my case) to your values according which video source to switch to.

Step 4: Setup keyboard shortcut to switch input source

If the ddcutil setvcp command works for you, now you may do following steps to set keyboard shortcuts to do the job.

For GNOME (default desktop in Ubuntu & Fedora), open ‘Settings’ and navigate to “Keyboard -> Keyboard Shortcuts -> View and Customize Shortcuts”.

In pop-up dialog, select “Custom Shortcuts”, then add new shortcut with:

  • Name: switch monitor input source (or whatever you want).
  • Command: ddcutil setvcp 60 0x11 (change code 60 & 0x11 according to yours).
  • Shortcut: whatever key combination that you want.

Also, add another keyboard shortcut to switch back.

For other Desktop Environments, try launching “Keyboard Shortcuts”, “Shortcut Keys”, “Custom Shortcuts”, “Keyboard”, etc, for the custom keyboard shortcuts settings page.

Fedora workstation displays Fedora logo on the desktop for the default wallpaper, now there’s an extension that can do the similar job in Ubuntu Desktop, Arch, and Manjaro Linux with GNOME 42 ~ 46.

It’s “Desktop Logo”, which allows to add any user selected image into desktop as background logo, resize and place it in top-left, top-center, top-right, center, bottom-left, bottom-center, or bottom-right of screen.

Continue Reading…