quick question about turning the annoying beep off in X

Dan Nelson dnelson at allantgroup.com
Thu Nov 13 13:58:44 PST 2003


In the last episode (Nov 13), twig les said:
> Hey all, in my /etc/csh.cshrc I have
> 
> xset b off
> 
> which does what I want, which is to tell X to shut up without me
> having to type the command in every X session.  But it seems clumsy
> as it puts up an error "xset: unable to open display """ when I ssh
> in.  I fully understand that this *should* be an error because
> csh.cshrc is a shell init file, I just tried this in .xinitrc and it
> didn't work.  Putting it in
> /usr/X11R6/bin/startx had predictably bad results.
> 
> So anyone know the correct file for this command?

I'm pretty sure .xinitrc is the one you want.  Make sure you run the
command before any session managers etc.  I just tested it and it works
for me.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list