[artix-general] My alarm clock is now broken and I am desperate to fix this ASAP

Jeff Pohlmeyer yetanothergeek at gmail.com
Fri Oct 22 11:00:07 CEST 2021


On Fri, Oct 22, 2021 at 3:03 AM Ruben Safir <ruben at mrbrklyn.com> wrote:

> Evidently now I can not run a sound program through cron
> 35 19 * * * /usr/bin/mplayer /home/ruben/docs/Rav\ Shorr\ Shium/*mp3 >>

> Oct 21 19:35:01 flatbush CROND[31748]: (ruben) CMD (/usr/bin/mpg123
> /home/ruben/docs/Rav\ Shorr\ Shium/*mp3 >> /dev/null)

> Oct 21 19:35:01 flatbush pulseaudio[31755]: [pulseaudio] main.c: Unable
> to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to
> autolaunch a dbus-daemon without a $DISPLAY for X11

Your config file says /usr/bin/mplayer but your log file says
/usr/bin/mpg123 ???

If you really are using mplayer you might try:

/usr/bin/mplayer -ao alsa /home/ruben/WTF/*.mp3

Maybe then it will use ALSA instead of pus audio.

 - Jeff


More information about the artix-general mailing list