very WIP…
zef install --deps-only --contained --install-to=./local/ .
then `raku ./media-control.raku`
On my NAS:
``/etc/inittab``::
c8:2345:respawn:/sbin/agetty --autologin dakkar 38400 tty8 linux
``/home/dakkar/.bash_profile``::
if [[ -z "$DISPLAY" ]]; then
TTY=$(tty)
[[ "${TTY/tty}" != "$TTY" && "${TTY:8:1}" = "8" ]] &&
exec startx >~/xsession-errors 2>&1
fi
``/home/dakkar/.xinitrc`::
#!/bin/sh
if [[ -z "$DBUS_SESSION_BUS_ADDRESS" ]]; then
eval $(dbus-launch --exit-with-x11 --sh-syntax)
fi
cd
export LC_ALL=en_US.UTF-8
xset s off
xset -dpms
gamma 1
xsetroot -solid black
xrdb -load .Xdefaults
start-pulseaudio-x11
/usr/bin/mpd /home/dakkar/mpd/mpd.conf
cvlc -f &
exec fvwm
plus an empty ``/home/dakkar/.fvwm/.fvwm2rc``
The window manager is necessary for vlc to enter full screen.