On Do, 12.10.2006 23:52, Joseph Horvath wrote:
>I have a simple problem. I want a sound notification of
>new mail, just a simple system beep. I know there is the command 'tput
>bel' and that works when I type it in a terminal and press 'Enter'.
It works there because "tput" is a command that queries the terminal.
If it is not executed from a terminal, it won't work.
>But
>I can't get it to work in Configuration > Preferences > Receive > Run
>Command. Do I have to write a script, what would be the right syntax?
No, you don't need a script. You can make sure that your command is
executed in a terminal:
<my-terminal> -e "tput bel"
where <my-terminal> is for example xterm, or gnome-terminal, or
whatever.
On the other hand, this will have an annoying terminal window pop up
briefly.
Possibly the easiest solution is to install the "beep" program, which
lets you beep in all frequencies and morse-code sequences you can
possibly think of, and which does not need a terminal to do so.
Holger
---------------------------------------------------------------------
To unsubscribe, e-mail:
sylpheed-claws-users-unsubscribe@...
For additional commands, e-mail:
sylpheed-claws-users-help@...