fabio_n_cabrera
Group: Members
Posts: 13
Joined: July 2007 |
|
Posted: Jan. 28 2008,15:11 |
|
Acá les dejo el script para los que lo sepan copiar y dar atributos de ejecución (usuarios mas experimentados):
el nombre es DSLes.sh
#! /bin/bash # Este es un script para pasar algunas cosas al castellano # Sin ninguna garantia conforme a la GPLv2
echo "Este es un script para pasar algunas cosas al castellano" echo "en DSL 3.4.5 y agragarle OpenOffice 2.3" echo "Todo bajo GPLv2. Espero que te sirva y que lo disfrutes !!!" echo " "
echo "Copiando traduccion de gestores graficos..." cp .jwmrc /mnt/$1/home/dsl/ cp menu /mnt/$1/home/dsl/.fluxbox
echo "Copiando acentos y su configuracion automatica..." cp .xinitrc /mnt/$1/home/dsl/ cp acentos /mnt/$1/home/dsl/
echo "Creando directorio para UCI..." mkdir /mnt/$1/home/dsl/uci/
echo "Copiando Openoffice en castellano...Esto puede demorar..." cp oowriter.png /mnt/$1/home/dsl/.xtdesktop/ cp bootlocal.sh /mnt/$1/opt/ cp OOo.2.3.es.uci /mnt/$1/home/dsl/uci/
echo "FINALIZO LA TRADUCCION !!!!" echo " " echo "Para generar los accesos directos use ICONTOOL" echo "Accesible desde: Iniciar, Configurar, Escritorio, ICONTOOL" echo " " echo "Mas ayuda, consulte el archivo leame.txt" echo " "
y el .jwmrc (menu de comandos del entorno JWM) traducido al español
<?xml version="1.0"?>
<JWM>
<!-- jwm menu for Damn Small Linux -->
<RootMenu label="Inicio" onroot="3">
<Program label="Panel de Control">cpanel.lua</Program>
<Menu label="Gestor de Archivos" labeled="true">
<Program label="emelFM"> emelfm </Program>
<Program label="emelFM como super-usuario"> sudo su emelfm </Program>
<Program label="Midnight Commander"> /usr/local/bin/mc </Program>
<Program label="MC como super-usario"> sudo /usr/local/bin/mc </Program>
</Menu>
<Separator/>
<Menu label="Juegos" labeled="true">
<Program label="Canfield"> ace_canfield </Program>
<Program label="Freecell"> ace_freecell </Program>
<Program label="Golf"> ace_golf </Program>
<Program label="Mastermind"> ace_mastermind </Program>
<Program label="Minesweeper"> ace_minesweeper </Program>
<Program label="Pegged"> ace_pegged </Program>
<Program label="Solitario"> ace_solitaire </Program>
<Program label="Taipedit"> ace_taipedit </Program>
<Program label="Taipei"> ace_taipei </Program>
<Program label="Thornq"> ace_thornq </Program>
<Program label="xTris "> /usr/games/xtris -flashy </Program>
</Menu>
<Menu label="Multimedia" labeled="true">
<Program label="Dmix (Mezcla Sonido)">dmix</Program>
<Program label="gPhone">gphone</Program>
<Program label="Xmms (Reproduce Audio/MPEG)">xmms</Program>
<Program label="Xmms (Reproduce CD)"> xmms /dev/cdrom </Program>
<Program label="Xpaint (Editor grafico)"> /usr/bin/X11/xpaint </Program>
<Program label="Xzoom"> xzoom </Program>
<Program label="xzgv (Visor de Imagenes)"> /usr/bin/xzgv </Program>
</Menu>
<!-- MyDSL Extension Menu Placeholder -->
<Menu label="Red" labeled="true">
<Menu label="Exploradores">
<Program label="Firefox"> /usr/local/bin/firefox </Program>
<Program label="Dillo patched"> dillo file:/usr/share/doc/dsl/getting_started.html </Program>
<Program label="Netrik"> aterm +tr -T "Netrik" -e /usr/local/bin/netrik http://www.damnsmalllinux.org</Program>
</Menu>
<Program label="Net MAN pages"> aterm +tr -T "Internet MAN" -e /usr/local/bin/getman </Program>
<Program label="Selector de repositorio"> dslMirror.lua </Program>
<Program label="MyDSL Browser"> /usr/bin/mydslPanel.lua </Program>
<Program label="Sylpheed (Cliente de correo)"> sylpheed </Program>
<Menu label="AIM/IRC/ICQ">
<Program label="AIM"> aterm +tr -T "nAIM" -e /usr/bin/naim </Program>
<Program label="nIRC #DamnSmallLinux"> aterm +tr -T "nIRC" -e /usr/bin/nirc dsl$$ irc.freenode.org </Program>
<Program label="ICQ"> aterm +tr -T "nICQ" -e /usr/bin/nicq </Program>
</Menu>
<Program label="Rdesktop"> /usr/local/bin/rdesktop.lua </Program>
<Program label="SMBclient (Cliente samba)"> /usr/local/bin/smbclient.lua </Program>
<Program label="VNCviewer (Visor VNC)"> /usr/bin/vncviewer </Program>
<Program label="Microcom"> aterm +tr -T "Microcom" -e /usr/bin/microcom </Program>
<Program label="AxY FTP (GTK+)"> /usr/X11R6/bin/axyftp-gtk </Program>
<Program label="FTP"> aterm +tr -T "FTP" -e ftp </Program>
<Program label="Telnet"> aterm +tr -T "Telnet" -e telnet </Program>
</Menu>
<Menu label="Oficina" labeled="true">
<Program label="Ted (Procesdor de textos)"> ted </Program>
<Program label="Siag (Hoja de calculo)"> /usr/local/bin/siag </Program>
<Program label="PDF Viewer (Visor de PDF)"> /usr/bin/xpdf </Program>
<Program label="MS (Visor Word)"> /usr/local/bin/wordview.lua </Program>
<Program label="Postscript (Visor)"> /usr/local/bin/gvu </Program>
<Program label="Calculadora"> calcoo </Program>
<Program label="Calendario"> /usr/local/bin/calendar.lua </Program>
<Program label="SQLite Book">/usr/local/bin/sqlitebook.pl</Program>
<Program label="PIM using Index"> aterm +tr -T "PIM using Index" -e /usr/bin/index </Program>
<Program label="Diccionario de Red"> aterm +tr -T "Internet Dictionary" -e /usr/local/bin/getword </Program>
</Menu>
<Separator/>
<Menu label="Editores">
<Program label="Beaver">beaver</Program>
<Program label="Vim">aterm +tr -T "Vim" -e vi</Program>
<Program label="Nano">aterm +tr -T "Nano" -e nano-tiny</Program>
</Menu>
<Menu label="Configurar" labeled="true">
<Program label="AddUsers (Agrega usuarios)"> sudo /usr/sbin/addusers.lua </Program>
<Program label="Fecha Hora"> /usr/local/bin/datetool.lua </Program>
<Menu label="Escritorio">
<Program label="Icontool (Configura iconos)">icontool.lua</Program>
<Program label="Papel tapiz">/usr/local/bin/wallpaper.lua</Program>
</Menu>
<Program label="DOS swapfile"> aterm +tr -T "Setup DOS Swapfile" -e /usr/sbin/mkdosswapfile </Program>
<Program label="Teclado"> aterm +tr -T "kbdconfig" -e sudo /usr/sbin/kbdconfig </Program>
<Menu label="Configuracion de Red">
<Program label="netcardconfig"> aterm +tr -T "Netcardconfig" -e sudo -H /usr/sbin/netcardconfig </Program>
<Program label="dial-up PPP"> sudo /usr/sbin/pppdial </Program>
<Menu label="DSL/PPPoE">
<Program label="PPPoEconf"> aterm +tr -T "PPPoEconf" -e sudo -H /usr/sbin/pppoeconf </Program>
<Program label="Pon"> sudo -H /usr/bin/pon </Program>
<Program label="Poff"> sudo -H /usr/bin/poff </Program>
</Menu>
<Program label="iwconfig"> iwconfig_setup </Program>
<Program label="wlcardconfig"> aterm +tr -T "wlcardconfig" -e sudo/usr/sbin/wlcardconfig </Program>
<Program label="ndiswrapper"> ndissetup </Program>
<Program label="prism2"> prism2_setup </Program>
</Menu>
<Program label="Xvesa (Configura Video)"> /usr/sbin/xvesa.lua </Program>
<Program label="X Setup (Gestor grafico)"> aterm +tr -T "X Setup" -e /usr/sbin/xsetup.sh </Program>
</Menu>
<Menu label="Sistema" labeled="true">
<Program label="Herramienta para Montar"> mount.lua </Program>
<Program label="Herramienta UCI"> ucitool.lua </Program>
<Program label="Panel de Control"> cpanel.lua </Program>
<Program label="Backup/Restore (Copia de seguridad)"> sudo /usr/sbin/filetool.lua </Program>
<Menu label="Demonios">
<Menu label="ssh">
<Program label="inicia"> sudo /etc/init.d/ssh start </Program>
<Program label="detiene"> sudo /etc/init.d/ssh stop </Program>
<Program label="restart"> sudo /etc/init.d/ssh restart </Program>
<Program label="reload"> sudo /etc/init.d/ssh reload </Program>
<Program label="force-reload"> sudo /etc/init.d/ssh force-reload </Program>
</Menu>
<Menu label="nfs-common">
<Program label="inicia"> sudo /etc/init.d/nfs-common start </Program>
<Program label="detiene"> sudo /etc/init.d/nfs-common stop </Program>
<Program label="reinicia"> sudo /etc/init.d/nfs-common restart </Program>
</Menu>
<Menu label="Monkey Servidor Web">
<Program label="monkey inicia"> sudo /opt/monkey/bin/banana start </Program>
<Program label="monkey detiene"> sudo /opt/monkey/bin/banana stop </Program>
<Program label="monkey reinicia"> sudo /opt/monkey/bin/banana restart </Program>
</Menu>
<Menu label="FTPd">
<Program label="betaftpd inicia"> sudo /usr/sbin/betaftpd </Program>
<Program label="betaftpd detiene"> sudo killall -9 betaftpd </Program>
</Menu>
</Menu>
<Program label="Herramienta de diskette"> /usr/bin/fdtool.lua </Program>
<Program label="PCMCIA (Control de tarjeta)"> /usr/bin/cardcontrol.lua </Program>
<Program label="Mouse Configuracion"> /usr/local/bin/mouse-config.lua </Program>
<Menu label="Impresion/lpd">
<Program label="inicia"> sudo /usr/sbin/lpd </Program>
<Program label="detiene"> sudo killall -9 lpd </Program>
<Program label="recarga"> sudo /usr/sbin/lpc reread </Program>
<Program label="configura impresora"> aterm +tr -T "apsfilter" -e sudo /usr/share/apsfilter/SETUP </Program>
</Menu>
<Program label="pstree"> aterm +tr -e /usr/bin/pstree.x11 </Program>
<Program label="System Stats"> /usr/local/bin/stats.lua </Program>
<Program label="Top"> aterm +tr -T "Top" -e /usr/bin/top </Program>
<Program label="Webdata Backup/Restore"> aterm +tr -T "Webdata FTP Messages" -e /usr/bin/webdata </Program>
<Program label="Xkill"> /usr/X11R6/bin/xkill </Program>
<Program label="Editres"> editres </Program>
<Program label="X Window Snapshot"> xwd -out myscreen.xwd; xwud -raw -in myscreen.xwd </Program>
</Menu>
<Menu label="Herramientas">
<Program label="Actualizar a Utilidades GNU"> aterm +tr -T "Upgrade to GNU Utils" -e sudo gnu-utils-restore </Program>
<Program label="Habilita Apt"> aterm +tr -T "DSL Apt and Dpkg Restore" -e sudo dpkg-restore </Program>
<Program label="Instala en Disco Rigido"> aterm +tr -T "DSL Hard Drive Installation" -e sudo dsl-hdinstall </Program>
<Menu label="Instala Frugal">
<Program label="Instala Grub Frugal"> aterm +tr -T "DSL Frugal Grub Install" -e sudo frugal_grub.sh </Program>
<Program label="Instala Lilo Frugal"> aterm +tr -T "DSL Frugal Lilo Install" -e sudo frugal_install.sh </Program>
</Menu>
<Menu label="Instala a USB Pendrive">
<Program label="Para USB-ZIP Pendrive"> aterm +tr -T "DSL USB Pendrive Installation" -e sudo pendrive_usbzip.sh </Program>
<Program label="Para USB-HDD Pendrive"> aterm +tr -T "DSL USB Pendrive Installation" -e sudo pendrive_usbhdd.sh </Program>
</Menu>
<Program label="Crea diskette de inicio"> aterm +tr -T "Make Boot Floppy" -e /usr/local/bin/mkfloppy </Program>
<Program label="Crea CD Remasterizado MyDSL"> aterm +tr -T "Make myDSL CD" -e sudo mkmydsl </Program>
<Program label="Aplicacion Graba CD"> aterm +tr -T "CDW" -e cdw </Program>
</Menu>
<Menu label="XShells">
<Program label="Transparente"> aterm -T "Bash" -e /bin/bash </Program>
<Program label="Claro"> aterm +tr -bg white -fg black -cr blue -T "Bash" -e /bin/bash </Program>
<Program label="Oscuro"> aterm +tr -T "Bash" -e /bin/bash </Program>
<Menu label="Acceso Superusuario">
<Program label="Transparente"> aterm -cr red -T "Root Shell" -e sudo su</Program>
<Program label="Claro"> aterm +tr -bg white -fg black -cr red -T "Root Shell" -e sudo su </Program>
<Program label="Oscuro"> aterm +tr -cr red -T "Root Shell" -e sudo su </Program>
</Menu>
</Menu>
<Separator/>
<Program label="Ayuda">dillo /usr/share/doc/dsl/getting_started.html</Program>
<Program label="Buscar">sudo gtkfind</Program>
<Program label="Ejecutar comando">flrun.lua</Program>
<Separator/>
<Menu label="Salir">
<Restart label="Gestor grafico y Reiniciar"/>
<Program label="Cambiar a Fluxbox">switcher.lua</Program>
<Exit confirm="false" label="Salir al prompt"/>
<Program label="Reiniciar">exitcheck.sh reboot</Program>
<Program label="Apagar">exitcheck.sh shutdown</Program>
</Menu>
</RootMenu>
<Border>
<Font antialias="false">-adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*</Font>
<Width>3</Width>
<Height>20</Height>
<Foreground>black</Foreground>
<Background>#BBBBBB</Background>
<ActiveForeground>white</ActiveForeground>
<ActiveBackground>#5983E0</ActiveBackground>
</Border>
<Tray autohide="false" insert="right">
<Font antialias="false">-adobe-helvetica-bold-r-*-*-*-120-*-*-*-*-*-*</Font>
<Height>24</Height>
<Foreground>black</Foreground>
<Background>#BBBBBB</Background>
<ActiveForeground>black</ActiveForeground>
<ActiveBackground>#5983E0</ActiveBackground>
</Tray>
<Pager>
<Outline>black</Outline>
<Foreground>#BBBBBB</Foreground>
<Background>#336699</Background>
<ActiveForeground>#5983E0</ActiveForeground>
<ActiveBackground>#DCDAD5</ActiveBackground>
</Pager>
<Load>
<Program>xload</Program>
<Outline>black</Outline>
<Foreground>red</Foreground>
<Background>#DCDAD5</Background>
</Load>
<Clock>
<Program>datetool.lua</Program>
</Clock>
<Popup enabled="true">
<Font antialias="true">-adobe-helvetica-medium-r-*-*-*-140-*-*-*-*-*-*</Font>
<Outline>black</Outline>
<Foreground>black</Foreground>
<Background>yellow</Background>
</Popup>
<!--
<Font antialias="true">-adobe-helvetica-medium-r-*-*-14-*-*-*-*-*-*-*</Font>
-->
<Menu>
<Font antialias="false">-adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*</Font>
<Foreground>black</Foreground>
<Background>#BBBBBB</Background>
<ActiveForeground>white</ActiveForeground>
<ActiveBackground>#5983E0</ActiveBackground>
</Menu>
<!-- Number of virtual desktops -->
<DesktopCount>4</DesktopCount>
<!-- Double click speed (in milliseconds) -->
<DoubleClickSpeed>400</DoubleClickSpeed>
<!-- Double click delta (in pixels) -->
<DoubleClickDelta>2</DoubleClickDelta>
<!-- The focus model (sloppy or click) -->
<FocusModel>click</FocusModel>
<!-- The snap mode (none, screen, or border) -->
<SnapMode distance="10">border</SnapMode>
<!-- The move mode (outline or opaque) -->
<MoveMode>outline</MoveMode>
<!-- The resize mode (outline or opaque) -->
<ResizeMode>outline</ResizeMode>
<!-- Key bindings -->
<Key key="Up">up</Key>
<Key key="Down">down</Key>
<Key key="Right">right</Key>
<Key key="Left">left</Key>
<Key key="h">left</Key>
<Key key="j">down</Key>
<Key key="k">up</Key>
<Key key="l">right</Key>
<Key key="Return">select</Key>
<Key key="Escape">escape</Key>
<Key mask="A" key="Tab">next</Key>
<Key mask="A" key="F4">close</Key>
<Key mask="A" key="#">desktop#</Key>
<Key mask="A" key="F1">root</Key>
<Key mask="A" key="F2">window</Key>
</JWM>
Este es el menu del entorno fluxbox (traducido al español) llamado MENU
Debian MENU
[begin] (Inicio)
[include](.fluxbox/mydsl.menu)
[submenu] (Aplicaciones) {}
[submenu] (Editores) {}
[exec] (Beaver) {beaver}
[exec] (Vim) {aterm +tr -e vi}
[exec] (Nano) {aterm +tr -T "Nano" -e nano-tiny}
[end]
[submenu] (Graficos) {}
[exec] (xzgv Visor de Imagenes) {/usr/bin/xzgv}
[exec] (Xpaint Graficador) {/usr/bin/X11/xpaint}
[exec] (Xzoom) {xzoom}
[end]
[submenu] (Oficina) {}
[exec] (Ted Procesador de texto) {ted}
[exec] (Siag Hoja de Calculo) {/usr/local/bin/siag}
[exec] (PDF Visor) {/usr/bin/xpdf}
[exec] (MS Word Visor) { /usr/local/bin/wordview.lua}
[exec] (Postscript Visor) {/usr/local/bin/gvu}
[exec] (Calculadora) {calcoo}
[exec] (Calendario) {/usr/local/bin/calendar.lua}
[exec] (SQLite Book) {/usr/local/bin/sqlitebook.pl}
[exec] (PIM using Index) { aterm +tr -T "PIM using Index" -e /usr/bin/index}
[exec] (Dictionario de Red) { aterm +tr -T "Internet Dictionary" -e /usr/local/bin/getword}
[end]
[submenu] (Sonido/MPEG/VoIP) {}
[exec] (Dmix Mezcla sonido) {dmix }
[exec] (gPhone) {gphone }
[submenu] (XMMS) {}
[exec] (Xmms Reproduce Audio/MPEG) {xmms}
[exec] (Xmms Reproduce CD) {xmms /dev/cdrom}
[submenu] (Xmms News Feeds){}
[exec] (Xmms "KCPW NPR News") {xmms http://kcpw.xmission.com:80/kcpw.ogg}
[exec] (Xmms "CBC Radio One News") {xmms http://oggtrial.nm.cbc.ca:80/cbcr1-toronto.ogg}
[end]
[end]
[end]
[submenu] (Internet) {}
[submenu] (Navegadores) {}
[exec] (Firefox) {/usr/local/bin/firefox}
[exec] (Dillo patched) {dillo file:/usr/share/doc/dsl/getting_started.html}
[exec] (Netrik) {aterm +tr -T "Netrik" -e /usr/local/bin/netrik http://www.damnsmalllinux.org}
[end]
[exec] (Sylpheed cliente de correo) {sylpheed}
[submenu] (AIM/IRC/ICQ) {}
[exec] (AIM) { aterm +tr -T "nAIM" -e /usr/bin/naim}
[exec] (nIRC #DamnSmallLinux) { aterm +tr -T "nIRC" -e /usr/bin/nirc dsl$$ irc.freenode.org}
[exec] (ICQ) { aterm +tr -T "nICQ" -e /usr/bin/nicq}
[end]
[exec] (REscritorio) {/usr/local/bin/rdesktop.lua}
[exec] (Cliente SMB) {/usr/local/bin/smbclient.lua}
[exec] (Visor VNC) {/usr/bin/vncviewer}
[exec] (Microcom) { aterm +tr -T "Microcom" -e /usr/bin/microcom}
[exec] (AxY FTP (GTK+\)) {/usr/X11R6/bin/axyftp-gtk}
[exec] (FTP) {aterm +tr -T "FTP" -e ftp}
[exec] (Telnet) {aterm +tr -T "Telnet" -e telnet}
[end]
[submenu] (Herramientas) {}
[exec] (Selector de repositorio){dslMirror.lua}
[exec] (myDSL Buscador) {mydslPanel.lua}
[exec] (Manuales en Internet) { aterm +tr -T "Internet MAN" -e /usr/local/bin/getman}
[submenu] (emelFM) {}
[exec] (emelFM) {emelfm}
[exec] (emelFM como super-usuario) {sudo emelfm}
[end]
[submenu] (Midnight Commander) {}
[exec] (Midnight Commander) {/usr/local/bin/mc}
[exec] (MC como super-usuario) {sudo /usr/local/bin/mc}
[end]
[exec] (Buscar) {sudo /usr/bin/gtkfind}
[exec] (Actualizacion a Utilidades GNU) {aterm +tr -T "Upgrade to GNU Utils" -e sudo gnu-utils-restore}
[exec] (Habilitar Apt) {aterm +tr -T "DSL Apt and Dpkg Restore" -e sudo dpkg-restore}
[exec] (Instalar a Disco Rigido) {aterm +tr -T "DSL Hard Drive Installation" -e sudo dsl-hdinstall}
[submenu] (Instalacion Frugal) {}
[exec] (Instalacion de Grub Frugal) {aterm +tr -T "DSL Frugal Grub Install" -e sudo frugal_grub.sh}
[exec] (Instalacion de Lilo Frugal) {aterm +tr -T "DSL Frugal Lilo Install" -e sudo frugal_lilo.sh}
[end]
[submenu] (Instalacion a USB Pendrive) {}
[exec] (Para USB-ZIP Pendrive) {aterm +tr -T "DSL USB Pendrive Installation" -e sudo pendrive_usbzip.sh}
[exec] (Para USB-HDD Pendrive) {aterm +tr -T "DSL USB Pendrive Installation" -e sudo pendrive_usbhdd.sh}
[end]
[exec] (Crear diskette de inicio) {aterm +tr -T "Make Boot Floppy" -e /usr/local/bin/mkfloppy}
[exec] (Crear MyDSL CD Remasterizador) {aterm +tr -T "Make myDSL CD" -e sudo mkmydsl}
[exec] (Aplicacion graba CD) {aterm +tr -T "CDW" -e cdw}
[exec] (Editres) {editres}
[exec] (Capturador de Pantalla) {xwd -out myscreen.xwd; xwud -raw -in myscreen.xwd}
[exec] (Xkill) {xkill}
[end]
[end]
[submenu] (Juegos) {}
[exec] (xTris ) {/usr/games/xtris -flashy}
/usr/games/tetrinet DamnSmall localhost }
[submenu] (Ace of Penguins) {}
[exec] (Canfield) {ace_canfield}
[exec] (Freecell) {ace_freecell}
[exec] (Golf) {ace_golf}
[exec] (Mastermind) {ace_mastermind}
[exec] (Minesweeper) {ace_minesweeper}
[exec] (Pegged) {ace_pegged}
[exec] (Solitario) {ace_solitaire}
[exec] (Taipedit) {ace_taipedit}
[exec] (Taipei) {ace_taipei}
[exec] (Thornq) {ace_thornq}
[end]
[end]
[submenu] (XShells) {}
[exec] (Transparente) {aterm -T "Bash" -e /bin/bash}
[exec] (Claro) {aterm +tr -bg white -fg black -cr blue -T "Bash" -e /bin/bash}
[exec] (Oscuro) {aterm +tr -T "Bash" -e /bin/bash}
[submenu] (Acceso Superusuario) {}
[exec] (Transparente) {aterm -cr red -T "Root Shell" -e sudo su}
[exec] (Claro) {aterm +tr -bg white -fg black -cr red -T "Root Shell" -e sudo su}
[exec] (Oscuro) {aterm +tr -cr red -T "Root Shell" -e sudo su}
[end]
[end]
[submenu] (Escritorio) {}
[exec] (Escritorio completo mejorado) {enhance &>/dev/null}
[exec] (Icontool Herramienta de iconos) {icontool.lua}
[exec] (Papel tapiz) {wallpaper.lua}
[config] (Fluxbox Configuracion)
[submenu] (Estilos) {}
[stylesdir] (/usr/share/fluxbox/styles)
[stylesdir] (~/.fluxbox/styles)
[end]
[workspaces] (Workspaces)
[end]
[submenu] (Sistema) {}
[exec] (Herramienta de Montado){mount.lua}
[exec] (Herramienta UCI){ucitool.lua}
[exec] (Panel de Control){cpanel.lua}
[exec] (Backup/Restore){sudo /usr/sbin/filetool.lua}
[exec] (Webdata Backup/Restore){aterm +tr -T "Webdata FTP Messages" -e /usr/bin/webdata}
[submenu] (Impresora/lpd) {}
[exec] (iniciar) {sudo /usr/sbin/lpd}
[exec] (detener) {sudo killall -9 lpd}
[exec] (recargar) {sudo /usr/sbin/lpc reread}
[exec] (configurar impresora) {aterm +tr -T "apsfilter" -e sudo /usr/share/apsfilter/SETUP}
[end]
[submenu] (Configuracion de Red) {}
[exec] (netcardconfig) {aterm +tr -T "Netcardconfig" -e sudo -H /usr/sbin/netcardconfig }
[exec] (dial-up PPP) {sudo /usr/sbin/pppdial}
[submenu] (DSL/PPPoE)
[exec] (PPPoEconf) {aterm +tr -T "PPPoEconf" -e sudo -H /usr/sbin/pppoeconf }
[exec] (Pon) {sudo -H /usr/bin/pon }
[exec] (Poff) {sudo -H /usr/bin/poff }
[end]
[exec] (iwconfig) {iwconfig_setup}
[exec] (wlcardconfig) {aterm +tr -T "wlcardconfig" -e sudo /usr/sbin/wlcardconfig }
[exec] (ndiswrapper) {ndissetup}
[exec] (prism2) {prism2_setup}
[end]
[submenu] (Demonios) {}
[submenu] (ssh) {}
[exec] (iniciar) {sudo /etc/init.d/ssh start}
[exec] (detener) {sudo /etc/init.d/ssh stop}
[exec] (reiniciar) {sudo /etc/init.d/ssh restart}
[exec] (recargar) {sudo /etc/init.d/ssh reload}
[exec] (forzar-recarga) {sudo /etc/init.d/ssh force-reload}
[end]
[submenu] (nfs-common) {}
[exec] (iniciar) {sudo /etc/init.d/nfs-common start}
[exec] (detener) {sudo /etc/init.d/nfs-common stop}
[exec] (reiniciar) {sudo /etc/init.d/nfs-common restart}
[end]
[submenu] (Servidor Web Monkey) {}
[exec] (iniciar monkey) {sudo /opt/monkey/bin/banana start}
[exec] (detener monkey) {sudo /opt/monkey/bin/banana stop}
[exec] (reiniciar monkey) {sudo /opt/monkey/bin/banana restart}
[end]
[submenu] (FTPd) {}
[exec] (iniciar betaftpd) {sudo /usr/sbin/betaftpd}
[exec] (detener betaftpd) {sudo killall -9 betaftpd}
[end]
[end]
[exec] (Teclado) {aterm +tr -T "kbdconfig" -e sudo /usr/sbin/kbdconfig }
[exec] (Video Xvesa) {/usr/sbin/xvesa.lua }
[exec] (Configura Servidor X) {aterm +tr -T "X Setup" -e /usr/sbin/xsetup.sh }
[exec] (Top Procesos en ejecucion) { aterm +tr -T "Top" -e /usr/bin/top}
[exec] (pstree) {aterm +tr -e /usr/bin/pstree.x11}
[exec] (Agrega Usuarios) {sudo /usr/sbin/addusers.lua}
[exec] (Configura archivo de intercambio DOS) {aterm +tr -T "Setup DOS Swapfile" -e /usr/sbin/mkdosswapfile }
[exec] (Configura Fecha y Hora) {/usr/local/bin/datetool.lua}
[exec] (System Stats) {/usr/local/bin/stats.lua}
[exec] (PCMCIA Control de tarjeta){/usr/bin/cardcontrol.lua}
[exec] (Herramienta de diskette){/usr/bin/fdtool.lua}
[exec] (Configurador de Mouse){/usr/local/bin/mouse-config.lua}
[end]
[submenu] (Gestor de Ventanas) {}
[exit] (Salir)
[reconfig] (Reconfigurar)
[restart] (Reiniciar){}
[exec] (Cambiar a JWM){switcher.lua}
[end]
[exec] (Ejecuta Programa) {flrun.lua}
[submenu] (Menu Apagar) {}
[exec] (Apagar){ exitcheck.sh shutdown}
[exec] (Reiniciar){ exitcheck.sh reboot}
[end]
[end]
Debian END
Para que se puedan colocar los acentos necesita este archivo llamado "acentos"
keysym a = a A aacute Aacute keysym e = e E eacute Eacute keysym i = i I iacute Iacute keysym o = o O oacute Oacute keysym u = u U uacute Uacute keysym y = y Y udiaeresis Udiaeresis
Además que se modifique este archivo de sistema, llamado .xinitrc
# put X windows programs that you want started here. # Be sure to add at the end of each command the &
xmodmap /home/dsl/acentos &
KEYTABLE="$(getknoppixparam.lua KEYTABLE)" DESKTOP="$(getoption.lua $HOME/.desktop wm)" ICONS="$(getoption.lua $HOME/.desktop icons)"
umix -lf .umix 2>/dev/null
[ -f .mouse_config ] && sh .mouse_config &
# For non-US Keyboards if [ ${KEYTABLE:0:2} != "us" ]; then xmodmap -e "clear Mod4" -e "add Mod5 = Mode_switch" & fi
if [ "$ICONS" == 1 ]; then for x in `ls -1 .xtdesktop/*.hide 2>/dev/null`; do rm -f ${x%.*}; done iconsnap.lua &>/dev/null & xtdesk.sh fi if egrep -qv lowram /proc/cmdline 2>/dev/null; then dillo /usr/share/doc/dsl/getting_started.html &>/dev/null & torsmo 2>/dev/null & fi case $DESKTOP in fluxbox ) fluxter &>/dev/null & wmswallow -geometry 70x80 docked docked.lua & exec fluxbox 2>/dev/null ;; jwm ) ./.background sleep 2 exec jwm 2>/dev/null ;; * ) exec fluxbox 2>/dev/null ;; esac
Y para que OpenOffice se cargue de forma automática al inicialr DSL, debemos modificar el archivo bootlocal.sh y quedará así:
#!/bin/bash # put other system startup command here
/sbin/syslogd mydsl-load /home/dsl/uci/OOo.2.3.es.uci
loadkeys es
Copiando estos archivos, donde indica el primer script, se puede hacer en forma manual, o copiar los archivos en el directorio base, junto con el script y desde allí ejecutarlo con privilegios de root.
espero que les sirva cualquiera de las opciones,
Saludos,
Fabio.-
|