Archives For November 30, 1999

Battle For Wesnoth in Ubuntu

Battle for Wesnoth 1.14.14 was released one day ago as the latest maintenance release for the turn-based strategy game.

In the new release, translations for add-on titles and descriptions now are used in Add-on client when available, and provided via Add-on server at upload time in the .pbl.

Other changes in Wesnoth 1.14.14 include:

  • Translation updates.
  • 5p – The Wilderlands: Player 5’s units are sorted when cycling through them with the »n« key.
  • Fixed disabled buttons using the pressed highlight color.
  • Made wmllint recognize [remove_time_area] in order to avoid spurious warnings about unit ids.
  • Files created by the scenario editor include a boilerplate warning about hand-editing them.

How to Install Wesnoth 1.14.14 in Ubuntu:

The latest Wesnoth package is available as Flatpak package for Ubuntu 18.04 and higher, and most other Linux desktops.

1.) If you’re first time installing a Flatpak package in Ubuntu, setup your system by running commands in terminal (Ctrl+Alt+T):

  • Install flatpak framework via command:
    sudo apt install flatpak

  • Add Flathub repository via command:
    flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

2.) Then you can install Battle for Wesnoth flatpak package by running command:

flatpak install flathub org.wesnoth.Wesnoth

To update the package, simply run flatpak update org.wesnoth.Wesnoth command.

Uninstall Wesnoth:

To remove the flatpak package, simply run command in terminal:

flatpak uninstall org.wesnoth.Wesnoth

Wine 5.17 Released with Initial NDIS Network Driver

Last updated: September 12, 2020

Wine Stable

Wine 5.17, a new development release of the compatibility layer allows to run Windows apps on Linux and Mac OS, was released with new features and various bug-fixes.

Wine 5.17 release highlights:

  • ADVAPI32 library converted to PE.
  • Beginnings of an NDIS network driver.
  • Still more restructuration of the console support.
  • Various bug fixes.

How to Install Wine 5.17 in Ubuntu:

Open terminal either by pressing Ctrl+Alt+T on keyboard, or by searching for ‘terminal’ from system application menu. When it opens, run following steps one by one.

1.) Run command to enable 32 bit architecture (if you haven’t already):

sudo dpkg --add-architecture i386

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

2.) Install the repository key by running command:

wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -

3.) Add wine repository via command (for Ubuntu 20.04 and Linux Mint 20):

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'

NOTE: You may replace focal in the code with:

  • bionic for Ubuntu 18.04 and Linux Mint 19.x
  • xenial for Ubuntu 16.04

4.) Add PPA for the required libfaudio0 library:

For Ubuntu 18.04 and Linux Mint 19.x only, libfaudio0 library is still required to install from a third-party repository by running command:

sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport

5.) Finally install Wine 5.17 via command:

sudo apt update && sudo apt install --install-recommends winehq-devel

NOTE: installing the latest development release will automatically remove the stable version (if installed).

And for the unmet dependencies issue installing 32-bit libraries, try running command:

sudo apt-get install libgnutls30:i386 libldap-2.4-2:i386 libgpg-error0:i386 libxml2:i386 libasound2-plugins:i386 libsdl2-2.0-0:i386 libfreetype6:i386 libdbus-1-3:i386 libsqlite3-0:i386

(Optional) After successfully installed Wine 5.17, you may remove the PPAs by launching Software & Updates utility and navigating to Other Software tab.

KeePass2

KeePass Password Safe 2.46 was released a day ago with new features, improvements and bug-fixes.

KeePass 2.46 release highlights include:

  • Secure connections (e.g. for WebDAV) now support TLS 1.3, when running on .NET 4.8 +.
  • Add keyboard shortcuts Ctrl+*, Ctrl+/ for the ‘Expand Recursively’, ‘Collapse Recursively’ group command.
  • The {VKEY ...} command now supports some flags
  • Add option to protect KeePass windows against certain screen capture operations.
  • Added command line parameter ‘-wa-enable:’ for enabling specific Mono workarounds.
  • With the KPUInput plugin on Wayland, it can auto-type the default sequence and manually selected sequences of the currently selected entry.
  • Generic CSV Importer improvements, and bug-fixes.

How to Install KeePass 2.46 in Ubuntu:

Julian Taylor’s PPA maintains KeePass2 packages for Ubuntu 16.04, Ubuntu 18.04, and Ubuntu 20.04.

NOTE the PPA is not updated for v2.46 at the moment of writing, check the PPA link before getting started.

1. Open terminal either via Ctrl+Alt+T or by searching for “Terminal” from app launcher. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/keepass2

Type user password (no visual feedback due to security reason) when it asks and hit Enter.

2. Then upgrade KeePass password safe via Software Updater if you have a previous version installed:

upgrade KeePass2

Or run commands to install / upgrade the software:

sudo apt-get update && sudo apt-get install keepass2

Uninstall:

The PPA repository can be removed via Software & Updates utility under Other Software tab. To remove KeePass password safe, simply run command:

sudo apt-get remove --autoremove keepass2

Want to change CPU frequency scaling in Ubuntu 20.04? There’s a gnome shell extension can do the job.

CPU Power Manager is a Gnome-Shell extension for intel-pstate driver. If you have an Intel Core i CPU, the extension will offer an indicator menu for changing CPU frequency scaling.

To install the extension, simply do following steps one by one:

1.) Open terminal and install chrome-gnome-shell package if you’re first time installing a Gnome shell extension:

sudo apt install chrome-gnome-shell

2. Go to extension page in your web browser. If you don’t see the toggle icon, click link to install browser extension:

3. Finally refresh the web page (see the link in step 2), toggle on and install the extension.

Once installed, you’ll see the indicator applet in system tray area. To make it work, you have to click “Attempt installation” option, type user password and hit Enter.

(Optional) To remove this gnome shell extension, either go to link in step 2 and turn it off, or use Extensions tool.

digiKam 5.6.0

digiKam photo management software 7.1.0 was released a few days ago with some new features and plenty of bug-fixes.

digiKam 7.1.0 release highlights include:

  • Better Canon CR3 metadata support.
  • New Batch Queue Manager plugin to fix Hot Pixels automatically.
  • New Batch Queue Manager plugin to apply texture over images.
  • Improve the IPTC compatibility with UTF-8 characters encoding.

digiKam 5.0 beta splash screen

Download / Install digiKam:

Non-install single executable .appimage package is available in the download page.

digiKam is also available as Flatpak package, you can get it either from flathub repository, or by running following commands one by one in Ubuntu:

1. Open terminal from system application launcher. When it opens, run command to install flatpak framework:

sudo apt install flatpak

2. Then add Flathub repository which hosts a large list of flatpak packages:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

3. Finally run command to install digiKam flatpak package:

flatpak install flathub org.kde.digikam

Already installed the flatpak package? You may update the application via:

flatpak update org.kde.digikam

For any reason, you can remove the package via command:

flatpak uninstall org.kde.digikam

GTK+ Twitter App Cawbird 1.2.0 Released (PPA)

Last updated: September 8, 2020

Cawbird, an open-source fork of Corebird Twitter client, released version 1.2.0 a few days ago with many improvements and bug-fixes.

Cawbird 1.2.0 release highlights include:

  • Resolved major accessibility issue with timelines.
  • Added ability to add and read descriptions on images
  • App window can be reduced to a narrower width and has a “responsive” layout for tweets
  • Improved thumbnail and image loading to reduce resource usage.
  • Image gallery loop back.
  • Made “Replying to” on Tweet info page list all users.
  • Reworked @-mention completion so it works with multilingual text.
  • And various bug-fixes.

How to Install Cawbird 1.2.0 in Ubuntu:

The software developer maintains Ubuntu 20.04, Ubuntu 18.04, as well as other Linux packages via the repository at the link below:

Download Cawbird

Select Ubuntu, then click ‘Grab binary packages directly‘ and download the .deb package for your system.

Finally install the .deb via Gdebi package installer (available in Ubuntu Software) and enjoy!

You can also add the repository to receive future updates via Software Updater (Update Manager), by running following commands one by one in terminal:

echo 'deb http://download.opensuse.org/repositories/home:/IBBoard:/cawbird/xUbuntu_20.04/ /' | sudo tee /etc/apt/sources.list.d/home:IBBoard:cawbird.list

curl -fsSL https://download.opensuse.org/repositories/home:IBBoard:cawbird/xUbuntu_20.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home:IBBoard:cawbird.gpg > /dev/null

sudo apt update

sudo apt install cawbird

For Ubuntu 18.04 and Linux Mint 19.x, replace xUbuntu_20.04 in the commands with xUbuntu_18.04.

Vivaldi web browser 3.3 was released today. The new release introduces a new Break Mode.

By clicking on the new pause button at the left corner of the Status Bar, or press Ctrl + “.” on keyboard, Break Mode mutes and stops HTML5 audio and videos, hides all tabs, panels, and other content leaving the screen clean.

After taking a break, you can resume your browsing activity exactly where you left off by pressing Play to un-pause the browser.

Other changes in Vivaldi 3.3 include:

  • New Private Window Themes
  • Base domain highlighting for improved security
  • Easier cropping of URL in the Address Bar by pressing Ctrl & clicking.
  • Full-page blocking support
  • Drag & drop Speed Dials to folders

How to Install Vivaldi 3.3 in Ubuntu:

The official Ubuntu .DEB packages are available for download at the link below:

Download Vivaldi (DEB)

Grab the deb matches your OS, then install it via Ubuntu Software or Gdebi package manager. Or run command in terminal:

sudo dpkg -i ~/Downloads/vivaldi-stable_3.3*.deb

Vivaldi also has apt repository, with it you can install the browser and get future updates through Software Updater utility.

Open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for terminal from application menu. When it opens, run following commands one by one:

1. Download and install the repository keyring:

wget -qO- https://repo.vivaldi.com/archive/linux_signing_key.pub | sudo apt-key add -

Typer user password when it prompts and hit Enter to continue.

2. Add Vivaldi repository via command:

sudo add-apt-repository 'deb https://repo.vivaldi.com/archive/deb/ stable main'

3. Finally check updates and install the web browser via command:

sudo apt update && sudo apt install vivaldi-stable

Or upgrade from an old version via Software Updater utility.

(Optional): To remove Vivaldi apt repository from you system, launch Software & Updates and navigate to Other Software tab.

Top 7 Screenshot Tools for Ubuntu Desktop

Last updated: April 24, 2024

shutter screenshot

Looking for screen capturing application for your Ubuntu desktop? Here are 7 popular graphical tools you can try.

1. Gnome Screenshot

GNOME Screenshot is no longer default since GNOME 40 (meaning Ubuntu 22.04 and higher). Install it either from Ubuntu Software or by running sudo apt install gnome-screenshot command in terminal.

First of first, if you just want to take a screenshot. use the default screenshot tool by pressing PrintScreen, Alt + PrintScreen, or Shift + PrintScreen on keyboard to take screenshot of whole screen, focused app window, or selected area.

You can also launch the tool by searching for screenshot from system application launcher.

2. Flameshot

Flameshot is a powerful yet simple to use screenshot software. It starts as indicator applet with option to capture selected rectangular area.

The software features editing tools around screenshot selection area. As well, it supports for uploading to Imgur, and commands.

To install Flameshot, either search for and install it via Ubuntu Software or run command in terminal:

sudo apt install flameshot

3. Shutter

Shutter is a feature-rich screenshot application with a built-in editor.

It’s one of must installed applications on my Ubuntu. The software features:

  • Capture rectangular area.
  • Capture active window, or select an app window to capture.
  • whole screen, workspaces.
  • Capture app child window.
  • Capture menu or cascading menus from an app.
  • Capture tooltips.
  • Upload to Dropbox, Imgur, etc.
  • Edit with built-in editor, or auto-open with other system image editor.

Ubuntu removed Shutter from its universe repositories due to old Gnome 2 dependency libraries. Now, the project is working on removing old libraries and getting back to Ubuntu main repositories.

To install Shutter, either install snap package, or run commands one by one to get it from PPA:

sudo add-apt-repository ppa:shutter/ppa

sudo apt update

sudo apt install shutter

4. Screencloud

Screencloud is a screenshot sharing software that works on Linux, Windows, and Mac OS.

It starts as an indicator applet offers menu options & keyboard shortcuts to take screenshot of selection, full-screen, and window.

Screenshot URL is automatically copied to clipboard, if you have pre-defined settings, for easy sharing with your friend. Supported online services include: Dropbox, Imgur, Google Drive, OneDrive, FTP/SFTP, Shell Script.

The software is available as Snap, so you can easily install it from Ubuntu Software. For choices, an Appimage is also available to download in the link below:

Screencloud in Github

Grab the .appimage package, make it executable in file “Properties -> Open With” dialog, and finally run it to launch the tool.

5. GIMP

If you edit images regularly with GIMP image editor, try its built-in screenshot function by going to menu File -> Create -> Screenshot ….

You’ll see a child window with options to capture window, full-screen, and selected area. And screenshot will be opened in a new GIMP window automatically.

6. Ksnip

Ksnip is a Qt-based screen capture with a built-in editor. It works on X11 and Gnome / Plasma Wayland.

It includes most features that other screenshot tools have (e.g, upload to Imgur, hotkeys, etc), and can be a great alternative to Shutter. Although it’s not perfect at the moment, the development is updating regularly.

7. Kazam

Kazam is a simple screencast application which also include features to capture screenshots. Similar to the default Gnome screenshot, it only offers basic options to capture, full-screen, window, and selection area.

To install Kazam, either use Ubuntu Software, or run command in terminal:

sudo apt install kazam

Summary:

There are also many other screenshot tools (e.g., KDE Spectacle, Deepin screenshot, xfce4-screenshooter, lximage-qt) that are either not desktop independent, or not working good in my case.

So the previous 7 tools are the best for Ubuntu so far in 2020 in my private opinion.

Warpinator is a local network file transfer application developed by Linux Mint. It is written with Python 3 and works on most Linux desktops via Flatpak package.

The software offers a simple clean interface that lists all available network machines with Warpinator running.

To send files, simply select a remote machine and click ‘Send files’ button. File transfer must be first approved by the recipient.

How to Get Warpinator:

For Linux Mint:

Linux Mint users can simply search for and launch terminal from start menu. Then run the command below to install the application from system repository:

sudo apt install warpinator

For Ubuntu based systems

There’s a third-party PPA contains the Warpinator package as well as a few other mint tools Ubuntu 18.04, Ubuntu 20.04, Ubuntu 22.04 and their derivatives.

Press Ctrl+Alt+T on keyboard to open terminal, and run the command below one by one to add the PPA and install the file transfer:

sudo add-apt-repository ppa:kelebek333/mint-tools
sudo apt update
sudo apt install warpinator

Install the app for most other Linux

The file transfer app is also available to install in most Linux systems as universal Flathub.

Firstly, follow the setup guide to install Flatpak daemon on your system.

Then, install Warpinator as flatpak package by running:

flatpak install flathub org.x.Warpinator

And if you want to remove the package, run command:

flatpak uninstall --delete-data org.x.Warpinator

Other platforms

There are unofficial clients for other platforms. Android user may simply search for and install it in F-Droid or Google Play.

For iOS, an unofficial client is in Beta stage.

And Windows user may download and install the EXE from this github project page.

This simple tutorial shows how to turn your photos as desktop slideshow by manually creating XML file in Ubuntu 20.04 and Ubuntu 22.04 LTS.

If you’re just looking for an automatic wallpaper changing software, here are four other choices.

In Ubuntu with the default GNOME desktop, user may turn photos into wallpaper slideshow by creating a XML file, then select it at any time in the Background settings.

XML slideshows in Background settings are displayed with a small clock emblem in the lower-right corner of the preview. (See the red rectangle area in the picture)

NOTE: In Ubuntu 22.04, changing wallpaper or slideshow only applies in current color scheme. Switching to Light or Dark mode, also changes the wallpaper setting.

Step 1: Create & Edit XML file for slideshow:

First of all, you have to create a XML and write the rules for which photos to display as slideshow, how long they will be displayed, and the transition orders.

1. Create XML file

You can create the XML files in anywhere of your user folder. Though it recommends for software developers to put them in ‘~/.local/share/backgrounds‘ folder.

Here I created a sub-folder called ‘slideshows‘ under my Pictures folder. Then, create an empty document and re-name it as .xml file.

Create a XML file

2. Edit XML write the rules:

After created the file, open it with your favorite text editor and write something look like:

<?xml version="1.0" ?>
<background>
  <static>
    <duration>60.0</duration>
    <file>/home/ji/Pictures/Wallpapers/Pic1.jpg</file>
  </static>
  <transition>
    <duration>0.5</duration>
    <from>/home/ji/Pictures/Wallpapers/Pic1.jpg</from>
    <to>/home/ji/Pictures/Wallpapers/Pic2.jpg</to>
  </transition>
  <static>
    <duration>300.0</duration>
    <file>/home/ji/Pictures/Wallpapers/Pic2.jpg</file>
  </static>
  <transition>
    <duration>0.5</duration>
    <from>/home/ji/Pictures/Wallpapers/Pic2.jpg</from>
    <to>/home/ji/Pictures/Wallpapers/PicN.png</to>
  </transition>
  <static>
    <duration>60.0</duration>
    <file>/home/ji/Pictures/Wallpapers/PicN.png</file>
  </static>
  <transition>
    <duration>0.5</duration>
    <from>/home/ji/Pictures/Wallpapers/PicN.png</from>
    <to>/home/ji/Pictures/Wallpapers/Pic1.jpg</to>
  </transition> 
</background>

The file content is easy to read. It starts with <?xml version=”1.0″ ?>, then follows with a <background></background> node.

With in <background> node, you can add as many <static></static> and <transition></transition> nodes as you can depends on number of wallpaper files.

While the <static> node contains display time (in seconds) and path to the picture file, the <transition> contains transition time and from to file paths.

The XML slideshow file (pic is edited for easy reading)

TIP: You may drag and drop your photo files into Terminal (Ctrl+Alt+T) or web browser’s URL bar to get the file path quickly!

Step 2: Make the XML slideshow visible in Background settings

After created a XML file, you have to create another one to make it visible in system settings utility.

1. First, press Ctrl+Alt+T on keyboard to open a terminal window. When it opens, run command to create the local background properties directory:

mkdir -p ~/.local/share/gnome-background-properties

Then open that directory in file manager by running command:

nautilus ~/.local/share/gnome-background-properties

Create and open background properties folder

2. When the folder opens, create empty file and rename it to a .xml file with whatever filename as you want.

Create another XML in background properties folder

3. Finally open the new created XML file and paste following lines:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
  <wallpaper>
    <name>Ji's slideshow</name>
    <filename>/home/ji/Pictures/slideshows/myslideshow.xml</filename>
    <options>zoom</options>
    <pcolor>#2c001e</pcolor>
    <scolor>#2c001e</scolor>
    <shade_type>solid</shade_type>
  </wallpaper>
</wallpapers>

Here type whatever name within <name></name> node, and set the full path to the previous created XML with <filename></filename> node.

Apply the previous created XML slideshow

After saving the file, open or re-open ‘Background’ settings, you should see the new created background slideshow.

Summary:

In short, you can create a XML file in anywhere of user folder, write the rules to specify which photos to display, how long they will persist, and the transition order. Then, create another XML file in background properties directory to make the slideshow visible in ‘Background’ settings dialog.

In theory, the XML should work on all GNOME based Linux, e.g., Fedora Workstation, though I only tested it in Ubuntu 20.04 and Ubuntu 22.04.