I found another way to produce the problem, instead of running: softbeep bash I set this environment variable: LD_PRELOAD="$LD_PRELOAD /usr/lib/softbeep/libsoftbeep.so" It seems that this is what actually causes the problem.