Archives For Howtos

Free open-source digital audio workstation software LMMS 1.2.2 was released a few days ago. Here’s how to install it in Ubuntu 18.04, Ubuntu 19.10, Ubuntu 20.04, and derivatives.

LMMS 1.2.2 is a maintenance release contains some improvements and various bug-fixes.

  • Stop filtering out valid characters from file name while exporting tracks
  • Fix Invalid warning about “dummy-MIDI-client”
  • Note selection: Editing values works in dialog
  • Fix retrigger with vol/pan sliders
  • Fix loading and saving of .fxb/.fxp files on Windows
  • For more, see the release page.

How to Install LMMS 1.2.2 in Ubuntu:

There’s non-install single executable .Appimage available to download in the release page (See the previous link).

If you prefer installing lmms music production via Ubuntu PPA, do following steps one by one:

1.) Open terminal either by pressing Ctrl+Alt+T on keyboard, or by searching for ‘terminal’ from your system application menu. When it opens, run command:

sudo add-apt-repository ppa:ubuntuhandbook1/lmms

Type user password (no asterisk feedback) for sudo prompt and hit Enter to continue adding the PPA.

2.) Then run commands to refresh system package cache and install the music production software:

sudo apt update

sudo apt install lmms

NOTE: lmms-vst-server is 32-bit only package. It may install along with tons of 32-bit dependency libraries. And if you added wine apt repository, it may refuse to install.

Uninstall:

To remove lmms, run command:

sudo apt remove --autoremove lmms

And remove the PPA either via Software & Updates -> Other Software or by running command:

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

gnome shell

This is a step by step beginner guide shows how to share a folder over local network via SMB/CIFS protocol in Ubuntu 20.04 Gnome desktop.

Share a folder in Ubuntu 20.04:

1.) First open terminal by pressing Ctrl+Alt+T on keyboard. When it opens, install samba, SMB/CIFS file, print, and login server by running command:

sudo apt install samba

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

2.) Open Files (Nautilus file browser) and right-click on the folder you want to share, then click on “Local Network Share” menu option.

3.) In next pop-up window, do:

  • tick “Share this folder” to enable network sharing.
  • (optional) tick “Allow others to create and delete files in this folder”
  • (optional) tick “Guess access”
  • finally click on ‘Create Share’ button

4.) Confirm write permission (if enabled) and done!

5.) If you want remote PC to type username and password to access the shared folder, open terminal (Ctrl+Alt+T) and run command:

sudo smbpasswd -a USERNAME

Note:The “USERNAME” must be an existing user in your Ubuntu. It’s ji in my case. And set a password for remote smb access only.

Before getting access from remote PC, you may check out the IP address and / or hostname by running commands:

hostname

ip -4 address

Access the share folder from remote computer:

1. To access from Windows PC, go to Start -> Run to bring up Run command window. Type either \\ip-address\ or \\hostname\

2. To access from another Ubuntu desktop, go to Files -> Other Locations, then type either smb://ip-address/SHARE_FOLDER or smb://hostname/SHARE_FOLDER

Wine Stable

Wine 5.12 was released a day ago as the latest development release of the compatibility layer allows to run Windows apps on Linux and Mac OS. The official apt repository has made the packages for all current Ubuntu releases.

Wine 5.12 release highlights include:

  • NTDLL converted to PE format.
  • Support for the WebSocket API.
  • Improved RawInput support.
  • Vulkan spec update.
  • Total of 48 bug fixes.

How to Install Wine 5.12 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 commands 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 prompts and hit Enter to continue.

2.) Download and install the repository key via 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
  • eoan for Ubuntu 19.10

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.12 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.12, you may remove the PPAs by launching Software & Updates utility and navigating to Other Software tab.

gnome shell

Want to change the default Yaru theme colors? Yaru-Colors is a theme project offers 12 different colors to the Yaru theme.

With Yaru-Colors, you can change the Yaru theme colors of Applications, Cursors, Icons, and Gnome Shell menus (underline & highlights).

And available colors include: aqua, blue, brown, deep blue, green, gray, mate, orange, pink, purple, red, yellow. And all colors in light, dark, and standard modes.

1.) First click download the tarball from release page.

2.) Open file browser, extract the source tarball, and right-click source folder, select “Open in Terminal”.

3.) When terminal opens, run command to install the themes:

bash install.sh

Follow terminal outputs to answer some questions and done!

4.) Enable User theme extension via either Extensions or Gnome Tweaks -> Extensions (Both available in Ubuntu Software if you don’t have it).

Or follow this tutorial to install User theme gnome shell extension if you can’t enable the extension.

5.) Finally open Gnome Tweaks and go to Appearance, there select a different Yaru color theme for Applications, Icons, Shell.

(Uninstall) To remove these colors, re-do step 2.) and run uninstall script in pop-up terminal window:

bash uninstall.sh

For reasons unknown, aMule, all-platform eMule P2P Client, is not included in Ubuntu 20.04 main repository.

While it’s available in previous Ubuntu repositories as well as the next Ubuntu 20.04 main repository, you can manually download the package and dependencies from Ubuntu 18.04 and install them manually in Ubuntu 20.04.

1.) Click download the amule package:

amule .deb

2.) Click download amule-common package:

amule-common .deb

3.) Click download amule-utils-gui package (optional):

amule-utils-gui .deb

4.) Finally download the libwxgtk3.0-0v5 package:

libwxgtk3.0-0v5 .deb

When downloading processes finished, open terminal (Ctrl+Alt+T) from system applications menu and run single command to install them:

sudo apt install ~/Downloads/amule*.deb ~/Downloads/libwxgtk*.deb

Once installed, launch the client from your system application menu and enjoy!

(Optional) To remove the amule package as well as dependencies, run command:

sudo apt remove --autoremove amule