Slim: mudanças entre as edições
De MochilaWiki
Ir para navegaçãoIr para pesquisar
Sem resumo de edição |
Sem resumo de edição |
||
| Linha 1: | Linha 1: | ||
Página do projeto: | |||
http://slim.berlios.de/ | http://slim.berlios.de/ | ||
Dependências: | |||
apt-get install build-essential pkg-config libxmu-dev \ | |||
libpng12-dev libjpeg62-dev libfreetype6-dev | |||
Instalando: | |||
$ wget -c http://download.berlios.de/slim/slim-1.3.0.tar.gz | |||
$ tar zxvf slim-1.3.0.tar.gz | |||
$ cd slim-1.3.0/ | |||
# make install | |||
Acertando interfaces gráficas: | |||
em /etc/X11/xinit/xinitrc ou ~/.xinitrc | em /etc/X11/xinit/xinitrc ou ~/.xinitrc | ||
#!/bin/bash | #!/bin/bash | ||
DEFAULTSESSION=startxfce4 | DEFAULTSESSION=startxfce4 | ||
case "$1" in | case "$1" in | ||
"gnome") | |||
exec gnome-session | |||
;; | |||
"kde") | |||
exec startkde | |||
;; | |||
"xfce4") | |||
exec startxfce4 | |||
;; | |||
"icewm") | |||
exec icewm-session | |||
;; | |||
"blackbox") | |||
exec startfluxbox | |||
;; | |||
*) | |||
exec $DEFAULTSESSION | |||
;; | |||
esac | esac | ||
em /etc/slim.conf acrescente na linha 54 kde e gnome, ficando assim: | em /etc/slim.conf acrescente na linha 54 kde e gnome, ficando assim: | ||
sessions xfce4,icewm,wmaker,blackbox,kde,gnome | |||
sessions xfce4,icewm,wmaker,blackbox,kde,gnome | |||
depois em /etc/init.d/slim o conteúdo: | depois em /etc/init.d/slim o conteúdo: | ||
#!/bin/sh | #!/bin/sh | ||
# | # | ||
# /etc/init.d/slim: start/stop slim | # /etc/init.d/slim: start/stop slim | ||
# | # | ||
<br /> | |||
case $1 in | case $1 in | ||
start) | start) | ||
/usr/bin/slim -d | |||
;; | |||
stop) | stop) | ||
killall /usr/bin/slim | |||
;; | |||
restart) | restart) | ||
$0 stop | |||
sleep 2 | |||
$0 start | |||
;; | |||
*) | *) | ||
echo "usage: $0 [start|stop|restart]" | |||
;; | |||
esac | esac | ||
<br /> | |||
# End of file | # End of file | ||
e: | e: | ||
chmod 777 /etc/init.d/slim | chmod 777 /etc/init.d/slim | ||
F1 para trocar de interface gráfica / gerenciador de janelas | |||
Para acrescentar tema coloque o novo tema em /usr/share/slim/themes e troque na linha 72 | Para acrescentar tema coloque o novo tema em /usr/share/slim/themes e troque na linha 72 | ||
current_theme default | |||
current_theme default | |||
pelo novo tema: | pelo novo tema: | ||
current_theme samoramachel | |||
* temas disponiveis: | |||
http://slim.berlios.de/themes01.php | |||
temas disponiveis: | |||
http://slim.berlios.de/themes01.php | |||
mais informações e referencias: | mais informações e referencias: | ||
http://www.vivaolinux.com.br/dica/Slim-um-belo-e-leve-gerenciador-de-login | http://www.vivaolinux.com.br/dica/Slim-um-belo-e-leve-gerenciador-de-login | ||
http://gentoo-wiki.com/HOWTO_SLiM_setup | http://gentoo-wiki.com/HOWTO_SLiM_setup | ||
http://wiki.archlinux.org/index.php/SLIM | http://wiki.archlinux.org/index.php/SLIM | ||
| Linha 98: | Linha 93: | ||
/etc/rc.local | /etc/rc.local | ||
if [ -x /usr/bin/slim ]; then | if [ -x /usr/bin/slim ]; then | ||
exec /usr/bin/slim -d | |||
fi | fi | ||
Edição das 17h17min de 6 de agosto de 2008
Página do projeto: http://slim.berlios.de/
Dependências:
apt-get install build-essential pkg-config libxmu-dev \ libpng12-dev libjpeg62-dev libfreetype6-dev
Instalando:
$ wget -c http://download.berlios.de/slim/slim-1.3.0.tar.gz $ tar zxvf slim-1.3.0.tar.gz $ cd slim-1.3.0/ # make install
Acertando interfaces gráficas:
em /etc/X11/xinit/xinitrc ou ~/.xinitrc
#!/bin/bash
DEFAULTSESSION=startxfce4
case "$1" in
"gnome")
exec gnome-session
;;
"kde")
exec startkde
;;
"xfce4")
exec startxfce4
;;
"icewm")
exec icewm-session
;;
"blackbox")
exec startfluxbox
;;
*)
exec $DEFAULTSESSION
;;
esac
em /etc/slim.conf acrescente na linha 54 kde e gnome, ficando assim:
sessions xfce4,icewm,wmaker,blackbox,kde,gnome
depois em /etc/init.d/slim o conteúdo:
#!/bin/sh # # /etc/init.d/slim: start/stop slim #
case $1 in start) /usr/bin/slim -d ;; stop) killall /usr/bin/slim ;; restart) $0 stop sleep 2 $0 start ;; *) echo "usage: $0 [start|stop|restart]" ;; esac
# End of file
e:
chmod 777 /etc/init.d/slim
F1 para trocar de interface gráfica / gerenciador de janelas
Para acrescentar tema coloque o novo tema em /usr/share/slim/themes e troque na linha 72
current_theme default
pelo novo tema:
current_theme samoramachel
- temas disponiveis:
http://slim.berlios.de/themes01.php
mais informações e referencias:
http://www.vivaolinux.com.br/dica/Slim-um-belo-e-leve-gerenciador-de-login http://gentoo-wiki.com/HOWTO_SLiM_setup http://wiki.archlinux.org/index.php/SLIM
pra depois
/etc/rc.local
if [ -x /usr/bin/slim ]; then
exec /usr/bin/slim -d
fi