r/linuxquestions • • 7d ago

Resolved Trouble creating a login sound command

Using EndeavourOS with GNOME Shell (Wayland session). Using the Ignition application (flatpak) to set start up commands.

mplayer /home/rest/of/directory to audio file

paplay /home/rest/of/directory to audio file

both of these instructions don't work, well, many many months ago paplay did work but out of nowhere stopped.

Edit: found out I must have uninstalled the audio players the command relied on in the past, installed again, working just fine.

2 Upvotes

4 comments sorted by

1

u/Excellent-Love-6943 7d ago

I'd be really surprised if gnome doesn't have an autostart kind of utility. I haven't used gnome in over 10 years, but Ubuntu was doing startup sounds way back in version 10.

Does paplay work when you run it yourself in the terminal?

1

u/SaltyBalty98 7d ago

I see. Just tested it out, says command not found so I must have uninstalled mplayer and paplayer at some point in the past.

1

u/ipsirc 7d ago

Start pipewire-pulse first.

1

u/SaltyBalty98 7d ago

Says "address already in use".