Alan Coopersmith wrote:
> Lars Tunkrans wrote:
>   
>>   Is this a correct  understanding  of the  dtlogin(1X)   man page ?
>>  ( a restart of the dtlogin daemon  does not change the alignment of the 
>> welcome screen )  
>>  Or can any thing else be done to move  the dtgreet  welcome screen to the 
>> right or left part
>>  of a screen ( centerd does not work well  on a SunRay 2 FS.  
>>  //Lars
>>
>>
>> ###########################################################################
>> # Put the login dialouge on the right side of the screen.
>> #
>> Dtlogin*greetingAlignment:      ALIGNMENT_BEGINNING
>>     
>
> I don't see greetingAlignment in the man page or the source code.
> The Dtlogin*Alignment resources adjust text alignment (left justified,
> right justified, center) of text in the widgets, but not the entire
> login screen layout.
>
> Normally, Xinerama mode layout makes sure the login screen doesn't
> cross heads, but I understand the 2FS operates as a single screen,
> much like double-wide mode on the SPARC framebuffers, so Xinerama
> isn't in use.
>
>   

      its  hidden in the depths ------   pages  20 and 21   of  dtlogin(1X)





 Greeting Resources
     The following resources describe the greeting string used on
     the  login screen. The resources should be prefaced with the
     string Dtlogin*greeting* when specified.

Name    Class   Value Type      Default
_____________________________________________________________________________________________
foreground      Foreground      Pixel   black
background      Background      Pixel   dynamic
fontList        FontList        FontList        
-*-*schoolbook-medium-i-normal--18-*
alignment       Alignment       String  ALIGNMENT_CENTER
labelString     LabelString     String  Welcome to %LocalHost%
persLabelString LabelString     String  Welcome %s

SunOS 5.10          Last change: 04 Dec 2006                   21

Misc. Reference Manual Pages                          dtlogin(1X)

          foreground
                  Specifies the foreground color for the  welcome
                  message.

          background
                  Specifies the background color for the  welcome
                  message.  The  default  is light-gray for color
                  systems or white for monochrome systems.

          fontList
                  Specifies the font to use for the welcome  mes-
                  sage.

          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.

          persLabelString
                  Specifies the string to use for  the  personal-
                  ized  welcome  message.  This  is  the  message
                  displayed after the use name has been  entered.
                  The  %s  will  be  replaced  with the user name
                  entered.

          alignment
                  Specifies the string to use for  the  alignment
                  of   the  Welcome  message.  Valid  values  are
                  ALIGNMENT_BEGINNING,    ALIGNMENT_CENTER    and
                  ALIGNMENT_END.


Reply via email to