JFTR on my Arch install printf "\a" and printf "\7" do not work when running them in xfce4-terminal 0.6.3 but they cause a beep when using MATE terminal 1.6.2 instead.