site  contact  subhomenews

French translation for welcome image

July 01, 2020 — BarryK

Forum member esmourguit normally maintains the French langpack for EasyOS, however, I have made a little contribution.

There is a script, /usr/share/doc/easy/, that generates /usr/share/doc/easy/welcome_<language>.htm (for example, welcome_fr.htm), and /usr/share/doc/welcome.htm is a symlink to it.

One of the new features in welcome.htm is an image of the EasyOS desktop with translated text superimposed on top of it, a technique contributed by L18L:

Esmourguit has suggested some more changes to, to redirect some of the online URL links to French translations, but that change is on hold for now, I want to think about it a bit more.

What I have contributed is translation of the superimposed text over the image, to /usr/share/locale/fr/LC_MESSAGES/ I went back to basic principles, and uncompiled

# msgunfmt > easyhelp.po

I then opened easyhelp.po in Geany and inserted these translations:

msgid "Easy Operating System"
msgstr "Système d'exploitation Easy"

msgid "Containerized<br>apps"
msgstr "Applications<br>conteneurisées"

msgid "Install<br>mega-apps"
msgstr "Installer des<br>méga-applis"

msgid "Menu: bottom-left of screen,<br>or<br> right-click on desktop"
msgstr "Menu:<br>en bas à gauche de l'écran<br>ou clic droit sur le bureau"

msgid "Share files & printers<br>over the network"
msgstr "Partager des fichiers<br>et des imprimantes<br>sur le réseau"

msgid "Connect to the Internet"
msgstr "Connecter à Internet"

Then recompiled the file:

# msgfmt --check easyhelp.po

And copied to langpack_fr-20200701/usr/share/locale/fr/LC_MESSAGES/, that is, into the French langpack PET, which is now version 20200701. 

Tags: easy

GParted reverted to version 0.33.0

June 30, 2020 — BarryK

EasyOS 2.3.2 has GParted 1.0.0, which requires gtk3 and gtkmm3. It works OK, just found one bug, but, I have decided to go back to the last version that supports gtk2, which is 0.33.0.

Plus one patch:

OK, I'm a luddite, clinging onto gtk2. A major feature in 1.0.0 is improved f2fs resize/move, have to forgo that.

I have named the PET "gparted0" so as to distinguish it from the 1.x series, and 0.33.0 will be in the next release of EasyOS. Saves about 6MB, as don't need the libgtkmm3 package. 

Tags: easy

fftag version 1.5e

June 30, 2020 — BarryK

fftag is a GUI app for editing metadata, extracting audio from video files and ripping CDs, created and maintained by Jason (plinej in the forum). Forum thread:

EasyOS has version 1.4a, now the PET is updated to 1.5e. 

Tags: easy

ffplay-gtk version 1.9

June 30, 2020 — BarryK

ffplay-gtk is a GUI frontend for the 'ffplay' CLI media player, which is part of the 'ffmpeg' package.

ffplay-gtk was created and is maintained by Jason (plinej in the forum), and has just been bumped to version 1.9, see forum thread:

EasyOS currently has version 1.6, so I have updated the PET. 

Tags: easy

German langpack updated

June 29, 2020 — BarryK

I would like to thank Lutz (L18L in the forum) for updates to the German langpack for EasyOS and EasyPup.

Lutz created translation for the image in the "welcome" page, see earlier blog post:

Lutz also updated translation for some other apps and utilities, and I have applied these to the langpack, it is now '' and will be used to build the next German release of EasyOS and maybe EasyPup.   

Tags: easy

Ccrypt file encryption GUI

June 24, 2020 — BarryK

EasyOS has a GUI frontend for the 'bcrypt' file encryption utility, in the "Personal" menu category. Alfons reported that it does not work.

Yes, the Debian maintainers have disabled encryption, only allowing decryption, as they have deemed it to be a very insecure encryption method.

I have modified the script to use the 'ccrypt' utility. This will also be in the "Personal" category in the menu. The new GUI frontend is /usr/sbin/ccrypt_gui.

Ccrypt project page: 

Tags: easy

Fix for journal commit interval change

June 24, 2020 — BarryK

I posted how the ext4 journal commit interval was changed from 5 to 30 seconds:

This is in EasyOS version 2.3.2, however, Terry reported that when he updated his existing installation of EasyOS to 2.3.2, mounting of the working-partition failed.

I advised him to remove the "-o" options, which fixed it:

He hasn't replied yet, but I think the problem is that his ext4 filesystem does not have a journal. So, I have modified the 'init' script like this:

  mount -t ${WKG_FS} -o commit=30,rw,relatime,data=ordered /dev/${WKG_DEV} /mnt/${WKG_DEV} 2>/dev/null
[ $? -ne 0 ] && mount -t ${WKG_FS} /dev/${WKG_DEV} /mnt/${WKG_DEV} #200624 fallback if no journal

The initrd doesn't have the 'dumpe2fs' utility, and don't know any other way to test if ext4 has a journal, so just do as above. If the "-o" options cause failure to mount, do it again without the "-o" options. Crude, but should work. 

Tags: easy

Fix for two NVME drives

June 23, 2020 — BarryK

I recently purchased a M.2-to-PCIE adapter card:

And a 500GB NVME M.2 drive:

There are heatsinks available especially for these M.2 cards, however, I purchased two small stick-on heatsinks:

Here it is, put together, ready for insertion in the PC:


I want a fast partition, for some jobs that take a long time, such as the '2createpackages' script in WoofQ and a OpenEmbedded compile.

For the first time, have a PC with two NVME M.2 SSDs, and it has exposed a fault in EasyOS. This Lenovo IdeaCentre PC came with a 256GB NVME M.2 SSD. It has two PCI-E slots, one of them full-length.

The initrd in EasyOS has static /dev nodes. It is only at switch_root to the main filesystem that devtmpfs is mounted on /dev. With devtmpfs, the kernel will create the device nodes as required, in response to hardware it finds.

In the initrd, /dev has pre-created device nodes. This is fine, as long as nodes exist for all of the types of hardware that are likely to be found. Or rather, it has been fine up until now...

What I have discovered is the Linux NVME driver developers have broken with tradition, and device names no longer can be guaranteed to have fixed major and minor device numbers. To give an example of a normal drive partition:

# ls -l /dev/sda1
brw-rw---- 1 root disk 8, 1 Jun 24 2020 /dev/sda1

The major and minor numbers for partition "sda1" are 8 and 1. That remains always the same.

However, as this fixed mapping does not work for NVME, static node assignments may differ after devtmps is loaded. I discovered, for example that what is /dev/nvme1n1p4 after devtmpfs loaded, the initrd mapped the same major/minor numbers to /dev/nvme0n1p6.

So, for anyone trying to use EasyOS on a PC with more than one NVME drive, expect trouble.

It is time, finally, the very "old school" hanging onto static /dev nodes in the initrd has got to go. Now, devtmpfs is mounted at the start of the 'init' script in the initrd. This fix will of course be in the next release of Easy. 

Tags: easy