Photon session domestication

We intend to customize photon session along to user access rigths
We modify these files in the user home directory:
profile, launch_menu.log, phapps, ABLANG, shelf configuration,

There seems to be following problems:

  1. To disable to a user possibility to configure system
    How to disable shelf setup menu?

  2. National environmet
    How to modify menu of pwm and possibly other system photon utilities to
    national environments?

  3. Login off from shelf menu command
    Program shutdown does not work at all, phshutdown does not accept options
    for quiet user login off.

  4. Auto login off after inactivity time expiration
    Any advise how to make it?
    Should replacement of screen saver by a shutdown script work?

Jiri Kristek
RETIA, a.s.

Jiri Kristek <jkristek@retia.cz> wrote:

We intend to customize photon session along to user access rigths
We modify these files in the user home directory:
profile, launch_menu.log, phapps, ABLANG, shelf configuration,

There seems to be following problems:

  1. To disable to a user possibility to configure system
    How to disable shelf setup menu?

There isn’t a way to do this at this time.


  1. National environmet
    How to modify menu of pwm and possibly other system photon utilities to
    national environments?

You can modify the menu by modifying the $HOME/.ph/wm/wm.menu file

  1. Login off from shelf menu command
    Program shutdown does not work at all, phshutdown does not accept options
    for quiet user login off.a

use shutdown -Suser


  1. Auto login off after inactivity time expiration
    Any advise how to make it?
    Should replacement of screen saver by a shutdown script work?

This would not be graceful. A better way would be to write an application
that throws up a region and collects input events. Everytime you get an
input event then you can start a timer. If you don’t get another input
event then run spawn shutdown. Now I kow that this sounds an awful lot like
setting up a screensaver but I don’t think that our screensaver interface
can handle this sort of thing. I tried what you suggested here and what
I got on the screen was not pretty so I don’t think that you want to try
it.

Thanks,
Rodney


Jiri Kristek
RETIA, a.s.

Thanks for reply.
Is it planned to have on option to disable shelf configuration in next
versions?

shutdown -Suser
results in: Error: Unable to locate the Photon server.
The result is the same on QNX6.1 and QNX6.1 patch A

Thanks for advise for autologin off, but it is conditioned by the
functionality of shutdown.

Jiri Kristek
RETIA, a.s.


Gui Group <gui@qnx.com> pí¹e v diskusním
pøíspìvku:9tlldb$pso$4@nntp.qnx.com

Jiri Kristek <> jkristek@retia.cz> > wrote:
We intend to customize photon session along to user access rigths
We modify these files in the user home directory:
profile, launch_menu.log, phapps, ABLANG, shelf
configuration,

There seems to be following problems:

  1. To disable to a user possibility to configure system
    How to disable shelf setup menu?

There isn’t a way to do this at this time.


2) National environmet
How to modify menu of pwm and possibly other system photon utilities to
national environments?

You can modify the menu by modifying the $HOME/.ph/wm/wm.menu file

  1. Login off from shelf menu command
    Program shutdown does not work at all, phshutdown does not accept
    options
    for quiet user login off.a

use shutdown -Suser


4) Auto login off after inactivity time expiration
Any advise how to make it?
Should replacement of screen saver by a shutdown script work?

This would not be graceful. A better way would be to write an
application
that throws up a region and collects input events. Everytime you get an
input event then you can start a timer. If you don’t get another input
event then run spawn shutdown. Now I kow that this sounds an awful lot
like
setting up a screensaver but I don’t think that our screensaver
interface
can handle this sort of thing. I tried what you suggested here and what
I got on the screen was not pretty so I don’t think that you want to try
it.

Thanks,
Rodney


Jiri Kristek
RETIA, a.s.

Hey Jiri

Jiri Kristek <jkristek@retia.cz> wrote:

Thanks for reply.
Is it planned to have on option to disable shelf configuration in next
versions?

Probably somewhere along the line we’ll have this as a feature but nothing
is planned right now.


shutdown -Suser
results in: Error: Unable to locate the Photon server.
The result is the same on QNX6.1 and QNX6.1 patch A

This is a known bug and it is reportedly fixed for RTP 6.1.1


Thanks for advise for autologin off, but it is conditioned by the
functionality of shutdown.

That’s true and hopefully with 6.1.1 you will be able to perform this
action.

Thanks
Rodney


Jiri Kristek
RETIA, a.s.



Gui Group <> gui@qnx.com> > pí¹e v diskusním
pøíspìvku:9tlldb$pso$> 4@nntp.qnx.com> …
Jiri Kristek <> jkristek@retia.cz> > wrote:
We intend to customize photon session along to user access rigths
We modify these files in the user home directory:
profile, launch_menu.log, phapps, ABLANG, shelf
configuration,

There seems to be following problems:

  1. To disable to a user possibility to configure system
    How to disable shelf setup menu?

There isn’t a way to do this at this time.


2) National environmet
How to modify menu of pwm and possibly other system photon utilities to
national environments?

You can modify the menu by modifying the $HOME/.ph/wm/wm.menu file

  1. Login off from shelf menu command
    Program shutdown does not work at all, phshutdown does not accept
    options
    for quiet user login off.a

use shutdown -Suser


4) Auto login off after inactivity time expiration
Any advise how to make it?
Should replacement of screen saver by a shutdown script work?

This would not be graceful. A better way would be to write an
application
that throws up a region and collects input events. Everytime you get an
input event then you can start a timer. If you don’t get another input
event then run spawn shutdown. Now I kow that this sounds an awful lot
like
setting up a screensaver but I don’t think that our screensaver
interface
can handle this sort of thing. I tried what you suggested here and what
I got on the screen was not pretty so I don’t think that you want to try
it.

Thanks,
Rodney


Jiri Kristek
RETIA, a.s.