Howdy gang,
Anybody have DISPLAY variable problems when running bb on a Solaris multi-head
display?
If I started a program from the root menu on the :0.1 (right) desktop, it would end up
displaying on the left desktop.
The same thing has happened on Solaris 2.6, 7, and 8.
I had to change the arg to the system() call from
sprintf(command, "DISPLAY=\"%s\" exec %s &", displaystring,
item->exec());
to
sprintf(command, "/bin/bash -c 'DISPLAY=%s exec %s' &", displaystring,
item->exec());
in order for it to pass the DISPLAY var correctly to the child environment.
Can anybody think of a cleaner solution? The Right Thing To Do (tm) would be to
create the child's environment and do the exec ourselves, but that's
excessively nasty. Brad did a system() call for a reason. :-)
Also, bbkeys-0.3.3 doesn't seem to handle key events from any desktop except
:0.0. It looks like it should work, but I don't have time right now to poke at
the code. It's probably not high on Jason's priority list, either. :-)
If anybody needs a test monkey for multi-display stuff, don't hesitate to
bother me.
G
--
Tim "Griffy" Strobell, [EMAIL PROTECTED], (301) 405-8175
Assistant Sysadmin, Server Janitor, and Customer Service Associate
Department of Mathematics, University of Maryland at College Park