From owner-freebsd-questions@FreeBSD.ORG Thu Nov 13 13:52:30 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B972B16A4CE for ; Thu, 13 Nov 2003 13:52:30 -0800 (PST) Received: from catseye.mine.nu (d154-5-164-0.bchsia.telus.net [154.5.164.0]) by mx1.FreeBSD.org (Postfix) with SMTP id E15D843FBF for ; Thu, 13 Nov 2003 13:52:27 -0800 (PST) (envelope-from catseye@catseye.mine.nu) Received: (qmail 44356 invoked by uid 1001); 13 Nov 2003 21:55:14 -0000 Date: Thu, 13 Nov 2003 13:55:14 -0800 From: Chris Pressey To: twig les Message-Id: <20031113135514.6496ffa0.cpressey@catseye.mine.nu> In-Reply-To: <20031113214443.73903.qmail@web60402.mail.yahoo.com> References: <20031113214443.73903.qmail@web60402.mail.yahoo.com> Organization: Cat's Eye Technologies X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: quick question about turning the annoying beep off in X X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2003 21:52:30 -0000 On Thu, 13 Nov 2003 13:44:43 -0800 (PST) twig les wrote: > 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? You could try ~/.xsession, although I think that might only work when you run xdm. If all else fails, you could just call it like xset b off >& /dev/null although that, too, is a bit of an ugly hack (if it ever generates output that you *do* care about, you won't see it.) -Chris