Execute a command immediately after WM starts up (and only then)
Execute a command immediately after WM starts up (and only then)
- Subject: Execute a command immediately after WM starts up (and only then)
- From: "MacQueen, Don" <email@hidden>
- Date: Wed, 02 Nov 2011 07:57:35 -0700
- Acceptlanguage: en-US
- Thread-topic: Execute a command immediately after WM starts up (and only then)
I would appreciate guidance on how to execute a command just
after the window manager has finished starting up, when I've
used X11.app to start up the X server.
Details below.
Thanks
-Don
I'm wanting to use the blackbox window manager (reasons give below, if
anyone cares).
I've followed Jeremy's advice (found in another email to X11-users, thank
you) to create my own .xinitrc.d directory.
mkdir ~/.xinitrc.d
echo "USERWM=/opt/local/bin/blackbox" > ~/.xinitrc.d/99-wm.sh
chmod 755 ~/.xinitrc.d/99-wm.sh
and with that blackbox starts up just fine.
However, I would like to also use two "helper" utilities,
bbkeys
bbpager
compiled from source, and they work when manually executed from
an xterm shell.
Rather naively, I tried making my 99-wm.sh look like this:
USERWM=/opt/local/bin/blackbox
/usr/local/bin/bbkeys & /usr/local/bin/bbpager &
bbkeys succeeds, but bbpager does not, from which I infer that bbpager
needs a running WM, hence my request for info on how to execute it after
the WM has finished starting up.
Looking at the shell scripts in
/usr/X11/lib/X11/xinit/xinitrc.d/
I see that what I did in 99-wm.sh is NOT how things should be done.
------------------------------------------
My reasons for using blackbox are:
- it supports virtual desktops
- I can customize key strokes (I use F1 to raise the window under the
mouse)
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden