aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorubuntuperonista <30541016+ubuntuperonista@users.noreply.github.com>2023-01-28 21:08:24 -0300
committerGitHub <noreply@github.com>2023-01-28 21:08:24 -0300
commitcf17afb2a08a43372d4539aae2ee3a203a50f288 (patch)
tree6669fefe7d529e02ca4d112f6c39463659d2bd35
parent38a51107f22dd61fbe8e870debea69ba8c5dcca4 (diff)
downloadterminal_bell_on_compiz-cf17afb2a08a43372d4539aae2ee3a203a50f288.tar.gz
Create terminal_bell_on_compiz.sh
-rw-r--r--terminal_bell_on_compiz.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/terminal_bell_on_compiz.sh b/terminal_bell_on_compiz.sh
new file mode 100644
index 0000000..5548439
--- /dev/null
+++ b/terminal_bell_on_compiz.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+## This script set the terminal bell ON Compiz
+## with Ubuntu Mate 20.04LTS and 22.04LTS
+
+##set the sound sample for the bell
+pactl upload-sample /usr/share/sounds/freedesktop/stereo/bell.oga x11-bell >> /dev/null
+
+#load the module in order to be able to play the bell event
+pactl load-module module-x11-bell sample=x11-bell display=$DISPLAY >> /dev/null
Un proyecto texto-plano.xyz