dwm used to accept status text for display on its "bar" from stdin. As of 5.4, text is sent to be displayed using xsetroot. So the default status text loop included in /etc/X11/Xsessions/dwm no longer works. Reproducible: Always Steps to Reproduce: emerge x11-wm/dwm-5.4.1 Actual Results: Unless the user creates a ~/.dwm/dwmrc file, the window manager displays no status text. Expected Results: The current default /etc/X11/Xsessions/dwm file was intended to display the output of `date`. Being nothing but a clock, this would be trivial, except the default Xsession file serves as an example used by new users as to how they can arbitrarily set the status text, which is an important feature of the window manager. Proposed replacement /etc/X11/Xsessions/dwm file: --------------------------------------------------------------- #!/bin/sh # call user status message script or use default DIR=${HOME}/.dwm if [ -f "${DIR}"/dwmrc ]; then /bin/sh "${DIR}"/dwmrc & else while true; do xsetroot -name "$(date +"%a %b %-e %T")" sleep 1 done & fi # start window manager exec /usr/bin/dwm --------------------------------------------------------------
Fix in cvs
Thank you, Cédric.