Archives For November 30, 1999

Sony PSP emulator PPSSPP 1.6 stable was released a few months ago. Here’s how to install it in Ubuntu 18.04 while the PPSSPP stable PPA still has v1.5.4 packages.

PPSSPP 1.6 release highlights:

  • OpenGL backend now properly multithreaded, giving a good speed boost.
  • Various Vulkan performance improvements and memory allocation fixes.
  • GPU command interpreter performance improvements
  • Various fixes for app switching and widgets on Android
  • Bugfixes and some performance improvements in the ARM64 JIT compiler and IR interpreter
  • Shader cache enabled for Vulkan
  • Multiple iOS fixes, including JIT and file browser.
  • Improved compatibility on Mac
  • Texture replacement ID bugfix (note: some textures from 1.5.4 may become incompatible)
  • Adhoc multiplayer fixes
  • Vulkan support on Linux/SDL
  • Retroarch support

The RetroGames PPA contains the latest release of PPSSPP (1.6.3 so far) for Ubuntu 18.04 and Linux Mint 19.

NOTE that the OFFICIAL PPSSPP PPA has updated the latest packages for all current Ubuntu releases.

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

sudo add-apt-repository ppa:ppsspp/stable

Type your password (no asterisks feedback) when it prompts and hit Enter.

2. Then you can install PPSSPP via command in Ubuntu 18.04:

sudo apt-get install ppsspp

For sdl version, replace ppsspp with ppsspp-sdl in the last command.

Uninstall:

To remove the PPA, open Software & Updates and navigate to Other Software tab.

To remove PPSSPP, run command in terminal:

sudo apt-get remove --autoremove ppsspp ppsspp-*

In addition, for those who care about the versioning issue, I’ve re-uploaded PPSSPP 1.6.3 (based on RetroGames PPA package) into my personal PPA for Ubuntu 18.04 with the issue fixed.

You need to remove previous PPA and PPSSPP packages before installing the new one:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

sudo apt-get install ppsspp

gnome shell

After solved the no wifi adapter issue, I found that in Ubuntu 18.04 Gnome Shell, there’s no Disconnect Wifi option in system tray wireless menu.

It’s inconvenient when I’m going to connect to wired network and temporarily disable wifi connection. Fortunately, there’s a Gnome extension that adds a Disconnect option for Wifi in status menu, and a Reconnect option will be there when wireless network is disconnected.

To install the extension, simply open Ubuntu Software, search for and install Disconnect wifi:

You can see the new options once you installed the extension.

That’s it. Enjoy!

MKVToolNix 26.0.0, free and open-source Matroska software, was released a day ago with new features, enhancements, and various bug-fixes.

MKVToolNix 26.0.0 release highlights:

  • mkvmerge: chapter generation: if the name template given by
    --generate-chapters-name-template is empty, no names (ChapterDisplay
    master elements with ChapterString/ChapterLanguage children) will be
    generated for the chapter atoms.
  • mkvmerge: chapters: chapter names generated from MPLS files will now use the
    name template if one is set via --generate-chapters-name-template.
  • mkvmerge: mkvmerge will no longer abort with an error message if no audio,
    video and subtitle tracks should be multiplexed. This allows copying of
    chapters from non-chapter source files (e.g. Matroska or MP4 files).
  • MKVToolNix GUI: the font size in the tool selector on the left will scale
    with the font size the user selects in the preferences.
  • MKVToolNix GUI: the GUI will no longer automatically resize the columns in
    tree and list views to match the content size. Instead it remembers and
    restores the widths set by the user.
  • MKVToolNix GUI: multiplexer: the chapter name template will now be set
    automatically to the name template in the preferences’ “chapter editor”
    section. Additionally the option --generate-chapters-name-template … will
    be passed to mkvmerge in situations when mkvmerge will generate chapters
    (either because automatic generation is enabled or if chapters are generated
    for MPLS playlists).
  • MKVToolNix GUI: chapter editor: if the chapter name template is empty,
    chapters will be generated without names.
  • MKVToolNix GUI: chapter editor: added an option to remove all chapter names
    to the “additional modifications” dialog.

How to Install MKVToolNix 26.0.0 in Ubuntu:

The official apt repository offers the latest packages for Ubuntu 16.04, Ubuntu 18.04, Linux Mint 19/18, and their derivatives.

Open terminal via Ctrl+Alt+T or by searching it from app launcher. When it opens, do following steps:

1. Run command to add the repository:

sudo sh -c 'echo "deb https://mkvtoolnix.download/ubuntu/ $(lsb_release -sc) main" >> /etc/apt/sources.list.d/bunkus.org.list'

Replace $(lsb_release -sc) with bionic for Linux Mint 19, or xenial for Linux Mint 18.x. And input your password (no asterisks while typing) when it prompts and hit Enter.

2. Then install the key:

wget -q -O - https://mkvtoolnix.download/gpg-pub-moritzbunkus.txt | sudo apt-key add -

3. Finally either upgrade the software via Software Updater (Update Manager):

or run command to install the software packages:

sudo apt-get update

sudo apt-get install mkvtoolnix mkvtoolnix-gui

Uninstall:

To remove the repository, launch Software & Updates utility and navigate to Other Software tab.

To remove MKVToolNix, use Synaptic Package Manager or run following command:

sudo apt-get remove --autoremove mkvtoolnix mkvtoolnix-gui

Aegisub is an open-source, cross-platform, highly customizable subtitle editor that features a lot of convenient tools to help you with timing, typesetting, editing and translating subtitles, as well as a powerful scripting environment called Automation (originally mostly intended for creating karaoke effects, Automation can now be used much else, including creating macros and various other convenient tools).

Although Ubuntu 18.04 dropped the Aegisub binary package from its universe repository, it’s still easy to install Aegisub via one of the developer’s PPA.

1. Open terminal either via Ctrl+Alt+T shortcut key, or by searching for ‘terminal’ from software launcher. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:alex-p/aegisub

Type your password (no asterisks feedback) when it prompts and hit Enter to continue.

2. Then run command to install the subtitle eidtor:

sudo apt-get install aegisub

Uninstall:

To remove the PPA, either open Software & Updater and navigate to Other Software tab, or run command:

sudo add-apt-repository --remove ppa:alex-p/aegisub

To remove Aegisub subtitle editor, run command:

sudo apt-get remove --autoremove aegisub

A new bug-fix release for the Kid3 audio tag editor 3.6 series was released earlier today. Here’s how to install it in Ubuntu 18.04, Ubuntu 16.04, Ubuntu 14.04, Linux Mint 19/18, and their derivatives.

This bug-fix release fixes the use of free form MP4 atoms, import from CSV with DOS line endings, the application icon in KDE wayland sessions and other bugs. The generation of file names from tags is improved by supporting conditional text around a value from the tags, which is only inserted when the corresponding value exists.

Changes in Kid3 3.6.2 include:

  • Format from tags with custom strings prepended / appended when replaced format code is not empty %{“t1″code”t2”}.
  • Fix MP4 free form names longer than 4 characters with TagLib.
  • Support DOS line endings with “Import CSV”.
  • Set CTOC and CHAP element ID from values in the frame table.
  • Correctly add frame when “Edit” is clicked on non existing frame.
  • Show correct icon in Wayland session.
  • Improve editing of ISO date/time values with validation enabled.
  • Bundle OpenSSL libraries with self-contained Linux package.

How to Install Kid3 3.6.2 in Ubuntu:

The developer maintains a PPA repository with the software packages for all current Ubuntu releases.

Open terminal either via Ctrl+Alt+T shortcut key or by searching for ‘terminal’ from software launcher. When it opens, do following steps one by one.

1. Copy and paste following command in terminal and hit run to add the PPA:

sudo add-apt-repository ppa:ufleisch/kid3

Type your password (no asterisks feedback due to security reason) when it prompts and hit Enter to continue.

2. Then you can upgrade Kid3 from a previous version via Software Updater:

upgrade kid3 via software updater

or run commands one by one in terminal to install or upgrade to the latest tag editor:

sudo apt update

sudo apt install kid3-qt

For KUbuntu, you may replace kid3-qt with kid3 in the last command for KDE integration.

Uninstall

To remove the PPA repository, either open Software & Updates -> Other Software tab, or run command:

sudo add-apt-repository --remove ppa:ufleisch/kid3

To remove the audio tag editor, either use your system package manager or run command:

sudo apt remove --autoremove kid3 kid3-*

KeePassX 2 YubiKey support

KeePassXC 2.3.4, community driven port of the windows application “Keepass Password Safe”, was released a day ago with various bug-fixes and improvements.

Changes in KeePassXC 2.3.4 include:

  • Show all URL schemes in entry view
  • Disable merge when database is locked
  • Fix intermittent crashes with favorite icon downloads
  • Provide potential crash warning to Qt 5.5.x users
  • Disable apply button when creating new entry/group to prevent data loss
  • Allow for 12 hour timeout to lock idle database
  • Multiple SSH Agent fixes
  • Multiple Browser Integration enhancements
  • Fix browser proxy application not closing properly
  • Add real names and Patreon supporters to about dialog
  • Add settings button to toolbar, Donate button, and Report a Bug button to help menu
  • Enhancements to release-tool to appsign intermediate build products

How to Install KeePassXC 2.3.4 in Ubuntu via Snap:

The official snap package (runs in sandbox and auto-updates itself) has been updated to version 2.3.4 for Ubuntu 16.04, Ubuntu 18.04, and higher.

The snap can be easily installed via Ubuntu Software:

Or run command in terminal to install the snap package:

snap install keepassxc

How to Install KeePassXC in Ubuntu via PPA:

The official KeePassXC PPA contains the most recent .deb packages for Ubuntu 14.04, Ubuntu 16.04, Ubuntu 18.04. With it, you can receive future updates via Software Updater.

1. Open terminal either via Ctrl+Alt+T shortcut key or by searching for ‘terminal’ from software launcher. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:phoerious/keepassxc

Type your password (no asterisks feedback) when it prompts and hit Enter to continue.

2. Then upgrade KeePassXC via Software Updater:

or run commands one by one in terminal to install the latest package:

sudo apt update

sudo apt install keepassxc

Uninstall:

To remove the PPA, open Software & Updates and navigate to Other Software tab.

To remove KeePassXC .deb package, run command in terminal:

sudo apt-get remove --autoremove keepassxc

To remove the snap package, simply click uninstall button in Ubuntu Software utility.

HP Linux Imaging and Printing

This tutorial is a quick fix for HP laptops that wireless does not work on Ubuntu 18.04 Gnome desktop.

On my cheap laptop HP 246 G6 I found that the wireless network does not work out-of-box after installed Ubuntu 18.04. No wifi option in system tray menu, and System Settings says ‘No Wifi adapter found‘.

This happens on many HP devices including HP 15-bs000, 15-bs100, 15g-br000, 15q-bu000, and Pavilion 15-br000, HP 280 G3, 290 G1, and more. And the reason is Ubuntu does not support RTL8723de wifi driver.

UPDATE Jan-2021, IMPORTANT NOTE:

1. Ubuntu 18.04.5 comes with Linux Kernel 5.4 which makes rtl8723de device work out-of-the-box.

If kernel doesn’t update to v5.4.0, run command:

sudo apt install linux-generic-hwe-18.04

2. For other RealTek WiFi drivers, e.g., rtl8188fu, rtl8192fu, rtl8723ds, rtl8723du, and more. See this how to guide.

Here’s what I did to fix no wifi adapter issue in Ubuntu 18.04:

1. Reboot and go to BIOS to make sure wireless network are enabled. And plug laptop into a wired connection.

2. Open terminal either via Ctrl+Alt+T shortcut key or by searching for ‘terminal’ from software launcher.

3.1 You may first install the building tools first via command:

sudo apt-get install linux-headers-$(uname -r) build-essential git

3.2 Run command to get the Realtek rtlwifi codes that includes rtl8192ce, rtl8192cu, rtl8192se, rtl8192de, rtl8188ee, rtl8192ee, rtl8723ae, rtl8723be, and rtl8821ae.:

git clone https://github.com/lwfinger/rtw88.git

4. In this terminal window, install the drivers via command:

cd rtw88/ && make && sudo make install

Type your password (no asterisk feedback) when it prompts and hit Enter.

5. If the installation success, run 2 commands load the new driver:

sudo modprobe -r rtl8723de

sudo modprobe rtl8723de

Wireless network starts working in my case:

6. If that does not work, you may remove and blacklist the broadcom drivers and restart:

sudo apt purge bcmwl-kernel-source

sudo sed -i '/blacklist bcma/ d' /etc/modprobe.d/blacklist.conf

sudo sed -i '/blacklist brcmsmac/ d' /etc/modprobe.d/blacklist.conf

In addition, (thanks to jeremy31) if you notice weak signal try command:

sudo modprobe -r rtl8723de && sleep 5 && sudo modprobe rtl8723de ant_sel=1

and see if it is better, if not run:

sudo modprobe -r rtl8723de && sleep 5 && sudo modprobe rtl8723de ant_sel=2

(REQUIRED) Or write the rule into configuration. REPLACE X with whatever setting (1, 2, or 3) worked best.

echo "options rtl8723de ant_sel=X" | sudo tee /etc/modprobe.d/rtl8723de.conf

Rednotebook 2.6, a GTK+3 desktop journal software, was released recently with date format improvements and few other changes.

RedNotebook is a modern journal lets you format, tag and search your entries. You can also add pictures, links and customizable templates, spell check your notes, and export to plain text, HTML, Latex or PDF.

The latest Rednotebook 2.6 features:

  • Move date format option to preferences dialog.
  • Use date format option for date in titlebar.
  • Remember selected date format for exports between sessions.
  • Check remote info.py file for latest version number.
  • Check for latest version in separate thread.

How to Install Rednotebook 2.6 in Ubuntu:

The official PPA contains the latest packages for Ubuntu 18.04, Ubuntu 16.04, and derivatives.

1. Open terminal either via Ctrl+Alt+T keyboard shortcuts or by searching for ‘terminal’ from software launcher.

2. Copy and paste following command into terminal and hit run to add the RedNotebook PPA:

sudo add-apt-repository ppa:rednotebook/stable

Type your password (no asterisks feedback due to security reason) when it prompts and hit Enter.

3. Finally check updates and install the desktop journal software by running following 2 commands one by one:

sudo apt update 

sudo apt install rednotebook

Ubuntu 18.04 users can skip sudo apt update command since it’s already done while adding PPA.

Uninstall:

To remove RedNotebook desktop journal, open terminal and run command:

sudo apt remove --autoremove rednotebook

And remove the PPA via Software & Updates utility -> Other Software tab.

GIMP, the popular cross-platform image editor, reached 2.10.6 release a day ago with new features, optimizations, and bug-fixes.

GIMP 2.10.6 release highlights:

  • Add support for vertical text (top-to-bottom writing)
  • New filter: Little Planet to create “little planets” from 360×180° equirectangular panorama images.
  • New filter: Long Shadow simplifies creating long shadows in several visual styles.
  • Add vertical straightening support in the Measure tool
  • Rendering most drawable previews asynchronously.
  • Option to disable rendering layer group previews completely (Preferences > Interface > respective checkbox).
  • For more details, see the release note.

GIMP 2.10 Splash

How to Install GIMP 2.10.6 in Ubuntu:

The otto06217’s PPA contains the most recent packages for Ubuntu 18.04 and higher, as usual GIMP 2.10.6 will be available a few days later.

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

sudo add-apt-repository ppa:otto-kesselgulasch/gimp

Type your password (no visual feedback) when it prompts and hit Enter to continue.

2. After added the PPA, you can upgrade to GIMP 2.10.6 once it’s published via Software Updater (Update Manager):

Or run following commands one by one in terminal to install or upgrade GIMP image editor:

sudo apt-get update

sudo apt-get install gimp

How to Restore:

For any reason, you can downgrade to the stock version of GIMP by running following command in terminal to purge the PPA:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:otto-kesselgulasch/gimp

Install GIMP 2.10.6 flatpak in Ubuntu 16.04 & Higher

For Ubuntu 16.04 and higher, the latest GIMP is also available as flatpak (runs in sandbox) package.

1. Run commands to install Flatpak framework in Ubuntu 16.04 via PPA:

sudo add-apt-repository ppa:alexlarsson/flatpak

sudo apt-get update

sudo apt-get install flatpak

Ubuntu 18.04 and higher can skip the first 2 commands since flatpak is available in the universe repository.

2. Install GIMP flatpak application via command:

flatpak install https://flathub.org/repo/appstream/org.gimp.GIMP.flatpakref

Once installed, it will be made available exactly the same way as other applications.

3. (optional) To remove the GIMP flatpak, run command:

flatpak uninstall org.gimp.GIMP

You can now install the open-source team chat Zulip desktop client easily via Snap in Ubuntu and receive future updates automatically.

Zulip is a powerful, group chat software with clients for Linux, Windows, mac OS, Android, iOS, and web UI. For Ubuntu Linux, it offers an apt repository with the latest .deb packages and appimage single executable package.

Now Zulip is available as Snap, a containerised software package designed to work securely within most Linux desktop. Snap bundles most required dependencies and auto-updates itself.

To install Zulip via snap, simply open Ubuntu Software, search for and install zulip:

For those familiar with Linux command, open terminal (Ctrl+Alt+T) and run:

snap install zulip

Once installed, open the client either from software launcher or by running command in terminal and enjoy:

/snap/bin/zulip