[Pkg-urxvt-maintainers] Bug#633989: Bug#633989: Bug#633989: rxvt-unicode: add -blc option to specify command to play instead of sounding bell

Jamie McClelland jamie at mayfirst.org
Tue Jul 19 23:38:56 UTC 2011


On Tue Jul 19, Ryan Kavanagh wrote:
> Hi Again,
> 
> On Tue, Jul 19, 2011 at 01:27:14PM -0400, Ryan Kavanagh wrote:
> > Please don't hesitate to let me know if you're interested in writing the
> > perl extension.
> 
> I decided to try my hand at writing the extension, you can find a copy
> attached. You'll need to set the bellCommand resource to use it, it's
> currently not possible to add an option (ex: -blc) with perl extensions.
> 
> Please test and let me know how it goes.

Many thanks Ryan! This is great! I can't believe I waited this long to
ask :).

For anyone stumbling upon this thread, I got it working by:

 * create personal perl directory:
   mkdir ~/perl
 * copy blc file to ~/perl
   cp /place/you/downloaded/blc ~/perl
 * launch rxvt with:

rxvt --perl-lib ~/perl -pe blc -xrm 'URxvt.bellCommand: /usr/bin/notify-send "Ding Ding Ding"'

This example assumes you have libnotify-bin installed.

jamie

-- 
Jamie McClelland
718-303-3204 ext. 1

May First/People Link
Growing networks to build a just world
http://www.mayfirst.org
https://support.mayfirst.org
Members Local 1180, Communications Workers of America, AFL-CIO

PGP Key: http://current.workingdirectory.net/pages/identity/ 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-urxvt-maintainers/attachments/20110719/1a6ac874/attachment-0001.pgp>


More information about the Pkg-urxvt-maintainers mailing list