From owner-freebsd-questions@FreeBSD.ORG Thu Nov 13 13:58:44 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 65DF116A4CE for ; Thu, 13 Nov 2003 13:58:44 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8860843FE9 for ; Thu, 13 Nov 2003 13:58:39 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id hADLwdsM025513; Thu, 13 Nov 2003 15:58:39 -0600 (CST) (envelope-from dan) Date: Thu, 13 Nov 2003 15:58:39 -0600 From: Dan Nelson To: twig les Message-ID: <20031113215838.GE24018@dan.emsphone.com> References: <20031113214443.73903.qmail@web60402.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031113214443.73903.qmail@web60402.mail.yahoo.com> X-OS: FreeBSD 5.1-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.5.1i 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:58:44 -0000 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@allantgroup.com