alt-tab won't

Customer’s embedded Photon application lost the
ability to alt-tab between windows.
Seems wmswitch controls this-Photon is
started manually by a script:

Photon &

export
PATH=/proc/boot:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/opt/bin:/opt/sbin:/usr/photon/bin
export
LD_LIBRARY_PATH=/proc/boot:/lib:/dll:/usr/lib:/lib/dll:/opt/lib:/usr/photon/lib:/usr/photon/dll:/usr/local/lib:/lib/dll/font
export PHOTON_PATH=/usr/photon
export HOME=/root

setup mouse and keyboard:

inputtrap start
#devi-hirun kbd fd -d /dev/kbd
phfont -d /usr/photon/font_repository -D /usr/photon/font_repository &

start graphics driver:

io-graphics -g1024x768x8 -dldevg-svga.so -f &

start window manager:

pwm &
pterm &

Is it ok to run wmswitch just before
or after Photon is run?
I tried this in various places in the above
script, but wmswitch refuses to run.
Photon doesn’t start it up. Does it look for it
somewhere maybe?
wmswitch lives in /usr/photon/bin, same as Photon.


Using Opera’s revolutionary e-mail client: http://www.opera.com/m2/

Hello Alex

Try starting it after the window manager.

Thanks,
Rodney

Alex/Systems 104 wrote:

Customer’s embedded Photon application lost the
ability to alt-tab between windows.
Seems wmswitch controls this-Photon is
started manually by a script:

Photon &

export
PATH=/proc/boot:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/opt/bin:/opt/sbin:/usr/photon/bin

export
LD_LIBRARY_PATH=/proc/boot:/lib:/dll:/usr/lib:/lib/dll:/opt/lib:/usr/photon/lib:/usr/photon/dll:/usr/local/lib:/lib/dll/font

export PHOTON_PATH=/usr/photon
export HOME=/root

setup mouse and keyboard:

inputtrap start
#devi-hirun kbd fd -d /dev/kbd
phfont -d /usr/photon/font_repository -D /usr/photon/font_repository &

start graphics driver:

io-graphics -g1024x768x8 -dldevg-svga.so -f &

start window manager:

pwm &
pterm &

Is it ok to run wmswitch just before
or after Photon is run?
I tried this in various places in the above
script, but wmswitch refuses to run.
Photon doesn’t start it up. Does it look for it
somewhere maybe?
wmswitch lives in /usr/photon/bin, same as Photon.

On Mon, 16 May 2005 15:17:08 -0400, Rodney Dowdall <rdowdall@qnx.com>
wrote:

Hello Alex

Try starting it after the window manager.

Thanks-will try this.

On Mon, 16 May 2005 15:17:08 -0400, Rodney Dowdall <rdowdall@qnx.com>
wrote:

Hello Alex

Try starting it after the window manager.

Doesn’t want to keep running there either…
Any ideas?

Alex/Systems 104 wrote:

On Mon, 16 May 2005 15:17:08 -0400, Rodney Dowdall <> rdowdall@qnx.com
wrote:

Hello Alex

Try starting it after the window manager.


Doesn’t want to keep running there either…
Any ideas?

What do yo mean it doesn’t want to keep running? Can you start it from
the command line once the pterm is up?

Rodney

On Tue, 17 May 2005 15:36:02 -0400, Rodney Dowdall <rdowdall@qnx.com>
wrote:

What do yo mean it doesn’t want to keep running? Can you start it from
the command line once the pterm is up?

pidin doesn’t show it
Yes, can run it from pterm no problem


Using Opera’s revolutionary e-mail client: http://www.opera.com/m2/

Alex/Systems 104 wrote:

On Tue, 17 May 2005 15:36:02 -0400, Rodney Dowdall <> rdowdall@qnx.com
wrote:

What do yo mean it doesn’t want to keep running? Can you start it
from the command line once the pterm is up?


pidin doesn’t show it
Yes, can run it from pterm no problem

Put a sleep 1 after the call to pwm in your script and then try starting
wmswtich after that. Do you get any errors from your script when you
run it?

Rodney