Mailinglist Archive: opensuse (1983 mails)
| < Previous | Next > |
[SuSE Linux] changing window manager
- From: J2LR@xxxxxxxxxxxxx (Jayel L. Villamin)
- Date: Mon, 21 Dec 1998 20:17:10 +0800
- Message-id: <000e01be2cdb$d56b6dc0$6f0fb0cb@jayelvil>
<DIV class=OutlookMessageHeader><FONT face="Times New Roman"
size=2><BR></FONT> </DIV><BR>
<DIV><FONT color=#003366 face="Mead Bold"></FONT> </DIV>
<DIV><FONT color=#003366 face="Mead Bold"></FONT> </DIV>
<DIV><SPAN class=910423411-21121998><FONT color=#003366 face="Mead Bold"><FONT
size=3>hi. =)</FONT></FONT></SPAN><FONT size=3></FONT></DIV>
<DIV><SPAN class=910423411-21121998><FONT color=#003366 face="Mead Bold"><FONT
size=3></FONT></FONT></SPAN><FONT size=3></FONT> </DIV>
<DIV><SPAN class=910423411-21121998><FONT color=#003366 face="Mead Bold"><FONT
size=3>i have a problem using kde1.0. <SPAN class=280471412-21121998><FONT
color=#003366 face='Mead Bold, "Andy Bold"'> how do i make it the default window
manager?</FONT></SPAN> according to the faq3.html i downloaded from kde.org,
i <SPAN class=280471412-21121998><FONT color=#003366
face='Mead Bold, "Andy Bold"'> </FONT></SPAN>should edit the files '.Xsession'
or '.xinitrc'. but the problem is i cannot find those files in '/root'. and i
only have 1 enabled user and that is root. i changed the 'xinitrc' file *suppose
to be the generic xinitrc* in '/usr/X11R6/lib/X11/xinit'. i commented the lines
after the line 'start some nice programs' and added 'startkde'. but it is still
loading fvwm2. i've added the original 'xinitrc' file localed in
'/usr/X11R6/lib/X11/xinit'<SPAN class=280471412-21121998><FONT color=#003366
face='Mead Bold, "Andy Bold"'> to this email </FONT></SPAN>. i'm a newbie
with linux. and i don't really know what to do. </FONT></FONT></SPAN><FONT
size=3></FONT></DIV>
<DIV><SPAN class=910423411-21121998><FONT color=#003366 face="Mead Bold"><FONT
size=3>THANK IN ADVANCE FOR ALL YOUR HELP. =)</FONT></FONT></SPAN><FONT
size=3></FONT></DIV>
<DIV><SPAN class=910423411-21121998><FONT color=#003366 face="Mead Bold"><FONT
size=3></FONT></FONT></SPAN><FONT size=3><SPAN class=910423411-21121998><FONT
color=#003366 face="Comic Sans MS">JL</FONT></SPAN></FONT></DIV>
<DIV><SPAN class=910423411-21121998><FONT color=#003366
face="Comic Sans MS"><FONT size=3></FONT></FONT></SPAN><FONT
size=3></FONT> </DIV>
<DIV><SPAN class=910423411-21121998><FONT color=#003366 face="Mead Bold"><FONT
size=3></FONT></FONT></SPAN><FONT size=3><SPAN class=910423411-21121998><FONT
color=#003366 face="Mead Bold">'XINITRC' FILE</FONT></SPAN></FONT></DIV>
<DIV><FONT face="" size=2>#!/bin/sh<BR># $XConsortium: xinitrc.cpp,v 1.4
91/08/22 11:41:34 rws Exp $</FONT></DIV>
<DIV><FONT face=""
size=2>userresources=$HOME/.Xresources<BR>usermodmap=$HOME/.Xmodmap<BR>sysresources=/usr/X11R6/lib/X11/xinit/.Xresources<BR>sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap</FONT></DIV>
<DIV><FONT face="" size=2># merge in defaults and keymaps</FONT></DIV>
<DIV><FONT face="" size=2>if [ -f $sysresources ]; then<BR>
xrdb -merge $sysresources<BR>fi</FONT></DIV>
<DIV><FONT face="" size=2>if [ -f $sysmodmap ]; then<BR>
xmodmap $sysmodmap<BR>fi</FONT></DIV>
<DIV><FONT face="" size=2>if [ -f $userresources ]; then<BR>
xrdb -merge $userresources<BR>fi</FONT></DIV>
<DIV><FONT face="" size=2>if [ -f $usermodmap ]; then<BR>
xmodmap $usermodmap<BR>fi</FONT></DIV>
<DIV><FONT face="" size=2><SPAN class=910423411-21121998><FONT color=#003366
face="Comic Sans MS" size=2>i</FONT></SPAN>f [ -z "$BROWSER" ] ;
then<BR> # we need to find a browser on this system<BR> BROWSER=`which
netscape`<BR> if [ -z "$BROWSER" ] || [ ! -e "$BROWSER"
] ; then<BR> # not found yet<BR> BROWSER=<BR> fi<BR>fi<BR>if [
-z "$BROWSER" ] ; then<BR> # we need to find a browser on this
system<BR> BROWSER=`which lynx`<BR> if [ -z "$BROWSER" ] ||
[ ! -e "$BROWSER" ] ; then<BR> # not found yet<BR>
BROWSER=<BR> else<BR> BROWSER="xterm -font 9x15 -e
lynx"<BR> fi<BR>fi<BR>if [ -z "$BROWSER" ] ; then<BR> #
we need to find a browser on this system<BR> BROWSER=`which
arena`<BR> if [ -z "$BROWSER" ] || [ ! -e "$BROWSER" ]
; then<BR> # not found yet<BR> BROWSER=<BR> fi<BR>fi<BR>export
BROWSER</FONT></DIV>
<DIV><FONT face="" size=2># start some nice programs</FONT></DIV>
<DIV><FONT face="" size=2>if [ -f $HOME/.Xclients ]; then<BR>
exec $HOME/.Xclients<BR>elif [ -f /etc/X11/xinit/Xclients ];
then<BR> exec
/etc/X11/xinit/Xclients<BR>else<BR> xclock
-geometry 50x50-1+1 &<BR> xterm
-geometry 80x50+494+51 &<BR> xterm
-geometry 80x20+494-0 &<BR> if [ -f
/usr/X11R6/bin/arena -a -f /usr/doc/HTML/index.html ];
then<BR>
arena /usr/doc/HTML/index.html &<BR>
fi<BR> if [ -f /usr/X11R6/bin/fvwm ];
then<BR>
exec fvwm<BR>
else<BR>
exec twm<BR> fi<BR>fi</FONT><BR></DIV>
<DIV><SPAN id=_AthCaret></SPAN> </DIV>
<A HREF="gif00001.gif"><IMG SRC="gif00001.gif" ALT="GIF image"></A></P>
| < Previous | Next > |