Operating System - HP-UX
1829712 Members
2684 Online
109992 Solutions
New Discussion

CDE Custom Login Message & Xresources file

 
Peter_17
Frequent Advisor

CDE Custom Login Message & Xresources file

Good Day all,

I have modified the Xresources file to include a standard login message at Dtlogin*greeting.labelString which works fine. The problem is that on the login screen,underneath the custom message the words "Default Desktop" are displayed, but one can only see about the top quarter of the words.

Is there a way to remove the words "Default Desktop" completely, or perhaps modify their font to correctly display them?

Any and all help appreciated.

Pete
4 REPLIES 4
Bill McNAMARA_1
Honored Contributor

Re: CDE Custom Login Message & Xresources file

For CDE customisation, have a look here.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x4303a22d6d27d5118fef0090279cd0f9,00.html

Later,
Bill
It works for me (tm)
Peter_17
Frequent Advisor

Re: CDE Custom Login Message & Xresources file

Bill,

Thanks for the reply, but that unfortunately shed no light on my issue. The Issue is that on the main CDE login screen, it says: "Welcome to ", followed by "WARNING. The programs and data on this ...(about 6 lines of text)". This appears OK, except for underneath the custom message, I see just the top portion of the words "Default Desktop", which is partially covered by the phrase "Please enter your user name".

Any and all help appreciated. Also, any site links to good detailed customization guidance for CDE.

Thanks, and HAGO!

Pete
Alex Glennie
Honored Contributor

Re: CDE Custom Login Message & Xresources file

Well if you've customised the greeting to be 5 - 6 lines worth I suspect you'll also need to increase the default matte size ie the grey window containing the login message + the CDE Logo or decrease the line length =>

labelString

Specifies the string to use for the welcome message.
Multiple lines can be specified by including newline
characters \n\ in the text. If the token %LocalHost" is
included in the text, it will be replaced with the name
of the host providing login service. If the token
%DisplayName% is included in the text, it will be
replaced with the display name.

Matte Resources

The following resources describe the matte layout used on the login
screen. The resources should be prefaced with the string
Dtlogin*matte. when specified.

width Specifies the width to use for the login_matte.

height Specifies the height to use for the login_matte.


I beleive the dtgreet window automatically sizes itself to
suit to message size but problems may occur if text lines
are longer than width of login matte - reducing line length to fit within the matte may resolve ?

for CDE FAQ's => this site is improving ;) or http://www.laxmi.net/cde.htm ?
Peter_17
Frequent Advisor

Re: CDE Custom Login Message & Xresources file

Thanks for the reply...

Although defining the matte parameters didn't really solve the problem, I appreciate your input, and the link.

I have however solved the issue by simply increasing the value of: highlightThickness to "5" which essentially masks the problem. Which is good enough for me..

Thanks & HAGO,

Pete