1831352 Members
3033 Online
110024 Solutions
New Discussion

CDE Configuration

 
SOLVED
Go to solution
Jason Berendsen
Regular Advisor

CDE Configuration

Is there an easier way to individually take away buttons on a CDE desktop other than moving the /usr/dt/appconfig/types/C/dtwm.fp and creating a customized one in everyones $HOME/.dt/types directory?

Is there a configuration file that states use the /usr/dt/appconfig/types/C/dtwm.fp only if there isn't one in the users home directory?
5 REPLIES 5
Sachin Patel
Honored Contributor

Re: CDE Configuration

Hi Jason,
If you want to take away button for everyone here is the process.

for example disabling Screen saver button
1. cp /usr/dt/app-defaults/C/Dtstyle /etc/dt/app-defaults/C

2. Edit /etc/dt/app-defaults/C/Dtstyle and remove the word
"screen" as shown below:

Change this line:

Dtstyle*componentList: Color Font Backdrop Keyboard Mouse Beep
Screen Dtwm Startup

To:

Dtstyle*componentList: Color Font Backdrop Keyboard Mouse Beep
Dtwm Startup

Note: This change will remove the Screensaver option from the Style manager.

3. Edit /etc/dt/config/C/sys.resources and add the following two
lines:

dtsession*extension.saverTimeout: 0
dtsession*extension.lockTimeout: 0

Note: These two settings will disable the screen saver and screen lock, respectively.

4. To make these changes take effect for all users, remove their
$HOME/.dt directories

Sachin
Is photography a hobby or another way to spend $
Jason Berendsen
Regular Advisor

Re: CDE Configuration

I'm actually looking for the opposite. For instance how would I take away the mail button from specific users, not from all users?
Mike Stroyan
Honored Contributor
Solution

Re: CDE Configuration

You can actually delete a control like the mail button in a user specific .fp file.
It is described in "man dtfpfpile".
~/.dt/types/nomail.fp -
CONTROL Mail
{
TYPE icon
CONTAINER_NAME Top
CONTAINER_TYPE BOX
DELETE True
}
Jason Berendsen
Regular Advisor

Re: CDE Configuration

Mike,

I couldn't find any information on dtfpfpile, but I used your example and it was exactly what I needed.

Thanks,

Jason
Mike Stroyan
Honored Contributor

Re: CDE Configuration

That dtfpfpile should really be dtfpfile.