The XGetCommand errors don't mean anything
other than the fact that X is goofy and
doesn't give a proper return code for that
particular function sometimes.
As for the mem usage, bblaunch should exit
immediately after doing it's voodoo...if it
is still running/using any memory then
something is wrong. Let me know.
If something sometimes works it is probably
related to the amount of time it takes the
window to map. See the -p parameter.
All of that said, I'll tell you this: I
don't like bblaunch very much and don't
even use it. I am planning (when time
permits) to write a set of very small
applications--something along these lines:
xwinid
--launch <command> returns window id(s) after launching an app
--grab returns window id after pointing to a window
--focused returns window id of the focused window
--named returns window id(s) of named window
xwinmod - manipulate window based on window id
bbwinmod - change bb attributes based on window id
What does that mean? You could run an app without decor thusly:
bbwinmod --decor 0 --winid `xwinid --launch aterm`
..or minimize all of your aterms:
xwinmod --iconify --winid `xwinid --named aterm`
..or grab an image of the currently focused window:
import -frame -window `xwinid --focused` image.png
..and so on.
The possiblities are pretty limitless.
Especially when you think of this stuff
in terms of bbkeys mappings.
On Thu 16 Aug 2001 at 02:38 -0500,
Tony Godshall wrote:
> Hi blackboxers,
>
> When using bblaunch I usually get something like this, but
> it usually does what I want...
>
> bblaunch --omnipresent --decor 0 --stack 0 tkmixer -geometry 384x190-5-334 &
> bblaunch --omnipresent --decor 0 --stack 0 xautv -geometry -0-0 nbc &
>
> Warning: XGetCommand can't allocate enough memory
> Warning: XGetCommand can't allocate enough memory
> This is xawtv-3.60, running on Linux/i686 (2.4.6)
> Warning: XGetCommand can't allocate enough memory
>
> .... which is ridiculous:
>
> $ free
>
> > total used free shared buffers cached
> > Mem: 254684 223456 31228 0 3260 107616
> > -/+ buffers/cache: 112580 142104
> > Swap: 257000 45820 211180
>
> In this case, I got the above result with these cmds..
>
>
> Interestingly, somtimes the --decor 0 works and sometimes it
> doesn't. It always fails on mixer and usually succeeds on
> xawtv.
>
> Thanks for any assist or clarifications.
>
> --
> Tony
>
>
--
- Scott J Garner -
- Austin, TX - USA -
- ICQ: 17348307 AIM: Jungalero -
- OPN: MrFab -
----- End forwarded message -----
--
- Scott J Garner -
- Austin, TX - USA -
- ICQ: 17348307 AIM: Jungalero -
- OPN: MrFab -