Photon: disable PWM bar?

Hello,

I was wondering if there is a way to have a program disable the PWM bar
from popping up?

Currently, in a Phindows session, at any time, the user can move their
mouse down to the bottom of screen, and the PWM bar will pop up.

Our current main application runs smaller applicatiosn that run in their
own windows. On the main application, there is an option to “lock
workstation”; this locks it’s main program (the user has to enter a
password to get back in). The other apps spawned by the main program are
still accessible from the PWM bar.

Is there a way that we can have the main program disable the bar when
the user selects “lock workstation”? We need to prevent it from popping
up when the main program is in this locked state.


Any help is appreciated!
Sincerely,
Adrian Mellognio

Hello Adrian,

There are two things you could do here. You could remove shelf while the
system is locked and then restart it once it’s unlocked. This is really a
brute force approach, which isn’t a very nice solution. It would be better
to put up a region just after the device region and block all events from
getting through.

I hope this helps.

Regards,
Dave B.

“Adrian Mellognio” <amellognio@crisys.com> wrote in message
news:3EDFA3E6.2070608@crisys.com

Hello,

I was wondering if there is a way to have a program disable the PWM bar
from popping up?

Currently, in a Phindows session, at any time, the user can move their
mouse down to the bottom of screen, and the PWM bar will pop up.

Our current main application runs smaller applicatiosn that run in their
own windows. On the main application, there is an option to “lock
workstation”; this locks it’s main program (the user has to enter a
password to get back in). The other apps spawned by the main program are
still accessible from the PWM bar.

Is there a way that we can have the main program disable the bar when
the user selects “lock workstation”? We need to prevent it from popping
up when the main program is in this locked state.


Any help is appreciated!
Sincerely,
Adrian Mellognio

hi
How to give specific location for any region ?

thanks
sameer



“Dave Boltz” <dboltz@qnx.com> wrote in message
news:bbq17l$erj$1@nntp.qnx.com

Hello Adrian,

There are two things you could do here. You could remove shelf while the
system is locked and then restart it once it’s unlocked. This is really a
brute force approach, which isn’t a very nice solution. It would be
better
to put up a region just after the device region and block all events from
getting through.

I hope this helps.

Regards,
Dave B.

“Adrian Mellognio” <> amellognio@crisys.com> > wrote in message
news:> 3EDFA3E6.2070608@crisys.com> …
Hello,

I was wondering if there is a way to have a program disable the PWM bar
from popping up?

Currently, in a Phindows session, at any time, the user can move their
mouse down to the bottom of screen, and the PWM bar will pop up.

Our current main application runs smaller applicatiosn that run in their
own windows. On the main application, there is an option to “lock
workstation”; this locks it’s main program (the user has to enter a
password to get back in). The other apps spawned by the main program are
still accessible from the PWM bar.

Is there a way that we can have the main program disable the bar when
the user selects “lock workstation”? We need to prevent it from popping
up when the main program is in this locked state.


Any help is appreciated!
Sincerely,
Adrian Mellognio

Hi Dave,

We’ve decided to disable the bar alltogether. In this particular
application, it’s use is not required.

So, I checked out the Photon documentation, and it says that I can
disable the bar by launching PWM with the -P option. If I slay the
current bar and re-launch with -P, it works as it’s supposed to.

How do I make pwm launch with the -P option at start up (say, in a
Phindows session)? We want all Phindows clients to have no access to the
bar. I checked $HOME/.photon/pwm/pwm.cfg, but that file is binary data,
it looks like.

pwmopts doesn’t allow you to disable the bar, rather it allows you to
hide or unhide it (this is not enough).

So I need to have the bar launch with the -P option at startup.

Any help is appreciated!

Sincerely,
Adrian Mellognio




Dave Boltz wrote:

Hello Adrian,

There are two things you could do here. You could remove shelf while the
system is locked and then restart it once it’s unlocked. This is really a
brute force approach, which isn’t a very nice solution. It would be better
to put up a region just after the device region and block all events from
getting through.

I hope this helps.

Regards,
Dave B.

“Adrian Mellognio” <> amellognio@crisys.com> > wrote in message
news:> 3EDFA3E6.2070608@crisys.com> …

Hello,

I was wondering if there is a way to have a program disable the PWM bar
from popping up?

Currently, in a Phindows session, at any time, the user can move their
mouse down to the bottom of screen, and the PWM bar will pop up.

Our current main application runs smaller applicatiosn that run in their
own windows. On the main application, there is an option to “lock
workstation”; this locks it’s main program (the user has to enter a
password to get back in). The other apps spawned by the main program are
still accessible from the PWM bar.

Is there a way that we can have the main program disable the bar when
the user selects “lock workstation”? We need to prevent it from popping
up when the main program is in this locked state.


Any help is appreciated!
Sincerely,
Adrian Mellognio
\

Disabling bar for Phindows client:

  • add following line to /etc/config/phrelay
    nobar % -WP /usr/photon/bin/pdm # Photon Desktop without bar

  • run phwindows
    “C:\Program Files\Phindows\phindows.exe” -snobar -t192.168.1.xxx

“Adrian Mellognio” <amellognio@crisys.com> wrote in message
news:3EE9EB9B.7030904@crisys.com

Hi Dave,

We’ve decided to disable the bar alltogether. In this particular
application, it’s use is not required.

So, I checked out the Photon documentation, and it says that I can
disable the bar by launching PWM with the -P option. If I slay the
current bar and re-launch with -P, it works as it’s supposed to.

How do I make pwm launch with the -P option at start up (say, in a
Phindows session)? We want all Phindows clients to have no access to the
bar. I checked $HOME/.photon/pwm/pwm.cfg, but that file is binary data,
it looks like.

pwmopts doesn’t allow you to disable the bar, rather it allows you to
hide or unhide it (this is not enough).

So I need to have the bar launch with the -P option at startup.

Any help is appreciated!

Sincerely,
Adrian Mellognio




Dave Boltz wrote:

Hello Adrian,

There are two things you could do here. You could remove shelf while
the
system is locked and then restart it once it’s unlocked. This is really
a
brute force approach, which isn’t a very nice solution. It would be
better
to put up a region just after the device region and block all events
from
getting through.

I hope this helps.

Regards,
Dave B.

“Adrian Mellognio” <> amellognio@crisys.com> > wrote in message
news:> 3EDFA3E6.2070608@crisys.com> …

Hello,

I was wondering if there is a way to have a program disable the PWM bar
from popping up?

Currently, in a Phindows session, at any time, the user can move their
mouse down to the bottom of screen, and the PWM bar will pop up.

Our current main application runs smaller applicatiosn that run in their
own windows. On the main application, there is an option to “lock
workstation”; this locks it’s main program (the user has to enter a
password to get back in). The other apps spawned by the main program are
still accessible from the PWM bar.

Is there a way that we can have the main program disable the bar when
the user selects “lock workstation”? We need to prevent it from popping
up when the main program is in this locked state.


Any help is appreciated!
Sincerely,
Adrian Mellognio

\