Skip to main content

a silhouette of a person's head and shoulders, used as a default avatar

Tide como prompt para la shell Fish

Tide es un gran prompt moderno, útil e informativo para la shell Fish

Desde hace ya bastante tiempo utilizo la shell Fish en mi emulador gráfico de terminal Konsole:

Fish es una gran shell, interactiva, con resaltado de sintaxis, completado de comandos, completado de comandos basándose en el historial y la ruta, etc.

Esto marca una gran diferencia, ya que ahorra tiempo, pulsaciones de teclado, etc. Después de utilizar Fish, volver a bash y su espartana falta de interacción se hace difícil.

Después de probar varios prompts nativos de Fish, he descubierto el prompt Tide, el prompt para Fish publicado bajo licencia MIT inspirado en el famoso y útil prompt Powerlevel10k para zsh.

Lo que me gustó de Tide, es que ya con las configuraciones predeterminadas es muy bonito y útil y que además puedes configurarlo más a fondo con las variables propias o ejecutar un configurador gráfico para ponerlo a tu gusto.

Le da un toque distinto a la terminal, ya que Tide además del aspecto gráfico:

  • Out of the box: Tienes tres estilos ya configurados y elegir abundantes opciones entre ellos.
  • Flexible: Puedes configurar muchas cosas sin necesidad de modificar ni una línea de código.
  • Extensible: Puedes crear contenido personalizado con funciones de Fish que se integrarán en tu prompt.
  • Rápido: Por sus características hacen que Tide sea rápido y no ralentice tu shell.

Para instalar Tide en tu sistema, deberás tener una versión de Fish igual a 3.3.1 y tener una de las NerdFonts instaladas en tu sistema y usables por tu emulador de terminal.

Para instalar el prompt Tide lo más sencillo es hacerlo mediante el gestor de complementos Fisher. Después simplemente en tu terminal ejecuta:

fisher install IlanCosman/tide@v5

Una vez instalado en nuestro sistema, podremos ejecutar el asistente de configuración ejecutando en la terminal:

tide configure

A partir de aquí podremos ir escogiendo las diversas opciones que nos vaya presentando para configurar nuestro prompt.

Por su puesto, podremos extender esa primera configuración, modificando las diversas opciones que posee y que están documentadas en su documentación.

La verdad, es que con este combo de Fish y Tide, se me hace muy cómodo eso de utilizar la terminal, herramienta que cada vez utilizo más en mi openSUSE 🙂

¿Te animarás a utilizar Tide en tu Fish? Dale una oportunidad.

a silhouette of a person's head and shoulders, used as a default avatar

Videoclip Personal Linux, nueva parodia musical de SUSE

Hace un tiempo, la compañía SUSE empezó a realizar una serie de vídeos musicales paródicos con su mascota y el Software Libre como protagonistas. Así que hoy os presento el Videoclip Personal Linux, nueva parodia musical de SUSE de una de mis canciones favoritas de todos los tiempos.

Videoclip Personal Linux, nueva parodia musical de SUSE

Desde What Does the Chameleon Say? (Ylvis – What Does the Fox Say parody), el primer vídeo que realizaron en el 2013, la la gente de SUSE ha ido realizando una serie de vídeos musicales donde mezcla música actual con temas del Software Libre.

Videoclip Personal Linux, nueva parodia musical de SUSE

De esta forma ya son más de 10 vídeos ya publicados con todo tipo de estilos musicales y artistas parodiados, todos de forma muy respetuosa. Así aparecen grupos conocidos como Marroon 5 y su Sugar o la parodia de «Can’t Stop the Feeling» de Justin Timberlake  que se convirtió en «Can’t Stop the SUSE».

En esta ocasión le ha tocado a uno de mis grupos favoritos (no, mi grupo favorito de todos los tiempos) Depeche Mode y han versionado el tema que nos conquisto allá por 1989 «Personal Jesus» y lo han reconvertido en «Personal Linux»

Así que «Just Reach UP… and boot SLES!»

Los otros vídeos de SUSE

Como he comentado, este no es el primer vídeo de SUSE (y espero que no sea el último). En las ediciones de SUSECon se solía realizar un vídeo.

En SUSECon de 2013, tuvimos el placer de ver a Jeff Farnsworth caracterizado como el Camaleón danzarín, que hacía mover el esqueleto a buena parte del personal de SUSE con su versión de «Get Lucky» de Daft Punk. Espectacular.

Pero aquí no acaba la cosa. En la misma reunión se atrevieron a Ylvis y su What Does the Fox Say, creando su propio «What Does the Chameleon Say?» que no tiene desperdicio.

También le tuvo su oportunidad «Faith» de Stevie Wonder y Ariana Grande, el cual se convirtió en «SUSE Now Hallelujah«, una preciosa y pegadiza canción con una característica luz verdosa.

Y para finalizar, nada mejor que recordar el gran éxito del 2012 OpenSUSE Gangnam Style, que parodiaba a la canción más pegadiza de ese año Gangnam Style de PSY.

En definitiva, una muestra de lo imaginativa y colaborativa que puede ser la Comunidad del Camaleón.

Vía:La mirada del replicante

the avatar of FreeAptitude

Be more productive with Bash aliases

Aliases are one of the most interesting features provided by a Bash shell, and probably the last to be regularly adopted. Usually, they are intended as a way to create shortcuts to execute the most used commands followed by the options that are not assumed by default from the command itself. However, there is a more appealing way to write them that boost our productivity when executing either frequent or infrequent tasks.

a silhouette of a person's head and shoulders, used as a default avatar

Nuevo taller de Software Libre en Balaguer (Lleida) organizada por Asociació Emanciació Comunitaria

Me complace promocionar una nuevo taller de Software Libre en Balaguer (Lleida) organizada por Asociació Emanciació Comunitaria. En esta ocasión se trata de un taller que se realizará el 4 de diciembre y que tiene como principal novedad que requiere un registro y el pago de una entrada. Más información, sigue leyendo.

Nuevo taller de Software Libre en Balaguer (Lleida) organizada por Asociació Emanciació Comunitaria

Como he comentado en diversas ocasiones, parece ser que poco a poco vuelve la normalidad en cuanto a actividades presenciales de la Comunidad GNU/Linux. Eso si, con todas las medidas de seguridad que sean necesarias y con las limitacones y restricciones pertinentes.

Es por ello que me complace compartir con vosotros un nuevo evento del grupo de personas que en València está impulsado el Software Libre y temas relacionados con el empoderamiento de la sociedad que lleva por nombre Asociació Emanciació Comunitaria, que podéis encontrar en su Grupo y Canal de Telegram.

Y en esta ocasión se trata de un nuevo taller de Software Libre en Balaguer (Lleida), con lo que se estrenan en Cataluña.

Nuevo taller de Software Libre en Balaguer (Lleida) organizada por Asociació Emanciació Comunitaria

El objetivo principal del evento es es siguiente:

Explicar la importancia del software libre en una comunidad con democracia real y posteriormente realizar un Taller/Install Party al que podréis LLEVAR VUESTRO EQUIPO y os ayudaremos a instalar un Sistema Operativo COMPLETAMENTE LIBRE!! · ◡ · además de otras herramientas que nos permitean independencia de aquellas controladas por instituciones, empresas y estados.

Los datos básicos del evento son los siguientes:

FECHA: Sábado 4 de Diciembre 2021
HORARIO: De 15 a 19 h.
LUGAR: Ecocentre Pàmies – Partida Primera Marrada s/n, Balaguer (Lleida)

PONENTES:

  • ALEX CLIMENT: Formación Profesional en Sistemas Microinformaticos y Redes. Fundador del col·lectiu “Emancipació Comunitària”.
  • PASQUAL GUEROLA: Ingenierto Informático. Fundador del col·lectiu “Emancipació Comunitària”.

INSCRIPCIÓN: Necesaria en este enlace.

ENTRADA:

the avatar of YaST Team

Digest of YaST Development Sprints 135 & 136

After almost a month of radio silence, the YaST Team is back with another development report. The two latest sprints brought:

  • New features like:
    • More general LUKS2 support in the Partitioner
    • Mechanisms to detect if the system boots using EFI both in AutoYast rules and ERB templates
    • Enhanced handling of NTLM authentication in linuxrc
  • Usability improvements in several areas of YaST
  • Dropping some legacy features to have a more sane code-base
  • More internal refactoring in the area of software management
  • Many fixes here and there

So let’s dive into the details.

New Features

As already explained in this same blog quite some time ago the YaST Partitioner can be used to set up several kinds of encryption, but “Regular LUKS2” was not one of those. That was intentional because using LUKS2 comes with many challenges, as summarized in this Bugzilla comment. But now the time has come to start introducing experimental support for general LUKS2 encryption. Initially it will be available in openSUSE Tumbleweed and pre-releases of SLE-15-SP4 but only if the environment variable YAST_LUKS2_AVAILABLE is set. Check the description of this pull request for screenshots and more information.

Support for LUKS2 in AutoYaST will have to wait a bit, until we have received some feedback from interactive installations and ironed out all the details. But AutoYaST users can meanwhile test and enjoy another new feature available also in Tumbleweed and 15.4 pre-releases - support for identifying EFI systems in dynamic profiles, which includes both rules and ERB templates. Learn more and see some examples in the description of the corresponding pull request.

The last feature for Tumbleweed and the upcoming 15.4 that we want to highlight in this report is the brand new support for NTLM authentication in linuxrc. The authentication process is actually delegated to curl. Passing credentials to curl through the linuxrc parameters is as easy as you can see in the following examples:

  install=https://user:password@example.com/the_repo
  proxy=https://user:password@example.com

Usability Improvements

Sometimes, you don’t need to introduce a whole new shiny functionality to enhance the life of the end users. Small improvements can also have a big impact… although “small” doesn’t always mean “easy to implement”. In that regard we would like to highlight that:

  • We improved filtering and sorting in the list of DASD devices in s390 mainframes
  • The installation on that architecture will run in graphical mode if executed in QEMU and a Virtio GPU is detected
  • Configuring the custom boot partition in YaST2 Bootloader is now more robust and intuitive

Less Code, Fewer Problems

Going even further, enhancing the software is sometimes not even a matter of adding or polishing functionality but a matter of cleaning up features that are not longer useful, removing code and infrastructure in the process. Simpler usually means more robust and maintainable.

In that regard, you can check this pull request about management of group passwords or this other about the obsolete format to configure the partitioning proposal.

Internal Changes and Fixes

If you are interested in technical details and having a look to the YaST internals, we also have a couple of pull request that could be interesting, like this fix for the detection of duplicated LVM structures and this improvement in the way YaST manages the initialization of its user interface.

Talking about internals, we mentioned several times our ongoing effort to restructure how software management works in YaST. You can see some more technical details in this gist if you have an interest in the design of computer programs and APIs.

Winter is coming

It’s less than one month to the official start of winter in the Northern Hemisphere. We keep working hard and we hope to give you at least another update of the YaST status before that date. Meanwhile we can only remind you, no matter in which part of the world you are, to have a lot of fun!

the avatar of Nathan Wolf

A 100 Mhz 6502 CPU | Blathering

I am not an expert in… well… anything, but I am I am continually impressed by the work done by so many in the world, especially in the “retro tech” world. I read this post by Jürgen Müller on his personal site concerning his project of an FPGA based 100 Mhz 6502 CPU. Just reading […]
the avatar of openSUSE News

MicroOS Expands Security With Keylime

Recently MicroOS gained some new options in relation with security. The distribution has now integrated Keylime, an open source project for doing remote attestation with TPMs.

If you follow the news about Windows 11, you are aware of what is a TPM. The Trusted Platform Module (TPM) is a cryptoprocessor, described by the Trusted Computing Group (TCG) in a specification that has been standardized in a ISO/IEC document. You can find the TPM already soldered in the mainboard of your computer, but they can also be found as a service in the firmware, or inside your CPU.

This co-processor can be used for many tasks related with security. For example, we can use it to generate symmetric and asymmetric keys, encrypt some memory blocks (not too big, as they are a bit slow), or to as storage for keys that can be used only for us (or applications that have permissions).

Because the TPM from the factory has a unique key (known and Endorsement Key or EK), it can also be useful to generate other keys that can later be used to check if some information comes from this specific machine or not. That is something very handy when we want to validate the source of some communication (like for example, when login into a VPN)

Another main use of TPM is for health attestation: we want to know if the system is in a good state, i.e, there is no change in the software that it is running since we turn it on.

That means that we need to measure all the software that has been running in the system since the very initial stages in the firmware, until the load of the Linux kernel and the initrd. Later we compare those measurements with the values that we known that are the good ones, and if they match we will know that no change has been made in our system.

We can do that using the TPM. Each stage in the boot chain will need to load the next stage before delegating the execution to it. Before doing so we need to calculate a hash function (like SHA256, for example) of it, and report it back to the TPM to track the measurements.

After the boot has concluded, we can ask the TPM about those hashes, and compare them to the expected values. If they match our expectations, it is safe to assume that no change has been made in the software used since the initial boot stages, and the system is in good shape.

For security reasons, we want to do the comparison between the expected measures and the current one in a remote machine. This machine can ask about the current measurements, and request that this report has to be signed by the TPM. We can later validate the signature and do the comparison of the hashes with the expected values.

Keylime is the tool that can do this for us in a more rich and secure way. We can install an agent service in all the machines of our network, which will collect all the measurements and signatures and report it to the verifier service that will do the attestation.

MicroOS now has two new system roles that will install Keylime agents our systems, and we can select one node to install the verifier role.

If you like the idea, you can find more information in the MicroOS blog and in the MicroOS portal. In there you will find technical details about how the TPM is really working and how to use Keylime with measured boot and IMA, all of which are using the TPM as a root of trust.

the avatar of Nathan Wolf
a silhouette of a person's head and shoulders, used as a default avatar

Primera impresiones de Akademy-es 2021 en línea

Estos días, buena parte de la Comunidad KDE española está de resaca. El domingo cerramos otra edición de nuestro evento principal y es hora de las reflexiones. Por eso quiero expresar mis primera impresiones de Akademy-es 2021 en línea de forma pública.

Primera impresiones de Akademy-es 2021 en línea

En primer lugar debo compartir con vosotros mi pesar por no poder estar de forma proactiva en la organización del evento. No es que no haya hecho cosas como publicar artículos en el blog, animar a ponentes, preparar páginas de la web de KDE España o promocionar el evento en redes sociales, pero no he podido estar moviendo las acciones de la organización, con lo cual siempre he ido a remolque.

Afortunadamente los organizadores han suplido mi falta de empuje multiplicando el suyo, por lo que no puedo estar más que agradecido a ellos por el trabajo realizado.

En segundo lugar destacar que aunque técnicamente parece que ya tenemos superados los problemas técnicos derivados de la virtualización y que ésta soluciona los t´ípicos problemas de agenda y desplazamiento, la presencialidad se nota mucho a faltar. Como mínimo, yo como ponente necesito el feedback que me ofrece el público para poder realizar charlas más dinámicas y enriquecedoras.

No obstante, y como comenté en otro sitio, espero que esta experiencia nos anime a dejar abierta siempre la puerta a virtualizar de forma predeterminada nuestros eventos, aunque este sea presencial, para poder llegar así a más gente. El streaming que era una anomalía se va a convertir a partir de ahora en algo básico en cualquier evento.

Ya entrando a las charlas, me parece esta Akademy-es que este año (siguiendo la estela del año pasado) han vuelto a ser de lo más variadas (solo Albert Astals y Daniel Gutiérrez han hecho doblete en esta ocasión) lo cual nos muestra que esta modalidad ayuda a la gente a llegar a eventos que de otra forma no sería posible.

Y, dejando de lado la variedad, la calidad de las charlas ha sido también muy elevada, no queriendo destacar ninguna por encima de las otras pero dejando claro que el desarrollo del Software Libre es imparable.

Todo esto hace que esté muy feliz por la celebración de esta Akademy-es 2021 en línea, que de nuevo me ha servido para recargar pilas en un momento de mi vida que lo necesito … y mucho.

a silhouette of a person's head and shoulders, used as a default avatar

Mobile Photography

I love photography. I started taking photos four decades ago using a camera called Lubitel, a cheap Russian knock off of Rolleiflex. I switched from film to digital photography back in 2000, which was quite a bit earlier than most. I always treated mobile photography with strong skepticism (small sensor, too much processing, etc.) and have a dedicated camera with me everywhere.

Well, the problem is with the words “always” and “everywhere”. There can be many reasons why I do not have my camera with me:

  • doing grocery shopping
  • doing some sports
  • extreme weather
  • visiting a neighborhood where I’m afraid to take a camera and lenses worth thousands of dollars

However, I do not leave my eyes at home together with my camera. I never know when I’ll see some beautiful scenes while walking to the shop. Earlier I just took a deep breath that it’s a helpless situation and I went on, as I did not have a dedicated camera with me. Nowadays my view changed. Even if I do not have a real camera with me, I always have my mobile with me. As usual, there are exceptions here too: when I accidentally leave it in the charger :-)

Some of my favorite photos during the past few weeks were taken by my mobile phone. Yes, these photos are far from perfect from the technical point of view. But still, they captured the mood of the moment perfectly. And without my mobile I would have missed some nice moments of Autumn. So, using my mobile phone to take photos is still better than nothing.

Mobile Photography: Autumn mood 1.

Mobile Photography: Autumn mood 2.

You can find some of my photos on Gurushots