Archives For Howtos

Wine Stable

Wine 6.0 stable was released 2 days ago as the new major release to run Windows applications in Linux, Mac OS, and BSD. Now you can install it in Ubuntu 18.04, Ubuntu 20.04, and Ubuntu 20.10 via the official apt repository.

Wine 6.0 features:

  • Core modules implemented in PE format.
  • An experimental Vulkan renderer for WineD3D
  • DirectShow and Media Foundation support.
  • Text console redesign.
  • An initial USB kernel driver
  • Various Vulkan support improvements
  • And more, see announcement.

How to install Wine 6.0 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 don’t have it):

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 have to replace focal in the code with:

  • groovy for Ubuntu 20.10.
  • bionic for Ubuntu 18.04 and Linux Mint 19.x

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

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

5.) Finally install Wine 6.0 via command:

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

Uninstall wine:

You may remove the PPA by launching Software & Updates utility and navigating to Other Software tab.

To remove wine 6.0, run command in terminal:

sudo apt remove --auto-remove winehq-stable

Want to try out the Cinnamon Desktop Environment? Without installing Linux Mint, you can get the desktop packages in Ubuntu via a few commands.

Cinnamon is available in Ubuntu main repositories, though the package version is however a little old. You can simply run the command in step 2 to install it if you don’t stick to the latest features.

The Wasta Linux team maintains an Ubuntu PPA that contains Cinnamon 4.8 packages for Ubuntu 20.04.

1.) Open terminal (Ctrl+Alt+T) and run command to add the Ubuntu PPA:

sudo add-apt-repository ppa:wasta-linux/cinnamon-4-8

2.) After adding the PPA and updating package cache, run command to install the desktop:

sudo apt install cinnamon-desktop-environment

There will be a large list of packages (about 400 MB download) and more disk space usage for installing the DE.

Once installed, log out and select log back with Cinnamon session.

How to Remove Cinnamon Desktop:

If something goes wrong or you just want to remove Cinnamon, paste and run the command below will remove most the components.

sudo apt remove --autoremove blueman brasero brasero-cdrkit cinnamon '~ncinnamon*' cjs desktop-base  five-or-more fonts-noto '~nfonts-noto*' fonts-quicksand four-in-a-row gedit-plugins-common gnome-chess gnome-backgrounds gnome-games gnome-klotski gnome-nibbles gnome-robots gnome-taquin gnome-tetravex gnote hexchat-common hitori hoichess hwdata iagno iso-flags-png-320x240 '~nlibcinnamon*' mate-icon-theme mate-themes muffin muffin-common nautilus-extension-brasero nemo nemo-data nemo-fileroller pidgin-data quadrapassel sound-juicer swell-foop tali vinagre wodim xapps-common

And remove the PPA either via Software & Updates under Other Software tab, or run command in terminal:

sudo add-apt-repository --remove ppa:wasta-linux/cinnamon-4-8

wifi hotspot

Miss Realtek rtlwifi drivers or get ‘No WiFi Adapter Found‘ issue? There’s now an Ubuntu PPA that contains the most recent rtlwifi drivers for Ubuntu, Linux Mint, and derivatives.

Without building from the source code, the “Linux Mint Türkiye” team maintains a PPA that contains the most recent wireless drivers with DKMS support for rtl8723bu, rtl8822bu, rtl8188eu, rtl8188fu, rtl8192cu, rtl8192du, rtl8192ee, rtl8192eu, rtl8192fu, rtl8723au, rtl8723bu, rtl8723de, rtl8723ds, rtl8723du, rtl8812au, rtl8814au, rtl8821ce, rtl8821cu, rtl8822bu devices.

If you have a RealTek USB WiFi Adapter or a laptop / notebook with built-in chipset in the previous list, do following steps may help you install the drivers in Ubuntu 18.04, Ubuntu 20.04, Ubuntu 20.10, Linux Mint 20.

1.) First open terminal either from the system application launcher or by pressing Ctrl+Alt+T on keyboard.

2.) Then run command to add the Ubuntu PPA:

sudo add-apt-repository ppa:linuxmint-tr/wireless-ppa

3.) Then open Synaptic package manager, click Reload button refresh package cache, search either rtl or dkms.

Scroll down to find out the list of driver packages, then right-click on the one for your chipset and select ‘Mark for Installation’, finally click on Apply button to install it.

Or you can run command in terminal to install the driver (replace rtl8723de-dkms in the code):

sudo apt install rtl8723de-dkms

4.) The wireless network should work immediately after you installed the driver. You can manually unload and re-load the kernel module via commands (replace rtl8723de-dkms in the code):

sudo modprobe -r rtl8723de

sudo modprobe rtl8723de

Uninstall the RealTek Wifi Driver:

To remove the driver, either use Synaptic package manager or run apt command in terminal:

sudo apt remove --autoremove rtl8723de-dkms

And remove the Ubuntu PPA via command:

sudo add-apt-repository --remove ppa:linuxmint-tr/wireless-ppa

Gnome photo manager and image viewer gThumb 3.11.2 was released a few days ago. Here’s how to install it in Ubuntu 20.04, Ubuntu 20.10, Linux Mint 20, Pop!_OS 20.04 via PPA.

gThumb 3.11.2 features minor UI improvements including:

  • a proportional zoom increment in image viewer
  • keep the same pixel under the pointer after zooming
  • read color profiles from png files as well.
  • Media viewer: use accurate seeking when clicking on the progress bar.
  • Media viewer: show the pointed time when hovering over the progress bar.
  • Browser: added support for back and forward mouse buttons.
  • Preferences: added option to show/hide the statusbar.
  • Rename files: added a button to revert to the last used template.

And there are some bug-fixes, new or updates translations in the release.

How to Install gThumb via PPA in Ubuntu:

The Dariusz Duma’s PPA seems not being updated except for auto-build packages. So again… I uploaded the gThumb 3.11.2 packages into the unofficial PPA, available for Ubuntu 18.04 (not tested), Ubuntu 20.04, and Ubuntu 20.10.

The packages were backported from the Debian Unstable / Ubuntu 21.04 build from this page.

NOTICE: I offer no warranty for any package in this PPA. While they may work for me, you use them at your own risk.

1.) To add the PPA, open terminal and run command:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

2.) You can then either upgrade photo manager from an old version via Update Manager (Software Updater), or run command in terminal:

sudo apt install gthumb

Uninstall gThumb & the Ubuntu PPA

To remove gThumb photo manager and image viewer, run command:

sudo apt remove --autoremove gthumb gthumb-data

To remove the Ubuntu PPA, either run the apt-add-repository command with --remove flag, or use Software & Updates -> Other Software.

KeePass2

KeePass password manager 2.47 was released user interface and integration enhancements and minor new features and improvements.

KeePass 2.47 release highlights:

  • Save search parameters as profiles, access via menu ‘Find’->’Search Profiles’.
  • Add ‘XPath expression’ search mode.
  • Add ‘Histop’ option in Find dialog.
  • Add ‘Help’ button in Find dialog.
  • Add auto-type matching option ‘Consider similar dashes as identical’.
  • Add commands ‘Copy Group (Encrypted)’, ‘Copy Group (Unencrypted)’ and ‘Paste Group’.
  • Added {TIMEOTP} placeholder, generates a time-based one-time password.
  • Enhanced XML key file format.
  • Add command ‘Print Key File Backup’.
  • Add command ‘Create Key File’.
  • Add Argon2id key derivation function.
  • Add support for importing Dashlane 6.2039.0 JSON files.
  • Add a few more options in the import/export dialog.
  • Plugins can now disable/enable specific Mono workarounds.

How to Install KeePass 2.47 in Ubuntu via PPA:

Although there’s a Linux native community fork KeePassXC available, KeePass2 is still available to install via an Ubuntu PPA. So far, the PPA supports for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 20.04, and Ubuntu 20.04.

1.) Open terminal and run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/keepass2

2.) Then refresh system package cache via command:

sudo apt update

3.) Finally install the mono based password safe package:

sudo apt install keepass2

Uninstall KeePass2:

To remove the software package, run command in terminal:

sudo apt remove --autoremove keepass2

And remove the Ubuntu PPA via command:

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