Re: [LINUX:7644] Re: win manager degistirme

---------

New Message Reply About this list Date view Thread view Subject view Author view

Subject: Re: [LINUX:7644] Re: win manager degistirme
From: Erdinc Kaya (erdi@yedinet.com)
Date: Mon 19 Jul 1999 - 17:18:45 EET DST


redhat 6.0 deneme imkanim olmadi henuz ancak, cannot connect hatasini
cogunlukla xserver ustunde calisan programlarin gerektigi sirayla
yuklenmemesinden kaynaklaniyor. o yuzden manuel olarak kde'yi ve window
manager'dan once calismasi gereken uygulamalari calistiracak komutlari x start
scriptlere eklemeniz gerekebilir.

ben fazla detaya inmeden (detaylar ozellikle kde'nin 1.0 beta surumlerinin
kurulum dokumanlarinda var) size bendeki konfigurasyonun ornegini gonderiyorum.
umarim listeyi gereksiz yere sisirmez.

Saygilarimla.
Erdinc Kaya

_____ startkde ___________
#!/bin/sh
#
# DEFAULT KDE STARTUP SCRIPT ( KDE-1.1 )
#
 
# initialize the configuration first.
 
kcontrol -init
 
# Start the common desktop tools in the background.
# The sleeps reduce disk usage during startup.
# kaudioserver will put itself in the background automagically
 
sleep 1 ; kaudioserver
(sleep 1 && exec kwmsound) &
 
# Add -ncols 96 after kfm if using a 8-bit display
(sleep 1 && exec kfm) &
 
(sleep 1 && exec krootwm) &
(sleep 1 && exec kpanel) &
(sleep 3 && exec kbgndwm) &
 
# finally, give the session control to the window manager
 
sleep 2 ; exec kwm
_____________ end of startkde __________

________ .Xclients ________#!/bin/bash
# kdesetup installs .kde and Desktop directories, if absent.
# Only run kdesetup if it exists (for compatibility of this .Xclients
# script with older versions of KDE)
if [ -f $KDEDIR/bin/kdesetup ] ; then
    $KDEDIR/bin/kdesetup
fi
# clean up old kde /tmp files that belong to the user
for file in /tmp/kfm_* /tmp/kio* ; do
    if [ -O $file ] ; then
        rm -fr $file
    fi
done
# add any local customizations here, before the startkde script runs.
 
# the following line allows another user (or root) logged in in an xterm
# running in your X session to use the X display (to run emacs, for example).
# You can delete or comment it out if you do not want this.
xhost + localhost
 
$KDEDIR/bin/startkde
_________end of .Xclients _____________

oopps. xinitrc'nin de degistirilmesi lazim ancak bende xdm yerine kdm calistigi
icin xinitrc'nin bir olayi kalmamis. yine de olmasi gereken (hatirladigim
kadariyla) startkde ile benzer birseyler.

evet, xinitrc (/usr/X11R6/lib/X11/xinit/xinitrc) icindeki en son (browser ve
window manager calistiran)komutlari silerseniz hersey tamam sanirim, cunku
.Xclients icinden zaten kde'yi calistiriyorsunuz
xinitrc su hale geliyor:

________xinitrc _____________

#!/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

 # start some nice programs
 
if [ -f $HOME/.Xclients ]; then
    exec $HOME/.Xclients
elif -f /etc/X11/xinit/Xclients ]; then
    exec /etc/X11/xinit/Xclients
fi

____________end xinitrc ___________

umarim isiniziorur.

On Mon, 19 Jul 1999, you wrote:
> Kullandigim surum redhat 6.0 kurulum sirasinda kde'nin yerlestirilmesi
> kendiliginden oldu, /opt/kde/bin de yoktu. startkde dedigimde kcontrol:
> cannot connect to x-server cevabi ile baslayan baska k(program ismi): cannot
> connect to x server yazilar cikiyor ama startx dedigimde gene another
> leveldan aciliyor. sonuc olarak basarisiz oldum. bu konuya bagli bir how to
> varsa onu da belirten olursa sevinirim.
> ilginize tesekkurler.
> altay
>
> Erdinc Ahmet Kaya wrote:
>
> > selamlar,
> >
> > kde'nin install-kde diye bir programi olmasi lazim. /opt/kde/bin altina
> > bakabilirsiniz ( eger oraya kurduysaniz tabi).
> > daha da kolay startx yerine startkde yazabilirsiniz.
> >
>
>
> Listeden cikmak icin:
> unsub linux
> mesajini listeci@bilkent.edu.tr'a gonderiniz.
> Lutfen Listeci icin MIME / HTML / Turkce Aksan kullanmayin.
> Liste arsivinin adresi: http://listweb.bilkent.edu.tr/
 
 Listeden cikmak icin:
          unsub linux
 mesajini listeci@bilkent.edu.tr'a gonderiniz.
   Lutfen Listeci icin MIME / HTML / Turkce Aksan kullanmayin.
  Liste arsivinin adresi: http://listweb.bilkent.edu.tr/


New Message Reply About this list Date view Thread view Subject view Author view

---------

Bu arsiv hypermail 2b25 tarafindan uretilmistir.