1837195 Members
2644 Online
110114 Solutions
New Discussion

Re: CDE

 
Danny Crisp
Frequent Advisor

CDE

I want to be able to prevent users from customizing CDE once logged in. I have done this to a degree but have been unsuccessful preventing the deletion/creation of sub-panels and workspaces.
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: CDE

Shalom Danny,

This is a surprising amount of control you want.

It can be done by changing the ownership of the files in the .dt directories.

The user needs read only priviledges.

You may have to do some trial and error becasue certain files may need rw permission for CDE to operate.

Alternative would be to have a clean copy of the .dt directory files elsewhere on the system and copy them in for every user using cron.

They could customize but the changes would be gone next login.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Alex Glennie
Honored Contributor

Re: CDE

The Workspace Manager provides a resource for changing the default number of workspaces.

Use the workspaceCount resource to set the number of workspaces:
Dtwm*workspaceCount: number
For information about setting Workspace Manager resources, see Setting Application Resources in the CDE advanced users guide

However if these are existing users with saved sessions bear in mind Dtwm*workspaceCount is one of the dynamic resources that is saved as
part of a session in ~/.dt/sessions/{home,current}/dt.resources

As to the sub panels ... not in office to test ... perhaps a customised XDM / failsafe session is more applicable rather than trying to unconfigure cde.
Danny Crisp
Frequent Advisor

Re: CDE

I have found a solution to this question