site  contact  subhomenews

Fix some .desktop files getting deleted

December 14, 2023 — BarryK

I updated one of the EasyOS installations, and Firefox disappeared from the menu. The /usr/share/applications/firefox.desktop file had reverted to containing "NoDisplay=true".

There are other possible situations where a .desktop file might get inappropriately deleted.

I have studied the code and made improvements. See commit:

...which seems like it will improve the situation.    

Tags: easy

Fix Firefox second instance will not start

December 13, 2023 — BarryK

I posted about this problem to the forum:

The error popup states "Firefox is already running, but is not responding".

I discovered that dbus is the problem, as reported here:

EasyOS is unique, in that it runs each app as its own user; or rather, that is an option. The choice is made for each browser to run as its own user, so Firefox runs as user "firefox". Same for appimage and flatpak apps, and there was a problem with dbus, that was solved awhile back:

In the case of Firefox, /usr/bin/firefox is a script, that, amongst other things, logs in as user "firefox", then runs /usr/bin/firefox.bin. Here is the latter:

export $(dbus-launch) #if app needs to access dbus.
/usr/bin/firefox.bin0 $@

...the problem with this, and it seems only to break Firefox, Chromium is ok, is that running this a second time, when FF is already running, starts a second 'dbus-daemon'.

The solution is to run 'dbus-daemon' once-only. The script needs to detect if dbus-daemon is already running for that user. If already running, it still needs to export variables DBUS_SESSION_BUS_ADDRESS and DBUS_SESSION_BUS_PID, to satisfy some appimage and/or flatpak apps.

The fixed script is here:

And here:

Actually, FF is starting to look good again.    

Tags: easy

EasyOS Kirkstone-series version 5.6.5 released

December 06, 2023 — BarryK

Version 5.6.4 was released on November 27, see blog announcement:

Release notes for 5.6.5:

The highlights:

Download, courtesy of ibiblio:

Fast mirror in Europe, courtesy of NLUUG:

If you don't know what to do with a drive-image file, this page explains how to write it to a USB flash-drive:

Or, if you want to install direct to an internal hard drive:

Of course, if you already have EasyOS running, just click on the "update" icon on the desktop. Updating from 5.6.4 is only a 6.6MB download.

Feedback is welcome at the forum:    

Tags: easy

Global IP TV Panel 2023MK7

December 05, 2023 — BarryK

I updated to MK6 just a few days ago. Now bumped to MK7. See forum:    

Tags: easy

p7zip compiled in OE

December 05, 2023 — BarryK

7-zip is a compressed file archive format, and p7zip is the Linux port. 7-zip homepage:

The guys are discussing implementing p7zip in Easy:

I have compiled p7zip in OpenEmbedded, and added it to the EasyOS package-list, so it will be builtin. I also fixed the mime-handling, so if click on a .7z file it will open in Xarchive, or right-click on a .7z file then Xarchive will be offered in the menu. Rox will also display .7z files with a suitable icon.

Here are the woofQ github commits:    

Tags: easy

download_file rewritten

December 05, 2023 — BarryK

This has been on the to-do list for a very long time, and is going to please a lot of people.

PKGget, and other scripts, call /usr/bin/download_file to download a file from the Internet. The complaint is that the download window is in all virtual desktops, and is always on-top of other windows. This makes it difficult to do other work while a download is in progress.

The download_file script goes back a long way. It started life in 2010 and had input from various people, and has remained essentially the same up to now. I was curious about it's status in woof-CE:

Looking at the changes committed over the years; just details, it has remained essentially the same as my original version. Here are the woof-CE commits:

Essentially the same; there has been some deviation. I added an abort button in 2015; that was two years after leaving managing the Puppy project, so that button is not in the woof-CE version.

I have now rewritten it so that it is now a normal window, that does not force itself to always be "on top", nor does it appear in all virtual desktops:


...notice also, the progress-bar, instead of rows of dots.

Here is the commit to woofQ on github:

So many changes; it might be more meaningful to view the complete new file:

This could also be used in woof-CE, except that I have dropped all of the PUPMODE handling code. Which would be easy to add back in if required. It does require gtkdialog be compiled with vte (virtual terminal) support, which may not be the case with some pups.       

Tags: easy

Rox Customise Menu entry removed

December 03, 2023 — BarryK

The problem is discussed here:

I have solved the problem by removing "Customise Menu..." entry from the right-click menu. Commit:  

Tags: easy

Fix abort loading NVIDIA SFS in initrd

December 03, 2023 — BarryK

This mechanism was posted about in this blog post:

This is in Easy 5.6.4; however, it doesn't work. All NVIDIA SFSs get rejected. The test should be:

lspci | grep -qF 'Class 0300: 10de:'

The fix is in this commit:

Now, with the next release of Easy, the NVIDIA SFS will not load if there is no NVIDIA GPU detected, otherwise will load. This is for booting a USB flash stick on different computers.   

Tags: easy