Background bash commands
Handling multiple versions of the same application with update-alternatives
Curtail
While the app got some spotlight on GNOME Circle, I found it super handy to my own use that I decided to write about it here as well.
ImageMagick
Even though I keep forgetting syntax for everything, one of the few bash constructs I remember is the for in loop. Mainly because that's how I repeadly convert and modify images on the command line with ImageMagick's convert or mogrify (same but dangerously operating on the same file):
for image in *jpeg;
do
out=`basename $image .jpeg`-thumb.jpeg
convert -geometry 400 $image $out
done
Well usually on one line as:
for image in *jpeg; do out=`basename $image .jpeg`-thumb.jpeg; convert -geometry 400 $image $out; done
Curtail
Curtail's main weapon is convention. Convention trumps configurability in my book (even if there are some preferences). Rather than making you configure a behavior, before you can do anything, it provides one. You either dig it and can immediately be productive, or you don't and flame it on reddit and the orange site. Sorry I meant move on.

So what's the convention? The main workflow is you drop images onto it with drag and drop and it automatically compresses the images. The only decision you have to make upfront is whether you allow it to compress it more by going lossy or not. That's it. No selecting of output directory, scaling, formats. Nothing. Just drop images and get them processed. They will end up in the same directory as the source, with a -min suffix. Everything happens immediately and you will see a summary of the conversion in the window. It is very rare to run into such an app in the FOSS world. Thank you, Hugo.
Power Monitor – Plasmoides de KDE (168)
Hoy os presento Power Monitor, el plasmoide de KDE número 168 de la gran serie de los mismos mostrados en el blog y que nos ofrece un widget informativo sobre el consumo de energía de la batería de nuestro portátil, uno de esas cosas que nos puede venir bien en determinadas circunstancias.
Power Monitor – Plasmoides de KDE (168)
De plasmoides tenemos de todo tipo funcionales, de configuración, de comportamiento, de decoración o, como no podía ser de otra forma, de información sobre nuestro sistema como puede ser el uso de disco duro, o de memoria RAM, la temperatura o la carga de uso de nuestras CPUs.
A todos ellos se les une otro creado por atul-g que define como «un estúpido y sencillo widget KDE Plasma 5 para monitorizar el consumo de energía de la batería de tu portátil en tiempo real.»
Se llama Power Monitor y es del tipo de plasmoides que se suelen utilizar cuando algo no funciona bien en nuestro equipo.

Y como siempre digo, si os gusta el plasmoide podéis “pagarlo” de muchas formas en la nueva página de KDE Store, que estoy seguro que el desarrollador lo agradecerá: puntúale positivamente, hazle un comentario en la página o realiza una donación. Ayudar al desarrollo del Software Libre también se hace simplemente dando las gracias, ayuda mucho más de lo que os podéis imaginar, recordad la campaña I love Free Software Day 2017 de la Free Software Foundation donde se nos recordaba esta forma tan sencilla de colaborar con el gran proyecto del Software Libre y que en el blog dedicamos un artículo.
Más información: KDE Store
¿Qué son los plasmoides?
Para los no iniciados en el blog, quizás la palabra plasmoide le suene un poco rara pero no es mas que el nombre que reciben los widgets para el escritorio Plasma de KDE.
En otras palabras, los plasmoides no son más que pequeñas aplicaciones que puestas sobre el escritorio o sobre una de las barras de tareas del mismo aumentan las funcionalidades del mismo o simplemente lo decoran.
#openSUSE para #Pinephone con Plasma Mobile
Ya puedes probar GNU/Linux en tu dispositivo Pinephone gracias a openSUSE y el entorno de escritorio Plasma Mobile.

A mediados del pasado año 2020, pudiste leer en este blog una entrevista en exclusiva al desarrollador de un proyecto que todavía estaba dando sus primero pasos.
Se trataba de Adrián Campos que estaba desarrollando una imagen del sistema GNU/Linux openSUSE para dispositivos Pinephone. Puedes leer la entrevista en este enlace:
Hoy mismo (3 de febrero de 2021) es el propio Adrián el que ha comunicado la disponibilidad de poder probar una imagen de openSUSE para dispositivos Pinephone con Plasma Mobile.
Sin duda la opción de poder instalar un sistema GNU/Linux en un dispositivo móvil como Pinephone es una gran noticia, porque elimina la dependencia de sistema Android y también pone toda la potencia de un sistema GNU/Linux en tu dispositivo móvil.
Y también creo que es positivo ver cómo Plasma Mobile, el entorno de escritorio de la comunidad KDE para dispositivos móviles, va ganando en presencia y se convierte en una opción cada vez más usable y con más opciones disponibles y más depurada.
Así que si eres un geek, un desarrollador o hacker con ganas de pasar un buen rato, puedes descargarte la imagen de openSUSE para Pinephone con Plasma Mobile e instalarla en tu dispositivo.
Y empezar a probarla, reportar errores, sugerir mejoras o aportarlas por ti mismo a la comunidad.
Aquí tienes el enlace al servidor de descargas:
Enlaces de interés
- https://download.opensuse.org/repositories/devel:/ARM:/Factory:/Contrib:/PinePhone/images/
- https://twitter.com/hadrianweb/status/1356904316439826435
- https://www.plasma-mobile.org/
- https://www.pine64.org/pinephone/

Menambahkan Repositori ISO
Kita butuh memasang ISO sebagai repositori pada saat:
-
Melakukan instalasi menggunakan Flashdisk/USB Flash Drive yang dibuat bootable menggunakan Ventoy. Karena dengan cara ini, installer masih berupa file ISO. Dan tidak seperti instalasi yang dilakukan dengan piringan DVD yang bisa langsung digunakan sebagai repositori, dengan metode ini installer tidak bisa langsung digunakan dengan hanya menancapkannya ke port USB.
-
Pengguna openSUSE Leap yang ingin memanfaatkan installer sebagai repositori tambahan, sehingga tidak harus selalu mendownload ketika ingin memasang paket. Jika paket atau dependensi yang ingin dipasang ada di dalam installer dan belum mengalami pembaruan di repositori update, paket yang akan dipasang akan diambil dari file ISO yang dijadikan repositori, dan bukan dari repositori online, asalkan pengaturan prioritasnya tepat.
Cara menambahkan file ISO ke daftar repositori:
su -c "zypper addrepo -n 'openSUSE-Leap-15.2-ISO' iso:/?iso=/mnt/openSUSE-Leap-15.2-DVD-x86_64.iso repo-iso"
Perintah di atas untuk menambahkan file ISO openSUSE Leap 15.2 yang berada di /mnt, seperti jika kita melakukan instalasi menggunakan Flashdisk yang dibuat bootable menggunakan Ventoy, lalu kita ingin memasang paket tambahan tanpa harus terhubung ke internet terlebih dahulu. Seperti ketika kita melakukan minimal/custom install openSUSE.
Jika Anda menyimpan file ISO di tempat lain, ubah path/arahnya ke lokasi tersebut.
Sebelum menjalankan perintah di atas, kita perlu melakukan mounting Flashdisk yang digunakan sebagai installer dengan perintah:
su -c "mount -o uid=$UID,gid=$GROUPS /dev/sdc1 /mnt"
Perintah di atas diasumsikan lokasi Flashdisk berada di /dev/sdc.
Untuk mengetahui secara pasti di mana lokasinya, jalankan perintah berikut sebelum Flashdisk ditancapkan:
dmesg --follow
Lalu tancapkan Flashdisk.
Di terminal akan muncul di mana Flashdisk tersebut terpasang. Untuk keluar dari dmesg, tekan Ctrl dan c secara bersamaan.
Setelah melakukan semua perintah di atas (dengan urutan dari perintah paling bawah ke atas), kita bisa memasang paket dari file ISO dengan mengatur prioritasnya atau dengan mematikan semua repositori online terlebih dahulu.
Untuk mengatur prioritas:
su -c "zypper modifyrepo -p 90 repo-iso"
Ubah angka sesuai kebutuhan.
Untuk mematikan repositori online:
su -c "zypper modifyrepo -dt"
Untuk menghidupkannya kembali:
su -c "zypper modifyrepo -e repo-oss repo-non-oss repo-update repo-update-non-oss"
iPhone 12 mini
Singing praise to the most locked down device you can get is pretty dangerous for someone operating in the FOSS world. But I have to do it, as the risk of somebody angrily throwing his Purism Librem 5 at me is pretty low.
Like most people I don't use my phone to do calls. Apart from failing to avoid all the addictions it throws at me, I love it for what it really is. An amazing video and photo camera.
I've owned (and still do) a decent number of cameras. Some of them I have really fond memories of, such as the Panasonic GF1. Mostly for its 20mm pancake lens I didn't sell along with the body when the time came, but kept it until a worthy body came along. That was the beast of a video camera I use until today, the GH5. Most of my drone video b-roll is shot with it and its amazing slow motion. On my drone trips I've always been making a decision whether to take the best camera I have (gh5) or a compact one (Sony rx100m4). The latter wasn't even close to the big guy, but it was easy to fit into the bag and for the few establishing shots was good enough. Surprisingly the iphone 6 plus I had back then had better stabilisation than the RX100. But preferred the Sony for the colors and not having such oversharpened phone look.
One thing that really peaked my interest when Apple unrolled the iPhone 11 was the wide angle. Very unsharp on the corners and quite poor wrt capturing light, I was really hooked on the superwides being bombarded by gopro footage (and doing a lot of that bombardment myself). Even though the primary lens on the 12 is way better, the ultrawide shots have something that really appeals to me.
Battery
Phones have gotten ridiculously big over the years. The iPhone 12 mini doesn't feel particularly small. It's after you hold any other current phone the size becomes apparent. I still wish it was a little smaller. I really miss the original Palm Pre form factor (and the most stylish OS ever).
People have reported poor battery performance even when the device is relatively new. We'll see how that's going to bite me when we will able to finally travel again, but so far the battery limitation hasn't been a constraint for me.
Lightning Port
Even though Apple is probably the corporation most trustworthy of keeping my photos, I'm still reluctant to have everything synchronized to someone elses computers. Thus the lighting cable and syncing over to a computer is a must. I really wish Apple bit the bullet and discontinued the dinosaur lightning connector in favor of a faster option. But sadly it looks like the successor won't be USB3, but no connector at all.
I assume the days of connecting the iphone to my Linux workstation and having access to app storage as well as translated media (HEVC images are provided as JPEGs by the virtual camera), but it would be nice to have some sort of local workflow even if locked to the Apple walled garden.
Helping Out With Lts Kernel Releases
A recent email thread about “Why isn’t the 5.10 stable kernel listed as supported for 6 years yet!” on the linux-kernel mailing list ended up generating a bunch of direct emails to me asking what could different companies and individuals due to help out. What exactly was I looking for here?
Instead of having to respond to private emails with the same information over and over, I figured it was better to just put it here so that everyone can see what exactly I am expecting with regards to support in order to be able to maintain a kernel for longer than 2 years:
Cómo elegir los colores adecuados con Kontrast
El ecosistema de aplicaciones KDE es inmenso y siempre encuentro alguna que no ha aparecido en el blog. Hoy quiero explicaros cómo elegir los colores adecuados para tu aplicación con Kontrast, una aplicación que acabo de descubrir y que nos ayuda a la hora de diseñar nuestras creaciones.
Cómo elegir los colores adecuados con Kontrast
Cuando una Comunidad de Software Libre se decide a crear todo tipo de aplicaciones útiles para todo tipo de usuarios es capaz de crear una increíble variedad de las mismas.
La Comunidad KDE tiene grandes aplicaciones que sirven para muchos propósitos, pero también algunas menos potentes pero que pueden llegar a ser de gran utilidad para los desarrolladores o diseñadores gráficos.
Es el caso de Kontrast, una sencilla aplicación creada por Carl Shwan y Carson Black cuyo único objetivo es ayudarnos a seleccionar la combinación óptima de colores para que el contraste entre letra y fondo sea adecuado, algo básico en términos de diseño.

Para ello nos presentan una pantalla en la que podemos modificar los colores de la fuente y los del fondo de forma dinámica, y nos irá indicando la Relación de Contraste entre ellos en forma de número y de recomendación.
Evidentemente cuanto más alto es este valor mejor es para su visibilidad y mejor será para nuestros ojos y más nos lo agradecerán tus usuarios o lectores.
Por cierto, no lo tengo confirmado pero parece ser que está realizada con Kirigami y por esa razón tiene en su página web aparece una versión adaptada a pantallas verticales.

La aplicación no solo te muestra el valor de la Relación de Contraste y el resultado final de la combinación, sino que nos permite guardar el resultado que nos interese en unos «favoritos» y crear combinaciones aleatorias, las cuales pueden ser base para nuestra creatividad.
Outreach, Survey Extension Addressed in Second Meetup
The second session of the openSUSE Project’s meetup regarding the End of the Year Survey Results on Jan. 30 led to some changes with regard to future surveys and contributors are looking to enhance outreach.
The two-hour meetup took place on openSUSE’s Jitsi instance and several community members around the globe provided input on the results and how to improve the project’s diversity as well as global use.
The group spent time discussing the projects’ weaknesses and strengths based on the survey results and commonly understood areas members hope to improve.
The previous meetup session laid some groundwork with the introduction of monthly web development sprints to address feedback provided by attendees in both sessions. One of the areas mentioned were highlighting communication entry points so new users can be welcomed to the community and introduced to the project’s distributions and tools.
Attendees also discussed how to address users switching to openSUSE from Windows or other Linux distributions like Ubuntu, Debian, CentOS, Arch, etc. The meetup also included a discussion about marketing strategies and ways to increase visibility for the projects’ projects and distributions. A marketing workgroup for the release of openSUSE Leap 15.3 was an idea brought up in the discussion and is moving forward with establishing a team.
Another topic resulted in a decision to extend future EOY surveys to be run for 30 days, which will run from mid-November to mid-December, rather than being open for two weeks like last year’s survey.
The attendees continued the discussion in the openSUSE Bar, which currently doesn’t have it’s opening hours posted.



