Sei sulla pagina 1di 7

Debian GNU/Linux con OpenBox

Gua de instalacin Wheezy stable


INICIAR CON CD DE DEBIAN
Cuando pida elegir los paquetes a instalar, destildar todas las opciones (con la barra espaciadora)
incluyendo la de "entorno de escritorio" y la de "sistema estandar". Va a instalar el sistema base, sin
entorno grfico.

AGREGAR REPOSITORIOS
##DEBIANBACKPORTS
deb http://backports.debian.org/debianbackports squeezebackports main
contribnonfree

Agregar contrib non-free al final de los repositorios de debian, si as lo queremos. Y no olvidar:


#aptitudeupdate

INSTALAR XORG
#aptitudeinstallxorg

Despus comentar la ltima lnea del xinitrc de /etc/X11/xinit/, y crear un .xinitrc en nuestro directorio de
usuario, copiando el contenido del otro, pero en la ltima lnea sea:
execcklaunchsessionopenboxsession

INSTALAR SLIM (un gestor de sesin ultraliviano):


#aptitudeinstallslim

Despus de instalar slim, editar el slim.conf para el autologuin, que es como yo lo uso:
#nano/etc/slim.conf

Descomentar la linea donde dice "default_user simon" y cambiar simon por el nombre de usuario.
Descomentar la linea donde dice "auto_login no" y cambiar "no" por "yes".

INSTALAR OPENBOX
#aptitudeinstallopenboxobmenuobconf

Mover los archivos:


#mkdirp/home/usuario/.config/openbox/
#cp/etc/xdg/openbox/rc.xml/home/usuario/.config/openbox/
#cp/etc/xdg/openbox/menu.xml/home/usuario/.config/openbox/

Asegurarnos de que todos tengan como dueo a nuestro user:


#chownusuario:usuarioR/home/usuario/.config/

Pgina 1 de 7

by ChamberDoor

INSTALAR UN LANZADOR DE APLICACIONES


#aptitudeinstallgmrun

Y lo configuramos para que se abra con "Alt+F2" agregando al final de la seccin "keyboard" de
nuestro /home/user/.config/openbox/rc.xml las lneas:
<keybind key="A-F2">
<action name="execute"><execute>gmrun</execute></action>
</keybind>

INSTALAR UN ADMINISTRADOR DE ARCHIVOS (File Manager)


En mi caso me gusta Thunar:
# aptitude install thunar thunararchiveplugin thunarmediatagsplugin
thunarthumbnailersthunarvolman

INSTALAR UN PANEL
Puede ser lxpanel, adeskbar, tint2, etc. En mi caso eleg tint2:
#aptitudeinstalltint2

INSTALAR PROGRAMA PARA PODER TENER WALLPAPERS


El programa se llama nitrogen:
#aptitudeinstallnitrogen

INSTALAR UN EMULADOR DE TERMINAL


En mi caso eleg lxterminal, porque es el ms liviano y funcional de todos los que he probado:
#aptitudeinstalllxterminal

INSTALAR UN EDITOR DE TEXTO SIMPLE


#aptitudeinstallleafpad

INSTALAR UN BUEN CLIPBOARD MANAGER


#aptitudeinstallparcellite

APLICACIONES AL INICIO
Crear un documento de texto llamado "/home/usuario/.config/openbox/autostart" al cual le agregaremos
las aplicaciones que queremos al inicio:
xrandroutputHDMI2mode1440x900&
compton&
nitrogenrestore&
(sleep1s&&thunardaemon)&
(sleep2s&&tint2)&
(sleep3s&&parcellite)&
(sleep3s&&conkyq)&
(sleep3s&&volumeicon)&

Pgina 2 de 7

by ChamberDoor

INSTALAR GESTOR DE TEMAS GTK


El mejor es lxapperance. Con esta applicacin y con obconfig, cambiaremos la apariencia y los temas de
escritorio:
#aptitudeinstalllxapperance

VISUALIZACIN E INTEGRACIN QT-GTK


Para integrar aplicaciones qt con gtk, instalamos qt4-qtconfig:
#aptitudeinstalllibgnomeui0
#aptitudeinstallqt4qtconfig

Despus correr "qtconfig" y elegir la opcin gtk+


Para la visualizacin correcta de los bordes y los botones gtk:
#aptitudeinstallgtk2enginesmurrine
#aptitudeinstallgtk3enginesunico

GKSU
Para correr programas como root en modo grfico:
#aptitudeinstallgksu

APAGAR Y REINICIAR SIN SER ROOT


SUDO
#aptitudeinstallsudo

Fijarse en /etc/group si est la lnea:


sudo:x:27:nombredeusuario

Sin agregarla.
Crear el grupo shutdown y agregarnos, de la siguiente forma:
Agregar al /etc/group la lnea:
shutdown:x:407:nombredeusuario

Agregar a /etc/sudoers las lneas:


%shutdownALL=(root)NOPASSWD:/sbin/reboot
%shutdownALL=(root)NOPASSWD:/sbin/halt
%shutdownALL=(root)NOPASSWD:/sbin/shutdown

MEN DE APAGADO
Crear un archivo llamado /usr/bin/openbox-logout con el siguiente contenido:
#!/usr/bin/envpython
importpygtk
pygtk.require('2.0')
importgtk
importos
classDoTheLogOut:

Pgina 3 de 7

by ChamberDoor

#Cancel/exit
defdelete_event(self,widget,event,data=None):
gtk.main_quit()
returnFalse
#Logout
deflogout(self,widget):
os.system("openboxexit")
#Reboot
defreboot(self,widget):
os.system("sudoshutdownrnow&&openboxexit")
#Shutdown
defshutdown(self,widget):
os.system("sudoshutdownhnow&&openboxexit")
def__init__(self):
#Createanewwindow
self.window=gtk.Window(gtk.WINDOW_TOPLEVEL)
self.window.set_title("Exit?Chooseanoption:")
self.window.set_resizable(False)
self.window.set_position(1)
self.window.connect("delete_event",self.delete_event)
self.window.set_border_width(20)
#Createaboxtopackwidgetsinto
self.box1=gtk.HBox(False,0)
self.window.add(self.box1)
#Createcancelbutton
self.button1=gtk.Button("_Cancel")
self.button1.set_border_width(10)
self.button1.connect("clicked", self.delete_event, "Changed me
mind:)")
self.box1.pack_start(self.button1,True,True,0)
self.button1.show()
#Createlogoutbutton
self.button2=gtk.Button("_Logout")
self.button2.set_border_width(10)
self.button2.connect("clicked",self.logout)
self.box1.pack_start(self.button2,True,True,0)
self.button2.show()
#Createrebootbutton
self.button3=gtk.Button("_Reboot")
self.button3.set_border_width(10)
self.button3.connect("clicked",self.reboot)
self.box1.pack_start(self.button3,True,True,0)
self.button3.show()
#Createshutdownbutton
self.button4=gtk.Button("_Shutdown")
self.button4.set_border_width(10)
self.button4.connect("clicked",self.shutdown)

Pgina 4 de 7

by ChamberDoor

self.box1.pack_start(self.button4,True,True,0)
self.button4.show()
self.box1.show()
self.window.show()
defmain():
gtk.main()
if__name__=="__main__":
gogogo=DoTheLogOut()
main()

Despus, agregarlo al obmenu con la orden: python /usr/bin/openbox-logout.

ICONO DE CONTROL DE VOLUMEN


#aptitudeupdate
#aptitudeinstallvolumeicon

VISOR DE IMGENES
#aptitudeinstallgpicview

CONTROLES DE SONIDO
Slo si hace falta.
#aptitudeinstallalsabasealsautilsalsatools

SCREENSHOTS
#aptitudeinstallscrot

Activar a la tecla screenshot, agregando al /home/usuario/.config/openbox/rc.xml la lnea:


<keybindkey="Print">
<actionname="Execute">
<execute>scrot '%Y%m%d%s_$wx$h_scrot.png' e 'mv $f ~/images/ &amp;
viewnior~/images/$f'</execute>
</action>
</keybind>

Agregar al men:
scrot '%Y%m%d%s_$wx$h_scrot.png' e 'mv $f ~/images/ &amp; viewnior
~/images/$f'

Y para sacar con 5 segundos de retrazo por ejemplo:


scrotd5'%Y%m%d%s_$wx$h_scrot.png'e'mv$f~/images/&amp;viewnior
~/images/$f'

ARRANQUE CON NUMLOCK ACTIVADO


Para que arranque el sistema con el Numlock activado:
#aptitudeinstallnumlockx

Pgina 5 de 7

by ChamberDoor

INSTALAR UN NAVEGADOR DE INTERNET


Se puede bajar el firefox de la pgina y simplemente correrlo, o sin:
#aptitudeinstalliceweasel

INSTALAR JAVA
#aptitudeinstallopenjdk7jre
#aptitudeinstallicedtea7plugin

INSTALAR FLASH PRIVATIVO (opcional)


Habilitar los repos contrib non-free y despus:
#aptitudeinstallflashpluginnonfree

INSTALAR LIBREOFFICE 4
#aptitudetwhezzybackportsinstalllibreoffice
#aptitudeinstalllibreofficegtk

INSTALAR PROGRAMAS MULTIMEDIA


#aptitudeinstallaudacious
#aptitudeinstallvlc

INSTALAR ARCHIVER
Yo instal el file-roller porque me place, pero aviso que te instala montones de dependencias innecesarias.
#aptitudeinstallfileroller
#aptitudeinstallunrar

VISTAS EN MINIATURA PARA VIDEOS


(si instalaron file-roller esto no va a hacer falta)
#aptitudeinstallffmpegthumbnailer

Y reiniciar el sistema.

INSTALAR UN TEMA CLSICO DE CURSOR


aptitudeinstalldmzcursortheme

CONFIGURAR LA VISUALIZACIN DE LAS FUENTES


Es para mejorar la proporcin/tamao y renderizado de las fuentes:
#dpkgreconfigurefontconfigconfig

Seleccionar: "Native, Never, No" (por lo menos en mi caso anda as) y despus:
#dpkgreconfigurefontconfig

Y reiniciar el sistema.

Pgina 6 de 7

by ChamberDoor

INSTALAR UN COMPOSITOR (opcional)


El compositor que est en los repos de Debian es xcompmgr, pero a mi me di muchos problemas porque
crasheaba slo sin motivo aparente; as que instal compton.
Compton no est en los repos de Debian. Se lo puede compilar, o instalar desde otro repositorio. Yo eleg
instalarlo desde el repositorio de CrunchBang:
Agregar momentaneamente al /etc/apt/sources.list:
debhttp://packages.crunchbang.org/waldorfwaldorfmain
debsrchttp://packages.crunchbang.org/waldorfwaldorfmain

Y despus:
#aptitudeupdate
#aptitudeinstallcompton

Y bueno, esto no termina ac: Recin empieza.


Ahora hay que instalar los drivers que falten si corrsponden, los programas que a uno ms le gusten,
configurar los mens, poner un tema de conos...

Pgina 7 de 7

by ChamberDoor

Potrebbero piacerti anche