Hi,
Below is the fix for bugster #6876923 --
/usr/dt/config/Xsession.d/0120.xrdb sets several ressources globally
Thanks,
Harry Fu
===================================================================
--- 0120.xrdb (revision 19604)
+++ 0120.xrdb (working copy)
@@ -25,7 +25,6 @@
# Use is subject to license terms.
#
-
DT_BINPATH=/usr/dt/bin
XPATHS='
/usr/X11/bin
@@ -46,23 +45,25 @@
$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
+if [ "$GDMSESSION" = "gnome" ] ; then
+ $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
EOF
+fi
if [ -f $HOME/.Xdefaults ]; then
$XRDB -merge $HOME/.Xdefaults # Load Users X11 resource database