Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Nov 2004 02:48:34 -0600
From:      Eric Kjeldergaard <kjelderg@gmail.com>
To:        m.hauber@mchsi.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: blackbox, bbkeys, and .xinit...
Message-ID:  <d9175cad0411030048556faaf3@mail.gmail.com>
In-Reply-To: <200411021855.52247.m.hauber@mchsi.com>
References:  <200411021855.52247.m.hauber@mchsi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2 Nov 2004 18:55:51 -0500, Mike Hauber <m.hauber@mchsi.com> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d9175cad0411030048556faaf3>