Audacious player doesn't play a list of audio files, when I mark and open several files in the file manager, since the update from 16.04 to 18.04

Well it's pretty much in the title.

I did the Update to Ubuntu 18.04 with the update manager. However, now when I select several files in the file manager and hit enter, only the last in the list gets opened and played by Audacious.


Apparently, my system behaves a bit weird. Three options to open multiple sound files

  • Selecting them in the file manager, hit enter
  • Selecting them, right click and click on Open with Audacious
  • Selecting them, right click, go to sub-menu Open with ..., and then selecting Audacious

Only when I do it following the steps listed in the last point, then Audacious opens all files and puts them in a list.


IMO the problem is with the developers of Audacious. They may say that this is not their problem, and rather a Nautilus problem, but they are the developers. So adapt! ;)

For those who do not want to wait, here is a working solution for Ubuntu 19.04. Create a script /home/myuser/.config/audacious/start-audacious.sh with the following contents:

#!/bin/bash

echo "$1" >> ~/.config/audacious/playlist.m3u

# Check if another instance of this script is running.
pidof -o %PPID -x $0 >/dev/null && echo "ERROR: Script $0 already running" && exit 1

sleep 0.1
audacious ~/.config/audacious/playlist.m3u
rm ~/.config/audacious/playlist.m3u

Then allow execution of this file:

chmod +x /home/myuser/.config/audacious/start-audacious.sh

Then edit the file /usr/share/applications/audacious.desktop and replace Exec=audacious %U with Exec=/home/myuser/.config/audacious/start-audacious.sh.

That's it. No restart needed for any service. Now go take Nautilus to your *.mp3 files, mark a couple, and press Enter. Audacious should open your selection.

P.S.: Replace myuser by your user! ;)


This Nautilus bug will hopefully be gone in Nautilus version 40 - the respective bug report has been closed by this commit.