[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Gnome, Mount, winSOSnt y Novell



nitebirdz@coimbra.oss.uswest.net wrote:

> On Thu, 8 Jun 2000, [iso-8859-1] "Romón Sánchez, Enver" wrote:
>
> > vamos a ello, =8-@
> >
> > > -----Original Message-----
> > > From:       JFreak [SMTP:jfreakmail@yahoo.com]
> > > Sent:       Wednesday, June 07, 2000 11:36 PM
> > > To: Debian Users Spanish
> > > Subject:    Gnome, Mount, winSOSnt y Novell
> > >
> > > Hola Lista !!
> > >
> > > Uso el windowmaker y recien instale el gnome, pregunto: ¿existe alguna
> > > forma de que cada vez que inicie mi pc y carge el windowmaker tambien se
> > > cargue el gnome ?? como lo hago ??
> > >
> >       edita el fichero ~/.xinitrc
> >       (puedes encontrar el xinitrc por defecto en /etc/X11/xinit/xinitrc
> >
>

Hola a tod*s,

vamos por partes:

1) Gnome: No sé porqué la gente tiende a crear un fichero .xinitrc en su $HOME. Pregunto
entonces, ¿para qué está el "Xsession"? Me explico, el fichero general "/etc/X11/Xsession" es
el que se ejecuta cuando lanzas una sesión X (bien con startx, xdm, gdm o lo que sea, pero
¡ojo! sesión X, ya que gdm, por ejemplo, permite lanzar bien una sesión X, bien una sesión
Gnome). El comportamiento general de cualquier sesión X que se abra en un host se controla,
como root, editando el fichero "/etc/X11/Xsession.options". En particular, llamo vuestra
atención sobre la opción "allow-user-xsession" ... extraído del man de Xsession.options:

"If  users  have an executable file called .xsession in their home directories, the file will
be executed instead of the default actions at the end of /etc/X11/Xsession."

En mi máquina yo tengo definida esta opción y, luego, en mi $HOME, tengo el siguiente
.xsession:

#!/bin/sh

# This starts pland on login.
if [ -x /usr/bin/pland ]
then
    /usr/bin/pland -k
else
    echo >&2 "AVISO: No se encontró el demonio pland"
fi

### Put here background apps to start

### Put here your session manager app
# Do not put it in background, or it wouldn't be a session manager
/usr/bin/X11/wmaker

### Kill pland after session was terminated
if [ -x /usr/bin/pland ]
then
    /usr/bin/pland -K
fi

Para lanzar una sesión gnome, basta con cambiar la línea "/usr/bin/X11/wmaker" por estas dos:

pon_aquí_tu_gestor_de_ventanas_compatible_con_gnome_favorito & (en background)
exec /usr/bin/gnome-session

(algún día os contaré cómo usando el fichero "autostart" de wmaker y una macro de gawk
consigo que al hacer login en el xdm se me "coloque" automáticamente un tema de wmaker
elegido al azar entre todos los que tengo)

2) Mount: fichero /etc/fstab, opción de montaje "auto". Ver "man mount" y "man fstab"

3) Novell: Hay una opción en el kernel (serie 2.2) que permite dar soporte al protocolo de
Novell (IPX). Es algo así como CONFIG_IPX. Te recomiendo que uses "make xconfig" (si tienes
TCL/TK instalado) para elegir las opciones de compilación. Esto lo encontrarás en "Networking
Options"; "The IPX protocol".

Perdón por el rollo.

Saludos,

================================================================================

JUAN CARLOS AMENGUAL            Suddenly I stop,
UNIVERSIDAD JAUME I             but I know it's too late.
DEPARTAMENTO DE INFORMÁTICA     I'm lost in a forest, all alone.
CAMPUS DE RIU SEC, EDIFICIO TI  The girl was never there, it's always the same,
CASTELLON, 12071. SPAIN.        I'm running towards nothing
Phone: +34 964 728361           again and again and again and again.
Fax: +34 964 728435                     Robert Smith (The Cure)
e-mail: jcamen@inf.uji.es       - "A Forest", Seventeen Seconds, 1980,
                                                Fiction Rec. -

================================================================================





Reply to: