Saturday, September 14, 2013

System beep not working in Ubuntu terminal

@problem
System beep not working in terminal
Ubuntu 13.04

@solving

$ sudo apt-get install x11-xkb-utils

$ mkdir ~/.xkb

$ cat > ~/.xkb/xkbevd.cf << !HEREDOC!
> soundDirectory="/usr/share/sound/ubuntu/stereo/"
> soundCmd="paplay"
> Bell() "bell.ogg"
> !HEREDOC!

$ echo << !HEREDOC! >> ~/.profile

> if [ -n "$DISPLAY" ]; then
> xkbevd -bg
> fi
> !HEREDOC!

@reference

xkbevd
paplay

No comments:

Post a Comment