gsettings set org.gnome.desktop.wm.preferences visual-bell true

Quelle: Terminal in Gnome 3: Disable audible bell, enable visual bell – Ask Ubuntu