blackbox, bbkeys, and .xinit...
Eric Kjeldergaard
kjelderg at gmail.com
Wed Nov 3 00:48:35 PST 2004
On Tue, 2 Nov 2004 18:55:51 -0500, Mike Hauber <m.hauber at 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.
More information about the freebsd-questions
mailing list