From owner-freebsd-questions@FreeBSD.ORG Wed Nov 3 08:48:35 2004 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 7732916A4CE for ; Wed, 3 Nov 2004 08:48:35 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D14643D1D for ; Wed, 3 Nov 2004 08:48:35 +0000 (GMT) (envelope-from kjelderg@gmail.com) Received: by rproxy.gmail.com with SMTP id z35so78061rne for ; Wed, 03 Nov 2004 00:48:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=dP7VhEEYuMs3wIu73IZVRy07YgEtCj47M2qBriOWQ/iQnPb7HhSmIp55f1CSK0YkJN1Rcr8tR9GIvbHG9aeckTCpDKZllv1qfpoLV+kLqje4jror3ydEqDn3h36w6hF2UiPwLvnOoKaAxr0ZPJ3b5bre1n2UEt0mlBgwuS0zhMg= Received: by 10.39.2.6 with SMTP id e6mr235260rni; Wed, 03 Nov 2004 00:48:34 -0800 (PST) Received: by 10.38.15.69 with HTTP; Wed, 3 Nov 2004 00:48:34 -0800 (PST) Message-ID: Date: Wed, 3 Nov 2004 02:48:34 -0600 From: Eric Kjeldergaard To: m.hauber@mchsi.com In-Reply-To: <200411021855.52247.m.hauber@mchsi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <200411021855.52247.m.hauber@mchsi.com> cc: freebsd-questions@freebsd.org Subject: Re: blackbox, bbkeys, and .xinit... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Eric Kjeldergaard List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2004 08:48:35 -0000 On Tue, 2 Nov 2004 18:55:51 -0500, Mike Hauber wrote: > Greets, > > This is something I haven't had to mess with before, and I'm > confused by the docs... > > I have several WMs installed on my FreeBSD (4.10) desktop, > one of which is blackbox. Is there a way to uniquely state > that if blackbox loads, then bbkeys should load as well? > > The instructions say to add the command to my ~/.xinit file, > but if I do that, then bbkeys will load with whatever I > start (If I understood it correctly. Like I said, I've not > had to do this before). > > Oh yeah... I'm running KDM from /etc/ttys at startup (if > that matters). > Well, you could do the following (which is dirty, but popped into my head) if (ps | grep blackbox | grep -v grep > /dev/null); then bbkeys; fi -- If I write a signature, my emails will appear more personalised.