0120.xrdb revision 17513
13629N/A#!/bin/sh
13629N/A#
13629N/A# CDDL HEADER START
16362N/A#
13629N/A# The contents of this file are subject to the terms of the
13629N/A# Common Development and Distribution License, Version 1.0 only
13629N/A# (the "License"). You may not use this file except in compliance
17185N/A# with the License.
13629N/A#
17182N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
18603N/A# or http://www.opensolaris.org/os/licensing.
17182N/A# See the License for the specific language governing permissions
13629N/A# and limitations under the License.
15291N/A#
13629N/A# When distributing Covered Code, include this CDDL HEADER in each
18536N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
13629N/A# If applicable, add the following below this CDDL HEADER, with the
13629N/A# fields enclosed by brackets "[]" replaced with your own identifying
13629N/A# information: Portions Copyright [yyyy] [name of copyright owner]
13629N/A#
18536N/A# CDDL HEADER END
13629N/A#
13629N/A#
13629N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
14461N/A# Use is subject to license terms.
17674N/A#
17674N/A
14461N/A
13629N/ADT_BINPATH=/usr/dt/bin
13629N/AXPATHS='
13629N/A/usr/X11/bin
13629N/A/usr/openwin/bin
13629N/A'
13629N/A
13629N/Afor XPATH in $XPATHS
13629N/Ado
13629N/A if [ -x $XPATH/xrdb ] ; then
13629N/A XRDB=$XPATH/xrdb
13629N/A fi
13629N/Adone
13629N/A
13629N/AXRDB=${XRDB:-"xrdb"}
13629N/A
13629N/Aif [ -x $DT_BINPATH/dtsession_res ] ; then
13629N/A $DT_BINPATH/dtsession_res -load -system
13629N/A $DT_BINPATH/dtsession_res -merge -tty
13629N/Afi
13629N/A
13629N/Acase $DESKTOP_SESSION in
17674N/Agnome|GNOME|JDS|tgnome|TGNOME|tjds|TJDS|TrustedJDS)
13629N/A $XRDB -merge << EOF
13629N/A ! Default CDE resources
13629N/A *WindowColor: #8A008A008A00
13629N/A !*WindowForeground: #FF0000000000
13629N/A !*DataBackground: #0000FF000000
13629N/A *DataForeground: #FF0000000000
13629N/A *WorkspaceColor: #8A008A008A00
13629N/A *Color.Background: #FF000000FF00
13629N/A !*Color.Foreground: #0000FF000000
13629N/A *foreground: #000000000000
13629N/A ! Hack for Dtmail
13629N/A *XmText*background: seashell
13629N/A *XmTextField*background: seashell
13629N/A *Message_List*background: seashell
13629N/A *background: #AE00B200C300
13629N/A Dthello*string: Welcome to GNOME
13629N/AEOF
13629N/A;;
13629N/Aesac
13629N/A
13629N/Aif [ -f $HOME/.Xdefaults ]; then
14461N/A $XRDB -merge $HOME/.Xdefaults # Load Users X11 resource database
13629N/Afi
13629N/A
13629N/A