Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I disable the "lock screen" option in CDE?

Status
Not open for further replies.

krishania

Instructor
Mar 7, 2001
22
0
0
US
Does anyone know how the lock screen option can be disabled for users, on the CDE?

Kris.
 
yes you can.
lock for a file called dtwm.fp
in users-homedir/.dt /usr/dt and /etc/dt
my be using find
find /usr/dt /etc/dt users-homedir/.dt | grep '\.fp'
edit thos files, loock for
PUSH.*LockDisplay
comment this line and append something like
PUSH_ACTION f.refresh

first save your files.
------------ jamisar
Einfachheit ist das Resultat der Reife. (Friedrich Schiller)
Simplicity is the fruit of maturity.
 
jamisar,

I tried that. I found two files name dtwm.fp in /usr/dt/appconfig/types/C and /usr/dt/appconfig/types/en_US.UTF-8

In these files, I could not find
PUSH.*LockDisplay
but I found a
PUSH_ACTION LockDisplay.

I commented these out and put in
PUSH_ACTION f.refresh

The system still allows me to lock the screen. The lock screen option is still there on the menu, and it works.

Any ideas? I have been calling SUN, and they have been of no help.

BTW, this is a Solaris 8 OS.
Thanks in advance,
Kris.
 
sure you have to restart the dtwm
you can kill it
ps -ef|grep dtwm
pick the proc-id
kill -9 $proc-id
dtwm &
or log out and in
.* == every repetition of every chars
aaa bbb
and
aaa bbb
will be match by (in vi,sed + so on) s/aaa.*bbb/qqqTTT/g ------------ jamisar
Einfachheit ist das Resultat der Reife. (Friedrich Schiller)
Simplicity is the fruit of maturity.
 
Jamisar,
Yes, I tried login out and back in again, and the option was still available.

I am not sure that I understand this part :
.* == every repetition of every chars
aaa bbb
and
aaa bbb
will be match by (in vi,sed + so on) s/aaa.*bbb/qqqTTT/g

Kris.
 
yes, the button is still available. if you click on it
it execs: refresh (NOT lock screen)! ------------ jamisar
Einfachheit ist das Resultat der Reife. (Friedrich Schiller)
Simplicity is the fruit of maturity.
 
Jamisar,
I did all that, and I now know that it disables the lock icon on the fool bar at the bottom. However, the Lock Display" option is still available when you right-click on the desktop, and it still locks the screen. Do you know what needs to be done to disable this?

Thanks a lot,
I really appreciate all the help.

Kris.
 
Jamisar,
Please ignore the previous message. I found the other file I need to edit to take that option away. The file can be found /usr and in the home directories, and it's name is sys.dtwmrc. In this file, the "Lock Display" option needs to be commented out.

Thanks again. You have been a great help.

Kris.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top