How To Install The Mumble Client On Linux

Previously, on Addictivetips, we covered how to get the Murmur VOIP server component of Mumble working on Linux. Well, we’re back to talk about Mumble again, except this time we’ll be discussing all the ways that users can install the Mumble client to Linux.

In addition to discussing how to install the Mumble client, we’ll be going over how to use the Mumble app, how to connect to voice servers, etc.

Note: Mumble doesn’t require that you host your Murmur server to use the software. If you’re not comfortable hosting a VOIP server on your network, there are dozens of public Murmur servers out there. Check out this list to learn more!

Install Mumble Client

Follow the installation instructions below for your respective Linux distribution.

Ubuntu

sudo apt install mumble

Debian

sudo apt-get install mumble

Arch Linux

sudo pacman -S mumble

Fedora

sudo dnf install mumble

OpenSUSE

sudo zypper install mumble

Snap

A great way to use Mumble if you’re on a Linux distribution that doesn’t have a package available is Snaps. Snap packages are self-contained packages that any Linux distribution can use, as long as the PC is capable of running Snapd. Snap packages have support for pretty much every mainstream Linux distribution out there. If your PC doesn’t have it turned on by default, check out our guide and learn how to setup snaps. Once you’ve got it running, use this command to install the latest version of the Mumble snap.

sudo snap install mumble

Uninstalling the Mumble client is possible with this command:

sudo snap remove mumble

Binary Instructions

Building Mumble from source is possible, though the developers actively discourage it. If you’re out of options and you need the Mumble client, follow these instructions. To start off, you’ll need to install all of the various dependencies required to build the program. Information on these dependencies is on the official Mumble wiki. Read through it and determine how to install them on your PC. When you’ve installed them, use the Git tool to grab the source code.

git clone git://github.com/mumble-voip/mumble.git mumble

After you’ve got a copy of the source code on your Linux PC, use the CD command to move the terminal into the Mumble folder.

cd mumble

Inside the folder, use Qmake to start the building process. Keep in mind that Qmake may take a while, especially since it is building the program from scratch.

qmake -recursive main.pro

When the Qmake command finishes, run make to finish the compilation process.

make

When make finishes up, the software is ready to go. From here, you’ll be able to cd into the release folder and run the Mumble client.

cd release

./mumble

Want to get rid of the Mumble software? Open up a terminal and run these commands.

cd ~/

rm -rf mumble

Connect To A Mumble Room

As you start up the Mumble client, you’ll see the “Mumble Audio Wizard.” This tool walks the user through microphone configuration as well as other sound devices. Do not skip this step, as having a correctly set up microphone is very important, especially when joining other servers.

Note: be sure to set your microphone to “push to talk.”

After going through the audio wizard, you’ll need to generate a new certificate. Select the “automatic certification creation” option. Go through, and let it set up the certificate. When it’s done, you’ll see a message that says “enjoy using Mumble” with the new certificate.

It’s now time to connect to a server. Don’t have your server? View the server browser that appears, or find a room in the URL linked in the start of this post. Alternatively, connect to custom Mumble servers (including ones on your network) by clicking “add new.”

Selecting “add new” reveals a small pop-up that is used to enter server details. Enter the IP address of your home Mumble VOIP server, enter your username, and give it a label (aka name). When done, click “finish.” The new connection is now accessible and saved in “favorites” section.

From here, you’ll be able to quickly connect to the server by going to the Mumble server browser that pops up each time you launch it and selecting it under “favorites.”

Disconnecting From Servers

To disconnect from a Mumble room, click the “Server” menu. Inside the server menu, look for “Disconnect” and select it. Selecting this option will disconnect you from a Mumble room, without closing the program. Alternatively, it’s possible to disconnect from a server by closing the program entirely. Look for the Mumble logo in the system tray, right-click on it and select “quit.” It’s also possible to quit the program by pressing Ctrl + Q on the keyboard, while Mumble is in use.

Read How To Install The Mumble Client On Linux by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How To Set Up NFS Shares On OpenMediaVault

On Linux, the best way to share files from computer to computer reliably is with NFS. Hosting an NFS server on Linux isn’t impossible, but it is difficult for beginners. If you’re dying to get a couple of NFS shares working, your best bet is to use OpenMediaVault. It’s a robust, beginner-friendly NAS solution with a web-based GUI tool that makes setting up NFS shares simple.

To follow this guide, you’ll need to have OpenMediaVault installed on your Linux server as well as appropriate hard drive space to hold all the data for NFS. Follow our tutorial and learn how to install OpenMediaVault, then come back to this article, and follow this guide to set up NFS shares.

Configure File System

Setting up an NFS share on OpenMediaVault first requires a usable file system. Unfortunately, OMV doesn’t allow the user to create a share from the web UI on the OS hard drive. It is because of this, we recommend using a dedicated hard drive for data. If you can’t afford to use multiple hard drives, consider reinstalling OpenMediaVault, and following a custom partition setup, rather than the automatic one in the setup. Another option would be virtualizing OpenMediaVault. Using the OS as a VM allows users to create custom virtual hard drives.

Once you’ve attached the second hard drive, open up the OMV web UI (http://ip.address.of.omv.server), look at the side-bar for “Storage”, and click the “Disks” option. Look under disks, and make sure the second hard drive is appearing correctly there. Click “wipe” to clear everything from it.

When the hard drive is blank, go back to “Storage” and click “File Systems”. You’ll notice that only /dev/sda1 (the main OS drive) appears in this menu. The reason that the second drive isn’t also listed is that it doesn’t have a file system on it. To create a new one, click the “+ Create” button, and select “/dev/sdb” under the “Device” menu in the pop-up.

Note: always go with Ext4 as the file system, if you’re unsure.

Now that the new /dev/sdb file system is up and running, you’ll see it under /dev/sda1. To make use of this hard drive, select /dev/sdb1 in the menu, then click “Mount”.

Creating Shared Folders

Using NFS on OpenMediaVault requires a shared folder. To create one, look at the side-bar under “Services” for “NFS” and click on it. Click on “Shares”. and then select “+ Add” to create a new folder. It’s important not to use an existing shared folder that is in use by another service on OMV.

In the “Add share” menu, there are many options. The first of which is a menu that lets the user select an existing share. In this menu, click the + sign. Clicking + brings up a sub-menu. In this sub-menu, you’ll need to fill out information for the new shared folder.

The first thing you’ll need to fill out is “Name”. Enter a name, and then move on to “Device”. Under device, click the drop-down menu and look for “/dev/sdb1”, as this is the hard drive we set up earlier.

After filling out the “Device” section, all that is left is “Path”, “Permissions” and “Comment”. Skip the “Path” section, as OpenMediaVault will do this automatically, and move on to “Permissions”.

Look through the Permissions area, and find the correct settings for your use case. When done, fill out a comment about the share, and click “Save”.

Clicking the save button will take you out of the sub-menu, and back to the original menu that opens when “+ Add” is clicked. In this menu, do the following:

Under “Client”, enter 192.168.1.0/24.

After the “Client” option, move on to “Privilege” and select Read/Write.

Add the share to the system by clicking “Save”.

Enable NFS On OpenMediaVault

Now that we have a shared folder for NFS to use, click the “Settings” tab in the NFS area. Enable NFS on your OpenMediaVault NAS by clicking the slider next to “Enable”, then select the “Save” button. Be sure to also click “Apply” on the pop-up that says “The configuration has been changed. You must apply the changes in order for them to take effect.”

Need to disable NFS? Click the slider again to disable it, then select “Save” to save the changes.

Deleting NFS shares

To delete an NFS share in OpenMediaVault, select “NFS” under “Services”, and then click on “Shares”. In the shares menu, highlight the share you’d like to delete, and click “X Delete” to remove it.

Access NFS Shares

With OpenMediaVault’s help, setting up something as tedious as NFS becomes much easier. Despite this, accessing shares can still be a chore. If you’re unsure on how to access and use NFS shares on Linux, do yourself a favor and follow our tutorial. It covers everything there is to know about accessing NFS on Linux.

Read How To Set Up NFS Shares On OpenMediaVault by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How To Add Facebook Messenger Chat On Linux With Pidgin IM

Long ago, Facebook used XMPP for their chat. This protocol made connecting user profiles to chat clients (especially on Linux) very easy. A couple of years ago, the social media company ditched the old chat protocol for their own solution. As a result, the old ways to connect to connect Facebook Messenger chat broke to external clients broke.

This is why users had to come up with new plugins to integrate Facebook Messenger accounts with chat clients. One such plugin is Purple-facebook. It’s a replacement for the old Facebook Messenger chat integration and works very well with the new system. In this article, we’ll explain how to install this plugin on the Linux platform, as well as how to use it in Pidgin (and other chat clients that support Pidgin plugins on Linux).

Install Purple-facebook

There are many ways to install the Purple-Facebook plugin on the Linux platform. Building it from source is pretty difficult because the instructions aren’t very clear. The plugin has enough support in the community that there are binary installers available. Choose an operating system below, and follow the installation steps.

Ubuntu

Ubuntu has many different installable binary packages for the Purple Facebook plugin, thanks to the OpenSUSE build service. To install it, you’ll need to use the wget tool. In these instructions, we cover the 17.10 plugin. It should work with Ubuntu 18.04+. Using 16.04? Check this link for downloads to other versions of Ubuntu.

wget http://downloadcontent.opensuse.org/repositories/home:/jgeboski/xUbuntu_17.10/amd64/purple-facebook_20180323~ef6ae47~9ff9acf9fa14~145_amd64.deb

When you have the latest Deb package, use the CD command to move to the ~/Downloads directory. Using the dpkg tool, install the plugin.

sudo dpkg -i purple-facebook_*.deb

This should install the plugin. If there is a problem resolving dependencies, run apt install -f. This will fix any issues.

sudo apt install -f

Alternatively, install with the Ubuntu software center by opening up the file manager, double-click on the Debian package and clicking the “install” button.

Uninstall the plugin with:

sudo apt remove purple-facebook

Debian

The instructions for Ubuntu are very similar to Debian, and building the plugin from source is very confusing for the Debian Linux distribution. Unfortunately, there isn’t a packaged version of the plugin in the official software sources. Luckily, in the Suse OBS, there are packages for various versions of Debian. In this tutorial, we’ll be covering the installation procedure for Debian Stable (9.4 Stretch), as it’s what most people are using.

First, use the wget tool to download the Purple Facebook package.

wget http://downloadcontent.opensuse.org/repositories/home:/jgeboski/Debian_9.0/amd64/purple-facebook_20180323~ef6ae47~9ff9acf9fa14~145_amd64.deb

From here, you can open the Deb package with the Gdebi package installer, click “install” and get it working. Alternatively, use the terminal and CD into the ~/Downloads folder.

cd ~/Downloads

Use the dpkg command to tell Debian that it should install the plugin package.

sudo dpkg -i purple-facebook_*.deb

If you see an error in the terminal that says “error”, or something like that, run apt install -f to correct the issues.

sudo apt install -f

Want to uninstall the plugin? Try this command.

sudo apt remove purple-facebook

Arch Linux

The Purple Facebook plugin is included in the official Arch Linux software repositories. Be sure that the Community section is enabled in your pacman.conf file. Then use Pacman to install it.

sudo pacman -S purple-facebook

Arch users can remove the plugin with:

sudo pacman -R purple-facebook

Fedora

sudo dnf install purple-facebook

Remove the plugin from Fedora using DNF remove.

sudo dnf remove purple-facebook

OpenSUSE

Earlier in this tutorial, we talked about using the OBS to install Purple-Facebook on Debian and Ubuntu. In the Suse section, the OBS is relevant again. Except this time, you won’t need to use wget to download anything. To install the Purple-Facebook plugin on any current version of OpenSUSE, follow the link to the download page, and click “1 Click Install”. From there, YaST should take care of the rest!

Build From Source

If the only way you can install this plugin is by building the source code, you’ll need to read the directions, to learn what dependencies are required for installation. The code for the plugin is on Github.

Using Purple-facebook With Pidgin

The PurpleFacebook plugin works very well with the Pidgin chat tool. To use it, make sure you’ve got the latest version of Pidgin IM installed (just search for “pidgin” on your Linux OS of choice and install it, if it’s not already there.) When the program has been correctly installed, open it, click “Accounts”, and then “Manage accounts”.

In the manage accounts area, click “Add account”. This will bring up an “add accounts” window, with several options. Look for “protocol” and click the drop-down menu. Find and select the “Facebook” option to show the sign-in options.

The Facebook login prompt asks the user for a “username” and password. To find your FB username, go to your Facebook profile and copy the URL. For example, if my URL is: https://facebook.com/derrik.d.4, I’d enter “derrik.d.4” as my username. After putting in a user, enter your Facebook password.

Note: if you’d like to add an alias so that Pidgin shows your real name in chat, and not your username, type in your name in the “alias” section.

When Purple Facebook is correctly connected, your FB friends will show up in the Pidgin buddy list. You’ll be able to chat with them right from the Linux desktop.

Read How To Add Facebook Messenger Chat On Linux With Pidgin IM by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How To Host A Mumble Server On Linux

Many gamer-friendly voice chat solutions are popping up on Linux. However, a lot of these solutions are hosted in the cloud, are proprietary, and fully control the user’s data. Proprietary tools may be convenient, but if you care about privacy and owning your data, there’s a better way to voice-chat with your friends; a Mumble server.

A Mumble Murmur server is a great way to get around “cloud services”. Murmur is the server component to Mumble. Users host it on their hardware and have full control over everything, including the audio bit-rate and encoder, (which is great if you dislike how laggy Skype or Discord can get while gaming). Best of all, everything is entirely private because no third-party company is hosting it for you.

Host Mumble Server

In this tutorial, we’ll go over all about how you can host your Mumble Murmur server on Linux. Let’s get started!

Note: Before trying to host your Mumble server, it’s best to update it. Go to the update manager and install any pending updates.

Ubuntu

sudo apt install mumble-server

Debian

sudo apt install mumble-server

Arch Linux

sudo pacman -S murmur

Fedora

sudo dnf install murmur

OpenSUSE

sudo zypper install mumble-server

After installing the Mumble server to your Linux server, you’ll need to run the setup wizard.

Debian/Ubuntu

dpkg-reconfigure mumble-server

All others

murmur

or

mumble-server

Note: if the above command doesn’t start the wizard on your Linux server, you may need to refer to the Mumble documentation. It may also be necessary to check your Linux distribution’s Wiki for further instructions.

Once the Murmur configuration wizard opens up in the terminal, you’ll be asked to start murmurd at boot. Enabling murmurd at boot will allow your Mumble VOIP server always to be running, and you won’t need to start it up manually each time. Select “Yes” to enable auto-start.

On the next page, the Murmur configuration asks the user about “network priority.” Clicking on this option will allow the Mumble server to use significantly more network traffic. Only enable this option if you have the bandwidth. If high audio quality is a priority, select “yes.” Otherwise, select “no.”

After configuring the network, the Murmur wizard asks the user to set up a password for the default admin account. Make sure that this password is secure and memorable. Do not tell it to anyone, as it is used to modify and tweak the Mumble audio server directly.

When the new password is set, Mumble should work as a server, and users should be able to connect to it no problem.

Advanced Tweaks

The basic setup is good for most users. However, if you’d like more control over the Mumble server, you’ll need to edit the ini file. To edit the file, open up a terminal window and use the nano text editor.

sudo nano /etc/mumble-server.ini

Password

Scroll through the config file (with the up and down arrow keys) and remove the # sign in front of items you’d like to enable. To enable a password for your server, scroll down and find serverpassword=. Enter a password after the = sign.

Bandwidth

To change the bandwidth the server is allowed (the default is 7200 bits per second), find bandwidth= and change 7200 to a number more suited to your bandwidth.

Users

By default the Mumble server software allows 100 users to connect at any given time. 100 is a lot of users and uses about a gigabyte of RAM. If you’re hosting Mumble on lower-end software, you should consider changing the max user setting. Find “users” and change 100 to something else. A good preset might be 50, as it only uses 512 MB.

Port

Mumble’s VOIP connection goes out over the internet in port 64738. For most people, this port is fine. That said, sometimes specific ports cause problems (for whatever reason). If you’d like to change the default Mumble server port, look for port and change 64738 to another port not in use. Keep in mind that most users expect the default port, so it’s a good idea to let people know of the changes.

Security

Despite how simple Mumble is, the server software has a few security features. These features allow users to protect their servers from hacking attempts. To enable these features, look for autobanAttemptsautobanTimeframe, and autobanTime.

The default failed attempts (aka autobanAttempts) to ban on Mumble is 10. If you’re constantly facing attackers, it may be better to lower the number.  The other two ban settings are good in the original settings.

Welcome Text

When users connect to a Mumble server, the welcome text often pops up on the screen. If you go through the basic configuration for this tool, you won’t see an option to configure the welcome setting. However, if you’d like to add a custom message, find welcome=, remove the # and add a message. Keep in mind that you’ll need to write this in HTML markup.

Save all edits to the Mumble server configuration file in nano with Ctrl + O. Exit the editor with Ctrl + X.

Read How To Host A Mumble Server On Linux by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How To Record Skype Calls On Linux Using OpenBroadcaster

Recording Skype calls on Linux is a very tricky business. Microsoft continually updates the framework of the program, and how other tools can interact with it which breaks existing tools. For years, little programs like Skype Call Recorder could directly connect to the popular VOIP program and record everything but these days it’s not that easy to record Skype calls on Linux.

In this tutorial, we’ll use the recording function in the OpenBroadcaster software. We’ll go this route, as it can simultaneously record audio from a PC microphone input, as well as the PC audio at the same time.

Unfortunately, OBS only records in video FLV (flash) video format, so after getting our Skype call, we’ll need to convert the video to an MP3 file.

Follow the instructions below to install OBS on your Linux PC. Also, make sure you’ve got the latest version of Skype installed.

Record Skype Calls With OBS

Open up the OBS tool and look under “mixer.” It is an audio analyzer that lets you manage the sound volume (in the recording) for both the desktop audio, as well as the default microphone input. The mixer will show how levels look. Mess with these levels by dragging the slider around. Once you’re satisfied with the levels, open up Skype and start an audio call. You’ll notice that as you and your guest talk, the meters above the mixer start to move. Keep an eye on them, and make sure they don’t get too loud.

Look under sources and click the + sign. Add the source “Audio Output Capture (PulseAudio),” as well as Audio Input Capture (PulseAudio).

Note: Keep all other sounds on your Linux desktop muted, as they will appear in the recording and mess everything up.

Click the “Start Recording” button, and let your call go on. Record in OBS for as long as you’d like. When you’re done, click the “Stop Recording” button. When OBS finishes recording, you’ll see an FLV video file with the date in it. The FLV video is your OBS recording. Keep this FLV file in a safe place, as it’s the source file needed for the rest of this tutorial.

Convert FLV to MP3 With FFMPEG

Now that we have the Skype conversation recorded with OBS in an FLV file, we need to convert it to an audio file. The easiest way to do this is with the FFMPEG command-line encoder tool. Chances are pretty good that you’ve already got this tool on your PC. If not, follow the instructions to install FFMPEG on Linux.

Install FFMPEG

Ubuntu

sudo apt install ffmpeg

Debian

sudo apt-get install ffmpeg

Arch Linux

sudo pacman -S ffmpeg

Fedora

sudo dnf install ffmpeg

OpenSUSE

sudo dnf install ffmpeg

Other Linuxes

FFMPEG is a widely used encoding tool and the backbone of a lot of audio and video programs on Linux. If your distribution isn’t listed above and you need to install it, open up a terminal, use your package manager to search “FFMPEG.” Otherwise, visit the official FFmpeg website and learn how to build and install it by hand.

With FFMPEG on the system, the encoding can begin. Open the file manager to /home/, right-click on the FLV recording file, and change the name to skype-call.flv. Renaming will make it easier to write out the title in the terminal.

Next, use the encoding tool to convert FLV to MP3.

ffmpeg -i skype-call.flv skype-call.mp3

When FFmpeg finishes, you’ll see skype-call.mp3 in your /home/ directory.

Next, delete skype-call.flv, now that the recording is converted.

rm skype-call.flv

Editing Skype Recordings With Audacity

There are many audio editors on Linux, but for basic editing, you can’t go wrong with Audacity. To edit your newly converted MP3 file, install the Audacity tool.

Install Audacity

Ubuntu

sudo apt install audacity

Debian

sudo apt-get install audacity

Arch Linux

sudo pacman -S audacity

Fedora

sudo dnf install audacity

OpenSUSE

sudo zypper install audacity

After installing Audacity, open it up and click “File.” Inside the “File” menu, look for “Import” and hover over it. Inside “Import” select “Audio.” Clicking the audio option opens up a file browser. Use it to find skype-call.mp3, and click “open.”

Importing audio, especially long-form MP3 files (like a Skype conversation) could take a while, depending on your PC’s power. Give it a few minutes, and eventually, the MP3 file will be fully loaded into Audacity.

From here, feel free to use the Audacity audio editor to trim and make cuts to your Skype recording. When you’re satisfied with how everything looks, click “File” then “Export audio.” Use the pop-up menu to add ID3 metadata to the MP3 file, and then click the button to start the export process.

Keep in mind that exporting audio files (especially with more than two stereo tracks) can take a very long time.

A Note On Ethics & Legality

While Skype calls aren’t regulated the same way calls over a cellular network are, it may be illegal to record Skype calls unless everyone in the call knows they’re being recorded. Make sure you’re not violating any privacy laws in your country, and let the person on the other end know they’re being recorded out of courtesy.

Read How To Record Skype Calls On Linux Using OpenBroadcaster by Derrik Diener on AddictiveTips – Tech tips to make you smarter