tag:blogger.com,1999:blog-48474857580766499912024-02-20T00:19:36.595+01:00ArchLinux: Crónicas de un novatoBlog dedicado a GNU/Linux en general y a Arch Linux en particular.Anonymoushttp://www.blogger.com/profile/06908800585434339549noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-4847485758076649991.post-44832652293871743682013-09-03T10:59:00.002+02:002013-09-03T10:59:36.131+02:00Mudándome a la competencia...¡Hola a todos!<br />
<br />
<div style="text-align: justify;">
Hace tiempo que no escribo aquí. El motivo, además de una carga laboral que me ha quitado bastante tiempo, es que estoy migrando el blog a WordPress, la dirección del nuevo es <a href="http://archeando.wordpress.com/">http://archeando.wordpress.com</a>.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
El cambio de blog a WordPress no ha sido por nada en especial, simplemente, empecé a trastear un poquito con mi cuenta de WordPress y me gustó el resultado. Bueno, es posible que el hecho de que sea software libre y tal, tenga bastante que ver en la decisión. </div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Iré moviendo los artículos de aquí y, de camino, hacerles una revisión.</div>
<div style="text-align: justify;">
<br /></div>
Anonymoushttp://www.blogger.com/profile/06908800585434339549noreply@blogger.com0tag:blogger.com,1999:blog-4847485758076649991.post-45277609250773086222013-04-27T19:19:00.001+02:002013-04-27T19:32:39.892+02:00QtCurve, GTK y el tema Steam-Powered Linux<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEid6AOyds1mNZP2yEmcx3auKAYn_da7jMVNArXEQj9xQ7RGfP7a336h1J_DjEgmoBnlstu33V0-8HmLFPnTG7lxzKdU2yGuszm9vI3l9vKwvVcHEJqFopzVdrUlxap3Nz9SS9Jr9UT8P_cz/s1600/Blog.steampunk-light.png" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"><img border="0" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEid6AOyds1mNZP2yEmcx3auKAYn_da7jMVNArXEQj9xQ7RGfP7a336h1J_DjEgmoBnlstu33V0-8HmLFPnTG7lxzKdU2yGuszm9vI3l9vKwvVcHEJqFopzVdrUlxap3Nz9SS9Jr9UT8P_cz/s400/Blog.steampunk-light.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Steam-Powered Linux Light</td><td class="tr-caption" style="text-align: center;"><br /></td></tr>
</tbody></table>
<div style="text-align: justify;">
El motivo de la entrada, además de presentarles el <a href="http://kde-look.org/content/show.php?content=148276">Steam-Powered Linux KDE theme set</a>, es explicar cómo integrar las aplicaciones <i><b>GTK</b></i> con la estética de <i><b>KDE</b></i> cuando utilizamos temas <i><b>QtCurve</b></i>. Necesitos un tema <i><b>GTK</b></i> que porte la configuración <i><b>QtCurve</b></i>. Esta funcionalidad la encontramos en el paquete es <b><i>qtcurve-gtk2</i></b>, que nos instala el tema <i>qtcurve</i> para <i><b>GTK2</b></i>. A diferencia de <i>Oxygen</i>, no tenemos opción de hacer esto para <b><i>GTK3</i></b>. </div>
<br />
Además, para gestionar los temas <i><b>GTK</b></i> desde el sistema de configuración de <i><b>KDE</b></i>, podemos instalar <i>kde-gtk-config</i>:<br />
<blockquote class="tr_bq">
#pacman -Syu qtcurve-gtk2 qtcurve-kde3 qtcurve-kde4 kde-gtk-config <br />
<a name='more'></a></blockquote>
<blockquote class="tr_bq">
</blockquote>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu97yRpJc1-mIfQQOIg0Hh0weZYHAn_1x2M1fddVUEcXZvUWcLu6u3WrOaZgbtomI65FRL-DRcEh5cZpwsragAX-nftdbbNf75gxM6sWSBorukjV-xWb0QB4qEse0D2tsV5i6lT4agm-DN/s1600/Blog.kde-gtk-config.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="403" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu97yRpJc1-mIfQQOIg0Hh0weZYHAn_1x2M1fddVUEcXZvUWcLu6u3WrOaZgbtomI65FRL-DRcEh5cZpwsragAX-nftdbbNf75gxM6sWSBorukjV-xWb0QB4qEse0D2tsV5i6lT4agm-DN/s1600/Blog.kde-gtk-config.png" width="640" /></a></div>
<div style="text-align: justify;">
Ya tenemos las herramientas necesarias, ahora vamos a instalar el conjunto correspondiente a <i><b>KDE</b></i>: tema para el plasma, ksplash, kdm, wallpapers qtcurve, qtcurve-light y esquemas de colores:</div>
<blockquote class="tr_bq">
$yaourt -S kdeartwork-colorschemes-steampunk kdeartwork-colorschemes-steampunk-light kdeartwork-wallpapers-steampunk kdeplasma-themes-steampunk kdm-theme-steampunk ksplash-steampunk qtcurve-style-steampunk qtcurve-style-steampunk-light</blockquote>
También disponemos de un tema para <i><b>Plymouth</b></i>:<br />
<blockquote class="tr_bq">
$yaourt -S plymouth-theme-steampunk</blockquote>
<br />
<div style="text-align: justify;">
Aunque no forma parte del set, podemos instalar estos punteros de ratón, que quedan bastante bien con este tema:</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUCLrsykY3hYIyvTbtVpTI1vIZE5XtOcXhJa42B8oCWHkq2eCxicZBtZWB5qT7EGaI2qvPLu8J5OawifrTakMjgMO5vFeY8BqGAooBu5SxjGjH0AmTA_w5bm_tY8coBTmqQ3wZ0EBd4xOj/s1600/Blog.cursores.steampunk.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="43" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUCLrsykY3hYIyvTbtVpTI1vIZE5XtOcXhJa42B8oCWHkq2eCxicZBtZWB5qT7EGaI2qvPLu8J5OawifrTakMjgMO5vFeY8BqGAooBu5SxjGjH0AmTA_w5bm_tY8coBTmqQ3wZ0EBd4xOj/s1600/Blog.cursores.steampunk.png" width="400" /></a></div>
<blockquote class="tr_bq">
$yaourt -S steampunk-cursor-theme</blockquote>
<div style="text-align: justify;">
Ahora, para seleccionarlo, dentro de<i> Preferencias del sistema</i> -> <i>Apariencia del espacio de trabajo</i>, en el apartado <i>Decoración de vetanas</i> debemos escoger <i>QtCurve</i>, en <i>Pantalla anunciadora</i> y <i>Tema de cursores</i>, <i>Steampunk</i>. En <i>Tema de escritorio SteampunK</i>.</div>
<br />
<div style="text-align: justify;">
Dentro de <i>Preferencias del sistema</i> -> <i>Estilo</i>, en la opción de <i>Estilo de los elementos gráficos</i>, elegimos <i>QtCurve</i>, le damos a <i>Configurar</i> y seleccionamos <i>SteampunK</i> o <i>SteampunkLight</i>. En el apartado de <i>Colores</i> seleccionamos la combinación en base al tema elegido para <i>QtCurve</i>: <i>SteampunK</i> o <i>SteampunKLight</i></div>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnM_UU91zW72vi_55mHWoVtPQIc9QYIYmFsKItrzauWANwpL51rlOGQKGycgGkOjZycMTt0SdFHoKpQL3kvdlNuftXIk-qPBqsW1mMrKXozbP5uC4rOThzGbQAGU4jANIJWv7HvS8WCVCT/s1600/Blog..steampunk.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnM_UU91zW72vi_55mHWoVtPQIc9QYIYmFsKItrzauWANwpL51rlOGQKGycgGkOjZycMTt0SdFHoKpQL3kvdlNuftXIk-qPBqsW1mMrKXozbP5uC4rOThzGbQAGU4jANIJWv7HvS8WCVCT/s1600/Blog..steampunk.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Steam-Powered Linux</td></tr>
</tbody></table>
Por cierto, los paquetes correspondientes al tema los subí yo, se aceptan sugerencias en cuanto al empaquetado.<br />
<br />
<!-- Blogger automated replacement: "https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F1.bp.blogspot.com%2F-AUTL65n0zFo%2FUXvzabg3fpI%2FAAAAAAAAA8c%2FKgMZpIDp3pI%2Fs1600%2FBlog.kde-gtk-config.png&container=blogger&gadget=a&rewriteMime=image%2F*" with "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu97yRpJc1-mIfQQOIg0Hh0weZYHAn_1x2M1fddVUEcXZvUWcLu6u3WrOaZgbtomI65FRL-DRcEh5cZpwsragAX-nftdbbNf75gxM6sWSBorukjV-xWb0QB4qEse0D2tsV5i6lT4agm-DN/s1600/Blog.kde-gtk-config.png" -->Anonymoushttp://www.blogger.com/profile/06908800585434339549noreply@blogger.com0tag:blogger.com,1999:blog-4847485758076649991.post-35785948485056779042013-02-03T23:12:00.002+01:002013-02-03T23:47:20.306+01:00Instalando impresoras Epson...<div style="text-align: justify;">
Hace poco adquirí una impresora Epson, en concreto el modelo XP-202. La impresora fue detectada sin problemas, pero no así el escáner. </div>
<br />
<div style="text-align: justify;">
Para instalarla y hacer funcionar el escáner, necesitamos instalar el servidor de impresión, Cups, los drivers para las impresoras y los drivers para el acceso al escáner:</div>
<blockquote class="tr_bq">
<i>$ sudo pacman -S cups foomatic-db foomatic-db-engine foomatic-db-nonfree ghostscript sane</i></blockquote>
<br />
<div style="text-align: justify;">
Con esto debería ser suficiente para tener los drivers de nuestra impresora. De todas formas, podemos encontrar en el AUR los específicos de EPSON. Podemos buscarlos así:</div>
<blockquote class="tr_bq">
<i>yaourt -Ss epson-</i></blockquote>
<br />
En mi caso particular, es el paquete <i>epson-inkjet-printer-201202w</i>.<br />
<br />
<div style="text-align: justify;">
Una vez instalados estos paquetes, procedemos a habilitar los daemons para que no tengamos que lanzarlos a mano en cada reinicio:</div>
<br />
<blockquote class="tr_bq">
<i>$ sudo systemctl enable cups.service</i></blockquote>
<br />
<a name='more'></a><br />
<div style="text-align: justify;">
Ahora vamos a comprobar, con la impresora encendida, si el sistema ha reconocido el escáner:</div>
<br />
<blockquote class="tr_bq">
<i>$ scanimage -L</i></blockquote>
<br />
<div style="text-align: justify;">
Si no aparece, miramos con <b>lsusb</b> para comprobar si el sistema la ha detectado:</div>
<br />
<i>[zodiac@zoearch ~]$ lsusb</i><br />
<i><b>Bus 001 Device 005: ID 04b8:0896 Seiko Epson Corp. </b></i><br />
<i>Bus 002 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse</i><br />
<i>Bus 004 Device 002: ID 058f:9360 Alcor Micro Corp. 8-in-1 Media Card Reader</i><br />
<i>Bus 005 Device 002: ID 046d:0929 Logitech, Inc. Labtec Webcam Pro</i><br />
<i>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub</i><br />
<br />
<div style="text-align: justify;">
En es primera línea vemos nuestra impresora. También el ID del fabricante y el modelo (<b>04b8:0896) </b>datos que nos van a hacer falta.</div>
<br />
<div style="text-align: justify;">
Editamos el archivo <i>/etc/sane.d/epson2.conf </i>y añadimos una línea con el ID que hemos obtenido anteriormente. Debemos indicar notación hexadecimal, se hace añadiendo un <b>0x</b> a cada uno de los valores: <b>0x04b8</b> y <b>0x0896</b>. El archivo quedará, más o menos, así:</div>
<br />
<i># epson2.conf</i><br />
<i>#</i><br />
<i># here are some examples for how to configure the EPSON2 backend</i><br />
<i><br /></i>
<i># SCSI</i><br />
<i>scsi EPSON</i><br />
<i># for the GT-6500:</i><br />
<i>#scsi "EPSON SC"</i><br />
<i><br /></i>
<i># Parallel port</i><br />
<i>#pio 0x278</i><br />
<i>#pio 0x378</i><br />
<i>#pio 0x3BC</i><br />
<i><br /></i>
<i># USB</i><br />
<i>usb</i><br />
<i><br /></i>
<i># For libusb support for unknown scanners use the following command</i><br />
<i># usb <product ID> <device ID></i><br />
<i># e.g.:</i><br />
<i><b>usb 0x04b8 0x0896</b></i><br />
<i><br /></i>
<i># Network</i><br />
<i>#</i><br />
<i># net 192.168.1.123</i><br />
<i>net autodiscovery</i><br />
<br />
<div style="text-align: justify;">
Comprobamos que en el archivo <i>/etc/sane.d/dll.conf</i> el backend epson2 está descomentado (sin la # delante) y epson está comentado.</div>
<br />
<div style="text-align: justify;">
Una vez hecho esto, probamos con el comando anterior si ya nuestro escáner está siendo detectado:</div>
<br />
<blockquote class="tr_bq">
<i>$ scanimage -L</i><br />
<i>device `v4l:/dev/video0' is a Noname Camera virtual device</i><br />
<i>device `epson2:libusb:001:005' is a Epson PID 0896 flatbed scanner</i></blockquote>
<br />
<div style="text-align: justify;">
Cómo podemos ver, la segunda línea se corresponde con nuestro escáner. Ya está detectado. Podemos utilizar para escanear simple-scan, xsane, skanlite o iscan (ésta última está en el AUR y es una aplicación de EPSON para sus impresoras TODO-EN-UNO).</div>
<br />
<blockquote class="tr_bq">
<i>$ pacman -S xsane</i><br />
<i>$ pacman -S simple-scan</i><br />
<i>$ pacman -S kdegraphics-ksaneplugin</i><br />
<i>$ yaourt -S iscan</i></blockquote>
<br />
<div style="text-align: justify;">
Si tenemos problemas de permisos, entonces necesitamos añadir nuestro usuario a los grupos <i>scanner</i> y <i>lp</i>:</div>
<br />
<blockquote class="tr_bq">
<i>$ sudo gpasswd -a Nuestro_usuaio scanner </i><br />
<i>$ sudo gpasswd -a Nuestro_usuaio lp </i></blockquote>
<br />
Cerramos sesión, abrimos y volvemos a comprobar.<br />
<br />
<div style="text-align: justify;">
Para añadir la impresora, primero, si todavía no hemos reiniciado, debemos iniciar los daemons:</div>
<blockquote class="tr_bq">
<div style="text-align: justify;">
</div>
<div style="text-align: justify;">
<i>$ sudo systemctl start cups.service </i></div>
</blockquote>
<br />
<div style="text-align: justify;">
Ahora, en nuestro navegador, nos dirigimos a la dirección <a href="http://localhost:631/">http://localhost:631</a>. Nos abrirá una aplicación web desde la cual podremos administrar las impresoras del sistema. Los escritorios KDE y GNome tienen utilidades propias para configurar y administrar las impresoras.<i></i> Para instalarlas:</div>
<blockquote class="tr_bq">
<div style="text-align: justify;">
</div>
<div style="text-align: justify;">
<i>$ sudo pacman -S system-config-printer-gnome </i></div>
<div style="text-align: justify;">
<i>$ sudo pacman -S kdeadmin-system-config-printer-kde</i></div>
</blockquote>
Con esto, ya tenemos la impresora y el escáner operativos. Espero que os sirva. Anonymoushttp://www.blogger.com/profile/06908800585434339549noreply@blogger.com0tag:blogger.com,1999:blog-4847485758076649991.post-52935649733590673322013-01-01T22:47:00.001+01:002013-01-26T12:07:10.419+01:00Cambiando KWIN por Awesome en KDE<div style="text-align: justify;">
<i>Awesome</i> es un gestor de ventanas muy liviano y extensible, además de áltamente configurable.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Es posible que queramos aprovechar las caraterísticas de este gestor de ventanas junto a la integración que nos proporciona KDE con sus aplicaciones.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Para poder utilizarlo, primero debemos crear el archivo<i>
/usr/share/apps/ksmserver/windowmanagers/awesome.desktop</i> y añadir:</div>
<br />
<blockquote class="tr_bq">
<b>[Desktop Entry] </b><br />
<b>Exec=awesome </b><br />
<b>TryExec=awesome </b><br />
<b>Name=Awesome</b></blockquote>
<br />
<b></b><br />
<a name='more'></a><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjsMFiPwIBsoyWQozsMHhcwkLQN6eezDxk-xOBORcVMEKGT4QFyDB4pEEo5DyD3RYRTd3ZQqV3hDEsyS7NCZev8kx1Rtbx4MSb7YMF8ez0mPHz_Wos7uOriapX-YXJr72ZM2iKbcjwCsIT/s1600/1_Cambio_gestor.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="414" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjsMFiPwIBsoyWQozsMHhcwkLQN6eezDxk-xOBORcVMEKGT4QFyDB4pEEo5DyD3RYRTd3ZQqV3hDEsyS7NCZev8kx1Rtbx4MSb7YMF8ez0mPHz_Wos7uOriapX-YXJr72ZM2iKbcjwCsIT/s640/1_Cambio_gestor.png" width="640" /></a></div>
<br />
<div style="text-align: justify;">
Ahora ya podemos seleccionarlo cómo gestor de ventanas, nos dirigimos a <i>"Preferencias del sistmea -> Aplicaciones predeterminadas -> Gestor de ventanas</i>" y seleccionamos <i>Awesome</i>.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Una vez hecho esto, cuando iniciemos KDE, ya nos aparecerá <i>Awesome</i>. Sin embargo, tanto <i>Plasma</i> cómo <i>Krunner</i>, se habrán cargado.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
En el caso de querer desactivar Plasma, bastará con copiar <i>/usr/share/autostart/plasma-desktop.desktop </i>a <i>~/.config/autostart/ </i>y desactivar el autoarranque:</div>
<br />
<blockquote class="tr_bq">
<b>$ cp /usr/share/autostart/plasma-desktop.desktop ~/.config/autostart/ </b><br />
<b>$ echo Hidden=true >> ~/.config/autostart/plasma-desktop.desktop</b></blockquote>
<br />
Si queremos desactivar <i>Krunner</i>:<br />
<br />
<blockquote class="tr_bq">
<b>$ cp /usr/share/autostart/krunner.desktop ~/.config/autostart/ </b><br />
<b>$ echo Hidden=true >> ~/.config/autostart/krunner.desktop </b></blockquote>
<br />
<div style="text-align: justify;">
Una vez hecho esto, para que las notificaciones queden integradas con Awesome, debemos desactivar el <i>"Gestor del notificador de estado"</i>, para ello nos dirigimos a</div>
<div style="text-align: justify;">
<i>"Preferencias del sistema -> Arranque y apagado -> Gestor de servicios" </i>y lo desmarcarmos.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Podemos utilizar plasma también. En ese caso, no es necesario desactivar el <i>"Gestor del notificador de estado"</i>.<br />
<br />
Para poder apagar dentro de KDE, podemos utilizar <b>kshutdown</b>, disponible en el repositorio <i>[extra]</i>. Una vez instalado, añadimos al principio de nuestro <i>~/.config/awesome/rc.lua</i>, después de definir el terminal a utilizar, el editor y el comando para lanzar el editor, lo siguiente:<br />
<br />
<i>--- {{{ selección del método de apagado<br />apagar = "echo 'awesome.quit()'|awesome-client" <br />if ( os.getenv("DESKTOP_SESSION") == "kde-plasma") then <br /> apagar = "<b>kshutdown</b>"<br />end<br />--- }}}</i><br />
<br />
Una vez hecho esto, debemos buscar las líneas dónde asociamos la salida del sistema a <b>awesome.quit</b> y cambiarlas por:<br />
<br />
<b><i>function () awful.util.spawn_with_shell(apagar) end</i></b><br />
<br />
Por ejemplo: <i><br /></i><br />
<br />
<i>........................................</i><br />
<i>myawesomemenu = {<br /> { "manual", terminal .. " -e man awesome" },<br /> { "edit config", editor_cmd .. " " .. awesome.conffile },<br /> { "restart", awesome.restart },<br /> { "quit", <b>function () awful.util.spawn_with_shell(apagar) end </b>}<br />}<br />........................................</i><br />
<span style="font-size: small;"><i> -- Standard program<br />awful.key({ modkey, }, "Return", function () awful.util.spawn(terminal) end),</i></span><br />
<span style="font-size: small;"><i>awful.key({ modkey, "Control" }, "r", awesome.restart),</i><i> </i></span><br />
<div style="text-align: left;">
<span style="font-size: small;"><i>awful.key({ modkey, "Shift"}, "q", <b>function () awful.util.spawn_with_shell(apagar) end</b><b>)</b>,</i></span></div>
<i>......................................... </i></div>
<br />
De esta manera, tanto al pulsar <b>MOD+q</b> cómo utilizando el menú, si estamos en KDE, nos aparecerá un ventana con las opciones típicas: Apagar, Suspender, Reiniciar...<br />
En el caso de estar en una sesión sólo de <i>Awesome</i>, la salida será la predeterminada por el gestor de ventanas.<br />
<br />
<br />
Fuente: <a href="http://awesome.naquadah.org/wiki/KDE_and_awesome">http://awesome.naquadah.org/wiki/KDE_and_awesome</a><br />
<br />Anonymoushttp://www.blogger.com/profile/06908800585434339549noreply@blogger.com0tag:blogger.com,1999:blog-4847485758076649991.post-60546906047730512262011-12-16T01:35:00.000+01:002012-12-27T00:56:22.543+01:00Instalando Friendica...<div style="text-align: justify;">
<span style="font-size: x-large;">¿Qué es <a href="http://friendica.com/" target="_blank"><img border="0" height="26" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz_rQisTcqBGWQsW9Fry6uuu1YHGjsMdqhEfPGDkg-voUIH4X7_YYk3JLUn5DuoZEBM9HD88iHWx2_D4xzCu_HvtXNfvqkMgI1HT3Aqk-tcTVdMFE87nN1vsUv4T50ZYYV69bo42l1f9oZ/s400/friendica-32.jpg" width="26" />friendica</a>?</span></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
¿Te imaginas una red social en la que puedas seguir a tus contactos, aunque estén en otras redes? Todas tus conversaciones de Facebook, Diaspora, Identi.ca, correos, RSS, étc. tenerlos en una misma línea de tiempo, pudiendo agrupar contactos, controlar la privacidad de las publicaciones, tener múltiples perfiles...</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Una red donde tus publicaciones son tuyas. Tus imágenes son tuyas. Y, tus imágenes privadas, son realmente privadas.</div>
<div style="text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
</div>
<div style="text-align: justify;">
Descentralizada, libre, federada (con StatusNet, GnuSocial, Diaspora... ), extensible y gratuita. Eso es <a href="http://friendica.com/" target="_blank"><img border="0" height="16" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz_rQisTcqBGWQsW9Fry6uuu1YHGjsMdqhEfPGDkg-voUIH4X7_YYk3JLUn5DuoZEBM9HD88iHWx2_D4xzCu_HvtXNfvqkMgI1HT3Aqk-tcTVdMFE87nN1vsUv4T50ZYYV69bo42l1f9oZ/s400/friendica-32.jpg" width="16" />friendica</a>.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Dispone de varios conectores para publicar a la vez en WordPress, Posterous, StatusNet, Twitter y Tumblr.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Para hacernos una idea de las características principares, podemos echar un ojo a esta <a href="http://friendica.com/compare" target="_blank">comparativa</a>.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Podemos usar cualquier servidor de <a href="http://friendica.com/" target="_blank"><img border="0" height="16" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz_rQisTcqBGWQsW9Fry6uuu1YHGjsMdqhEfPGDkg-voUIH4X7_YYk3JLUn5DuoZEBM9HD88iHWx2_D4xzCu_HvtXNfvqkMgI1HT3Aqk-tcTVdMFE87nN1vsUv4T50ZYYV69bo42l1f9oZ/s400/friendica-32.jpg" width="16" />friendica</a> existente, aunque, podemos realizar una instalación y controlar todavía más nuestros contenidos. Éstos estarían en nuestro PC. Aunque apaguemos el equipo, las publicaciones podrían ser comentadas por contactos que no se encuentren en nuestro servidor. Al encender, se actualizarán estos comentarios. </div>
<div style="text-align: justify;">
<br />
<a name='more'></a></div>
<div style="text-align: justify;">
<span style="font-size: x-large;">Instalación de <a href="http://friendica.com/" target="_blank"><img border="0" height="26" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz_rQisTcqBGWQsW9Fry6uuu1YHGjsMdqhEfPGDkg-voUIH4X7_YYk3JLUn5DuoZEBM9HD88iHWx2_D4xzCu_HvtXNfvqkMgI1HT3Aqk-tcTVdMFE87nN1vsUv4T50ZYYV69bo42l1f9oZ/s400/friendica-32.jpg" width="26" />friendica</a></span></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Necesitaremos un dominio. En este tutorial, la instalación está preparada para http, con lo que uno de no-ip, por ejemplo, sería suficiente. Tened en cuenta que, una vez instalado con un dominio concreto, ya no hay marcha atrás. Todavía no es posible realizar un cambio del mismo y, si lo hacemos, nuestros usuarios perderían la conexión con el resto de contactos.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
</div>
<div style="text-align: justify;">
Instalamos el software necesario <a href="https://wiki.archlinux.org/index.php/PHP" target="_blank">php</a>,<span style="font-size: small;"> <a href="https://wiki.archlinux.org/index.php/MySQL" target="_blank">mysql</a> y <a href="https://wiki.archlinux.org/index.php/Apache" target="_blank">Apache</a>.</span></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<span style="font-size: small;"><i># pacman -S apache php-apache php php-gd php-mcrypt mysq </i></span></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><i><span style="font-size: large;">Envío de correo: </span></i></b></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Necesitamos poder enviar correos. Para ello usaremos <a href="https://wiki.archlinux.org/index.php/Msmtp" target="_blank">msmtp</a>, un cliente smpt con una excelente compatibilidad con sendmail.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<span style="font-size: small;"><i># pacman -S msmtp</i></span><span style="font-size: x-small;"><i></i></span></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Editamos el archivo <b><i>/etc/msmtprc</i></b> y configuramos nuestra cuenta con la que enviar los correos:</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<span style="font-size: small;"><i># Accounts will inherit settings from this section<br />defaults<br />auth on<br />tls on<br />#tls_trust_file /usr/share/ca-certificates/mozilla/Thawte_Premium_Server_CA.crt<br />tls_trust_file /usr/share/ca-certificates/mozilla/Equifax_Secure_CA.crt<br /><br /># A first gmail address<br />account gmail<br />host smtp.gmail.com<br />port 587<br />from <tucuenta>@gamil.com<br />user <tucuenta>@gmail.com<br />password <tupass></i></span></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<span style="font-size: small;"><i>#second</i></span></div>
<div style="text-align: justify;">
<span style="font-size: small;"><i>account yahoo<br />host smtp.correo.yahoo.es<br />port 25<br />from <tucuenta>@yahoo.es<br />user <tuusuario><br />auth on<br />auth plain<br />tls off<br />password <tupass></i></span></div>
<div style="text-align: justify;">
<span style="font-size: small;"><i># Set a default account<br />account default : gmail </i></span></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Editamos <b><i>/etc/mail.rc</i></b> y añadimos al final:</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<span style="font-size: small;"><i>set sendmail=/usr/bin/msmtp </i></span></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Probamos si funciona:</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Creamos un fichero, <b><i>test.mail</i></b>, con el siguiente contenido:</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<i><span style="font-size: small;">To: <username>@domain.com </span></i></div>
<div style="text-align: justify;">
<i><span style="font-size: small;">From: username@gmail.com </span></i></div>
<div style="text-align: justify;">
<i><span style="font-size: small;">Subject: A test
Yadda, yadda, yadda.</span></i></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Ejecutamos:</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<i><span style="font-size: small;">$ cat test.mail | msmtp -a default <username>@domain.com </span></i></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Debería llegarnos un correo a <i><username>@domain.com</i>.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Editamos el arhivo <b><i>/etc/php/php.ini</i></b>, buscamos la cadena <i><b>sendmail_path</b></i> y ponemos:</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<i>sendmail_path ="/usr/bin/msmtp -t "</i></div>
<div style="text-align: justify;">
<b><span style="font-size: large;"><br /></span></b></div>
<div style="text-align: justify;">
<i><b><span style="font-size: large;">Configuración de PHP:</span></b></i></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Ahora, vamos a configurar las extensiones necesarias para <a href="http://friendica.com/" target="_blank"><img border="0" height="16" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz_rQisTcqBGWQsW9Fry6uuu1YHGjsMdqhEfPGDkg-voUIH4X7_YYk3JLUn5DuoZEBM9HD88iHWx2_D4xzCu_HvtXNfvqkMgI1HT3Aqk-tcTVdMFE87nN1vsUv4T50ZYYV69bo42l1f9oZ/s400/friendica-32.jpg" width="16" />friendica</a>:</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<i>extension=curl.so</i></div>
<div style="text-align: justify;">
<i>extension=gd.so<br />extension=gettext.so</i></div>
<div style="text-align: justify;">
<i>extension=iconv.so<br />extension=imap.so</i></div>
<div style="text-align: justify;">
<i>extension=json.so</i></div>
<div style="text-align: justify;">
<i>extension=mcrypt.so</i></div>
<div style="text-align: justify;">
</div>
<div style="text-align: justify;">
<i>extension=mysqli.so<br />extension=mysql.so</i></div>
<div style="text-align: justify;">
<i>extension=openssl.so</i></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
En el bloque <i>[date]</i>, buscamos la clave <i>date.timezone</i> y ajustamos los valores, seǵun esta <a href="http://php.net/manual/en/datetime.configuration.php#ini.date.timezone" target="_blank">lista</a>. Por ejemplo, para Madrid:</div>
<div style="text-align: justify;">
<i><br /></i></div>
<div style="text-align: justify;">
<i>date.timezone = "Europe/Madrid"<br />date.default_latitude = 40.416126<br />date.default_longitude = -3.696706</i></div>
<div style="text-align: justify;">
<i><b><span style="font-size: large;"><br /></span></b></i></div>
<div style="text-align: justify;">
<i><b><span style="font-size: large;">Creación de la Base de Datos: </span></b></i></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Después de esto, vamos a lanzar MySql y a crear una base de datos y un usuario para manejarla:</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
1.- Lanzamos del daemon de mysql:<br />
<i><b># systemctl start mysqld.service</b></i><br />
<br />
2.- Configuramos la BBDD:<i> </i><br />
<i><b> # mysql_secure_installation</b></i></div>
<div style="text-align: justify;">
<i><b> # systemctl restart mysqld.service</b></i><br />
<br /></div>
<div style="text-align: justify;">
3.- Nos conectamos como root a mysql: <i> </i><br />
<i><b> $ mysql -uroot -p</b></i></div>
<div style="text-align: justify;">
</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
4.- Creamos la BBDD:<br />
<i> <b>CREATE DATABASE friendica;</b></i></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
5.-
Creamos un usuario con privilegios desde localhost para friendica:<i><b> </b></i><br />
<i><b>GRANT ALL PRIVILEGES ON friendica.* TO 'adminfriendica'@'localhost'
IDENTIFIED BY 'clave' WITH GRANT OPTION;</b></i></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
5.- Actualizamos los permisos:<br />
<i> <b>FLUSH PRIVILEGES;</b></i></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
6.- Cerramos sesión:<i> </i><br />
<i> <b>exit</b></i></div>
<div style="text-align: justify;">
<u><b><br /></b></u></div>
<div style="text-align: justify;">
<span style="font-size: large;"><i><b>Configuración de Apache:</b></i></span></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Editamos el archivo /etc/httpd/conf/httpd.conf, y comentamos la línea LoadModule unique_id_module modules/mod_unique_id.so, poniendo una # delante.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<i># LoadModule unique_id_module modules/mod_unique_id.so</i></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Al final del bloque de módulos, añadimos:</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<i>#configuración PHP<br />LoadModule php5_module modules/libphp5.so<br />Include conf/extra/php5_module.conf</i></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Descomentamos la línea <i>MIMEMagicFile conf/magic</i>, quitando la #, y nos aseguramos que la línea <i>TypesConfig conf/mime.types</i>, dentro del bloque <i><IfModule mime_module></i> está descomentada también.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Descomentamos la línea <i>Include conf/extra/httpd-vhosts.conf</i> .</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Una vez hecho esto, editamos el archivo /etc/httpd/conf/extra/httpd-vhosts.conf y añadimos nuestro servidor virtual para friendica:</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<i><VirtualHost *:80><br /> ServerAdmin <b>email@ejemplo.com</b><br /> DocumentRoot "/srv/friendica"<br /> ServerName <b>ejemplo.com</b><br /> </i></div>
<div style="text-align: justify;">
<i> ErrorLog "/var/log/httpd/error_log"<br /> CustomLog "/var/log/httpd/access_log" common<br /> <Directory "/srv/friendica"><br /> DirectoryIndex index.php<br /> AllowOverride All<br /> Options All<br /> Order allow,deny<br /> Allow from all<br /> php_admin_value open_basedir "/srv/:/tmp/:/srv/friendica/:./"<br /> </Directory><br /></VirtualHost></i></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br />
<br /></div>
<div style="text-align: justify;">
Ya tenemos el acceso por el puerto 80. Ahora necesitamos habiliar el puerto 443 para tener acceso por HTTPS:<br />
<br />
En el archivo <b><i>/etc/httpd/conf/httpd.conf</i></b>, descomentar la línea:<br />
<i><br /></i>
<i>Include conf/extra/httpd-ssl.conf</i><br />
<br />
Editamos el archivo conf/extra/httpd-ssl.conf y modificamos los valores según nuestra instalación:<br />
<br />
<i>DocumentRoot "/srv/friendica"<br />ServerName <b>www.example.com</b>:443<br />ServerAdmin <b>you@example.com</b></i><br />
<i></i><br />
<i>.....</i><br />
<i></i><br />
<i> <Directory "/srv/friendica"><br /> DirectoryIndex index.php<br /> AllowOverride All<br /> Options All<br /> Order allow,deny<br /> Allow from all<br /> php_admin_value open_basedir "/srv/:/tmp/:/srv/friendica/:./"<br /></Directory></i><br />
<i></VirtualHost> </i><br />
<br />
<div style="text-align: justify;">
Sustituyendo <i><b>email@ejemplo.com</b></i> y <i><b>ejemplo.com</b></i> por los valores correctos.<br />
<br />
Creamos el certificado (si es autofirmado):<br />
<br />
<br />
<i># cd /etc/httpd/conf </i></div>
<div style="text-align: justify;">
<i> # openssl genrsa -des3 -out server.key 1024 </i></div>
<div style="text-align: justify;">
<i># openssl req -new -key server.key -out server.csr </i></div>
<div style="text-align: justify;">
<i># cp server.key server.key.org </i></div>
<div style="text-align: justify;">
<i># openssl rsa -in server.key.org -out server.key </i></div>
<div style="text-align: justify;">
<i> # openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt</i><br />
<br />
<br /></div>
<div style="text-align: justify;">
Instalación de la aplicación</div>
<br />
Ejecutamos:</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<i>sudo git clone https://github.com/friendica/friendica.git /srv/friendica</i></div>
<div style="text-align: justify;">
<i>cd /srv/friendica</i></div>
<div style="text-align: justify;">
<i>sudo git clone https://github.com/friendica/friendica-addons.git addon</i></div>
<div style="text-align: justify;">
<i>sudo touch .htconfig.php<br />sudo chmod 777 .htconfig.php</i></div>
<div style="text-align: justify;">
<br />
Iniciamos apache </div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<i># systemctl restart mysqld.service<br /># systemctl start httpd.service </i></div>
<br />
<div style="text-align: justify;">
Visitamos nuestro sitio web con nuestro navegador preferido, si vamos a usar un certificado autofirmado:
http://ejemplo.com. En caso de que el cerficado esté firmado por alguna agencia, accederemos con https://ejemplo.com.<br />
<br /></div>
<div style="text-align: justify;">
Se lanzará el proceso de instalación, pidiéndonos el
email del usuario administrador, y los parámetros para conectar con la
base de datos creada: </div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Una vez finalizada la instalación, se nos pedirá que registremos un usuario, para lo cual, usaremos el email del administrador. Nos dirigiremos a la sección <b><i>Admin->módulos</i></b> y marcaremos el <b>Poor Man Cron</b>, además de todos aquellos que queramos tener en nuestro sitio web.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Toda la configuración de Friendica se hace desde la sección "Admin", de una forma muy intuitiva.</div>
<div style="text-align: justify;">
Cuando hayamos terminado la configuración, no olvidar proteger el archivo de configuración:</div>
<div style="text-align: justify;">
<i><br /></i></div>
<div style="text-align: justify;">
<i>sudo chmod 755 /srv/friendica/.htconfig.php</i></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Para realizar actualizaciones, bastará con ejecutar:</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<i>cd /srv/friendica</i></div>
<div style="text-align: justify;">
<i>sudo git pull</i></div>
<div style="text-align: justify;">
<i>cd addon</i></div>
<div style="text-align: justify;">
<i>sudo git pull</i></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Añadimos los servicios al /etc/rc.conf para que se lancen automáticamente en el inicio:</div>
<br />
<b><i># systemctl enable mysqld.service</i></b><br />
<b><i># systemctl enable httpd.service</i></b><br />
<br />
<b> </b><br />
<b> </b><br />
<div style="text-align: justify;">
<b>NOTA:</b> Antes de añadir contactos, revisad, con una simple prueba que todo está correcto:</div>
<br />
<div style="text-align: justify;">
<i> Publicad el perfil de vuestro usuario recién creado en el directorio global. Si, al visitar el directorio global, éste no se ha publicado, la comunicación con vuestro servidor está fallando. Es posible que tengáis el puerto 80 filtrado. Os recomiendo echar un ojo a este <a href="http://www.adslzone.net/tutorial-12.6.html" target="_blank">artículo</a>. Una vez que podáis publicar vuestro usuario en el directorio global, podréis ir añadiendo vuestros contactos de las demás redes.</i></div>
<b><br /></b>
<b>Enlaces de Interés:</b><br />
<span style="font-size: small;"></span><br />
<ul>
<li><a href="https://wiki.archlinux.org/index.php/LAMP"><span style="font-size: small;">https://wiki.archlinux.org/index.php/LAMP</span></a></li>
<li><a href="http://gnuinefreedom.wordpress.com/2012/01/01/friendica-guia-del-usuario-en-espanol/"><span style="font-size: small;">friendica, guia del usuario en español</span></a></li>
<li><a href="https://github.com/friendica/friendica"><span style="font-size: small;">https://github.com/friendica/friendica</span></a></li>
<li><a href="http://friendica.com/"><span style="font-size: small;">http://friendica.com/</span></a></li>
</ul>
<code></code><br />
<pre></pre>
<pre></pre>
Anonymoushttp://www.blogger.com/profile/06908800585434339549noreply@blogger.com3tag:blogger.com,1999:blog-4847485758076649991.post-73757873867851532342011-08-21T22:20:00.000+02:002013-11-08T23:24:55.223+01:00WebCam en Skype, FireFox, Chromium...<br />
Artículo movido a <b></b><a href="http://archeando.wordpress.com/2013/10/27/webcam-gspca-c%E2%80%A6refox-chromium/"><span id="sample-permalink" tabindex="-1">http://archeando.wordpress.com/2013/10/27/<span id="editable-post-name" title="Enlace permanente temporal. Haz clic para editar esta parte.">webcam-gspca-c…refox-chromium</span>/</span></a><span id="edit-slug-buttons"></span>Anonymoushttp://www.blogger.com/profile/06908800585434339549noreply@blogger.com0tag:blogger.com,1999:blog-4847485758076649991.post-1040774335903991512011-06-09T00:47:00.000+02:002012-12-27T01:00:19.396+01:00GUIS gráficas para PACMAN.... KDEEn el artículo <a href="http://archuser.blogspot.com/2011/05/guis-graficas-para-pacman-en-gnome.html">GUIS gráficas para pacman en Gnome</a> vimos una GUI gráfica para Gnome.<br />
<br />
En KDE ha habido varios proyectos, pero por el momento, no hay ninguno fuera del AUR.<br />
<br />
En principio, para KDE tenemos disponible un frontend para packagekit, <i>apper</i>. Para instalar:<br />
<br />
<i><b>$ sudo pacman -S apper</b></i><br />
<br />
<br />
Además, para KDE tenemos una aplicación que promete mucho. Esta es AppSet.<br />
<a name='more'></a><br />
<br />
Para instalar:<br />
<br />
<i><b>$ yaourt -S appset-qt</b></i><br />
<br />
Nos instala dos aplicaciones:<br />
<br />
appsettray-qt: El icono de la bandeja de sistema que nos avisa de las actualizaciones.<br />
<br />
appset-qt: La aplicación en sí.<br />
<br />
Nos habrá agregado un lanzador en /etc/xdg/autostart para que appsettray-qt se autoinicie en KDE (y Gnome) y habrá añadido un daemon en el /etc/rc.conf, el appset-helper.<br />
<br />
Para poder ejecutar las aplicaciones debe estar el daemon en ejecutción, así que si no queremos reciniciar:<br />
<br />
<i><b># /etc/rc.d/appset-helper start</b></i><br />
<br />
Después, como usuario:<br />
<br />
<i><b>$ appsettray-qt</b></i><br />
<br />
De todas formas, al reniciar, el daemon se lanzará y el icono de la bandeja de estado, también. Será como el siguiente:<br />
<br />
<script src="http://img225.imageshack.us/shareable/?i=pantallazob.jpg&p=tl" type="text/javascript">
</script><noscript>[URL=http://img225.imageshack.us/i/pantallazob.jpg/][IMG]http://img225.imageshack.us/img225/4431/pantallazob.jpg[/IMG][/URL]</noscript><br />
<br />
<br />
Si pinchamos sobre el icono anterior, o lanzamos appset-launch.sh, arrancaremos AppSet-Qt, donde lo primero que se nos mostrará serán las "Noticias" de Arch y un menú con secciones para buscar nuestro software. Si hemos instalado packer, appset tendrá acceso al AUR (Por ahora sólo para actualizar los que tengamos instalados).<br />
<br />Anonymoushttp://www.blogger.com/profile/06908800585434339549noreply@blogger.com5tag:blogger.com,1999:blog-4847485758076649991.post-49652425632323170312011-05-28T04:00:00.000+02:002012-12-27T00:20:20.560+01:00GUIS gráficas para PACMAN.... en GNOME<div style="text-align: justify;">
Algo que a veces es interesante, es tener un gestor de paquetes gráfico. De entrada pacman está muy bien, pero tener un gestor que nos permita ver los paquetes dentro del entorno de escritorio, nos avise de las actualizaciones... puede que nos interese.</div>
<div style="text-align: justify;">
<br /></div>
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; text-align: right;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifgL83ObOp47QZeaRxp_x38jG0MBfqJ2Szh2BJrywGNfnLYq0wEwE58NJDyvNqMOCG0Z3mcH6a2S-7Eqpx5facO-I0TuJS6JeRyr14pt-3BozxegialQLOezOWBRoHLYIJ2Kvk78hrcQmp/s1600/Pantallazo-A%25C3%25B1adir-Quitar+software.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="169" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifgL83ObOp47QZeaRxp_x38jG0MBfqJ2Szh2BJrywGNfnLYq0wEwE58NJDyvNqMOCG0Z3mcH6a2S-7Eqpx5facO-I0TuJS6JeRyr14pt-3BozxegialQLOezOWBRoHLYIJ2Kvk78hrcQmp/s320/Pantallazo-A%25C3%25B1adir-Quitar+software.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">gpk-application </td><td class="tr-caption" style="text-align: center;"><br /></td></tr>
</tbody></table>
<div style="text-align: justify;">
Una buena opción para esto es packagekit, que tiene soporte para pacman. Además se encuentra en [community].<br />
<br />
<i>Lo bueno</i> es que se integra bien con gnome y con su sistema de notificaciones.</div>
<div style="text-align: justify;">
<br />
<i>Lo malo</i>, que no tiene soporte para AUR.<br />
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; text-align: left;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFjgLaWiMBz0CSht8-7CsO6J2W11ovPTJEiXZVo_AGgKtHKBbs_eINKp8W0907PTWn29N9Wb0vuut99F72AEOVdxCAgJRw1f-NxCEXDWyLfsogWbG_0Atu9gbi2OAYfO_uWQ694G66DpPr/s1600/package-manager-updates.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="120" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFjgLaWiMBz0CSht8-7CsO6J2W11ovPTJEiXZVo_AGgKtHKBbs_eINKp8W0907PTWn29N9Wb0vuut99F72AEOVdxCAgJRw1f-NxCEXDWyLfsogWbG_0Atu9gbi2OAYfO_uWQ694G66DpPr/s320/package-manager-updates.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">gpk-update-viewer</td><td class="tr-caption" style="text-align: center;"><br /></td></tr>
</tbody></table>
<br /></div>
<div style="text-align: justify;">
Para instalarlo:</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: left;">
<b># pacman -S gnome-packagekit</b></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Si queremos activar las notificaciones en gnome:</div>
<div style="text-align: justify;">
<b><br />
</b></div>
<div style="text-align: left;">
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimH3pzfPQgJWZxcOZEWYxAM3hh9VhhP35I-i3g7PUzbZnNTOHh6ZvUY7LAZtJBElxUHsyDk3ri7fn1IFQBxWg2VBSJ52F8T6HKP27zwuh9rGOJd02F1kcEGj1b7YMcJWnsN72HtP_KelCp/s1600/Pantallazo-Actualizaci%25C3%25B3n+de+software.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="287" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimH3pzfPQgJWZxcOZEWYxAM3hh9VhhP35I-i3g7PUzbZnNTOHh6ZvUY7LAZtJBElxUHsyDk3ri7fn1IFQBxWg2VBSJ52F8T6HKP27zwuh9rGOJd02F1kcEGj1b7YMcJWnsN72HtP_KelCp/s320/Pantallazo-Actualizaci%25C3%25B3n+de+software.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">gpk-update-viewer</td><td class="tr-caption" style="text-align: center;"></td></tr>
</tbody></table>
<b># pacman -S gnome-settings-daemon-updates</b></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Ahora debemos cerrar y abrir sesión y.... esto es todo.</div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
Anonymoushttp://www.blogger.com/profile/06908800585434339549noreply@blogger.com3tag:blogger.com,1999:blog-4847485758076649991.post-43482177475232763142011-05-28T00:11:00.000+02:002012-12-27T00:19:44.168+01:00Gnome Shell, instalando las extensiones<div style="text-align: justify;">
Una de las cosas interesantes que tiene gnome 3 y gnome-shell, es el tema de las extensiones. No pretenden ser un reemplazo de las applets, únicamente permiten añadir funcionalidad adicional a gnome-shell. De todas formas, algunas se parecen mucho a los applets antiguos.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Disponemos de varias extensiones, unas las propias de <a href="https://live.gnome.org/GnomeShell/Extensions">Gnome</a>, y, otras, las creadas por usuarios.</div>
<div style="text-align: justify;">
<br />
<span style="font-size: large;"><b>Instalando las <a href="http://git.gnome.org/browse/gnome-shell-extensions/">gnome-shell-extensions</a>: </b></span></div>
<div style="text-align: justify;">
</div>
<ul>
<li><span style="font-size: small;"><i><b>Desde el repositorio [extra]:</b></i></span></li>
</ul>
<div style="text-align: justify;">
</div>
<div style="text-align: justify;">
Podemos ver las que hay disponibles con:</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><i>$ pacman -Ss gnome-shell-extension </i></b></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Después, las iremos instalando una a una. No se pueden instalar junto con gnome-shell-extensions-git del AUR, así que no podremos poner ni systemMonitor ni xrandr-indicator por el momento.</div>
<div style="text-align: justify;">
</div>
<ul>
<li><i><b>Desde AUR:</b></i></li>
</ul>
<div style="text-align: justify;">
</div>
<div style="text-align: justify;">
Para las extensiones systemMonitor y xrandr-indicator necesitamos versiones específicas de libgtop y gjs respectivamente para funcionar.</div>
<div style="text-align: justify;">
<br />
<a name='more'></a><br /></div>
<div style="text-align: justify;">
<i><b>systemMonitor:</b></i></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
La versión correcta de libgtop es la 2.28.4, os dejo un link al paquete con el src, si queries compilarlo, y al pkg con el paquete construido:</div>
<div style="text-align: justify;">
<a href="http://dl.dropbox.com/u/29268222/blog-extensiones/libgtop/libgtop-2.28.4-1.src.tar.gz">libgtop-2.28.4-1.src.tar.gz</a></div>
<div style="text-align: justify;">
<a href="http://dl.dropbox.com/u/29268222/blog-extensiones/libgtop/libgtop-2.28.4-1-x86_64.pkg.tar.xz">libgtop-2.28.4-1-x86_64.pkg.tar.xz</a></div>
<div style="text-align: justify;">
<br />
La estensión muestra un gráfico de uso de RAM y CPU en el área de notiticación, al pinchar sobre él se abre el gnome-system-monitor:<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZ6JKb5OBrgcN1r2v7sJN5Cr2mlkPqT5JSs21EPGpxxYAmPwx9M-DFtT-5-VnkPeRRjCWc-gEQQ5i2Ivhf0pgno7xf_K0MzgiKTq7iB2WTj0LDpeC29AlMCRl821CoU-olg_MMkLHdVR-X/s1600/systemMonitor-orig.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="55" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZ6JKb5OBrgcN1r2v7sJN5Cr2mlkPqT5JSs21EPGpxxYAmPwx9M-DFtT-5-VnkPeRRjCWc-gEQQ5i2Ivhf0pgno7xf_K0MzgiKTq7iB2WTj0LDpeC29AlMCRl821CoU-olg_MMkLHdVR-X/s400/systemMonitor-orig.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">systemMonitor@gnome-shell-extensions.gnome.org</td></tr>
</tbody></table>
</div>
<div style="text-align: justify;">
<b><i>xrandr-indicator: </i></b></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Para xrandr-indicator, necesitamos el gjs 0.7.15 y, por ahora, el gnome-shell-git.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<a href="http://dl.dropbox.com/u/29268222/blog-extensiones/gjs-git/gjs-0.7.15-1.src.tar.gz">gjs-0.7.15-1.src.tar.gz</a></div>
<div style="text-align: justify;">
<a href="http://dl.dropbox.com/u/29268222/blog-extensiones/gjs-git/gjs-0.7.15-1-x86_64.pkg.tar.xz">gjs-0.7.15-1-x86_64.pkg.tar.xz</a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Ahora, debemos instalar gnome-shell-git:</div>
<div style="text-align: justify;">
<i> </i></div>
<div style="text-align: justify;">
<i><b>$ yaourt -S gnome-shell-git</b></i></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
</div>
<div style="text-align: justify;">
<i><b>gnome-shell-extensions-git:</b></i></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
La extensión sería:<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyiPw4BiEfDypYfgP8pipNsZzUN7QzZKur5b1WjFtLjBpwM57A34NWHBN9iilt3cVg75wNFddRMNRhRxRI8fQQjr7xgtQZ9OGHCVYBrCWmyPgSEGW-JKBm-uxnvPGIFq4hBQVHWfwTDqTH/s1600/xrandr-indicator.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="279" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyiPw4BiEfDypYfgP8pipNsZzUN7QzZKur5b1WjFtLjBpwM57A34NWHBN9iilt3cVg75wNFddRMNRhRxRI8fQQjr7xgtQZ9OGHCVYBrCWmyPgSEGW-JKBm-uxnvPGIFq4hBQVHWfwTDqTH/s320/xrandr-indicator.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">xrandr-indicator@gnome-shell-extensions.gnome.org</td></tr>
</tbody></table>
Ya podemos pasar a instalar las extensiones:</div>
<div style="text-align: justify;">
<i><b>$ yaourt -S gnome-shell-extensions-git </b></i></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
</div>
<div style="text-align: justify;">
En el caso de que halláis instalado los paquetes anteriores (libgtop, gjs y gnome-shell-git), y volváis a instalar los de los repositorios oficiales (<b><i>sudo pacman -S --asdep gnome-common gnome-shell gjs libgtop</i></b>), no os preocupéis, las extensiones se desactivarán solas al iniciar la sesión y comprobar que no tienen la versión adecuada para funcionar.</div>
<div style="text-align: justify;">
<br />
Si el paquete instalado ha sido gnome-shell-extensions-git, estarán instaladas todas las extensiones (xranr y systemMonitor, se instalarán si se encuentra la versión correcta de los paquetes antes mencionados).<br />
<br />
Todas están activadas por defecto, para probarlas, cerrar y abrir sesión. También se puede pulsar <ALT>+F2 y ejecutar "r", pero este método a veces falla o rompe la sesión.</div>
<div style="text-align: justify;">
<div style="text-align: left;">
<br />
Si queremos ver las extensiones que tenemos cargadas, podemos usar la función <a href="https://live.gnome.org/GnomeShell/CheatSheet#Developer_tools">Looking Glass</a> de Gnome Shell, pulsamos Alt+F2 y tecleamos lg, aparecerá una ventana de depuración de Gnome Shell y en la pestaña Extensions podremos verlas. Para salir de este modo, pulsar <ESC>.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjw0_6FCwhm6tQRtmm22wWQe_mmhUEDzWffW63ORtgQxAKv9xnPPTL80qjTnk97guegj2KlKJSTEHNeNLSJVcmU9EOaBSp21rNR6GjNmZJibxMEIwTT4AAy-DpUlXoD4Txpk_FvuLPKyF1j/s1600/Looking+Glass+.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="256" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjw0_6FCwhm6tQRtmm22wWQe_mmhUEDzWffW63ORtgQxAKv9xnPPTL80qjTnk97guegj2KlKJSTEHNeNLSJVcmU9EOaBSp21rNR6GjNmZJibxMEIwTT4AAy-DpUlXoD4Txpk_FvuLPKyF1j/s320/Looking+Glass+.png" width="320" /></a></div>
<br />
Para activar/desactivar podemos utilizar gnome-tweak-tool, o:<br />
<br />
<div style="text-align: center;">
<div style="text-align: left;">
<b><i>$gsettings set org.gnome.shell disabled-extensions ['nombre_extensión1', 'nombre_extensión2'...</i></b><b><i>]"</i></b></div>
</div>
<br />
Por ejemplo, para desactivar el dock:<br />
<br />
<div style="text-align: left;">
<b><i>$ gsettings set org.gnome.shell disabled-extensions "['dock@gnome-shell-extensions.gnome.org']"</i></b></div>
<div style="text-align: left;">
<br />
<br />
Ejemplos:<br />
<br />
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: right; margin-left: 1em; text-align: right;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBNtMKw4MQVE4AMj3SsmJHEHDkzwgPJii91JmnNy04MTSS5dpjIgU2M-dAVsPAvmZziwfYeijzatwmk8OLGLD4sERbPSr2n3X6BeGhHW6stm8uyexpLNcZichgUgKQ9ybDLW20eY7TCows/s1600/drive-menu.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="182" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBNtMKw4MQVE4AMj3SsmJHEHDkzwgPJii91JmnNy04MTSS5dpjIgU2M-dAVsPAvmZziwfYeijzatwmk8OLGLD4sERbPSr2n3X6BeGhHW6stm8uyexpLNcZichgUgKQ9ybDLW20eY7TCows/s200/drive-menu.png" width="200" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">drive-menu@gnome-shell-extensions.gnome.org</td></tr>
</tbody></table>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzgrWszpAejAnGzoM1uw-w5oc-vHr2AmRBkAm03SRJW6WCT5rEz-4BGcHOlhgAjsykFl4V2Yylg_LRjOXXNtOY7jjHrLq0pAP7Rphx8IxO7d7AoJLK-NAYeRbri6__kZUWK3vNIKxG3lMy/s1600/places-menu.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="190" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzgrWszpAejAnGzoM1uw-w5oc-vHr2AmRBkAm03SRJW6WCT5rEz-4BGcHOlhgAjsykFl4V2Yylg_LRjOXXNtOY7jjHrLq0pAP7Rphx8IxO7d7AoJLK-NAYeRbri6__kZUWK3vNIKxG3lMy/s200/places-menu.png" width="200" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">places-menu@gnome-shell-extensions.gnome.org</td></tr>
</tbody></table>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="clear: right; float: left; margin-bottom: 1em; text-align: right;"><tbody>
<tr><td style="text-align: center;"><img border="0" height="160" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQCuYTUVwqkzMCuFt9f8bAbVrrOtRKak7dAp1DRY5r5Gruq4zOQKBcjEmV6Ct0SD6cRZFbZICRDici0QKMu7-IWqmfIRL_p40p5DVE8CqXVTeL1-6t2f58QI7BLuqsa5t69q35REweurG2/s200/dock-izquierda.png" style="margin-left: auto; margin-right: auto;" width="200" /></td></tr>
<tr><td class="tr-caption" style="text-align: center;">dock@gnome-shell-extensions.gnome.org</td><td class="tr-caption" style="text-align: center;"><br /></td><td class="tr-caption" style="text-align: center;"><br /></td><td class="tr-caption" style="text-align: center;"><br /></td><td class="tr-caption" style="text-align: center;"><br /></td><td class="tr-caption" style="text-align: center;"><br /></td><td class="tr-caption" style="text-align: center;"><br /></td><td class="tr-caption" style="text-align: center;"><br /></td></tr>
</tbody></table>
<b><span style="font-size: large;"></span></b><br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: left;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTFQoWJ_ZwES0HGk8jdgbmsXFp3c1slxA_-D-dHDUDA8Up7IAhKSshphOKnccYsvcy_QxNMfJFZ8UONea_cWl2QzuPcBoR8rnkJglTuvdBT6RSnWVcFv144n1LpkaubMaJHOPi_FIFRpSF/s1600/dock-derecha.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="160" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTFQoWJ_ZwES0HGk8jdgbmsXFp3c1slxA_-D-dHDUDA8Up7IAhKSshphOKnccYsvcy_QxNMfJFZ8UONea_cWl2QzuPcBoR8rnkJglTuvdBT6RSnWVcFv144n1LpkaubMaJHOPi_FIFRpSF/s200/dock-derecha.png" width="200" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">dock@gnome-shell-extensions.gnome.org</td><td class="tr-caption" style="text-align: center;"><br /></td></tr>
</tbody></table>
<div style="text-align: justify;">
<br /></div>
</div>
<div style="text-align: left;">
<div style="text-align: justify;">
Para cambiar la posición del dock, hay que abrir dconf-editor e ir a org->gnome->shell->extensions->dock, por ahora solo tenemos dos posibilidades. El tamaño de los iconos también es personalizable.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><span style="font-size: large;"> </span></b></div>
<div style="text-align: left;">
<b><span style="font-size: large;">Instalando <a href="https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet">gnome-shell-system-monitor-applet-git</a>:</span></b></div>
<br />
Esta extensión nos mostrará en barra superior un monitor de sistema:<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCYVeHvyPQzWPInAArW1YoIiCNtplFBKYqh5aouYRa6VrIVFoSH4z0571H4ZrrbT36pilqnJy5466PLXsYnLZQVIeFIhNnfe4KZrfDSDdS3ShOQdM_gpaZ30reGCkc7HXTiE0qRe20euM9/s1600/system-monitor.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="143" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCYVeHvyPQzWPInAArW1YoIiCNtplFBKYqh5aouYRa6VrIVFoSH4z0571H4ZrrbT36pilqnJy5466PLXsYnLZQVIeFIhNnfe4KZrfDSDdS3ShOQdM_gpaZ30reGCkc7HXTiE0qRe20euM9/s200/system-monitor.png" width="200" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">system-monitor@paradoxxx.zero.gmail.com</td></tr>
</tbody></table>
<br />
Esta extensión se encuentra el AUR, la instalaríamos así:<br />
<br />
<i><b>$ yaourt -S gnome-shell-system-monitor-applet-git</b></i><br />
<br />
<div style="text-align: justify;">
Para esta extensión es mejor cerrar/abrir sesión para recargar, con alt+F2 y "r" se rompe la sesión, aunque podemos entrar y se cargará correctamente. Si la extensión está activa, no suele dar problemas por recargar con "r".</div>
<br />
<div style="text-align: justify;">
Tened en cuenta que el panel superior se divide en tres partes, con lo que la parte derecha y la izquierda no se pueden ampliar mas allá del centro, así que, si tenemos otros iconos, a lo mejor no nos cabe bien todos los indicadores del monitor. De todas formas, nosotros decidimos qué indicador mostrar.<br />
<br />
Para modificar la posición de la extensión, podemos ir, con dconf-editor, a org->gnome->shell->extensions->system-monitor.<br />
<br /></div>
<b><span style="font-size: large;">Instalando </span></b><a href="https://github.com/erick2red/shell-extensions"><b><span style="font-size: large;">gnome-shell-extension-workspace-indicator-git</span></b></a><br />
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Es un indicador de espacio de trabajo:</div>
<div style="text-align: justify;">
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0eagoa1rslRRJc0A-RW6ayRZjqqJqqn73ELMn3d4QeFL4zTZqe1Wb_A1diJTpCdk4pC7D9y2vzoJ6CitXr-UITHcsLxcI18BleN8zTTgDFJGmQP2Zs_Aeg_7R2il19U9Bw-5kL4FsmfJe/s1600/workspace-inidicator.png" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0eagoa1rslRRJc0A-RW6ayRZjqqJqqn73ELMn3d4QeFL4zTZqe1Wb_A1diJTpCdk4pC7D9y2vzoJ6CitXr-UITHcsLxcI18BleN8zTTgDFJGmQP2Zs_Aeg_7R2il19U9Bw-5kL4FsmfJe/s1600/workspace-inidicator.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">workspace-indicator@erick.red.gmail.com</td></tr>
</tbody></table>
<br />
<br />
<br />
<br />
Para instalar esta extensión:<br />
<br />
<div style="text-align: left;">
<i><b>$ yaourt -S gnome-shell-extension-workspace-indicator-git</b></i></div>
<div style="text-align: left;">
</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br />
<br />
<br />
<span style="font-size: large;"><b></b></span><br />
<br />
<br />
<span style="font-size: large;"><b>Instalando <a href="https://github.com/simon04/gnome-shell-extension-weather">gnome-shell-extension-weather</a></b></span><br />
<br />
Esta extensión nos añade un el tiempo de la localidad escogida:<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDtPiQsWTEl687jYsCSFcDNZ5jtfysd4wKdeqUefAQ2oEOyWVSxy539vghoZwHvLi2wObXO_9URb296lgrYkDhJXQCUou3JLJNiwf0hJunNkyEHPOEF-foy2ompviPAawcpFq3ZMYfp28l/s1600/gnome-shell-weather-extension.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="187" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDtPiQsWTEl687jYsCSFcDNZ5jtfysd4wKdeqUefAQ2oEOyWVSxy539vghoZwHvLi2wObXO_9URb296lgrYkDhJXQCUou3JLJNiwf0hJunNkyEHPOEF-foy2ompviPAawcpFq3ZMYfp28l/s320/gnome-shell-weather-extension.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">weather@venemo.net</td></tr>
</tbody></table>
<br />
Para instalar:<br />
<br />
<b><i>$ yaourt -S gnome-shell-extension-weather-git</i></b></div>
<div style="text-align: left;">
</div>
<div style="text-align: justify;">
<br />
<span style="font-size: small;">Para añadir nuestro </span><a href="http://weather.yahoo.com/">YAHOO ID</a> :</div>
<div style="text-align: justify;">
<i><b>$ gsettings set org.gnome.shell.extensions.weather woeid tu_woeid</b></i> </div>
<div style="text-align: left;">
</div>
<div style="text-align: left;">
<div style="text-align: justify;">
<br />
Si queremos poner la extensión en el centro:</div>
</div>
<div style="text-align: left;">
<b><i>$ gsettings set org.gnome.shell.extensions.weather position-in-panel center</i></b></div>
<div style="text-align: left;">
Si queremos ponerla en la derecha:</div>
<div style="text-align: left;">
</div>
<div style="text-align: left;">
<b><i>$ gsettings set org.gnome.shell.extensions.weather position-in-panel right</i></b><br />
<div style="text-align: left;">
<br />
<div style="text-align: justify;">
Todas las opciones disponibles: <b><i>org.gnome.shell.extensions.weather</i></b> con dconf-editor. </div>
<br />
Ahora recargamos el gnome-shell, <ALT>+F2 y 'r'.<br />
<br />
<br />
<span style="font-size: large;"><b>Instalando <a href="http://intgat.tigress.co.uk/rmy/extensions/index.html">gnome-shell-frippery</a></b></span><br />
<br />
Este paquete incorpora cuatro extensiones para "convertir" nuestro panel, en uno parecido al panel del gnome2. (Algunas presentan incompatibilidades, funcionan mejor las de <a href="http://www.fpmurphy.com/gnome-shell-extensions/">fpmurphy</a>)<br />
<ul>
<li><b>Move_Clock@rmy.pobox.com: </b> Esta extensión nos mueve el reloj a la derecha, al lado del menú de usuario. Podemos modificarla para que lo mueva a la izquierda, al lado del botón <i>Actividades</i>. Para ello, editaremos el archivo <i>/usr/share/gnome-shell/extensions/Move_Clock@rmy.pobox.com/extension.js</i> y camiaremos el contenido de<i> function main ()</i> por:</li>
</ul>
<i>Main.panel._centerBox.remove_actor(Main.panel._dateMenu.actor);</i><br />
<i>let children = Main.panel._leftBox.get_children();</i><br />
<i>Main.panel._leftBox.insert_actor(Main.panel._dateMenu.actor, 1)</i></div>
<div style="text-align: left;">
<ul>
<li><b>Break_Dynamic_Workspaces@rmy.pobox.com:</b> Deshabilita los espacios de trabajo dinámicos. Si queremos poner más de dos espacios, podemos hacerlo modificando con <b>gconf-editor</b>: <i>apps > metacity > general > num_workspaces</i></li>
</ul>
<div style="text-align: justify;">
<ul>
<li><b>Applications_Menu@rmy.pobox.com:</b> Cambia el botón "Actividades" por un menú de aplicaciones. <b><i>NO es compatible con system-monitor@paradoxxx.zero.gmail.com</i></b>, si activamos las dos a la vez, no entrará en la sesión. El problema se soluciona desactivando una de las dos con, por ejemplo:</li>
</ul>
</div>
</div>
<div style="text-align: left;">
<b><i>$ gsettings set org.gnome.shell disabled-extensions "['Applications_Menu@rmy.pobox.com</i></b><b><i>']"</i></b><br />
<br />
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA6zrAKVU4YUj1WBi6Sm4FqhylfqQ1fqSSGjPiCVwj9zIdNHYBGzQfHLUj0uJBZJOsCjc3ByGsDB1yRskYrQjcOdqMdbZMfGndl99L3F1PXrF1s1R6ocHtWzKuRKA6VHJU3LcLadX_jjr6/s1600/applications-menu.png" style="margin-left: auto; margin-right: auto;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA6zrAKVU4YUj1WBi6Sm4FqhylfqQ1fqSSGjPiCVwj9zIdNHYBGzQfHLUj0uJBZJOsCjc3ByGsDB1yRskYrQjcOdqMdbZMfGndl99L3F1PXrF1s1R6ocHtWzKuRKA6VHJU3LcLadX_jjr6/s320/applications-menu.png" width="214" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Applications_Menu@rmy.pobox.com<br />
Move_Clock@rmy.pobox.com <-- Modificada</td></tr>
</tbody></table>
<ul>
<li><b>Panel_Favorites@rmy.pobox.com:</b> Añade los lanzadores del panel "Dash" al lado del botón "Actividades" (o "Aplicaciones" si tenemos Applications_Menu activada). No tienen la función de selector de tareas, como ocurre con el dock.</li>
</ul>
</div>
<div style="text-align: left;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: right;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghIjrh35t7HhEA-8st4QKE-rkHfsdYOBUVT0am4up7uJTMFq9F5pl22q2zecyKYll79ifOvDKeCI9zr2LsnO5wOWQZizpAGcfnqokvm6Lk_u1stvg5yIErngAR7Jv7madqmRiFJ_7XIqi_/s1600/favoritos_en_panel.png" style="clear: right; margin-bottom: 1em; margin-left: auto; margin-right: auto;"><img border="0" height="45" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghIjrh35t7HhEA-8st4QKE-rkHfsdYOBUVT0am4up7uJTMFq9F5pl22q2zecyKYll79ifOvDKeCI9zr2LsnO5wOWQZizpAGcfnqokvm6Lk_u1stvg5yIErngAR7Jv7madqmRiFJ_7XIqi_/s320/favoritos_en_panel.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Panel_Favorites@rmy.pobox.com</td></tr>
</tbody></table>
Mas extensiones, en el siguiente artículo: <b><a href="http://archuser.blogspot.com/2011/06/mas-extensiones-para-gnome-shell.html">Mas extensiones para gnome shell</a></b> <br />
<br />
<br />
<b>Mas información:</b><br />
<ul></ul>
<ul>
<li><a href="http://dmolinap.blogspot.com/2011/04/las-extensiones-de-gnome-shell.html">Las extensiones de Gnome Shell</a></li>
<li><a href="http://www.webupd8.org/search/label/gnome%20shell?max-results=10">http://www.webupd8.org/</a></li>
<li><a href="https://live.gnome.org/GnomeShell/Extensions">https://live.gnome.org/GnomeShell/Extensions</a></li>
<li><a href="http://git.gnome.org/browse/gnome-shell-extensions">http://git.gnome.org/browse/gnome-shell-extensions</a> </li>
</ul>
</div>
</div>
</div>
</div>
</div>
Anonymoushttp://www.blogger.com/profile/06908800585434339549noreply@blogger.com3tag:blogger.com,1999:blog-4847485758076649991.post-71252911278547306742011-05-20T00:19:00.000+02:002012-12-27T22:48:43.436+01:00Cómo instalar correctamente un BootSplash .. II<div style="text-align: justify;">
En la entrada <a href="http://archuser.blogspot.com/2011/05/como-instalar-correctamente-un.html">Como instalar correctamente un BootSplash .. I</a> vimos como instalar el BootSplash Plymouth. En Arch tenemos otro BootSplash (en el AUR) que es bastante interesante: <a href="https://wiki.archlinux.org/index.php/Fbsplash">Fbsplash</a>.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Este bootsplash puede trabajar tanto con KMS como sin él, a diferencia de Plymouth, que sólo trabaja con KMS. Además, si tienes un <a href="http://aur.archlinux.org/packages.php?O=0&K=fbcondecor&do_Search=Go">kernel con soporte fbcondecor</a><i>, </i>puedes utilizar un fondo para la consola.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Para instalarlo (está en el <a href="http://aur.archlinux.org/packages.php?O=0&K=fbsplash&do_Search=Go">AUR</a>):</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><i>$ yaourt -S fbsplash fbsplash-extras</i></b></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Ahora nos hacen falta los temas, en principio, los paquetes anteriores no traen ningún tema por defecto. Instalaremos los dos que en la <a href="https://wiki.archlinux.org/index.php/Fbsplash">wiki de Fbsplash</a> se utilizan de ejemplo (para ver los disponibles en aur: <a href="http://aur.archlinux.org/packages.php?O=0&K=fbsplash-theme&do_Search=Go">fbsplash-themes</a>):</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<i><b>$ yaourt -S <span class="f2">fbsplash-theme-arch-black-extras </span><span class="f2">fbsplash-themes-arch-banner</span></b></i></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<span class="f2">Una vez hecho esto, toca las configuraciones. Empezaremos por la configuración del kernel en grub:</span><br />
<a name='more'></a></div>
<ul style="text-align: justify;">
<li><span class="f2">Para KMS: </span> </li>
</ul>
<div style="text-align: justify;">
<span style="font-size: small;"><i>logo.nologo quiet video=1024x768 console=tty1 splash=silent,fadein,fadeout,theme:arch-banner-icons</i></span></div>
<ul style="text-align: justify;">
<li>Para framebuffer: </li>
</ul>
<div style="text-align: justify;">
<span style="font-size: small;"><i>logo.nologo quiet vga=792 console=tty1 splash=silent,fadein,fadeout,theme:arch-banner-icons </i></span></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Con vga=792 activamos el frammebuffer en modo VESA a 1024x768, para mas resoluciones, consultar <a href="https://wiki.archlinux.org/index.php/GRUB#Framebuffer_resolution">GRUB#Framebuffer_resolution</a>. Con video=1024x768, fijamos la resolución para KMS, de forma que no decida él por nosotros.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Un grub con KMS y Fbsplash activado sería:<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbupqLnzczyg9fcP9pDFexJ_KO84iEB9GeMORjSrbwSb8HYF461XIlnSraxdnFNGMoiQSdOObrJ_Hwo-I58yFU_oUD4eTUz0bmmK-5uR_xYI0dwoeZxIIru9aX8kO8Tckr_is72ZKbGID7/s1600/Pantallazo-menu.lst+%2528-boot-grub%2529+-+gedit.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="195" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbupqLnzczyg9fcP9pDFexJ_KO84iEB9GeMORjSrbwSb8HYF461XIlnSraxdnFNGMoiQSdOObrJ_Hwo-I58yFU_oUD4eTUz0bmmK-5uR_xYI0dwoeZxIIru9aX8kO8Tckr_is72ZKbGID7/s400/Pantallazo-menu.lst+%2528-boot-grub%2529+-+gedit.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">/boot/grub/menu.lst</td></tr>
</tbody></table>
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div style="text-align: justify;">
Ahora necesitamos configurar Fbsplash, para ello editamos el fichero <b><i>/etc/conf.d/splash</i></b>, donde pondremos los temas y, en caso de login gráfico, habrá que ponerlo también en la variable SPLASH_XSERVICE:</div>
<ul>
<li>Para los temas:</li>
</ul>
SPLASH_THEMES=( arch-black<br />
arch-banner-icons/1024x768.cfg<br />
arch-banner-noicons/1024x768.cfg<br />
)<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOQPwIvpkOuJmueAut6tv-ENOXHph_3LvGVbi93xhYnuojJ_2gWYVbMTewnVGEb7VdLpro26Yd-WehjmUnZROMqx_3NNJsft97ZMozkjq7agsiQms11YCqI8xJfaQaJw5iLG6utYfRfm2M/s1600/splash1+%2528-etc-conf.d%2529+-+gedit.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="282" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOQPwIvpkOuJmueAut6tv-ENOXHph_3LvGVbi93xhYnuojJ_2gWYVbMTewnVGEb7VdLpro26Yd-WehjmUnZROMqx_3NNJsft97ZMozkjq7agsiQms11YCqI8xJfaQaJw5iLG6utYfRfm2M/s400/splash1+%2528-etc-conf.d%2529+-+gedit.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">/etc/conf.d/splash</td></tr>
</tbody></table>
<div style="text-align: justify;">
En la imagen pueden ver todos los splash que, a día de hoy, se pueden instalar desde el AUR sin problemas. Como hemos establecido la resolución a 1024x768, en el texto pusimos arch-banner-icons (y no-icons) a esa resolución. Si vamos a utilizar otra, o, varias, deberemos añadirlas.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Notar que para el tema arch-banner es necesario incluir las dos versiones, pues se hacen llamadas mutuas. Luego, en grub, elegimos el tema que queramos (tan sólo hay que poner <i>theme:nombre_tema</i>).</div>
<ul>
<li>Para el login gráfico, en el mismo fichero, mas abajo:</li>
</ul>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiz6s8zB9-x_4tgApEAV7Zo4_lmpur7og2E15vcJleZQNpGgszzOaF7CdGsRCiZxOfkvR9sVhbHdjtSZUratjOryacGwIF96Vj6evRnEvhIKO9_VIWzfGB7IP2cMa__WIwzRR_6B0l1s07_/s1600/splash2+%2528-etc-conf.d%2529+-+gedit.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="282" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiz6s8zB9-x_4tgApEAV7Zo4_lmpur7og2E15vcJleZQNpGgszzOaF7CdGsRCiZxOfkvR9sVhbHdjtSZUratjOryacGwIF96Vj6evRnEvhIKO9_VIWzfGB7IP2cMa__WIwzRR_6B0l1s07_/s400/splash2+%2528-etc-conf.d%2529+-+gedit.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">/etc/conf.d/splash</td></tr>
</tbody></table>
<div style="text-align: justify;">
Ya tenemos el grub y la configuración del splash realizada. Ahora hay que regenerar la imagen del kernel, para ello debemos editar el fichero /etc/mkinitcpio.conf y añadir a MODULES nuestro driver de vídeo y, en los HOOKS, después de "udev autodetect", fbsplash. Es decir:</div>
<div style="text-align: justify;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCpQ5nQ7l-zqon_fuqZ00FEiYIc6sKIIp8yfjIzUD-HhWKT_Njg1Wjg771sL74_-yI0Zj32q8s7_XPkdxCoqOgZiYvgkJoYzmwu4djVIz5criAIZbP4vSIteGRxsI6Slu3RTxintY8eZSC/s1600/mkinitcpio-fbsplash.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="258" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCpQ5nQ7l-zqon_fuqZ00FEiYIc6sKIIp8yfjIzUD-HhWKT_Njg1Wjg771sL74_-yI0Zj32q8s7_XPkdxCoqOgZiYvgkJoYzmwu4djVIz5criAIZbP4vSIteGRxsI6Slu3RTxintY8eZSC/s320/mkinitcpio-fbsplash.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">/etc/mkinitcpio.conf</td></tr>
</tbody></table>
<div style="text-align: justify;">
Para regenerar la imagen:</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><i># mkinitcpio -p kernel26 </i></b></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Al reiniciar, deberemos ver nuestro splash.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<span style="font-size: small;"><b>Notas: </b></span></div>
<ul style="text-align: justify;">
<li><span style="font-size: small;">Las órdenes que empiezan por # deben ser ejecutadas como administrador.</span></li>
<li><span style="font-size: small;">Las órdenes que empiezan por $ deben ser ejecutadas como usuario.</span></li>
</ul>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b>Mas información:</b></div>
<ul style="text-align: justify;">
<li> <a href="https://wiki.archlinux.org/index.php/Fbsplash">https://wiki.archlinux.org/index.php/Fbsplash</a></li>
</ul>
Anonymoushttp://www.blogger.com/profile/06908800585434339549noreply@blogger.com2tag:blogger.com,1999:blog-4847485758076649991.post-36106295640474696112011-05-13T23:17:00.000+02:002013-11-08T23:25:16.148+01:00Cómo elegir los mejores repositorios para pacman<div style="text-align: justify;">
<br />
Artículo movido a
<a href="http://archeando.wordpress.com/2013/10/25/como-elegir-lo%E2%80%A6os-para-pacman/"><span id="sample-permalink" tabindex="-1">http://archeando.wordpress.com/2013/10/25/<span id="editable-post-name" title="Enlace permanente temporal. Haz clic para editar esta parte.">como-elegir-lo…os-para-pacman</span>/</span></a></div>
Anonymoushttp://www.blogger.com/profile/06908800585434339549noreply@blogger.com5tag:blogger.com,1999:blog-4847485758076649991.post-73098046480171496042011-05-10T23:36:00.000+02:002012-12-27T22:49:06.098+01:00Cómo instalar correctamente un BootSplash .. I<div style="font-family: inherit; text-align: justify;">
<span style="font-size: small;">Para todos aquellos que venimos de distros como Ubuntu, una de las cosas que echamos de menos es un BootSplash. </span></div>
<div style="font-family: inherit; text-align: justify;">
<span style="font-size: small;"><br />
</span></div>
<div style="font-family: inherit; text-align: justify;">
<span style="font-size: small;">En principio, esto solo sirve para "tapar" los errores al cargar daemons que podamos tener, pero mientras aprendemos y no esta lección... instalaremos uno.</span></div>
<div style="font-family: inherit; text-align: justify;">
<span style="font-size: small;"><br />
</span></div>
<div style="font-family: inherit; text-align: justify;">
<span style="font-size: small;">A mi, personalmente, me gustó mas el funcionamiento de fbsplash, pero también disponemos de plymouth. Ambos están en AUR. Vamos a empezar con:</span></div>
<div style="text-align: justify;">
</div>
<br />
<div style="text-align: justify;">
<span style="font-size: large;">Plymouth:</span></div>
<div style="text-align: justify;">
<br /></div>
<div style="font-family: inherit; text-align: justify;">
<span style="font-size: small;">Lo primero será instalar el paquete. En la <a href="https://wiki.archlinux.org/index.php/Plymouth">wiki</a> nos recomiendan instalar <a href="https://aur.archlinux.org/packages.php?ID=26117"><i>plymouth-git</i></a>, pero yo, después de tener varios errores, recomiendo instalar <a href="https://aur.archlinux.org/packages.php?ID=29184"><i>plymout</i></a>.</span></div>
<div style="font-family: inherit; text-align: justify;">
<span style="font-size: small;"><br />
</span></div>
<div style="font-family: inherit; text-align: justify;">
<span style="font-size: small;">Una cosa, debemos tener KMS activado, así que si nuestra tarjeta (o el driver) no soporta KMS, no podremos instalar plymouth. El driver libre de ati (radeon) e Intel tienen activado el KMS por defecto desde el núcleo 2.6.32.</span><br />
<a name='more'></a></div>
<div style="font-family: inherit; text-align: justify;">
<span style="font-size: small;"><br />
</span></div>
<div style="font-family: inherit; text-align: justify;">
<span style="font-size: small;">Para saber si tenemos KMS activado, ejecutar: <i><b>lsmod | grep kms</b></i> debería devolver algo así:</span></div>
<div style="font-family: inherit; text-align: justify;">
</div>
<div style="font-family: inherit; text-align: justify;">
</div>
<i><br />
drm_kms_helper 26624 1 radeon<br />
drm 173492 5 radeon,ttm,drm_kms_helper<br />
i2c_core 18740 7 max6650,videodev,i2c_piix4,radeon,drm_kms_helper</i><br />
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
En mi caso, tengo el arranque con <i><b> runlevel 5</b></i>, es decir, el método de <a href="https://wiki.archlinux.org/index.php/Start_X_at_boot#.2Fetc.2Finittab">inittab</a> para el login gráfico, en vez de ejecutar slim, gdm o kdm como daemos, sería conveniente establecer el arranque así.<br />
<br />
Una de las cosas importantes una vez instalado, es añadir unos Hooks al fichero <b><i>/etc/mkinitcpio.conf</i></b>, para ello lo editaremos como administrador y <b>añadiremos plymouth</b> justo<b> después "udev autodetect"</b>, debería quedar así:</div>
<div style="text-align: justify;">
<span style="font-size: small;"><b><br />
</b></span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><b><i>HOOKS="base udev autodetect plymouth ..."</i></b></span></div>
<br />
<div style="font-family: inherit;">
<span style="font-size: small;">Una cosa que no viene en </span><span style="font-size: small;"><a href="https://wiki.archlinux.org/index.php/Plymouth">wiki</a> es que, además, hay que <b>añadir a la línea <i>modules </i>el driver</b> de nuestra tarjeta, debiendo quedar, en el caso de ser radeon, así:<i> </i></span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><br />
</span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><b><i>MODULES="radeon"</i> </b></span></div>
<br />
<div style="font-family: inherit;">
<span style="font-size: small;">Lo normal es que no haya nada mas.</span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><br />
</span></div>
<div style="font-family: inherit;">
<span style="font-size: small;">Ahora seleccionaremos el tema para <i>plymouth, </i>disponemos de 4: </span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><i> </i><b>fade-in, glow, solar y spinfinty</b>.</span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><br />
</span></div>
<div style="font-family: inherit;">
<span style="font-size: small;">Como administrador, ejecutaremos:<i> </i></span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><b><br />
</b></span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><b><i>plymouth-set-default-theme nombre_tema</i> </b></span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><br />
</span></div>
<div style="font-family: inherit;">
<span style="font-size: small;">Siendo <i>nombre_tema</i> uno de los cuatro anteriores.<b> </b></span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><br />
</span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><b>Regeneramos la imagen del kernel</b>, como administrador:<i> </i></span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><br />
</span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><b><i>mkinitcpio -p kernel26</i></b></span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><br />
</span></div>
<div style="font-family: inherit;">
<span style="font-size: small;">Ahora, si queremos probar el tema, nos vamos al tty2, y ejecutamos, como administrador:<i> </i></span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><br />
</span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><b><i>plymouthd </i></b></span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><b><i>plymouth --show-splash</i></b></span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><br />
</span></div>
<div style="font-family: inherit;">
<span style="font-size: small;">Para salir de splash, en otra tty, ejecutamos como administrador:<i> </i></span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><br />
</span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><b><i>plymouth --quit</i></b></span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><br />
</span></div>
<div style="font-family: inherit;">
<span style="font-size: small;">Cada vez que<b> cambiemos el tema</b>, con plymouth-set-default, debemos <b>regenerar la imagen</b> del kernel.</span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><br />
</span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><br />
</span></div>
<div style="font-family: inherit;">
<span style="font-size: small;">Una vez seleccionado el tema, solo nos queda añadir a la línea del kernel de la entrada del /boot/grub/menu.lst de grub <b><i>quiet splash</i></b>, debería quedar así:</span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><br />
</span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><b><i>kernel /vmlinuz26 root=/dev/disk/by-uuid/xxxx ro quiet splash</i></b></span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><br />
</span></div>
<div style="font-family: inherit;">
<span style="font-size: small;">No debe aparecer ninguna configuración con <b>VGA="XXX"</b> en el kernel.</span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><br />
</span></div>
<div style="font-family: inherit;">
<span style="font-size: small;">Al fichero /etc/rc.local hay que añadirle una línea con:</span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><br />
</span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><b><i>/bin/plymouth quit --retain-splash</i></b></span></div>
<div style="font-family: inherit;">
<span style="font-size: small;"><br />
</span></div>
<span style="font-size: small;"><span style="font-family: inherit;">Al reiniciar, deberemos tener nuestro BootSplash funcionando.</span></span><br />
<br />
<span style="font-size: small;"><span style="font-family: inherit;"><b>Diferencias</b> con respecto al artículo de <a href="https://wiki.archlinux.org/index.php/Plymouth">wiki</a> :</span></span><br />
<ol>
<li><span style="font-size: small;">Se añade el <b>driver</b> a la línea modules del fichero <i><b>/etc/mkinicpio.conf</b></i>. </span></li>
<li><span style="font-size: small;">Utilizar el paquete <a href="https://aur.archlinux.org/packages.php?ID=29184">plymouth</a> en lugar de plymouth-git.</span></li>
<li><span style="font-size: small;">Probar el tema despues de crear la imagen del kernel y haber reiniciado. </span></li>
</ol>
<br />
<span style="font-size: large;"><span style="font-size: small;"></span></span><br />
<span style="font-size: large;"><span style="font-size: small;"></span></span>Anonymoushttp://www.blogger.com/profile/06908800585434339549noreply@blogger.com2