Permisi..... Dulu saya pernah nemuin cara instal GNOME di sini, yang
isinya agar kita mengedit xinitrc.... saya udah edit
etc/X11/xinit/xinitrc... tapi bingung dibaris mana yang mesti diedit
(lihat konf. xinitrc dibawah) agar saya bisa make GNOME trus bisa switch
ke Afterstef, wm, fvwm, atau KDE.. saya udah install semua komponen
GNOME.. bahkan berkali kali saya instal ulang tetep aja belum bisa
jalan..katanya: install was completed... udah lengkap tapi kok nggak
jalan.. ?? :-( saya udah baca juga user-guidenya tapi belon ketemu juga
jawabannya.. saya make RH 5.2 kernel 2.0.36.. anything wrong..? habis
saya nggak ngerti banyak soal script-script di linux...oh yaa ada yang
tau dimana saya bisa belajar programming script semacam ini..??? please
reference me...!
OK, thanks dulu deh.....
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
if [ -z "$BROWSER" ] ; then
# we need to find a browser on this system
BROWSER=`which netscape`
if [ -z "$BROWSER" ] || [ ! -e "$BROWSER" ] ; then
# not found yet
BROWSER=
fi
fi
if [ -z "$BROWSER" ] ; then
# we need to find a browser on this system
BROWSER=`which lynx`
if [ -z "$BROWSER" ] || [ ! -e "$BROWSER" ] ; then
# not found yet
BROWSER=
else
BROWSER="xterm -font 9x15 -e lynx"
fi
fi
if [ -z "$BROWSER" ] ; then
# we need to find a browser on this system
BROWSER=`which arena`
if [ -z "$BROWSER" ] || [ ! -e "$BROWSER" ] ; then
# not found yet
BROWSER=
fi
fi
export BROWSER
# start some nice programs
if [ -f $HOME/.Xclients ]; then
exec $HOME/.Xclients
elif [ -f /etc/X11/xinit/Xclients ]; then
exec /etc/X11/xinit/Xclients
else
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
if [ -f /usr/X11R6/bin/arena -a -f /usr/doc/HTML/index.html ];
then
arena /usr/doc/HTML/index.html &
fi
if [ -f /usr/X11R6/bin/fvwm ]; then
exec fvwm
else
exec twm
fi
fi
--------------------------------------------------------------------------
Utk berhenti langganan, kirim email ke [EMAIL PROTECTED]
Informasi arsip di http://www.linux.or.id/milis.php3
Pengelola dapat dihubungi lewat [EMAIL PROTECTED]
Hosted by http://www.Indoglobal.com