(10/15/09 13:25), Takao Fujiwara-san wrote: > (10/15/09 13:07), FU Ning-san wrote: >> Below is the revised patch. > > Sounds good. > >> I tested and the color of xclock and xterm are correct when login with >> GDM and cde-login. >> But dthello always print "Welcome to the Sun Java Desktop System". I >> don't know why. > > I don't have CDE bug I guess you might use /usr/dt/config/Xinitrc.jds
s/bug/but/ > > Thanks, > fujiwara > >> >> Best Regards, >> Harry Fu >> =================================================================== >> --- 0120.xrdb (revision 19604) >> +++ 0120.xrdb (working copy) >> @@ -46,23 +46,27 @@ >> $DT_BINPATH/dtsession_res -merge -tty >> fi >> >> -$XRDB -merge << EOF >> -! Default CDE resources >> -*WindowColor: #8A008A008A00 >> -!*WindowForeground: #FF0000000000 >> -!*DataBackground: #0000FF000000 >> -*DataForeground: #FF0000000000 >> -*WorkspaceColor: #8A008A008A00 >> -*Color.Background: #FF000000FF00 >> -!*Color.Foreground: #0000FF000000 >> -*foreground: #000000000000 >> -! Hack for Dtmail >> -*XmText*background: seashell >> -*XmTextField*background: seashell >> -*Message_List*background: seashell >> -*background: #AE00B200C300 >> -Dthello*string: Welcome to the Sun Java Desktop System >> +case $DESKTOP_SESSION in >> +gnome|GNOME|JDS|tgnome|TGNOME|tjds|TJDS|TrustedJDS) >> + $XRDB -merge << EOF >> + ! Default CDE resources >> + *WindowColor: #8A008A008A00 >> + !*WindowForeground: #FF0000000000 >> + !*DataBackground: #0000FF000000 >> + *DataForeground: #FF0000000000 >> + *WorkspaceColor: #8A008A008A00 >> + *Color.Background: #FF000000FF00 >> + !*Color.Foreground: #0000FF000000 >> + *foreground: #000000000000 >> + ! Hack for Dtmail >> + *XmText*background: seashell >> + *XmTextField*background: seashell >> + *Message_List*background: seashell >> + *background: #AE00B200C300 >> + Dthello*string: Welcome to GNOME >> EOF >> +;; >> +esac >> >> if [ -f $HOME/.Xdefaults ]; then >> $XRDB -merge $HOME/.Xdefaults # Load Users X11 resource database >> >> > >
