TMLinux crece y ahora está disponible en un DVD
Entre las novedades incluye:
Soporte de archivos .cdr (Corel Draw) mediante uniconvertor e Inkscape
Metapaquetes de aplicaciones instalados:
Básico
Multimedios
Gráficos
Efectos 3D
Juegos
1) Reboots are not SOP (Standard Operating Procedure). If an application dies, or locks up (which is rare, but can happen, usually with bleeding edge versions of apps), your OS is usually fine. If the app window stays open, iconify it or run xkill and click on it, no worries. The same is true for updates, software installs, etc. Except for kernel upgrades (infrequent), the message "You must reboot for changes to take affect" or what ever you are used to seeing is a thing of the past.
2) "It is recommended that you close all apps before proceeding" is a message you will fail to see. There is no reason to stop listening to online music, surfing the web, downloading updates or new programs and/or flipping back to your word processor, all while burning a music CD. The mouse tie ups common in other "multitasking" operating systems doesn't happen. You know the one where the icon becomes an hourglass and you are free to multi-task once the computer decides to give you cursor control back.
3) You don't need to renew your spyware/spamware and virus checker subscriptions. Sorry, you will have to find something else do with your money. Of course, nothing Linux can do about phishing links, so always beware there, but know that if you install it from your CD or open source vendor, you are spyware and virus free.
4) Linux comes with many, many, many, many applications to do pretty much anything you want to do with a computer. You won't find many Linux applications at the store because 1) they are included on your CDs/DVDs and 2) A free copy is just a download away. Always search your CD first. (with the software install method for the program you want) It is likely there, a few clicks and NO REBOOT away from running on your computer)
5) Stop looking for EULA boxes. You may have to occasionally agree to the GPL, however, email keys, digging out the CDs to find that security code to install xyz, email reminders about upgrades, all that joy doesn't exist, it is all yours to use in any way you desire.
6) Autoconfiguration. After you buy that USB drive, or that printer (you did verify that it is Linux compatible), plug it in then start using it. Your days of loading driver CD:reboot, load application CD:reboot, load OS CD x:reboot, register-click through 6 EULA boxes then finally get around to configuring it are over. You plug the USB drive in, 10 seconds later, it is fully installed and configured, and up opens your filemanager, or a printer dialogue box opens (select paper size, resolution, etc). The same thing you saw during your install, the usual lack of driver configuration is SOP in Linux.
7) You don't need to try to find the Linux equivalent of "PC Doctor" or whatever you are used to. Linux does not slow down over time, installing 40,000 apps (if you have the disk space) does not corrupt anything and feel free to uninstall any app through your distro's GUI interface, you WON'T clutter anything up.
8) Defrag. There is no Linux defrag tool, so don't look for it. In Linux, disks don't fragment in any substantial way. If you keep you HD at 98% all the time, then some fragmentation (obviously, about 2%) can occur since contiguous space is not available.
9) Under the "Start" menu, or Linux equivalent, you will find applications usually (sometimes your vendor makes strange placement choices) grouped in logical terms such as Internet (for of course, internet applications) or Office (for office applications) or Games. This is counter to the usual very logical way of Start-->Roxio-->Easy CD Creator 5-->Easy CD Creator--> Creator (You mean you forgot that Roxio makes the CD creation software for your lightscribe drive?
10) You computer is yours. No one is phoning home to check up on you. None of your music collection is about to be obsolete. None of your players require any internet connection to a "validation server" and none of your computer habits are being sent to any corporate entity that "believes strongly in your privacy" while it collects stats, no program is going to ask for revalidation if you decide to upgrade your motherboard, or video card, or add 3 USB hard drives. Your computer is yours, and you are free.
1. Conseguir y mantener actualizado un sistema completo legalmente sin pagar ningún dinero.
2. Poder correr diferentes interfaces gráficas si no te gusta la que viene por defecto o no se adecúa a tus necesidades.
3. Tener control total del hardware del ordenador y saber que no hay puertas secretas traseras en mi software, puestas por compañías de software o gobiernos malintencionados.
4. No hace falta desfragmentar los discos duros, nunca.
5. Probar programas, decidir que no me gustan, desinstalarlos y saber que no he dejado basura en un registro que puede ralentizar el mi máquina.
6. Usar el SO sin necesidad de correr antivirus ni ningún tipo de software anti-espía, y no reiniciar mi ordenador durante meses.
7. Personalizar lo que quiera, legalmente, incluyendo mis programas favoritos. Y puedo preguntar a los desarrolladores, proponerles ideas y participar en el proceso de diseño/programación de software si quiero.
8. Usar el mismo hardware durante más de 5 años hasta que realmente necesites reemplazarlo.
9. Recibir ayuda de cientos de usuarios, expertos y novatos de manera gratuita y desinteresada.
10. Tener un escritorio con efectos espectaculares, y muy superiores a los de Windows Vista, en un ordenador de hace tres años.
http://vivalinux.com.ar/articulos/10-cosas-solo-en-linux.html
Ayer me topé con problemas al instalar un disco duro externo.
Después de usar Gparted mi instalación de Sidux-Debian ya no podía trabajar con la conexión de red inalámbrica, ni montar automáticamente dispositivos USB, así que corté por lo sano, respaldo todo lo que pude y volví a instalar Sidux pero en versión Eros ó 2007-4.
En este momento estoy instalando programas y recuperando configuraciones. Me agrada bastante. Sólo tuve que instalar b43-fwcutter para que funcionara el adaptador de red inalámbrico.
Solamente firefox está consumiendo más memoria de lo que debería, pero tal vez es porque copié los archivos de configuración que usaba anteriormente. Más al rato voy a ver de que se trata.
apt-get update
apt-get --purge remove synaptic
apt-get install synaptic
El mismo método funciona para Midnight Commnader
(gracias a Martín por el dato)
http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1073&ref=featured
Con una cuenta AWS de Amazon se usa el servicio de almacenaje (s3) para contar con descargas rápidas de contenidos premium
El agregado s3fox sirve para enviar y administrar los archivos
Los archivos se entregan a los usuarios mediante javascript para redireccionarlos a las direcciones de tipo http://descargas.tmlinux.com.s3.amazonaws.com/nombre_archivo.ext
Las rutinas javascript se activan después de recibir el pago via paypal o correo con copia de la ficha de deposito
Se instala openbox y los paquetes relacionados con synaptic o apt-get, incluyendo pypanel
después se copia /usr/share/xsessions/openbox.desktop como /usr/share/apps/kdm/sessions/30openbox.desktop para que esté disponible al iniciar sesión
Posteriormente hay que configurar con obconf y obmenu
Lista y publicada la versión 0.3 de TMLinux, dedicada al Festival Latinoamericano de Instalación de Software Libre (FLISOL)
Entre las novedades incluye:
Ayuda remota
Synaptic en español
Información del FLISOL 2008
Se publicó en el sitio de internet de TMLinux (http://tmlinux.com) un video demostrativo de la instalación de esta distribución, donde se muestra el proceso completo, paso a paso y con comentarios en subtítulos.
Este es el primero de una serie de videos que muestra la forma de realizar las operaciones más comunes en TMLinux. Más adelante se convertirá en un curso de computación para aprender imitando. Este curso está enfocado a nuevos usuarios, no sólo de TMLinux, sino de computación, por lo que se busca que sea lo más sencillo posible de entender y practicar.
El video que aparece en internet tiene resolución menor a la original, pero suficiente para distinguir los detalles de la instalación. La versión DVD de TMLinux que se publicará en unos cuantos días incluye el video en su resolución original, de tal manera que cualquier usuario que desee instalar a disco duro puede usar el video como una referencia de lo que debe ir haciendo a tiempo real.
http://www.dailymotion.com/video/x5rf66_instalacion-tmlinux-usando-disco-co_tech
<html><div><object width="420" height="336"><param name="movie" value="http://www.dailymotion.com/swf/x5rf66&related=1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.dailymotion.com/swf/x5rf66&related=1" type="application/x-shockwave-flash" width="420" height="336" allowFullScreen="true" allowScriptAccess="always"></embed></object></html>
El video se encuentra también disponible en la página dedicada a la documentación de TMlinux: http://tmlinux.com/documentos.htm
Ayer instalé actualizacion de Ubuntu para pasar de 7.04 a 7.10rc.
No hubo mayor problema con la actualización y estoy probando nuevos efectos 3D, activador nvidia, y algunas otras cosas que lo hacen todavía más sencillo de usar.
Como de costumbre la lista completa de programas disponibles para instalar es avasalladora, pero muy recomendable para darse una idea de lo que se puede hacer con Ubuntu.
Mañana estaré instalando las modificaciones de la versión final.
Pendiente de aprobación proyecto en SourceForge. En cuanto le den visto bueno envío imagen iso y comienzo campaña de difusión para desarrolladores y comunidad Linux.
Publicado el torrent de TMLinux utilizando Ktorrent y la siguiente lista de rastreadores:
http://open.tracker.thepiratebay.org/announce
http://www.torrent-downloads.to:2710/announce
http://denis.stalker.h3q.com:6969/announce
udp://denis.stalker.h3q.com:6969/announce
http://www.sumotracker.com/announce
(Aunque parece que denis.stalker no funciona con esta dirección)
Por supuesto hay que abrir los puertos para Ktorrent en la pared de fuego (6881-6889 y 4444)
Ahora voy a enviar un mensaje a cofradia, vivalinux, linuxman, etc para solicitarles su ayuda para sembrar la imagen iso de TMLinux
También esta disponible la imagen iso en Adrive.com
http://adrive.com/public/c3e6a1dc3c5069fcfd7b2a5a85078305dfee9384accb89502244f60dea4ccbac.html
y el torrent
http://adrive.com/public/5bd2b7489cbedf2d6d347e427990bb1434473ae0cd593d92ad4fb2dfc24b2792.html
Al recibir clave pública ssh del usuario visitante se ejecuta el comando para abrir el tunel y ejecuta el guión de ayuda remota, esto se logra usando command="/home/visitante/ayuda_remota" en el archivo authorized_keys (http://troy.jdmz.net/rsync/index.html)
Más adelante se puede usar su visitante para ejecutar el ssh y que envíe la clave pública de nuevos usuarios, que posteriormente podrán usar la ayuda desde sus sesiones. (http://ghantoos.org/tag/ssh)
Se descarga uniconvertor
http://sourceforge.net/project/showfiles.php?group_id=198620&package_id=235294
y se instala libpython2.4-devel
apt-get install libpython2.4-devel
después se construye la aplicación desde el directorio donde se descomprimió uniconvertor
python setup.py build
y se instala
python setup.py install
por último se desinstala libpython2.4-devel
apt-get --purge remove libpython2.4-devel
Hay algunos paquetes que no se reconocen en el conjunto educativo.
Se puede instalar el metapaquete desde la línea de comando como superusuario usando:
apt-get install jclic kdeedu geogebra gcompris childsplay stellarium tuxpaint tuxmath tuxtype
Prosigo con la promoción de TMLinux
Ya quedó inscrito en los proyectos comunitarios de PCLinux
http://www.mypclinuxos.com/doku.php/tmlinux
Y anunciado en el principal foro de TMLinux en español
http://pclinuxos.es/foro/viewtopic.php?t=113
Ahora estoy esperando autorización para poder enviar un mensaje a http://www.pclinuxos.com/index.php?option=com_smf&Itemid=26&topic=31717.0
Y así aparece en la lista de remasters de PCLinuxOS
http://www.pclinuxos.com/index.php?option=com_content&task=view&id=37&Itemid=89
Siguen las descargas a buen nivel y ya aparecen 3 siembras completas
Está llegando gente de México y España a descargar
Todavía tengo que enviar una comunicación al foro de localización para coordinar la traducción del instalador y las pantallas de arranque del cdlive donde pregunta por el teclado y red
http://www.mypclinuxos.com/forum/index.php?board=49.0
Lista y publicada la versión 0.2 de TMLinux
Entre las novedades incluye:
Instalación de metapaquetes
Barra de ayuda (kooldock)
Ahora también se pueden descargar las imágenes iso desde distromania.com
http://www.distromania.com/distro_info.php?distro=1205
Estas son las descargas más rápidas que tenemos disponibles hasta la fecha y esperamos que ayuden a nuestros usuarios a tener una experiencia más agradable reduciendo el tiempo de descarga.
Nuestro agradecimiento al excelente equipo de distromania.
Para arrancar como CDenVivo hay que hacerlo con safeboot
Al instalar dio un error de arranque 22 en Grub
Franz logró resolverlo de la siguiente forma:
========================================
Como no podemos iniciar linux, arrancamos desde el live cd
abrimos la consola y nos identificamos como root
y ponemos lo siguiente, paso por paso
grub -> ejecutamos el interprete de comando de grub
fin /boot/grub/stage1 -> busca donde está la partición de linux (por ejemplo hd0,7 )
root (hdX,Y) -> poner el valor devuelto anterior
setup (hd0) -> instala grub en nuestro primer disco duro (hd0), que es con el que inicia el computador
quit -> salimos del interprete de comando grub
=====================================
Probablemente el problema surgió al haber instalado grub a sda1 en lugar de sda, sin número
8:awn-core-applets ########################################### [ 11%]
I/O warning : failed to load external entity "/etc/gconf/schemas/awn-clock.schemas"
Failed to open `/etc/gconf/schemas/awn-clock.schemas': No such file or directory
I/O warning : failed to load external entity "/etc/gconf/schemas/cpumeter.schemas"
Failed to open `/etc/gconf/schemas/cpumeter.schemas': No such file or directory
I/O warning : failed to load external entity "/etc/gconf/schemas/stack.schemas"
Failed to open `/etc/gconf/schemas/stack.schemas': No such file or directory
Utilizando openbox se puede reducir el uso de memoria de manera significativa
La mejor solución es iniciar en nivel 3 (línea de comandos) agregando el 3 al final de la línea de inicio de GRUB. Se entra a una sesión de usuario en modo texto y se escribe
startx openbox -- :0
para iniciar openbox
Después podemos usar fbpanel para tener el acceso al menú y la barra de tareas
Me falta poder arrancar sin que se abran aplicaciones de KDE como knotify o kded, que consumen bastante memoria
Openbox está disponible a partir de la versión 0.3.3
Probablemente amsn provoque que se cierre la sesión KDE
Firefox trata de descargar algunas páginas en lugar de mostrarlas
Tuve que compilar x11vnc (http://www.karlrunge.com/x11vnc/) para contar con servidor vnc confiable, que mostrara el escritorio actual y que pudiera conectarse a un cliente vnc en modo de escucha (-listen)
primero instalé libxorg-x11-devel para cubrir las dependencias
y luego
./configure
make
y como superusuario
make install
Al final hay que remover los programas que se instalaron con libxorg-x11-devel
apt-get remove libxorg-x11-devel libapplewm7 libapplewm7-devel libdmx1-devel libfontconfig1-devel libfontenc1-devel libfreetype6-devel libfs6-devel libice6-devel liblbxutil1 liblbxutil1-devel libmesagl1-devel libmesaglu1-devel libmesaglut3-devel libmesaglw1 libmesaglw1-devel liboldx6 liboldx6-devel libsm6-devel libstdc++5-devel libwindowswm7 libwindowswm7-devel libx11_6-devel libxau6-devel libxaw-devel libxaw6 libxcomposite1-devel libxcursor1-devel libxdamage1-devel libxdmcp6-devel libxevie1-devel libxext6-devel libxfixes3-devel libxfont1-devel libxfontcache1-devel libxft2-devel libxi6-devel libxinerama1-devel libxkbfile1-devel libxkbui1-devel libxml2-devel libxmu6-devel libxorg-x11-devel libxp6-devel libxpm4-devel libxrandr2-devel libxrender1-devel libxres1-devel libxscrnsaver1-devel libxt6-devel libxtrap6-devel libxtst6-devel libxv1-devel libxvmc1-devel libxxf86dga1-devel libxxf86misc1-devel libxxf86vm1-devel x11-proto-devel x11-server-devel x11-xtrans-devel zlib1-devel
----------------------------------------------------
Primero había instalado tightvnc-server y tuve conflictos entre kded y avahi al configurar /home/visitante/.vnc/xstartup
#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
#[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
#[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
#xsetroot -solid grey
vncconfig -iconic &
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
TMLinux 2008 es 0.1.1 incluye un error en open office calc que provoca que se congele el sistema al tratar de "guardar como"
Para corregirlo basta con hacer los siguiente como superusuario (root) desde la línea de comando:
apt-get update
apt-get --reinstall install openoffice.org
O también se puede utlizar synaptic para reisntalar el paquete base de Open Office
Gracias a Gaby por el reporte
Pruebas para ayuda remota
Echar a andar el demonio ssh en la máquina que va a brindar ayuda
/etc/init.d/sshd start (como superusuario)
Arrancar un servidor vnc desde la maquina que recibirá ayuda
x11vnc -bg
Establecer tuneles desde la máquina que recibirá ayuda
ssh -ngfNT -R 5901:localhost:5900 visitante@tmlinux.sytes.net
ssh -ngfNT -R 6022:localhost:22 visitante@tmlinux.sytes.net
Abrir el visor vnc en la maquina que brinda ayuda
vncviewer localhost:5901
al terminar hay que cerrar el visor y el servidor ssh
/etc/init.d/sshd stop
Esto debe cerrar también el tunel
Aqui dejo 59 programas disponibles para Linux
AbiWord
Es un procesador de textos similar al Microsoft Word. Tiene multitud de opciones y es gratis.
Adobe Flash Player
Es un programa que sirve para visualizar contenido multimedia en Internet.
Adobe Reader
Programa para ver e imprimir archivos de formato de documento portátil de Adobe (PDF)
AntiVir
Antivirus que ofrece protección efectiva contra virus.
AVG Anti-Virus
Es un antivirus para uso personal que te protege ante los virus.
Azureus
Cliente mejorado de la red BitTorrent. Opciones avanzadas y muy configurable.
BitTorrent
Programa de intercambio de ficheros. Con muy buenas tasas de transferencia.
Blender
Es una herramienta de diseño 3D gratuita, tanto para uso personal como profesional.
BurnInTest
Es un programa que permite realizar una serie de test a los componentes del ordenador para comprobar su rendimiento y estabilidad.
Dia
Sirve para crear todo tipo de diagramas: UML, entidad relación, diagramas de flujos, diagramas de red, diagramas eléctricos y muchos más.
Dr. Web
Potente Antivirus con un buen motor de detección y limpieza de virus.
ePSXe
Es un emulador de la consola PlayStation (PSX) con el que podrás jugar a los juegos de la PlayStation.
FileZilla
Es un cliente FTP con multitud de opciones y posibilidades.
FreeMind
Es un programa que sirve para crear mapas mentales y conceptuales.
Frets On Fire
Frets On Fire es un juego en el que emularas ser un guitarrista y tendrás que usar el teclado a modo de guitarra.
FrostWire
Es un programa de intercambio de ficheros con el que puedes compartir todo tipo de archivos con otros usuarios.
GIMP
Es un programa de distribución libre que nos permite hacer retoques fotográficos, composiciones y edición de imágenes. Al más puro estilo Photoshop.
Gizmo
Sirve para realizar llamadas de teléfono gratis a través de Internet.
Google Earth
Es un programa que te permite explorar el mundo a tus anchas. Es como tener un Atlas Virtual pero con muchas más posibilidades.
Griffith
Es un programa que sirve para catalogar y gestionar nuestras películas, ya sean en DVD o DivX.
Grisbi
Es un programa de contabilidad personal que nos ayuda a controlar nuestros gastos.
Hamachi
Sirve para comunicar dos o más ordenadores a través de Internet mediante una red virtual propia para tener una comunicación segura.
HTTrack
Es un navegador Offline. Te permite descargar páginas web en el disco duro para luego poder navegar por ellas sin tener que estar conectado a Internet.
IHMC CmapTools
Es un programa que permite crear mapas conceptuales, para analizar situaciones o facilitar el estudio de distintos temas, sin importar su grado de complejidad.
Inkscape
Es un programa editor de gráficos vectoriales similar a Freehand, Xara X, Illustrator o CorelDraw.
Kompozer
Kompozer es un editor de código HTML que te permite crear páginas web con calidad profesional.
LimeWire
Es un programa de intercambio de ficheros que permite compartir música, vídeos, documentos y programas.
Memtest86
Programa que testea la memoria RAM de nuestro ordenador.
Miro
Es un reproductor de vídeo que permite suscribirse a canales de Internet.
Mozilla Firefox
Navegador preparado para la próxima generación es rápido como el rayo en todos los sentidos. ¡Disfrútalo!
Mozilla Thunderbird
Es un gestor de correo fácil de usar, seguro y con filtros anti-spam.
Nvu
Es un completo sistema de edición Web que combina un sencillo manejo de ficheros con una interfaz de usuario intuitiva.
OpenOffice
Programa gratuito que es una alternativa al Ms-Office. Ofrece editor de texto, hoja de cálculo, creador de presentaciones, etc.
OpenProj
Es un programa gratuito y de código abierto, para la administración de proyectos.
Opera
Imprescindible navegador para internet. Mucho más rápido y estable que el Internet Explorer.
Pando
Es un programa de intercambio de ficheros con el que puedes descargar y compartir ficheros con otros usuarios.
PCSX2
Es un emulador de PlayStation 2 que permite jugar a los juegos de PS2 en el PC.
Pidgin
Es un programa de mensajería multiplataforma con el que podrás hablar con tus amigos de AIM, Jabber, ICQ, Yahoo, MSN Messenger, IRC y otros.
PowerISO
Es una herramienta que sirve para manejar imágenes ISO de CD/DVD.
Scribus
Es un programa que sirve para realizar maquetaciones y publicaciones profesionales.
Secret Maryo Chronicles
Es un juego de plataformas 2D inspirado en el famoso Mario Bros.
Skype
Programa para hablar gratis por teléfono en internet. Basta con unos cascos, microfono y conexión a internet.
Stellar Phoenix
Programa para recuperar los datos perdidos de tu Sistema Operativo. Muy efectivo.
Stellarium
Es un programa gratuito, que muestra un cielo en tres dimensiones similar al real, tal como si lo estuvieras observando con un telescopio.
StepMania
Es un juego de baile que emula al famoso Dance Dance Revolution.
SystemRescueCd
Es un sistema Gnu/linux arrancable desde cdrom que sirve para reparar tu sistema y recuperar tus datos después de un fallo.
TightVNC
Programa de acceso remoto a PCs.
TrueCrypt
Permite crear unidades encriptadas que solo podrán ser accedidas si conoces la contraseña de la unidad.
Unstoppable Copier
Recupera datos desde discos dañados o rayados.
VirtualBox
Es un programa que sirve crear máquinas virtuales en nuestro PC y ejecutar cualquier sistema operativo en esas máquinas virtuales.
VLC
Es un reproductor multimedia que soporta tanto vídeo como audio.
VMware Player
Sirve para tener un ordenador dentro de nuestro ordenador. Podrás ejecutar un nuevo ordenador en una ventana de tu Sistema Operativo.
War of Conquest
Es un juego de estrategia online multijugador en el que tendrás que crear y hacer crecer a tu nación.
Workrave
Es un programa que nos ayuda a controlar el tiempo que pasamos trabajando delante del ordenador.
XAMPP
Facilita la instalación de Apache, MySQL, PHP y Perl en nuestro ordenador.
Xara Xtreme
Es un programa de edición gráfica que permite crear ilustraciones vectoriales.
XnView
Programa para visualizar y convertir más de 400 formatos gráficos.
Zattoo
Es un programa que te permite ver la televisión en tu PC sin tener que instalar ningún componente adicional.
ZSNES
Es un emulador de la consola Super Nintendo. Podrás jugar a los juegos de la Super Nintendo en tu PC.
http://mx.answers.yahoo.com/question/index;_ylt=AuaPGITZYwtkNA08EBdx.KnB8gt.;_ylv=3?qid=20080624090248AA8dky6
TMLinux 2008 en preparación, a partir de PCLinux 2008 mini instalado en una máquina virtual y agregando los programas que pudieran ser más interesantes para usuarios promedio de computadora. ([[Adaptaciones de PCLinux a TMLinux]])
Estoy probando que extensiones de Firefox requieren licencia para poner vínculos aparte y que el usuario pueda instalar directamente.
Se modificó el escritorio para que muestre dispositivos extraíbles y se continuó la modificación de draklive-install al español
Se iniciaron pruebas de grabación en video con recordmydesktop. Al utilizar la imagen de TMLinux montada en el CD de la máquina virtual no está mostrando el apuntador del ratón. Tal vez haya que cambiar el tipo de sistema operativo o deshabilitar laintegración del ratón.
En Sidux se puede usar el guión smxi para instalar los programas de virtualización VMware-player y Virtualbox de forma automática al cambiar el kernel.
Lo probé con Sidux-eros y creó perfectamente los módulos necesarios.
1. Enable pipelining
Browsers are normally very polite, sending a request to a server then waiting for a response before continuing. Pipelining is a more aggressive technique that lets them send multiple requests before any responses are received, often reducing page download times. To enable it, type about:config in the address bar, double-click network.http.pipelining and network.http.proxy.pipelining so their values are set to true, then double-click network.http.pipelining.maxrequests and set this to 8.
Keep in mind that some servers don't support pipelining, though, and if you regularly visit a lot of these then the tweak can actually reduce performance. Set network.http.pipelining and network.http.proxy.pipelining to false again if you have any problems.
2. Render quickly
Large, complex web pages can take a while to download. Firefox doesn't want to keep you waiting, so by default will display what it's received so far every 0.12 seconds (the "content notify interval"). While this helps the browser feel snappy, frequent redraws increase the total page load time, so a longer content notify interval will improve performance.
Type about:config and press [Enter], then right-click (Apple users ctrl-click) somewhere in the window and select New > Integer. Type content.notify.interval as your preference name, click OK, enter 500000 (that's five hundred thousand, not fifty thousand) and click OK again.
Right-click again in the window and select New > Boolean. This time create a value called content.notify.ontimer and set it to True to finish the job.
3. Faster loading
If you haven't moved your mouse or touched the keyboard for 0.75 seconds (the content switch threshold) then Firefox enters a low frequency interrupt mode, which means its interface becomes less responsive but your page loads more quickly. Reducing the content switch threshold can improve performance, then, and it only takes a moment.
Type about:config and press [Enter], right-click in the window and select New > Integer. Type content.switch.threshold, click OK, enter 250000 (a quarter of a second) and click OK to finish.
4. No interruptions
You can take the last step even further by telling Firefox to ignore user interface events altogether until the current page has been downloaded. This is a little drastic as Firefox could remain unresponsive for quite some time, but try this and see how it works for you.
Type about:config, press [Enter], right-click in the window and select New > Boolean. Type content.interrupt.parsing, click OK, set the value to False and click OK.
5. Block Flash
Intrusive Flash animations are everywhere, popping up over the content you actually want to read and slowing down your browsing. Fortunately there's a very easy solution. Install the Flashblock extension (flashblock.mozdev.org) and it'll block all Flash applets from loading, so web pages will display much more quickly. And if you discover some Flash content that isn't entirely useless, just click its placeholder to download and view the applet as normal.
6. Increase the cache size
As you browse the web so Firefox stores site images and scripts in a local memory cache, where they can be speedily retrieved if you revisit the same page. If you have plenty of RAM (2 GB of more), leave Firefox running all the time and regularly return to pages then you can improve performance by increasing this cache size. Type about:config and press [Enter], then right-click anywhere in the window and select New > Integer. Type browser.cache.memory.capacity, click OK, enter 65536 and click OK, then restart your browser to get the new, larger cache.
7. Enable TraceMonkey
TraceMonkey is a new Firefox feature that converts slow Javascript into super-speedy x86 code, and so lets it run some functions anything up to 20 times faster than the current version. It's still buggy so isn't available in the regular Firefox download yet, but if you're willing to risk the odd crash or two then there's an easy way to try it out.
Install the latest nightly build (ftp://ftp.mozilla.org/pub/firefox/nightly/latest-trunk/), launch it, type about:config in the address bar and press Enter. Type JIT in the filter box, then double-click javascript.options.jit.chrome and javascript.options.jit.content to change their values to true, and that's it - you're running the fastest Firefox Javascript engine ever.
8. Compress data
If you've a slow internet connection then it may feel like you'll never get Firefox to perform properly, but that's not necessarily true. Install toonel.net (toonel.net) and this clever Java applet will re-route your web traffic through its own server, compressing it at the same time, so there's much less to download. And it can even compress JPEGs by allowing you to reduce their quality. This all helps to cut your data transfer, useful if you're on a limited 1 GB-per-month account, and can at best double your browsing performance.
(http://www.techradar.com/news/software/applications/8-hacks-to-make-firefox-ridiculously-fast-468317)
It was the best of times. It was the worst of times. They say never to begin a novel talking about the weather. I guess nobody told Dickens, but I digress…
Today I booted into Windows XP MCE for the first time in 24 days. I would like to share my experience. I kept careful notes because I knew what to expect from past experience and I anticipated some of the problems that I will share.
First let me say that I am not a newbie. I have used PCs from the earliest days. I began on the Apple II and I have used Windows extensively ever since there first was such a thing. I have used Linux as my main OS for about 7 years. Now that I have got past the preamble, here is my tale of two experiences.
It took XP 42 seconds to boot. That is fairly typical for my computer. The Windows desktop first appeared at 10:56 a.m. However, I was not able to use my computer for some time as it went nuts with updates, probably because it had not been into Windows for awhile. I got several pop-up notices about updates available and blithely began to answer everything in the affirmative. Four minutes later, the update notices stopped coming and I was able to get control over the computer and set to work. However, three minutes later I got a flurry of activity as the hard drive became very busy once again. This may sound extreme, but it happens after not using Windows for a long time.
I loaded Firefox and began to read messages. At 11:06 the hard drive settled down to a normal level. One minute later I got my first notice to restart the computer. I wanted to work so I clicked on Later. At 11:08 the hard drive started to get busy once more and I received yet another update notice. I answered Yes. At 11:13 I got an Update Complete notice. I set back to work after this short interruption.
At 11:17, I got my second nag to restart. I chose Later once again and got back to reading messages in Firefox. At 11:26 I got a third nag to restart. By now my work was thoroughly messed up due to all of the interruptions and it was clear that I would be nagged until I relented which I did.
I installed a program that I had downloaded and then proceeded to clean up the shortcut on my desktop and then to edit the menu to move the new folder into a logical group. I created a group called Utilities and moved the folder into it. I restarted at 11:32. Three minutes later I was back where I started in Windows.
I got a busy icon for a minute. I got a pop-up security message that a file had been changed. I agreed and dismissed the security message. I got another pop-up that there were updates to install. I said yes in the vain hope that they would allow me to work while it was busy. Then another balloon appeared on my system tray telling me just that.
One minute later I got yet another security warning about changes made previously. I agreed and dismissed the message. I set to work at 11:38, but one minute later I got a busy icon and the hard drive went crazy once more. I then got a notice to restart. I chose Later and continued to work. I got more restart notices every 9 minutes until such time as I re-booted at 12:11 p.m.
I had been working for a little over an hour and had received 6 nags and was rebooting for the second time. I had got little done. However at 12:12, I was back in Windows XP for the third time. Again I got a busy icon for roughly a minute. However, when it returned the Language Bar which had been turn off appeared on my task bar. I shut it off and changed the settings so it would not reappear. By 12:15 the hard drive was still busy and I got a security notice that a program was trying to access the internet. It was an antispam program, so I gave it permission (something that my firewall already knew). The hard drive settled down and I began to work at 12:16. After using Firefox for about a minute I got a notice that a script was running and would use resources for some time and asked if I wanted to continue running the script. I said yes.
Two minutes later I got a pop-up that my printer was now installed. It had been installed for months, so this was news to me. Then I got a notice that updates for Windows were available. I wanted details so I got Internet Explorer to open the update screen. I checked out what had previously installed and saw that it was a security update and SP3 for MS Office. Now it wanted to install WGA which had been installed previously. I said yes and it installed. Then it wanted to install SP3. This is what I was waiting for and my real reason for going into Windows. I said yes.
As it began to prepare itself for SP3, Internet Explorer became unusable. In fact, it would not even allow me to minimize it which was a nuisance since it was running maximized. I had run out of desktop real estate because Windows XP has only one desktop. Fortunately I could use the menu and task bar. I would have to work around the IE window. After the downloading was complete I got a pop-up that SP3 was ready to install. I said Yes. It was complete by 1:00. I was asked to restart. I was tempted to say yes, but said Later. After all, I came to work. Nine minutes later though I was nagged to once again restart. I said no and at 1:18 I got my second nag to re-boot. I gave in at 1:23 and rebooted.
However, Windows would not restart. It spontaneously rebooted after just a few seconds. I tried again. This time I watched closely and saw a fleeting BSOD appear before it rebooted. This time I booted into safe mode. I did a System Restore at 1:29. Ten minutes later I was back into XP once again. I got a Restore Complete notice. I got a busy icon and the hard drive set to a flurry of activity once again. When it stopped, I had to remove the Language Bar and change the settings a second time. Two minutes later I left XP.
I booted into Ubuntu 8.04, my default OS. It booted in 57 seconds. After a brief stop at the login screen I was at my desktop complete with Compiz-Fusion and Avant Window Navigator. There was no busy icon and no hard drive activity. I did not receive one update notice and no nags to reboot. It did not give me a language bar that had been previously shut off and it did not install a previously installed printer. In short, I was able to work without interruption.
For fun I installed an application. I loaded Synaptic and a chose a random program. It did not put a shortcut on my desktop that I had to remove and it created the icon in an existing folder that made logical sense. When it was installing I could minimize Synaptic and even if I couldn’t minimize it out of the way I had several desktops to use because Linux allows me as many virtual desktops as I can manage.
These are two very different experiences. You can choose which one suits you the best. I know which one I prefer. By the way I never did get SP3 to work. I knew that it would not be smooth sailing but proceeded anyway, because if you can’t trust the company who gives you your OS, who can you trust?
http://linuxcanuck.wordpress.com/2008/06/03/a-tale-of-two-experiences-or-why-i-dont-use-windows/
Si al tratar de abrir programas graficos desde línea de comando se obtienen avisos del tipo
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
** CRITICAL **: Unable to open display
Hay que habilitar a otros usuarios para usar la misma sesión gráfica
Suponiendo que el usuario que abre originalmente la sesión gráfica es juan y el usuario que quiere abrir el programa es jorge
como juan se escribe en la línea de comando
xhost +
su jorge
y ya como jorge se pueden abrir los programas en ambiente gráfico
Sin embargo es un método que deja expuesta la sesión a ataques. Es preferible utilizar el archivo sudoers siempre que sea posible.
Si se trata de abrir una aplicación gráfica con una línea en un guión como:
/usr/bin/amule
Se obtiene una advertencia: Gtk warning :: cannot open display
agregando env DISPLAY=:0.0 se corrige el problema quedando la línea como sigue:
env DISPLAY=:0.0 /usr/bin/amule
Por ejemplo, si quiero abrir TMLinux wiki en el tema Metapaquetes utilizo
http://tm.com.mx/wikis/linux.php#open:Metapaquetes
Más instrucciones aquí
http://www.scribd.com/doc/2189287/Tiddlywiki-Formatting-Guide
para conectarse al servidor dominio.com.mx se introduce lo siguiente en Konqueror
sftp://usuario@dominio.com.mx
Para Una máquina en la direccion 192.168.0.1:
sftp://usuario@192.168.0.1
Anteriormente se recomendó en este artículo el protocolo fish://, pero es más propenso a errores de conexión
(Más detalles)
If you have ssh running on a remote host which you need to access, you can dramatically reduce the amount of typing you have to do to manage files by using Konqueror. To access a remote host in this manner, use "fish://" in the Location Toolbar. Then put your username followed by the @ character and the hostname. Here's an example:
fish://willy@10.197.99.55/home/willy
...lets me access a computer which is local on my home network, while:
fish://willy@www.linuxgazette.com/
...lets me access the Linux Gazette site.
After you press enter, you will be presented with a username/password dialog box. Your username should already be there, so just enter your password and you should see your default directory appear in the browser window.
The sftp: really doesn't have anything to do with ftp:. It's really using ssh to do all the directory and file management.
Depending on your permissions on the host, you can read, write, delete, and copy files in this way. This could also be used in conjunction with some of the other Konqueror functions which have been discussed here in Linux Gazette; for example, you should be able to generate thumbnails and webpages as discussed in Hal Stanton's article Building Image Galleries with Konqueror, as long as you start Konqueror as the file manager.
Note that you can use the right-click Konqueror functions such as "Open with" or "Save as...", but that if you open a document with a word processor and you edit it, you won't be able to save it back to the host from within the word processor. In this case you'll have to save a local copy and copy it. But, you can do the copy with another Konqueror window or tab. Also, if the ssh connection times out, you'll be prompted to enter your password again when you do a file operation.
If it doesn't work, here's a troubleshooting list:
1) Be sure to start ssh on the host you want to access.
2) Make sure you have a valid username/password on that system.
3) Make sure that port 22 (ssh port) is open through any firewall in front of the host.
4) Note that "fish:" is not a registered protocol, so it won't work on other browsers.
Es posible manejar una máquina remota usando ssh desde Linux si en la máquina WinXP se instala cygwin (http://www.cygwin.com/setup.exe) con los paquetes openssh y openssl.
Una vez instalado cygwin se ejecuta
ssh-host-config -y
para dejar instalado el demonio ssh
En algunos casos se presentan problemas de permisos que se puden evitar usando
ssh-host-config
y contestando las preguntas manualmente, aunque este método es menos seguro
Ya instalado el servidor sshd se procede a crear el archivo con las claves de usuarios
mkpasswd.exe -l > /etc/passwd
y con
paswwd
se genera la clave para el usuario actual
Si se acaba de instalar el servidor sshd se echa a andar con
net start sshd
En ocasiones posteriores arrancará automáticamente
(http://www.noah.org/wiki/Sshd_on_Windows)
Here's something for broadband people that will really speed Firefox up:
1.Type "about:config" into the address bar and hit return. Scroll down and look for the following entries:
network.http.pipelining network.http.proxy.pipelining network.http.pipelining.maxrequests
Normally the browser will make one request to a web page at a time. When you enable pipelining it will make several at once, which really speeds up page loading.
2. Alter the entries as follows:
Set "network.http.pipelining" to "true"
Set "network.http.proxy.pipelining" to "true"
Set "network.http.pipelining.maxrequests" to some number like 30. This means it will make 30 requests at once.
3. Lastly right-click anywhere and select New-> Integer. Name it "nglayout.initialpaint.delay" and set its value to "0". This value is the amount of time the browser waits before it acts on information it receives.
If you're using a broadband connection you'll load pages MUCH faster now!
utilizar
modprobe hci_usb
hciconfig hci0 up
A partir de la versión 2.4.1 de OpenOffice en PCLinuxOS y TMLinux se separa la aplicación en varios paquetes adicionales, los cuales no se instalan automáticamente al utilizar apt-get upgrade.
Hay que asegurarse de instalar cuando menos los siguientes paquetes:
openoffice.org-base
openoffice.org-core
openoffice.org-common
openoffice.org-impress
openoffice.org-calc
openoffice.org-draw
openoffice.org-java
openoffice.org-kde
openoffice.org-l10n-es
openoffice.org-mimelnk
openoffice.org-writer
Lo primero es utilizar LocaleDrake para cambiar el idioma a español es_MX_utf8
Para que la instalación sea en español hay que sustituir los archivos en la carpeta /usr/share/draklive-install por versiones en español
Se cambia el contenido de /etc/version para reflejar los cambios
Instalar OpenOffice
streamtuner
streamripper
amule
amarok
amsn
¿kate?
firefox
¿xsane?
¿kcalc?
vlc
k3b
yakuake
cups
mplayerplugin
vlcplugin
kdeaddons
jpilot
se vuelven a instalar los programas para que funcionen en español
Se crea la cuenta visitante en donde se prepara el entorno para los nuevos usuarios. A partir de este momento se hacen los cambios desde una sesión de este usuario.
Se cambian los nombres de los íconos del escritorio a español
modificar los vinculos .desktop para incluir lineas de idioma
Name[es]=
Se agrega un botón de Firefox al panel
A aMule se le agregan listas de servidores y nodos actualizadas
Se agrega al menú kde un vínculo al programa de instalación drakliveinstall y se enlaza en el escritorio
Para los archivos wma y wmv se hace la asociación de kde para abrirlos en primera instancia con vlc
Se configura el escritorio para que muestre dispositivos extraíbles
Se instalan /usr/share/tmlinux-metapaquetes/metapaquetes.sh
y /usr/share/tmlinux-ayuda-remota/ayuda_remota.sh
Tambien se copian los archivos de /root/vbcompartido/tmlinux/ssh a /home/visitante/.ssh
se desinstala firefox y se instala firefox 3 con los archivos para soporte en español
En KDE se establece firefox3 como navegador predeterminado
Se instala conky (monitoreo de cpu, ram, etc)
Se instala kooldock, y se copia la configuración .kooldock a /home/visitante
se instalan extensiones para firefox, incluyendo las que requieren aceptar licencia, sólo que usando cleo
colorful tabs
unplug
tabmixplus
flashblock
interclue
También se copia /root/vbcompartido/extensiones_firefox/extensiones_tmlinux.xpi a /usr/share/tmlinux-extensiones/extensiones_tmlinux.xpi
Una vez completados los cambios a la sesión demo se copian los archivos y subdirectorios a /etc/skel para que los nuevos usuarios los tengan como predeterminados.
Solamente se eliminan verificar y authorized_keys de /etc/skel/.ssh para que la ayuda remota solo se pueda ofrecer desde el usuario visitante y se modifica el autostart de kde para que no inicie firefox junto con la sesión, solamente kooldock
La página de inicio se copia de /root/vbcompartido/tmlinux a /usr/share/doc/HTML
--Se instala jnext en /usr/lib/firefox*/plugins copiando jnext.so y la carpeta jnext
Los íconos de inicio del menú kde (/root/vbcompartido/tmlinux/beautification/kdemenu*.png) se copian a /usr/share/icons/crystalsvg/*x*/apps
Se descarga tm.com.mx/wikis/linux.php a /usr/share/doc/HTML/linux.html
Se usa el procedimiento indicado en [[29/3/2008 Compilar x11vnc para la ayuda remota en TMLinux]]
Se compila uniconvertor para soporte .cdr con inkscape
Se agrega openbox (para arranque e instalación con poca memoria)
Se instalan metapaquetes para versión DVD
Se actualiza pidgin a versión 2.4.3
Se actualiza openoffice a versión 2.4.1
En la edición DVD se instala JMF de acuerdo a las indicaciones en [[Agregar soporte multimedios a Openoffice con JMF]]
Se instalan xine-flac y xine-faad
Se elimina openoffice-draw de la edición CD (desde la versión 0.4)
Se actualiza amsn a 0.97.1
Se aplica el procedimiento [[Cambiar la configuración UTC del reloj en TMLinux para usar hora local]]
Para contar con acceso a mensajes de Skype desde Pidgin se instala el [[Conector Skype para Pidgin]] en la versión DVD
Se utilizan los fondos de escritorio de
http://www.gnome-look.org/content/show.php/Surreal+Sunset++Blue++Human+Colors?content=85183
y
http://www.cubemine.com/
a partir de TMLinux 0.5
Antes de crear la imagen iso se ejecuta
"Konqueror Control Center -> Security & Privacy -> Cleanup"
y
apt-get clean
además de limpiar los datos de firefox
Usando Menú->Sistema->Monitoreo->Netapplet obtenemos un indicador en la barra de tareas con los datos más relevantes de la conexión
Si oprimimos con botón izquierdo del ratón abre una ventana con los datos actuallizados de la transferencia de información
Con botón derecho presenta otras opciones de configuración, entre ellas la posibilidad de cambiar de red inalámbrica
Para que cualquier usuario pueda cambiar la configuración inalámbrica al configurar la interfaz de red hay que seleccionar la opción correspondiente, al igual que permitir el cambio de red (roaming)
Add in the following to /boot/grub/menu.lst :
title Windows
root (hd0,0)
makeactive
chainloader +1
-----------
hd0,0=primer disco,primera partición
-----------
http://mailman.lug.org.uk/pipermail/wolves/2005-October/017485.html
I installed bplay and in the sounds tab of my preferences set the sound method to command and as sound command entered
bplay %s
http://modfree.org/index.php?topic=458.msg2272
1. Download JMF from the sun website (Instalar con apt-get para TMLinux)
2. Look up, which JRE you are using in Openoffice(it is important to know precisely where the one which OO uses is located), look it up under "Tools-Options-Java"
In my case this is /usr/java/jre1.6.0
3. "Install" the JMF (Actally at least on my machine this dumb installation procedure doesn't install anything but just unfolds the JMF to some place).Locate the place, where the JMF files were dumped. (/usr/share/jmf/lib para TMLinux 0.4)
4. Manually copy the files "jmf.jar", "mediaplayer.jar" and "multiplayer.jar" into the "/ext" directory of the JRE that Openoffice uses. They must be located there, otherwise they don't work!!!!!! - took me days to find that one out :roll: :roll:
In my case this is /usr/java/jre1.6.0/lib/ext (may be symlinks would be more elegant....) (/usr/lib/jvm/java-1.6.0-sun-1.6.0.06/jre/lib/ext para TMLinux 0.4)
5.In Openoffice select "Classpath" from "Tools-options-java" in Openoffice. Add the three files "jmf.jar", "mediaplayer.jar" and "multiplayer.jar" to the classpaths
6. Optional: You might replace "jmf.jar" by "fobs4jmf.jar" in the above procedure to be able to play more video formats. (Google will easily give you a location to download fobs4jmf.jar from.)
7. Restart openoffice and hopefully your videos will play like a charm.
(http://user.services.openoffice.org/en/forum/viewtopic.php?f=10&t=5849)
Ejecutar como superusuario
cd /etc/init.d
update-rc.d mysql defaults
(En este ejemplo agrega el guión mysql)
Para poder ajustar los valores gamma del monitor que utilizamos se usa el programa xgamma
Por ejemplo: En una computadora Vaio con un problema en la pantalla LCD había que incrementar el valor gamma global a 2.5 para evitar que las imágenes aparecieran como "negativos"
Desde línea de comandos se usa
xgamma -gamma 2.5
Si aparece el mensaje de error
Could not reliably determine server's fully qualified domain name [FAILED]
Basta con comentar (colocar un # al principio) la línea que dice
LoadModule unique_id_module modules/mod_unique_id.so
en el archivo /etc/httpd/conf/httpd.conf
Al utilizar apt-get puede encontrarse la siguiente advertencia:
W: GPG error: http://www.stanchina.net ./ Release: The following signatures couldn't be verified
because the public key is not available: NO_PUBKEY 3DCCCCACE46F104F
Para activar el reconocimiento de las claves públicas se usa:
apt-get install debian-keyring
apt-key add /usr/share/keyrings/debian-role-keys.gpg
De esta forma se verifican las claves de los depósitos de Debian
Para agregar la clave de marillat se hace:
To import my key from a GPG server :
gpg --keyserver hkp://pgpkeys.mit.edu --recv-keys 1F41B907
do the following under root :
gpg --armor --export 1F41B907 | apt-key add -
Para otros repositorios se repiten estos dos últimos pasos, pero sustituyendo el número que identifica a marillat con el número correspondiente a cada depósito
============================================
https://drupal.gulic.org/node/367
ftp://ftp.nerim.net/debian-marillat/faq.html
Okay, as pointed out in a comment on my last post, there are lots of ways to do this sort of thing. Many (most?) real sysadmins would probably choose to write a short shell script. Here's the deal: I actually like PHP. Anyway, in my last post I shared a way to do site backups using PHP. Here's a short followup, how to backup a MySQL database using PHP. You can put this script into the same file as the last script, to be run by a cron job, or you can do this at a different time. Like the last one, this script also originated from this site.
I hope someone finds this useful.
Again, sorry for the crossed out lines in the beginning of the script when the system command is called. My blog software uses a double dash to initialize and terminate the strikeout, and for some reason, even though the text is set as "preformatted," parts are still being struck out. I presume it is because of the presence of quotation marks in the line. The interior of the line should read
mysqldump --user=$dbuser --password=$dbpswd --host=$host $mysqldb
<?php
$emailaddress = "yourname@emailaddress.com";
$host="localhost"; // database host
$dbuser="weird_user_name"; // database user name
$dbpswd="strong_password"; // database password
$mysqldb="important_data"; // name of database
$filename = "~/sqlbackup_important_data." . date("d") . ".sql";
if ( file_exists($filename) ) unlink($filename);
system("mysqldump user=$dbuser password=$dbpswd --host=$host $mysqldb > $filename",$result);
$size = filesize($filename);
switch ($size) {
case ($size>=1048576): $size = round($size/1048576) . " MB"; break;
case ($size>=1024): $size = round($size/1024) . " KB"; break;
default: $size = $size . " bytes"; break;
}
$message = "The database backup for " . $mysqldb . " has been run.nn";
$message .= "The return code was: " . $result . "nn";
$message .= "The file path is: " . $filename . "nn";
$message .= "Size of the backup: " . $size . "nn";
$message .= "Server time of the backup: " . date(" F d h:ia") . "nn";
mail($emailaddress, "important_data db backup" , $message, "From: Website <>");
?>
http://matthewhelmke.net/index.php/2008/02/01/31-automatic-mysql-backups-using-php
Estas reglas son las indicadas
KERNEL=="sd[a-z]", NAME="%k", SYMLINK+="usb%m", GROUP="users", OPTIONS="last_rule"
ACTION=="add", KERNEL=="sd[a-z][0-9]", SYMLINK+="usb%n", GROUP="users", NAME="%k"
ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="/bin/mkdir -p /mnt/usb%n"
ACTION=="add", KERNEL=="sd[a-z][0-9]", PROGRAM=="/lib/udev/vol_id -t %N", RESULT=="vfat", RUN+="/bin/mount -t vfat -o rw,noauto,flush,quiet,nodev,nosuid,noexec,noatime,dmask=000,fmask=111 /dev/%k /mnt/usb%n", OPTIONS="last_rule"
ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="/bin/mount -t auto -o rw,noauto,sync,dirsync,noexec,nodev,noatime /dev/%k /mnt/usb%n", OPTIONS="last_rule"
ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/umount -l /mnt/usb%n"
ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/rmdir /mnt/usb%n", OPTIONS="last_rule"
Place these udev rules in /etc/udev/rules.d/ with any file name ending in .rules For instance on my system this code is in /etc/udev/rules.d/sda.rules.
A version with symlinking /media to /mnt:
KERNEL=="sd[a-z]", NAME="%k", SYMLINK+="usbhd-%k", GROUP="users", OPTIONS="last_rule"
ACTION=="add", KERNEL=="sd[a-z][0-9]", SYMLINK+="usbhd-%k", GROUP="users", NAME="%k"
ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="/bin/mkdir -p /media/usbhd-%k"
ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="/bin/ln -s /media/usbhd-%k /mnt/usbhd-%k"
ACTION=="add", KERNEL=="sd[a-z][0-9]", PROGRAM=="/lib/udev/vol_id -t %N", RESULT=="vfat", RUN+="/bin/mount -t vfat -o rw,noauto,flush,quiet,nodev,nosuid,noexec,noatime,dmask=000,fmask=111 /dev/%k /media/usbhd-%k", OPTIONS="last_rule"
ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="/bin/mount -t auto -o rw,noauto,sync,dirsync,noexec,nodev,noatime /dev/%k /media/usbhd-%k", OPTIONS="last_rule"
ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/rm -f /mnt/usbhd-%k"
ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/umount -l /media/usbhd-%k"
ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/rmdir /media/usbhd-%k", OPTIONS="last_rule"
Important! If you are using any fixed devices (for example SATA hard disks - check your /etc/fstab) which are recognized as /dev/sdX change all occurrences of sd[a-z] to the first unused letter for a sd* device. For example if you have one SATA hard disk recognized as /dev/sda change all "sd[a-z]" to "sd[b-z]". It's a good idea to start the name of your custom udev rules file with a number for example: 10-my-udev.rules so udev will read it first before standard rules. These rules require no other setup in /etc/fstab. Review mount commands options to change permissions, syncing etc. (search forums for details about the consequences of different setups).
(http://wiki.linux-sevenler.org/index.php/ArchLinux_-_Udev)
Para que se monten correctamente las memorias USB en un Knoppix 5.0.x hay que modificar el fichero:
/etc/udev/knoppix.rules
y eliminar en ambas líneas:
-u knoppix -g knoppix
Para que monte la unidad en modo lectura/escritura habrá que modificar el parámetro -r y poner -rw
Después habrá que reiniciar.
Avisos
[[TMlinux 0.4 liberado]]
[[09/5/2008 TMLinux 0.3.2 DVD liberado]]
[[16/4/2008 TMLinux 0.3 Flisol liberado]]
[[24/3/2008 TMLinux 0.2 liberado]]
[[19/2/2008 Torrent publicado]]
Bitácora
[[Problemas de desconexión de dispositivos USB 2.0 en TMLinux 0.4.1 (resuelto parcialmente)]]
[[Problema de dependencias de Evolution en TMLinux 0.4 (resuelto manualmente)]]
[[20/4/2008 No funciona el metapaquete educativo en TMLinux 0.3]]
[[3/3/2008 Error en Open Office Calc]]
Bill Gates ¿En ocasiones te has sentido frustrado utilizando Windows? ¿Sí? Bueno, no te preocupes, Bill Gates también. En un mail interno que envió a varios departamentos de Microsoft en el año 2003 y que se acaba de hacer público, el todavía máximo dirigente de la multinacional norteamericana mostró su malestar por el desbarajuste general de Windows, por la nula usabilidad del sitio microsoft.com, por la dificultad que conllevaba bajarse según que programas, por los problemas de Windows Update, por la lentitud del sistema operativo para instalar algunos paquetes de software, porque fuera necesario reiniciar el ordenador tras instalar prácticamente cualquier cosa o por el gran consumo de recursos que demandaba para determinadas acciones.
El contenido del correo resulta tragicómico por cuanto en él, Bill Gates relata a sus empleados los pasos que ha debido seguir para instalar un programita de lo más inofensivo como es Movie Maker. Comenzando por los problemas para localizar la descarga en microsoft.com, el jerifalte de Microsoft se muestra disconforme con la exasperante lentitud del portal y lo poco eficiente que es de cara al usuario.
A continuación, y ante la imposibilidad de bajárselo directamente de Internet, acude a Windows Update y se encuentra con que el sistema le pide que, si quiere instalar el programa Movie Maker, deberá hacer lo propio con otros 17 MB de datos. Y eso, obviamente, no gusta a Gates, que por si fuera poco se encuentra con que, una vez completada la descarga, el proceso de instalación se alarga 6 largos minutos durante los que el ordenador se ralentiza en exceso y le impide realizar otras tareas.
A continuacvión le aparece una bonita ventanita en la que se le solicita que reinicie el sistema, lo que acaba de cabrear a Gates, que como cualquier hijo de vecino no comprende porqué debe realizar tantas acciones para instalar un programa sin importancia.
Pero es que lo mejor aún está por venir. Una vez completados todos los pasos, Gates se dirige al apartado "Añadir y quitar programas" del Panel de Control para asegurarse de que Movie Maker, efectivamente, se ha instalado correctamente y, vaya por dios, resulta que se encuentra con un montón de nuevos paquetes llamados Microsoft Autoupdate Exclusive test package, Microsoft Autoupdate Reboot test package, Microsoft Autoupdate testpackage1, Microsoft AUtoupdate testpackage2 o Microsoft Autoupdate Test package3, pero, pero, pero... Movie Maker no aparece por ninguna parte sonrisa
En definitiva, que Bill Gates se quejaba de lo mismo que nos quejamos todos. Por tanto, no debemos sentirnos extraños cuando no entendemos según qué cosas de Windows, porque al presidente de Microsoft le pasa (o le pasaba) exactamente lo mismo sonrisa
El contenido íntegro del correo electrónico, en formato PDF, lo podéis consultar en http://blog.seattlepi.nwsource.com/microsoft/library/2003Jangatesmoviemaker.pdf
(http://www.abadiadigital.com/noticia3201.html)
Bloqueando el messenger (Score: 1)
by rubioq (nose@hotmail.com) on Saturday, November 26 @ 11:42:31 CST
(User Info | Send a Message) http://rubioq.275mb.com
En squid yo hice esto que vi en linuxparatodos.com y me funciono.
acl MSN req_mime_type ^application/x-msn-messenger$
acl MSN3 url_regex -i gateway.dll?
http_access deny MSN
http_access deny MSN3
http://cofradia.org/modules.php?name=News&file=article&sid=15848
revisar en rc.sysinit la parte que empieza con
if [ -f /etc/delete-guest-account ];
then
action "Removing Guest Account on first boot"
Primero hay que arrancar el CDenVivo de TMLinux con la opcion "noswap" en la línea de arranque de la pantalla de Grub. De otra forma la partición de intercambio queda montada para su uso con el CDenVivo y Gparted no permitirá borrarla, ni borrar otras particiones en ese disco.
Después se abre Gparted y se desmontan todas las particiones del disco duro donde se quiere borrar particiones.
Luego se procede a seleccionar las particiones e indicarle a Gparted que porceda a borrarlas.
apt-cache search nombre_del_programa
How to Copy Damaged Disks (CD and DVD) in PCLinuxOS
No data storage medium is permanent in true sense. Storage media get damaged in due course of time. Hard disk drives and flash drives have less chance of being damaged as the storage surface is not exposed to human contact whereas optical drives are more prone to damages. Thanks god, there are some good disk recovery tools in GNU/Linux and ddrescue (http://www.gnu.org/software/ddrescue/ddrescue.html) tops their list. It is a data recovery tool. It copies data from one file or block device (hard disc, optical drives, etc) to another, covering data in case of read errors.
Ddrescue is not available in pclinuxos repository, but mandriva packages of ddrescue work like a charm in pclinuxos. Here are the links to download mandriva rpms of ddresce.
http://rpm.pbone.net/index.php3/stat/4/idpl/6755185/com/ddrescue-1.8-1mdv2008.1.i586.rpm.html
http://rpm.pbone.net/index.php3/stat/4/idpl/5142576/com/ddrescue-1.3-2mdv2008.0.i586.rpm.html
http://rpm.pbone.net/index.php3/stat/4/idpl/5101191/com/ddrescue-1.3-1mdv2007.1.i586.rpm.html
http://rpm.pbone.net/index.php3/stat/4/idpl/4321269/com/ddrescue-1.2-2mdv2007.0.i586.rpm.html
http://pclinuxos2007.blogspot.com/2008/04/copying-damaged-disks-cd-and-dvd-in.html
Puedes participar en la versión de internet de este wiki usando la palabra "visitante" como usuario y contraseña, en la columna de la derecha, donde aparece "mts login". (En la version del CD o DVD aparecen mensajes de error).
Si deseas que tus comentarios y aportaciones aparezcan con tu nombre o apodo sólo tienes que enviar un correo a tmlinux(arroba)tm.com.mx con el nombre de usuario y la contraseña que desees utilizar. A la brevedad te daremos de alta y te avisaremos contestando tu correo.
There is a plugin available for openoffice that will convert the format so that we can open .docx files.
OpenOffice.org OpenXML Translator
From the download page:
"The OpenXML Translator provides support for opening and saving Microsoft* OpenXML-formatted word processing documents (.docx) in OpenOffice.org."
After the download, just double click the .deb file and start openoffice. You should be good to go!
http://ubuntulinuxhelp.com/how-to-get-docx-working-in-linux/#more-1270
So my brother recently got himself a Wii, and I decided it would be fun if I started trying to get the Wii Remote working with Linux. Apparently I'm not the first to do this, and the work of other people has made it quite easy to get working. So, here are my steps to getting the WiiMote working in Ubuntu Gutsy:
1 - Purchase an ASUS WL-BTD201M adapter from NCIX
2 - Get all the required packages from the repository by running
sudo apt-get install wmgui wminput
this will pull in all dependencies including bluez (the bluetooth api, and various libraries)
3 - Run wmgui (should be in Applications->Accessories menu, or run from command line)
4 - Go to File->Connect in wmgui
5 - Click the 1 and 2 buttons at the same time on your WiiMote to put it into discovery mode
6 - Click OK on the prompt that came up in wmgui
7 - watch as your WiiMote now works in Linux!
Getting your WiiMote to control your mouse in Linux and do other fun things requires some more steps:
3 - Do steps 1 and 2 above
4 - Run the command
sudo modprobe uinput
5 - Put your WiiMote into discovery mode by pressing 1+2
6 - Run the command
sudo wminput
7 - Observe as the tilt of your WiiMote controls the mouse position, and the buttons control mouse clicks!
There are different config files for wminput, each can be viewed/modified at /etc/cwiid/wminput/ and you can run different config files by either changing the "default" symbolic link, or passing the -c option to wminput, eg:
sudo wminput -c ir_ptr
See how easy that was! Have fun!
http://almostdunn.blogspot.com/2007/12/how-to-get-wiimotes-working-with-linux.html
The Debian way of changing the default mouse pointer is to run the following:
update-alternatives --config x-cursor-theme
También se puede hacer con KDE desde el Centro de Control -> Periféricos
Un problema común de TMLinux cuando se usa en máquinas con arranque dual es que la hora cambia después de utilizar el otro sistema operativo instalado.
Para evitar que esto suceda hay que indicarle a TMLinux que utilice la hora local en lugar de la hora universal (UTC)
Simplemente hay editar el archivo /etc/sysconfig/clock para que la línea que especifica el uso de UTC quede como sigue:
UTC=false
hay que iniciar con un CD de Knoppix
Para aumentar tamaño
Se usa Qparted para aumentar la partición al tamaño deseado
con resize2fs -p /dev/hdxx se aumentan sistemas de archivos ext2 o ext3 hasta el tamaño total de la partición
Para reducir tamaño
Se usa primero resize2fs -p /dev/hdxx tamañoG para reducir el sistema de archivos
Después con Qparted se decrementa el tamaño de partición para que sea el mismo del sistema de archivos
Además de seleccionar e instalar los paquetes que aparezcan al buscar "spanish" en synaptic, también se debe reinstalar drakconf, agregar idioma español al país seleccionado en la configuraciòn de KDE y reiniciar el equipo.
Hyper's CD Catalogizer, o CDCat, para abreviar, permite crear bases de datos con los nombres de los archivos almacenados en discos CD, DVD, etc. y poder buscarlos posteriorrmente. Además se pueden agregar comentarios para hacer más sencillas las búsquedas.
Basta con abrir el programa y la base de datos y oprimir un botón para que se monte el disco y realice una búsqueda recursiva de carpetas y archivos en forma automática.
I downloaded PCLOS Gnome 2008.2 and was pleased to see it run without any problems on my Acer Aspire 5612ZWLMi - Couldn't run PCLOS Gnome 2008.1 on my PC.
I then optioned to install PCLOS Gnome 2008.2 on my harddisk, where I had appr. 70Mb free, and I let PCLOS Gnome use that space as it pleased, and it installed without any problems.
I then restarted my PC and it booted up in PCLOS Gnome ... Except that PCLOS Gnome will not boot.
Changing (something) from 'silent' to 'verbose', I get the following output (its not all though):
Loading jbd.ko module
Loading ext3.ko module
Mounting /proc filesystem
Mounting sysfs
Creating device files
Mounting tmpfs on /dev
Creating root device
Trying to resume from /dev/hda6
Unable to access resume device (/dev/hda6)
Echo: cannot open /proc/suspend2/do_resume for write: 2
Mounting root filesystem /dev/root with flag noatime
mount: error 6 mounting ext3 flags noatime
well, retrying without the option flags
mount: error 6 mounting ext3
well, retrying read-only without any flag
mount: error 6 mounting ext3
Switching to new root
ERROR opening /dev/consule!!!!: 2
unmounting old /proc
unmounting old /sys
switchroot: mount failed: 22
Initrd finished
Kernel panic - not syncing: Attempted to kill init!
That was the last 23 lines of output.
Does anybody know what the problem is?
Why the LiveCD runs without any problems, but PCLOS Gnome not even will boot when installed?
Solution:
during boot selection you type all-generic-ide
you choose what you are going to boot, or just boot default choice, take your mouse down to boot line and hit space bar then type all-generic-ide
then boot.
(http://www.linuxgator.org/forums/viewtopic.php?f=4&t=1086&st=0&sk=t&sd=a&start=15)
The following codes are available as of December 2007:
initrd Only boot the initrd, not the actual CD. This option is (mostly) only useful to LiveCD developers. livecd debug Prints useful information (for developers) from the various scripts while loading the LiveCD.
livecd fstab=<opts> Override the default generation of the fstab
Valid options, combined with "," are the following: auto or noauto and ro or rw.
livecd home=usb For use with a USB memory stick/pen device when attached. Allows you to use the guest account to save and store settings.
livecd noeject Disable the ejection of the CD on shutdown (power-down) or reboot.
livecd noscsi Disable the probing of SCSI devices at boot. Do not use this option when booting from a SCSI device since the boot will fail.
livecd nousb Disable the probing of USB devices at boot. Do not use this option when booting from a USB device since the boot will fail.
livecd nopcmcia Disable the probing of PCMCVIA devices at boot.
livecd nonetwork Disable probing for network at boot.
livecd nosound Disable probing for soundcard at boot.
livecd xdrv= Specify the xdriver such as fbdev or nv
livecd xbpp=<depth> Specify the bitdepth for X
<depth> can be one of 8, 15, 16, 24 or 32.
livecd xres=<res> Specify the resolution for X.
<res> can be one of 800x600, 1024x768, 1280x1024 or 1600x1400.
livecd hwdetect=no Don't run the hardware detection script, booting with the default hardware configuration as stored on the LiveCD.
livecd keyb=<mapping> Use a different keyboard layout mapping from the one the LiveCD was built with
http://linux.exton.net/pclinuxos-exton/pclinuxos-cheatcodes.html
Tan sencillo como copiar el archivo y cambiar la identificación
cp disk1.vdi disk2.vdi
VBoxManage internalcommands setvdiuuid disk2.vdi
One of the more advanced options for resizing your Windows Vista partition is to use the GParted Live CD, a bootable linux CD that takes you straight into GParted, the great linux utility for managing partitions. The problem is that if you resize your boot/system partition, you will be completely unable to boot without repairing windows.
First make sure that you have a bootable Windows Vista installation DVD, as you will be unable to use your computer if you don't. Next, download the GParted Live CD and burn it to cd.
Boot off the GParted cd, and you will see your hard drives in the drop-down list. The first drive is typically your boot drive, but you can check the Flags column to make sure.
image
Next you'll need to right-click on the partition and choose Resize/Move from the menu.
image
Now you can either use the New Size textbox, or just click and drag the partition to make it smaller (or bigger). When you are done, click the Resize/Move button.
image
This doesn't immediately apply the changes, though. You can make other changes to your partitions and then when you are finished click the Apply button.
image9
Depending on the amount of data and the speed of your computer, it can take quite a while to resize the partitions. On my computer it took more than 30 minutes.
image
Once it's done, quit, remove the live cd and then reboot your computer. Unless you are very lucky, you'll be greeted with this horrible error message saying "Windows Failed to start. A recent hardware or software change might be the cause."
File: Windowssystem32winload.exe
Status: 0xc0000225
Info: The selected entry could not be loaded because the application is missing or corrupt.
Here's a screenshot of the error, but don't worry, we'll fix it.
image
Insert your Windows Vista installation dvd and make sure you boot off it. At the welcome screen click the Next button.
image
On the next screen, click the "Repair your computer" link in the lower left hand corner.
image
The system recover options dialog will show up, and will ask you if you want to Repair and restart, which we do.
image
If you happened to click the View details link you'll see that the error is "Windows Device: Partition=Not found", which indicates the problem is the partition that we resized.
image
Your computer will reboot, and you'll see Windows Vista in the list although it now has a different name indicating that it was recovered.
image
When Vista first starts up, it will start running a check of the disk. Whatever you do, don't hit any keys here because we want the system to check the disk.
image
Once it's done it will reboot, and you'll have Vista back up and running again!
image
If you want to rename the Windows Vista entry in the list back to normal, you can use VistaBootPro.
(http://www.howtogeek.com/howto/windows-vista/using-gparted-to-resize-your-windows-vista-partition/)
nmap -p22 -oG - $(ip addr | awk '/inet .*global/ {print $2}' | tr '\n' ' ') | awk '/22\/open/ {print $2}' | uniq
(http://www.shell-fu.org/lister.php?id=405)
Hay que utilizar la guía publicada en http://linux-blog.org/how-to-pclinuxos-2007-and-mythtv/
Como superusuario se usa la instrucción:
monitor-edid
I always got this question in my mind. How to run a command line within python, get the output and manipulates it. Before I learn python, I was doing bash scripts all the while to helps me manipulates text which I get it from log files, or pipes out from some certain command line.
To do it in bash script is straight forward, where I just puts my command line into text like I put in my bash prompt. But to run a command line in python is not like bash script, so what options do I have?
The first function I discover was system in os library.
import os
os.system("ls -l")
http://linux.byexamples.com/archives/366/python-how-to-run-a-command-line-within-python/
By passing the command line to the system function will cause the command executed in subshell and print it straight away to standard output. I don't have chance to keep the outcomes for further manipulations.
The second function that drags my attention is popen, which the same way I pass my command line in, and this time it returns the result into a file object which allows me to manipulate it consequently.
import os
f=os.popen("ls -l")
for i in f.readlines():
print "myresult:",i,
What it returns for me is a the result of standard output, what if I purposely make a wrong command line? let say …
import os
f=os.popen("ls -z")
The error will be print to screen instead of store in file object f,
ls: invalid option -- z
Try `ls --help' for more information.
The error is actually print to standard error, to store the standard error, we need to call popen3().
fi,fo,fe=os.popen3("ls -z")
for i in fe.readlines():
print "error:",i
popen3() returns stdin, stdout and stderr which are standard input, standard output and the standard error. The examples above, I extract the error description from the stderr file object.
How can I tell the command line is success or fail? I have no idea too, the only thing I can do is run readlines() to extract the output from respective file object.
There is another Popen function in subprocess library, I will covers it after I get my hands dirty on that lib more.
ln -s /usr/lib/firefox/plugins/* /home/oposit/Descargas/firefox/plugins
Es tan sencillo como
diff <dir1> <dir2>
y el comando mostrará el detalle de cada diferencia encontrada
Se descarga el conector desde http://myjobspace.co.nz/images/pidgin/libskype.so y se copia en /usr/lib/purple-2/ ó ~/.purple/plugins
Después se agrega la cuenta de Skype a Pidgin
Skype pide confirmación del acceso
Y se pueden comenzar las pláticas de Skype desde Pidgin
(http://myjobspace.co.nz/images/pidgin/)
With the plugin window showing in your browser, right click anywhere over the screen and select 'Configure'.You'll notice that the entries for video and audio output are blank, and this is the source of your problem.
All you need to do is click on the down arrows next to each window and select 'X11' and 'Alsa' output (these obviously depend on how your machine is set up, but play around with the various options until you find the one that works for you.Now click 'OK' and try again – the film should run, audio and all.
http://reddevil62-techhead.blogspot.com/2008/04/tips-tricks-getting-mplayer-mozilla.html
auto-apt es útil para los usuarios que instalan desde el código fuente (source).Haz tenido alguna frustración con ./Configure? por la cantidad de dependencias que no estaban instaladas.Bien,auto-apt resuelve este problema mediante la instalación de paquetes automaticamente al correr ./Configure.
Instalacion
sudo apt-get -y install auto-apt
ejecutar los comandos siguientes para hacerlo utilizable (base de datos).
sudo auto-apt update && sudo auto-apt updatedb && sudo auto-apt udate-local
Uso
En el futuro,en vez de ejecutar el comando
./configure
use el comando
auto-apt run ./configure
(http://phyx.wordpress.com/2008/11/07/auto-apt-on-demand-package-installer/)
La mayor parte de la configuración se puede realizar oprimiendo el botón derecho del ratón sobre el área de reproducción del conector.
Algunas características de este conector se configuran desde el archivo
/etc/mplayerplug-in.conf
En especial el tiempo de reproducción sobre pantalla (OSD)
para desactivarlo basta poner
osdlevel=0
/etc/skel
The /etc/skel directory is quite simple to setup and use. It provides a way to make sure that all new users on your LFS system begin with the same settings. The /etc/skel directory is used by the /usr/sbin/useradd program.
For more information see man useradd.
To get started create a /etc/skel directory. Creating the directory as root is the best way to go. Next copy any files into /etc/skel that you want every new user to have placed in their home drive. Examples include .bash_profile, .bashrc, .bash_logout, dircolors, .inputrc and .vimrc.
When creating a new user with /usr/sbin/useradd use the -m parameter. For example:
useradd -m -s/bin/bash jwrober
The /usr/sbin/useradd program uses a collection of default values. It will read them from the /etc/default/useradd file if it exists. If the file does not exist, then it uses some internal defaults. They can be found by running /usr/sbin/useradd -D.
To change these values to something new, create a base /etc/default/useradd file with the same values as the output of /usr/sbin/useradd -D. Here is a sample.
# Begin /etc/default/useradd
GROUP=100
HOME=/home
INACTIVE=-1
EXPIRE=
SHELL=
SKEL=/etc/skel
# End /etc/default/useradd
The only thing missing from the file is a default shell. Add that by running:
/usr/sbin/useradd -D -s/bin/bash
This will set the SHELL= line to SHELL=/bin/bash. This makes it even easier to add new users to your LFS system. The /usr/sbin/useradd has many parameters that can be set in the /etc/default/useradd file. See the man page for more details.
http://www.fr.linuxfromscratch.org/view/blfs-1.0/postlfs/skel.html
Para cambiar el idioma de los nuevos usuarios se cambia la siguiente sección en file:/etc/skel/.kde/share/config/kdeglobals
[Locale]
Charset=iso8859-15
Country=de
Language=de
Y se deja como sigue
[Locale]
Charset=iso8859-1
Country=mx
Language=es_mx
En /etc/skel/.kde/share/config/desktop0rc se puede especificar el papel tapiz
en /etc/skel/Desktop se encuentran los íconos que aparecerán en el escritorio
Interface Aliasing -- Many IPs on One Physical Card
(The file /usr/src/linux/Documentation/networking/alias.txt contains the kernel documentation on this.)
If you have one network card which you would like to double as several different IP addresses, you can. Simply name the interface eth0:n where n is from 0 to some large integer. You can use ifconfig as before as many times as you like on the same network card--
/sbin/ifconfig eth0:0 192.168.4.1 broadcast 192.168.4.255 netmask 255.255.255.0
/sbin/ifconfig eth0:1 192.168.5.1 broadcast 192.168.5.255 netmask 255.255.255.0
/sbin/ifconfig eth0:2 192.168.6.1 broadcast 192.168.6.255 netmask 255.255.255.0
in addition to your regular eth0 device. Here, the same interface can communicate to three LANs having networks 192.168.4.0, 192.168.5.0, and 192.168.6.0. Don't forget to add routes to these networks as above.
(http://www.icon.co.za/~psheer/book/node28.html.gz#SECTION002890000000000000000)
Como superusuario se utiliza la instrucción xorgconfig
El inconveniente es que hay que saber datos de tasas de sincronización horizontal y refresco vertical, así como memoria de la tarjeta de video.
El uso de este método está limitado a los casos en que no se cuente con un archivo de respaldo de xorg.conf
Otra opción es el comando do-vesa, que genera un archivo xorg.conf con una configuración genérica usando un activador vesa
Este sería el último recurso a utilizar.
Se instaló el programa Conky y se agregó a la barra de ayuda.
Con este programa se puede monitorear diversos aspectos del funcionamiento de la computadora, como uso de cpu, memoria ram, procesos activos, transferencia de datos, partición de intercambio, etc.
Disponible a partir de la versión 0.3.3
Para convertir el título 2 de un dvd a divx se puede usar
mencoder dvd://2 -alang es,en -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vqscale=3:vhq:v4mv:trell:autoaspect -ofps 23.976 -vf crop=720:364:0:56 -o nombre.avi
timidity -Ov nombre_del_archivo.mid
mkisofs -dvd-video -v -o /media/hdxx/trayectoria/nombre.iso /media/hdxx/trayectoria/nombre_estructura
HTMLDOC es una aplicación que nos permite entre otras muchas acciones convertir páginas html a documentos pdf
Se puede abrir desde una terminal
Pincharemos en "Add url" y añadiremos la siguiente dirección: http://tmlinux.com
Luego nos vamos a Output, le damos un nombre al pdf que queremos crear y seleccionamos PDF:
Con lo que ya sólo nos queda darle a Generate
(http://pinguinosycia.blogspot.com/2008/09/convertir-una-web-pdf.html)
Lo más sencillo es utilizar
mencoder input_file.ogg -ovc lavc -oac lavc -o output_file.avi
O usando WinFF como interfaz gráfica para ffmpeg
Aunque también se puede hacer con VLC
http://maketecheasier.com/convert-ogg-to-mp4-using-vlc-media-player/2008/02/18
Copy a Linux installation with ext2/3 filesystem to a bigger harddisk
Submitted by Thomas on Wed, 2007-06-20 15:38.
* Linux
As I am running a Linux VDR installation with an old IBM Deskstar 40GB harddisk. The problem with this harddisk is that it is very small when you use VDR's autotimer functionality and it is far too loud for my living room. My new harddisk is a Samsung SP2514N with 250GB. This drive is very silent. When it is switched on you are wondering if it is really running. But how to copy the old installation to the new harddisk without a fresh and clean installation with all the hassle? Two tools made my day recently:
* dd_rescue
* resize2fs
Warning: Backup your data before you try any of the procedures described below! You have been warned!
You must start your computer with some live CD Linux system that has this tools installed because you cannot copy a filesystem that is mounted. I have used Knoppix for that purpose.
This procedure might work with other filesystems than ext2/ext3 as well (they must be resizable though). Step 4 differs for other filesystem types.
Step 1: Install the new harddisk
You need both the old and the new harddisk in the same computer. I installed my new harddisk as secondary slave (hdd). The old harddisk is the primary master (hda). We change that after we have copied all the data to the new disk. Boot up with Knoppix
Step 2: Create the partitions on the new harddisk
Use fdisk -l /dev/hda to print out all partitions on the disk. Write everything down or print it out. Use mount to find out which partition is your root-filesystem (mounted to /). You need this info in step 6. Now create on the new disk the same partition layout as on the old disk. These partitions need to be equal the size or larger than the old partitions. Swap partitions need to be prepared with mkswap /dev/hddx.
Step 3: Copy the data to the new harddisk
For every partition (skipping swap partitions) do the following:
dd_rescue /dev/hdax /dev/hddx
fsck -f /dev/hddx
Step 4: Resize the filesystems
Now it is time to resize the filesystems to the new partition sizes. Do the following for all the partitions on the new disk (skipping swap partitions again):
resize2fs -p /dev/hddx
Step 5: Remove the old harddisk
Now it is time to say goodbye to your old harddisk. Jumper the new harddisk to the same configuration as the old one and connect it to the cable-plug of the old harddisk. Shut down your computer before you do that! After that boot up with Knoppix again.
Step 6: Install the bootloader on the new harddisk
Now mount your root filesystem partition (it was hda2 in my case): mount /dev/hda2 /mnt And chroot to that mounted directory: chroot /mnt The next step depends on which bootloader you use. There are two possible ones: lilo and GRUB. In the lilo case just execute the command lilo. You should see something like "Linux added". In the case of GRUB execute grub-install.
So that's it. You should now enter reboot and see your new harddisk booting your old installation.
(http://www.peuss.de/node/25)
Assuming Master Linux box (from where you want to clone) is up and running with IP 192.168.0.1.
slave% nc -l -p 9000 | dd of=/dev/sda (Replace /dev/sda with actual drive on your slave machine)
This will listen at port 9000 and whatever it gets at port 9000 will hand over to dd command and dd will simply write that to on slave harddrive (sda) bit by bit.
On Master machine:
Now Login on master linux box and run following command. (It is advisable that Master Linux box should be in calm state , i.e no major jobs running on the machine). This command below will read master disk bit by bit and throw this bit stream to netcat command which is connected to netcat command at port 9000 on <slave> box.
master% dd if=/dev/sda | nc 192.168.0.254 9000
http://www.rajeevnet.com/hacks_hints/os_clone/os_cloning.html
¡Cuidado! Esta operación es peligrosa y puede resultar en la pérdida completa de datos si no se realiza correctamente
Como superusuario ejecutar
dd if=/dev/hda of=/dev/hdb
Los discos utilizadas aquí son hda y hdb, pero pueden cambiar.
¡Cuidado! Esta operación es peligrosa y puede resultar en la pérdida completa de datos si no se realiza correctamente
Como superusuario ejecutar
dd if=/dev/hda1 of=hdb1
Las particiones utilizadas aquí son hda1 y hdb1, pero pueden cambiar.
al terminar hay que desmontar las particiones
umount /dev/hda1
umount /dev/hdb1
Tratandose de la partición primaria puede ser necesario copiar el MBR de un disco a otro, para hacerlo se ejecuta
dd if=/dev/hda of=/dev/hdb bs=512 count=1
Copiar de una versión más actual el archivo:
usr/share/zoneinfo/America/Mexico_City
How to stop "before running Cinelerra do 'echo 0x7fffffff /proc/sys/kernel/shmax':
sudo kwrite /etc/sysctl.conf
add the line: "kernel.shmmax=0xe0000000"
(http://www.pclinuxos.com/index.php?option=com_smf&Itemid=58&topic=45276.msg352528#msg352528)
Un cambio en shoutcast.com provocó que streamripper no pudiera obtener datos desde este sitio.
Para dejarlo funcionando nuevamente hay que modificar la dirección en el conector (plugin) para que apunte a classic.shoutcast.com tal como se especifica en (http://support.zenwalk.org/viewtopic.php?f=10&t=18691)
The classic shoutcast page resolves to The classic shoutcast page resolves to 205.188.234.120
I got streamtuner working with shoutcast again, in Debian Lenny, as follows:
1. Navigate to /usr/lib/streamtuner/plugins
2. As SuperUser, make backup copy of shoutcast.so (just in case)
3. As SuperUser, edit shoutcast.so with a binary editor (I used khexedit)
4. Find both occurrences of http://www.shoutcast.com
Be sure to use "Txt" mode in khexedit
5. Replace http://www.shoutcast.com with 205.188.234.120