Rouen Journée de la CyberSécurité et du Logiciel Libre
Le samedi 22 Février 2020, nous organisons notre Journée Mensuelle du Logiciel Libre et de la Cybersécurité à la Maison St Sever à Rouen. (Rez-de-chaussée, centre commercial St Sever, 10-12 rue Saint-Julien, 76100, Rouen) de 14h00 à 18h00. Nous profitons de l’occasion pour communiquer sur les dates du premier semestre 2020 : 25 janvier 22 […]
The post Rouen Journée de la CyberSécurité et du Logiciel Libre appeared first on Network Users Institute - Cybersécurité, Intégration de Linux & Logiciels Libres à Rouen, Normandie..
Usando Tilix en openSUSE - 1a. Parte
Traducción del artículo original publicado por Douglas DeMaio:
https://news.opensuse.org/2020/01/27/using-tilix-part-1-on-opensuse/
Al igual que Terminator, se puede dividir, lo que le permite tener muchos terminales en una sola ventana:
Podemos tener varias sesiones dentro de una ventana de Tilix. Una sesión es simplemente un grupo de terminales divididas. Las sesiones se pueden mostrar como una barra lateral alterna:
Podemos dividir fácilmente la terminal actual usando los botones en la barra superior. La terminal actual se puede dividir vertical u horizontalmente. Las nuevas terminales siempre se crean debajo o a la derecha de la terminal activa.
Sincronizar la entrada
Tilix nos permite configurar algunas terminales de una sesión en sincronización. Esto significa que todo lo que se escribe en un terminal se envía también a todos las demás terminales sincronizadas. Esto es particularmente útil cuando se está conectado a varios hosts remotos y se desea enviarles los mismos comandos.
A través del ícono de lupa (búsqueda), podemos buscar texto dentro de todo el texto emitido en la terminal actualmente activa.
Cuando se trabaja mucho con emuladores de terminal, con muchos de ellos abiertos, es fácil comenzar a escribir en el incorrecto. Tilix nos permite configurar una terminal en lectura sólo para que nada de lo que se escriba tenga efecto (no se enviarán secuencias).
Tilix nos ofrece interesantes opciones de copiar y pegar. Deben activarse en las preferencias:
Podemos configurar un acceso directo para mostrarlo o elegir mostrarlo siempre. Este diálogo permite, por ejemplo, configurar el número de espacios en las tabulaciones al pegar:
Advertencia en caso de "pegado peligroso":

Esto concluye nuestra presentación de Tilix. En el siguiente artículo, profundizaremos y exploraremos sus funciones avanzadas.
Nouvelles adresses IP pour build.opensuse.org
Au cours de la fenêtre de maintenance de ce jeudi (2020-02-06), nous déplacerons les adresses IPv4 et IPv6 de build.opensuse.org. Les nouvelles adresses sont:
195.135.221.162
2001:67c:2178:8::162
Les personnes utilisant cette instance de l'Open Build Service ne devraient normalement pas le remarquer, mais si vous êtes assez fou pour avoir ajouté les anciennes adresses IP à certaines règles de pare-feu ou autres fichiers de configuration, assurez-vous de mettre à jour votre configuration en conséquence.
Veuillez noter que cela affecte également les entrées CNAME (alias) suivantes:
El lema de la Comunidad KDE
La Comunidad KDE es una comunidad que está en constante evolución. Y desde el necesario «desastre» de KDE4 su forma de hacer las cosas ha cambiado radicalmente. Atrás han quedado los grandes saltos sin red, ahora su evolución es lenta pero constante. Tanto es así que en ocasiones no te das cuenta de su progreso hasta que pasa cierto tiempo. Esto es lo que está pasando con la web de KDE que va mejorando día a día, siendo una de sus mejoras poder ver en ella el lema de la Comunidad KDE, el cual cada vez me parece más profundo y más maravilloso.
El lema de la Comunidad KDE
Es curioso como lo que empezó siendo un simple intento de crear un escritorio para los ordenadores GNU/Linux se ha convertido en todo un proyecto multidisciplinar donde se ha conseguido el entorno de trabajo deseado pero ampliado a centenares de aplicaciones, a tener un equipo de diseño, a trabajar con empresas de hardware, a explorar la integración con todo tipo de dispositivos, etc.
Por eso es más sorprendente que en el núcleo de su proyecto se haga hincapié en que en realidad lo importante son las personas que lo integran y por ello su página web oficial (kde.org) en realidad se llame KDE Community Home.
No obstante no es ese el aspecto que quería destacar de esta página central sino remarcar el lema de la Comunidad KDE que está bajo del carrusel de páginas destacadas:
«Un mundo en el que todos tienen control sobre su vida digital y disfrutan de la libertad y la privacidad.»

Y es que lleva un tiempo allí, lo he leído en muchas ocasiones pero creo que vale la pena remarcarlo por todo lo que significa y sabiendo lo difícil que en realidad es conseguir en nuestra vida diaria estas metas, sobre todo cuando pensamos en dispositivos móviles.
- Me encanta porque en la actualidad nadie (o casi nadie) puede escaparse de tener una vida digital, y el control sobre esta es importante.
- Me encanta porque la libertad es uno de los bienes más preciados por los humanos y en este aspecto los proyectos GNU/Linux nos lo pueden ofrecer.
- Me encanta porque la privacidad es muy importante para poder mantener tu intimidad y poder ser realmente libre.
Que la Comunidad KDE ponga estos tres conceptos por delante de todo significa que quiere ofrecerme lo mejor posible para todos mis dispositivos, aunque cueste mucho trabajo y tiempo. Yo confío en ellos… y espero que cada vez más gente lo haga.
New IP addresses for build.opensuse.org
During the maintenance window this Thursday (2020-02-06) we will move the IPv4 and IPv6 address of build.opensuse.org. The new addresses are:
-
195.135.221.162
-
2001:67c:2178:8::162
People using this Open Build Service instance should normally not notice - but if you were crazy enough to add the old IP addresses to some firewall rules or configuration files, please make sure that you update your configuration accordingly.
Please note that this affects also the following CNAME (alias) entries:
¿Cual es la Shell que prefieres en tu sistema Linux?
Una encuesta geek. Si utilizas GNU/Linux ¿Qué shell prefieres utilizas? ¿Qué motivos te hacen usarla?

En este artículo, te pido a ti lector o lectora que pasa por el blog, tu participación en esta pequeña encuesta. Es simple curiosidad por saber qué shell utilizáis a la hora de usar la consola en vuestra distribución de GNU/Linux.
Cuando me refiero a la Shell, no me refiero al emulador de consola que utilizamos para ejecutar comandos, que puede ser Konsole, Yakuake, terminal-xfce, Terminology, etc.
Me refiero a la Shell con la que ese emulador de consola interactúa con el sistema. Podéis echar un vistazo a la Wikipedia para saber más al respecto:
https://es.wikipedia.org/wiki/Shell_(inform%C3%A1tica)
Hace unas semanas realicé la misma encuesta en Mastodon, donde 172 personas contestaron a la encuesta y algunas complementaron su voto con comentario sobre el porqué de su elección.
Podéis ver la encuesta y también los comentarios de las razones de su voto de algunos usuarios en este enlace:
En esta encuesta de las 172 personas que votaron un 59% votó por Bash, más del doble del segundo clasificado con un 26% que fue zsh.
Normalmente las distribuciones de GNU/Linux utilizan Bash, pero con el tiempo vas conociendo que existen otras alternativas y que quizás tienen mejoras en ciertos aspectos que nos pueden facilitar muchas tareas que realizamos en ellas.
Quizás por ese motivo de estar en todos lados, Bash es tan popular frente a otras opciones. Yo últimamente estoy probando Fish y tiene muchas cosas que me gustan…
En fin, que no me enrollo más. Os pregunto ¿Qué shell preferís/utilizáis en vuestro sistema GNU/Linux? Y ya si queréis podéis completarlo con vuestros argumentos.
Yo he seleccionado como respuestas, las más utilizadas, pero si tienes otra opción, me gustará leerlo en los comentarios. Os dejo con la encuesta:
Si no podéis ver la encuesta, podéis visitarla en este enlace:
Gracias por participar con vuestros votos o con vuestros comentarios. Veamos cual es la opción mayoritaria.

Using Tilix – Part 2 on openSUSE
Last week, we introduced Tilix and started exploring its basics, let’s now familiarize ourselves with the advanced features of Tilix, namely:
-
Management of bookmarks, local or remote;
-
Personalized links (clickable links based on regular expressions);
-
Automatic profile switching depending on location (local or remote (SSH));
-
Password management;
-
Launch of internal actions.
Bookmark management
Tilix allows you to save and manage a list of “bookmarks”, that is to say local or remote locations. Just open the Preferences and define some folder or remote servers to connect to, then open this list, select the desired bookmark and go immediately to the folder or open the SSH session to a remote host.
Note: the bookmarks are saved in $HOME/.config/tilix/bookmarks.json We recommend that you create this file by hand beforehand if you notice that your bookmarks are not saved correctly after leaving Tilix.
Create a bookmark folder
Tilix allows you to organize your bookmarks by creating a simple folder in which you can create them, so that they are well organized. This is useful for, for example, grouping SSH connections to the same group of machines:
Click on the folder then on the + to add bookmarks.
Local bookmarks
To add bookmarks, open Tilix preferences, then go to the Bookmarks section to click on the +”.
Here we will add a bookmark to the local copy of a project on the Open Build Service.
Remote bookmarks
The procedure is the same, but choose Remote then enter the bookmark parameters:
-
Name: the reference of your bookmark;
-
Protocol: choice: SSH, SFTP, TELNET, FTP;
-
Host: the host name of the target followed by the port number;
-
User: the user of the connection;
-
Settings: SSH options for example;
-
Command: if it is an SSH connection, the command to launch on the remote host.
Commands
Same procedure as the others, but here we simply enter a command to launch. The bookmark is therefore here a simple alias.
My order to update the local copy of my OBS repository.
Use bookmarks
You can access your bookmarks via “Ctrl + Shift + B”, you just have to select it and the corresponding command is launched:
Personalized links
Tilix allows you to define a list of links (URI to a web page or a local or remote file:// location) that will be made clickable based on a regular expression or a simple word. To do this, open the Preferences then the Advanced section. For the example, we will add a link to the Open Build Service with the key work obs;
The regular expression has become clickable, either by “Ctrl + click”, or by a right-click.
Automatic profile change
We arrive there in a functionality of Tilix, which is particularly useful and must care to avoid to make severe mistake by typing a command in the bad directory or in a remote connection: the automatic change of profile. Tilix, like many modern terminal emulators, allows you to create several profiles (colors, shell used, font etc …) but in addition, it allows to automatically switch from one to the other, depending from the active location: either a local folder or, more interesting, but also requiring a little more manipulation, an SSH connection.
Local

For the example, we will create a profile called “Root” that will be activated automatically when we explore one of the following folders:
<code class="hljs">/etc
/usr
/root
</code>
Now, in the “Advanced” tab of the profile, we will define the condition necessary for its activation.
As specified, the values must be in the format “host:folder” or “host:” or “: folder”, the “:”. These are mandatory, so “host” or “folder” alone are not allowed.
And now if we go to /etc:

The changeover was done automatically and as soon as we leave /etc, Tilix will use the default profile again.
During a remote connection
Tilix allows us to do the same during an SSH connection. But this requires a bit of configuration on the remote host:
Copy of the script on the remote host:
You must push the script /usr/share/tilix/scripts/tilix_int.sh in the $HOME of the remote user (or to any other folder from where it can be sourced like /usr/local/bin):
<code class="hljs elixir">scp /usr/share/tilix/scripts/tilix_int.sh user<span class="hljs-variable">@hostname</span><span class="hljs-symbol">:/home/user</span>
</code>
Then connect to it beforehand to add the launch of the script to the connection, via its .bashrc for example:
<code class="hljs elixir">[geeko<span class="hljs-variable">@host</span> ~]<span class="hljs-variable">$ </span>cat .bashrc
<span class="hljs-comment"># .bashrc</span>
<span class="hljs-comment"># User specific aliases and functions</span>
. ./tilix_int.sh
</code>
Then, there too, define the profile switch condition as above but by specifying the host (the one provided by the hostname command on which Tilix itself is bases) this time. Then connect. The profile will change as soon as the SSH connection is established. It will switch back to the default profile as soon as we log out.
Password management
Tilix also allows you to store passwords in memory. To do this, click on the menu of the active terminal and choose “Passwords …”:
And fill it in:
Tilix keeps the passwords saved in the GNOME keyring.
This is a very interesting function coupled with the previous ones:
-
using bookmarks, you launch a remote connection;
-
thanks to the saved passwords you unlock your SSH key for example;
-
then Tilix immediately switches you to the profile of your choice if necessary.
Launch of internal actions
Within a current Tilix session, it allows you to launch internal actions that can be useful, for example, to split the window in two and then open an X program in the created tile:
<code class="hljs stylus">tilix -<span class="hljs-selector-tag">a</span> session-add-<span class="hljs-attribute">right</span> -e htop
</code>
This functionality is very useful when coupled with an alias or chained, allowing you to build your session layout and start your apps.
In conclusion
Tilix has been actively developed and is now considered mature. We hope that this review of its advanced features will have convinced you, or at least made you want to try it.
See you soon, enjoy!
Hibernate ke Swap file
Bagi yang terbiasa memasang Linux tanpa partisi Swap seperti saya, tetapi ingin memanfaatkan fitur Hibernate/Hibernasi, Anda bisa membuat Swap dalam bentuk file. Saya terbiasa tidak membuat partisi Swap karena biasanya menggunakan Zram untuk kebutuhan Swap. Dengan Zram, komputer tetap responsif tanpa ada lag meskipun Swap terpakai, tapi kekurangannya yang saya rasakan adalah kita tidak bisa memanfaatkan fitur hibernate.
Buat apa fitur Hibernate untuk pengguna SSD, karena boot dari komputer mati biasanya justru lebih cepat daripada resume dari Hibernate? Karena saya kadang-kadang perlu mematikan komputer tanpa harus menyimpan pekerjaan terlebih dahulu. Dan jika menggunakan Sleep, jika laptop ditinggalkan lama karena pekerjaan lain atau karena lupa bisa membuat baterai kehabisan daya sehingga perkerjaan yang tersimpan hilang begitu saja.
Tapi dengan Hibernate, kita bisa memanfaatkan fitur Sleep Then Hibernate yang jika komputer/laptop dibiarkan Sleep dalam waktu tertentu, dia akan berpindah ke Hibernate. Bagi pengguna Plasma 5 fitur ini bisa diaktifkan di System Settings > Power Management > Energy Saving atau bisa langsung menggunakan Systemd.
Membuat Swap file bisa dilakukan dengan proses berikut:
Pertama buat file dengan fallocate. Untuk membuat Swap sebesar 4 GiB, gunakan 4096M atau 4G (sesuaikan dengan kebutuhan):
su -c "fallocate -l 4096M /swapfile"
Jika Anda menggunakan BtrFS dengan snapshot, sebaiknya buat swapfile di partisi lain, jadi ubah /swapfile dengan /path/ke/partisi/lain/swapfile. Dan yang perlu diperhatikan juga, untuk membuat Swapfile di BtrFS, Anda harus menggunakan Kernel 5 ke atas.
Lalu ubah hak akses supaya aman dari modifikasi pengguna lain:
su -c "chown -v 600 /swapfile"
Buat jadi Swap:
su -c "mkswap /swapfile"
Aktifkan Swap:
su -c "swapon /swapfile"
Masukkan ke /etc/fstab supaya Swap aktif saat komputer dinyalakan:
su -c "echo '/swapfile none swap defaults 0 0' >> /etc/fstab"
Supaya komputer bisa Resume dari Hibernate, kita perlu menambahkan kernel parameter resume dan resume_offset ke Grub. Parameter resume diisi dengan partisi di mana letak swapfile berada. Misal jika ada di /dev/sda2, isi dengan resume=/dev/sda2. Sedangkan resume_offset bisa diketahui dengan perintah filefrag, kecuali jika Anda membuat swapfile tersebut di BtrFS.
su -c "filefrag -v /swapfile"
Dari hasil perintah tersebut akan muncul hasil seperti ini:
Filesystem type is: ef53 File size of /swapfile is 4294967296 (1048576 blocks of 4096 bytes) ext: logical_offset: physical_offset: length: expected: flags: 0: 0.. 0: 17782784.. 17782784: 1: 1: 1.. 2047: 17782785.. 17784831: 2047: unwritten 2: 2048.. 32767: 18071552.. 18102271: 30720: 17784832: unwritten 3: 32768.. 63487: 18102272.. 18132991: 30720: unwritten 4: ....... .....: .......... ........: .....: .........
Parameter resume_offset diisi dengan angka pertama dari physical_offset. Jadi dengan hasil perintah di atas, diisi dengan resume_offset=17782784 (sesuaikan dengan hasil Anda).
Untuk mencari resume_offset di BtrFS bisa menggunakan btrfs_map_physical. Download file tersebut, compile, lalu jalankan.
Masukkan kedua parameter tersebut ke file /etc/default/grub pada opsi GRUB_CMDLINE_LINUX_DEFAULT. Jika kita memasang openSUSE dengan partisi Swap, parameter resume ini akan berada di antara splash=silent dan quiet. Kita juga bisa memasukkan kedua parameter di atas di tempat yang sama dengan perintah:
su -c "sed -i 's/silent/silent resume=\/dev\/sda2 resume_offset=17782784/g' /etc/default/grub"
Lalu update grub dengan perintah:
su -c "grub2-mkconfig -o /boot/grub2/grub.cfg"
Kekurangan dari Swap dalam bentuk file atau partisi adalah saat Swap terpakai komputer akan terasa berat/ngelag. Untuk mengantisipasi ini saya tetap membuat Swap dengan Zram dengan prioritas lebih tinggi. Caranya buat sebuah file di /usr/local/sbin/ dengan nama swap-zram, isi dengan:
#!/bin/bash
num_cpus=$(grep -c processor /proc/cpuinfo)
[ "$num_cpus" != 0 ] || num_cpus=1
decr_num_cpus=$((num_cpus - 1))
if [ "$1" -ne 0 ]; then
mod_parm=$(modinfo zram |grep parm |tr -s " " |cut -f2 -d ":")
modprobe zram $mod_parm=$num_cpus
for i in $(seq 0 $decr_num_cpus); do
echo $((($1 * 1024 * 1024) / num_cpus)) > /sys/block/zram$i/disksize
done
for i in $(seq 0 $decr_num_cpus); do
mkswap /dev/zram$i
done
for i in $(seq 0 $decr_num_cpus); do
swapon -p 100 /dev/zram$i
done
else
for i in $(seq 0 $decr_num_cpus); do
if [ "$(grep /dev/zram$i /proc/swaps)" != "" ]; then
swapoff /dev/zram$i
fi
done
rmmod zram
fi
Buat file tersebut supaya bisa dieksekusi:
su -c "chmod +x /usr/local/sbin/swap-zram"
Lalu buat sebuah folder di /usr/local/lib/ dengan nama systemd. Di dalamnya buat lagi folder dengan nama system. Perintahnya adalah:
su -c "mkdir -p /usr/local/lib/systemd/system"
Di dalam folder system, buat sebuah file dengan nama swap-zram.service. Isi dengan:
[Unit] Description=Service enabling compressing RAM with zRam After=multi-user.target [Service] Type=oneshot ExecStart=/usr/local/sbin/swap-zram 4096 ExecStop=/usr/local/sbin/swap-zram 0 RemainAfterExit=yes [Install] WantedBy=multi-user.target
Angka 4096 jika kita ingin membuat Swap dari Zram sebesar 4 GiB. Sehingga total Swap dengan Swapfile yang tadi dibuat menjadi 8 GiB. Silakan sesuaikan dengan kebutuhan.
Aktifkan dan jalankan service tersebut dengan:
su -c "systemctl enable swap-zram.service"
Dan
su -c "systemctl start swap-zram.service"
openSUSE Board election 2019-2020 result
The openSUSE Board election 2019-2020 reached an end on the night of 31 January 23h59 CET after running for about two weeks.
Four candidates ran in this election and the result is as follows:
- Simon Lees 161
- Sarah Julia Kriesch 138
- Vinzenz Vietzke 130
- Alessandro de Oliveira Faria 95
Simon is re-elected and gets to serve for another term while Sarah replaces outgoing board member Gertjan Lettink.
281 out of 500 eligible members voted in this election.








