removido
(usa Nenhuma)
Enviado em 16/01/2010 - 18:48h
uso slackware, para iniciar a interface grafica o comando usado eh startx
douglas@CASA:/usr/bin$ whereis startx
startx: /usr/bin/startx /usr/X11R6/bin/startx /usr/bin/X11/startx /usr/X11/bin/startx /usr/man/man1/startx.1.gz /usr/share/man/man1/startx.1.gz /usr/X11/man/man1/startx.1.gz
=================================================
no script /usr/bin/startx o variavel eh /usr/lib64/X11/xinit/xinitrc
douglas@CASA:/usr/bin$ more /usr/lib64/X11/xinit/xinitrc
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/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 the window manager:
startkde
========================================================
no final do script /usr/lib64/X11/xinit/xinitrc ele executa o script, startkde
eu queria fazer isso no FreeBSD que estou suando o gnome
e eu queria saber quais sao os padroes do gnome
alguem que tem o gnome funcionando corretamente poderia me passar o script
startx e xinitrc
para saber onde fica o startx, eh soh digitar
douglas@CASA:/usr/bin$ whereis startx
startx: /usr/bin/startx /usr/X11R6/bin/startx /usr/bin/X11/startx /usr/X11/bin/startx /usr/man/man1/startx.1.gz /usr/share/man/man1/startx.1.gz /usr/X11/man/man1/startx.1.gz
o primeiro diretorio que aparecer eh o diretorio correto da execução do script no meu caso seria "/usr/bin/startx"
para saber o diretorio do "xinitrc" eh soh olhar no script "startx"
procure pela variavel "sysclientrc"
aqui está assim
=====================================
#!/bin/sh
# $Xorg: startx.cpp,v 1.3 2000/08/17 19:54:29 cpqbld Exp $
#
# This is just a sample implementation of a slightly less primitive
# interface than xinit. It looks for user .xinitrc and .xserverrc
# files, then system xinitrc and xserverrc files, else lets xinit choose
# its default. The system xinitrc should probably do things like check
# for .Xresources files and merge them in, startup up a window manager,
# and pop a clock and serveral xterms.
#
# Site administrators are STRONGLY urged to write nicer versions.
#
# $XFree86: xc/programs/xinit/startx.cpp,v 3.16tsi Exp $
unset DBUS_SESSION_BUS_ADDRESS
unset SESSION_MANAGER
userclientrc=$HOME/.xinitrc
sysclientrc=/usr/lib64/X11/xinit/xinitrc
.
.
.
.
.
.
.
.
.
===========================================
agradeço a quem fizer esse favor, o que eu mais quero eh o final do arquivo "xinitrc" que no meu caso eh o startkde e queria saber como eh o do gnome
seria startgnome??