Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
AGREGAR REPOSITORIOS
##DEBIANBACKPORTS
deb http://backports.debian.org/debianbackports squeezebackports main
contribnonfree
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
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
Pgina 1 de 7
by ChamberDoor
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 PANEL
Puede ser lxpanel, adeskbar, tint2, etc. En mi caso eleg tint2:
#aptitudeinstalltint2
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
GKSU
Para correr programas como root en modo grfico:
#aptitudeinstallgksu
Sin agregarla.
Crear el grupo shutdown y agregarnos, de la siguiente forma:
Agregar al /etc/group la lnea:
shutdown:x:407:nombredeusuario
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()
VISOR DE IMGENES
#aptitudeinstallgpicview
CONTROLES DE SONIDO
Slo si hace falta.
#aptitudeinstallalsabasealsautilsalsatools
SCREENSHOTS
#aptitudeinstallscrot
Agregar al men:
scrot '%Y%m%d%s_$wx$h_scrot.png' e 'mv $f ~/images/ & viewnior
~/images/$f'
Pgina 5 de 7
by ChamberDoor
INSTALAR JAVA
#aptitudeinstallopenjdk7jre
#aptitudeinstallicedtea7plugin
INSTALAR LIBREOFFICE 4
#aptitudetwhezzybackportsinstalllibreoffice
#aptitudeinstalllibreofficegtk
INSTALAR ARCHIVER
Yo instal el file-roller porque me place, pero aviso que te instala montones de dependencias innecesarias.
#aptitudeinstallfileroller
#aptitudeinstallunrar
Y reiniciar el sistema.
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
Y despus:
#aptitudeupdate
#aptitudeinstallcompton
Pgina 7 de 7
by ChamberDoor