After switching to XFCE, one thing that I'm missing fondly is the terminal beep/bell.
I don't see any promising setting in xfce4-terminal. What I'm looking for is what Gnome did – use an audio effect for a terminal beep, and not the motherboard speaker. Anyone knows if that's possible?
Heinz Diehl writes:
On 28.12.2014, Sam Varshavchik wrote:
After switching to XFCE, one thing that I'm missing fondly is the terminal beep/bell.
What is the output of "grep -i bell ~/.config/xfce4/terminal/terminalrc"?
[Configuration] ColorBackground=#ffffffffffff MiscAlwaysShowTabs=FALSE MiscBell=FALSE MiscBordersDefault=TRUE MiscCursorBlinks=FALSE MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK MiscDefaultGeometry=80x24 MiscInheritGeometry=FALSE MiscMenubarDefault=TRUE MiscMouseAutohide=FALSE MiscToolbarDefault=FALSE MiscConfirmClose=TRUE MiscCycleTabs=TRUE MiscTabCloseButtons=TRUE MiscTabCloseMiddleClick=TRUE MiscTabPosition=GTK_POS_TOP MiscHighlightUrls=TRUE ColorForeground=#000000000000
I don't see any knobs in xfce4-terminal for that "MiscBell" setting, though.
Sam Varshavchik writes:
Heinz Diehl writes:
On 28.12.2014, Sam Varshavchik wrote:
After switching to XFCE, one thing that I'm missing fondly is the terminal beep/bell.
What is the output of "grep -i bell ~/.config/xfce4/terminal/terminalrc"?
[Configuration] ColorBackground=#ffffffffffff MiscAlwaysShowTabs=FALSE MiscBell=FALSE MiscBordersDefault=TRUE MiscCursorBlinks=FALSE MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK MiscDefaultGeometry=80x24 MiscInheritGeometry=FALSE MiscMenubarDefault=TRUE MiscMouseAutohide=FALSE MiscToolbarDefault=FALSE MiscConfirmClose=TRUE MiscCycleTabs=TRUE MiscTabCloseButtons=TRUE MiscTabCloseMiddleClick=TRUE MiscTabPosition=GTK_POS_TOP MiscHighlightUrls=TRUE ColorForeground=#000000000000
I don't see any knobs in xfce4-terminal for that "MiscBell" setting, though.
I manually changed MiscBell to TRUE, but that didn't help.
try install gnome-terminal under XFCE? yum install gnome-terminal
suomi
On 2014-12-28 16:10, Sam Varshavchik wrote:
After switching to XFCE, one thing that I'm missing fondly is the terminal beep/bell.
I don't see any promising setting in xfce4-terminal. What I'm looking for is what Gnome did – use an audio effect for a terminal beep, and not the motherboard speaker. Anyone knows if that's possible?
On Sun, Dec 28, 2014 at 10:10:09AM -0500, Sam Varshavchik wrote:
After switching to XFCE, one thing that I'm missing fondly is the terminal beep/bell.
I don't see any promising setting in xfce4-terminal. What I'm looking for is what Gnome did – use an audio effect for a terminal beep, and not the motherboard speaker. Anyone knows if that's possible?
Here's a script, /usr/local/bin/beep, that I find useful:
NBEEPS=${1:-10000} REP=`expr $NBEEPS - 1` AUDIODEV=hw:0 /bin/play /usr/share/sounds/KDE-Sys-App-Message.ogg \ gain -0 pad 0 .4 reverb repeat $REP 2> /dev/null
Note the use of AUDIODEV=hw:0 setting for the /bin/play command. That causes play (or sox) to send output directly to the alsa device, bypassing pulseaudio. That allows root, or any user, to run it. Depending on your audio hardware, you might have to alter hw:0. Check with aplay -l.
On 28.12.2014, Sam Varshavchik wrote:
I manually changed MiscBell to TRUE, but that didn't help.
Yes, it did some time ago. Unfortunately, this seems to be a bug which different maintainers/people still try to assign to each other, without any solution..
David A. De Graaf writes:
On Sun, Dec 28, 2014 at 10:10:09AM -0500, Sam Varshavchik wrote:
After switching to XFCE, one thing that I'm missing fondly is the terminal beep/bell.
I don't see any promising setting in xfce4-terminal. What I'm looking for
is
what Gnome did – use an audio effect for a terminal beep, and not the motherboard speaker. Anyone knows if that's possible?
Here's a script, /usr/local/bin/beep, that I find useful:
NBEEPS=${1:-10000} REP=`expr $NBEEPS - 1` AUDIODEV=hw:0 /bin/play /usr/share/sounds/KDE-Sys-App-Message.ogg \ gain -0 pad 0 .4 reverb repeat $REP 2> /dev/null
Note the use of AUDIODEV=hw:0 setting for the /bin/play command.
Well, yes, that's the way to play the terminal bell sound.
This is the easy part. The difficult part here is to arrange for all of this to happen when something prints ASCII BEL in an xfce4-terminal console.
It's funny how the expected behavior sinks down in your subconsiousness to the point that you only become aware of it when it no longer occurs.