Instalar y configurar SLIM en Arch Linux
junio 4, 2010 4 comentarios
Cuando instale Arch Linux de nuevo, lo instale con Gnome (se me olvido como hacer todo ahí n_n) y lo deje bonito, pero, su Login Manager (GDM) no me gusta, así que emprendí la búsqueda de un Login Manager simple y encontré SLIM.
SLIM es un Login Manager sencillo (no tiene ningún botón inútil), se le pueden cambiar los temas fácilmente e incluso “crear los tuyos” cambiando el Background, personalmente a mi me encanto
, en este post les mostrare su instalación y configuración.
Para instalar SLIM en Arch Linux es tan sencillo como teclear:
pacman -S slim
Ahora que ya tenemos instalado SLIM les diré como configurarlo para dejarlo funcionando perfectamente, solo deben editar el archivo SLIM.conf con su editor de texto preferido, en este post lo haré con Nano para no discriminar entornos.
nano /etc/slim.conf
Ahora debemos editar las siguientes lineas (solo esas lineas, este no es el SLIM.conf completo):
# Activate numlock when slim starts. Valid values: on|off
# numlock on# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
# hidecursor false# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions xfce4,icewm,wmaker,blackbox# welcome message. Available variables: %host, %domain
welcome_msg Welcome to %host# shutdown / reboot messages
shutdown_msg The system is halting…
reboot_msg The system is rebooting…
por estas otras:
# Activate numlock when slim starts. Valid values: on|off
numlock on# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
hidecursor true# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
#sessions xfce4,icewm,wmaker,blackbox# welcome message. Available variables: %host, %domain
welcome_msg Bienvenido a %host# shutdown / reboot messages
shutdown_msg El sistema se está apagando…
reboot_msg El sistema se está reiniciando…
y para casi culminar con este sencillo trabajo, en el inittab editamos tambien una parte, pero primero debemos entrar al archivo n_n
nano /etc/inittab
Ahora sí, editamos el archivo dejandolo así solo en esas lineas, no es que vallan a borrar todo su contenido
.
# Example lines for starting a login manager#x:5:respawn:/usr/bin/xdm -nodaemon#x:5:respawn:/usr/sbin/gdm -nodaemon#x:5:respawn:/usr/bin/kdm -nodaemonx:5:respawn:/usr/bin/slim >/dev/null 2>&1
nano ~/.xinitrc
y lo configuramos según nuestro entorno:
#si usamos Gnomeexec ck-launch-session gnome-session
#si usamos KDEexec ck-launch-session startkde
#si usamos XFC4exec ck-launch-session startxfce4
#si usamos OpenBoxexec ck-launch-session openbox-session



Comentarios