site  contact  subhomenews

Fix client app passed param with space

September 12, 2024 — BarryK

Forum member Caramel reported a failure if firefox is passed a file on the commandline that has a space character.

Firefox is installed to run as user "firefox", and there are three steps. There is script /usr/bin/firefox, script /usr/bin/firefox.bin, and finally /usr/bin/firefox.bin0 runs the actual Fireox. Same situation with Chromium. having three steps seems complicated, but you can get an idea what they do by viewing the two scripts in a text editor.

Where the problem occurs is that firefox.bin calls firefox.bin0 passing $@, which means that firefox.bin0 will receive parameters thinking that each space delineates a parameter. We need to pass any parameter that has a space character enclosed in double-quotes. Here is the fix:

https://github.com/bkauler/woofq/commit/2e31744d92fc4bec4b7fc753cdc991d87fe6040d

Note this is not an isolated problem. It comes up all over the place, and it is preferable in Linux to not have paths and filenames with spaces.   

Tags: easy

Icon-free desktop tray icon fix

September 12, 2024 — BarryK

Forum member Caramel reported the problem:

https://forum.puppylinux.com/viewtopic.php?p=130762#p130762

Yes, when in rox-mode, if drag a folder from ROX-Filer onto the desktop, after switching to jwm-mode (icon-free desktop), the icon appears in the tray but doesn't work.

Here is an example in /root/Choices/ROX-Filer/PuppyPin:

<icon x="1144" y="164" label="usr">/usr</icon>

When X is restarted after switching from rox-mode to jwm-mode, /root/.xinitrc runs and calls /usr/local/ui/jwm/jwmrc-insert-icons, which is responsible for translating icons from the ROX desktop to appear in the JWM tray. I have modified this script, see github commit:

https://github.com/bkauler/woofq/commit/4c7c4a7a049676653762da7fd5b29fab2a52d2c9

Now an entry in /root/.jwmrc-tray is created that is correct:

<TrayButton popup="usr" icon="folder48.png">exec:/usr/local/bin/rox --dir=/usr</TrayButton>

Caramel, thanks for reporting that; little fixes like this are important.

I have just realised that EasyJWM is missing something important; it cannot delete icons in the tray that have been transferred from the ROX desktop. It can be done manually, by editing /root/.jwm/tray-icons and /root/.jwmrc-tray.       

Tags: easy

Chromium 128.0.6613.119 compiled in OE

September 11, 2024 — BarryK

EasyOS 6.3 has Chromium version 127.0.6533.99. Have just now finished compiling 128.0.6613.119 in OpenEmbedded/Yocto, which will be in the next release of Easy.

Just now looked at the "meta-chromium" site, and see that Max has just built Chromium 128.0.6613.137:

https://github.com/MaxIhlenfeldt/meta-browser/tree/128.0.6613.137

Yeah, well, I'm not going to recompile Chromium; the build took 25 hours, and pretty much ties up my workhorse desktop PC for the duration.

It is pretty disgusting; the Chromium source .tar.xz tarball is 6.4GB -- Chromium 123.0.6312.122 tarball is 3.3GB, that I compiled in May this year -- how on earth can the source tarball grow by 3.1GB???? 3.3GB is already monstrous, and now it has doubled. I'm gobsmacked.

Max's "meta-chromium" is a fork of this:

https://github.com/OSSystems/meta-browser

And Max syncs with it periodically.

There is another fork that focuses on building Firefox; by Gyorgy:

https://github.com/OldManYellsAtCloud/meta-browser   

Tags: easy

EasyOS Scarthgap-series version 6.3 released

September 10, 2024 — BarryK

Significant changes this time. Version 6.2 was released only about 3 weeks ago:

If you are new to EasyOS, you might find it helpful to read the announcement for 6.0, the start of the 6.x versions:

There are two major improvements in 6.3, relative to 6.2: enhancements for running in icon-free-desktop mode, and builtin ibus input method with Chinese support.

In the initrd, now there is a choice of "zh Chinese" and the desktop and apps are partly translated. Here is a snapshot showing the QuickSetup app, which I translated using MoManager's automatic translation:

img1

...the snapshot also shows the ibus tray app, for selecting different input methods.

Here is the menu:

img2

Here is the icon-free-desktop (also known as jwm-mode):

img3

The wallpaper is a lake at a Chinese village. In jwm-mode, the quality of the wallpaper image is somewhat degraded; something that we need to find out why.

I have used MoManager to translate only a few scripts. MoManager uses Google or Bing for automatic translation, and manual fixing. I could see that the translations are not perfect, as can be seen in the photo of QuickSetup; however, I have no knowledge of Chinese language. I welcome help; forum discussion thread here:

https://forum.puppylinux.com/viewtopic.php?p=130645#p130645

Release notes for 6.3:

https://distro.ibiblio.org/easyos/amd64/releases/scarthgap/2024/6.3/release-notes.htm

Download, courtesy of ibiblio.org:

https://distro.ibiblio.org/easyos/amd64/releases/scarthgap/2024/6.3/

Fast mirror in Europe, courtesy of NLUUG:

https://ftp.nluug.nl/os/Linux/distr/easyos/amd64/releases/scarthgap/2024/

Feedback is welcome in the forum, in this thread:

https://forum.puppylinux.com/viewtopic.php?p=130646#p130646

Have fun!     

Tags: easy

ibus-pinyin compiled

September 09, 2024 — BarryK

I posted today about compiling libus-libpinyin' in OpenEmbedded:

However, ibus-libpinyin and dependencies are rather big. Package 'ibus-pinyin' and dependency 'libpyzy' are considerably smaller, yet look like doing the same job. So, have compiled these in a running EasyOS:

libpyzy
ibis-pinyin

These will be builtin to EasyOS 6.3, intending to achieve Chinese language rendering and input support "out of the box". No need to install any extra packages.  

Tags: easy

ibus input method packages compiled in OE

September 09, 2024 — BarryK

In OpenEmbedded/Yocto, have compiled these:

ibus
libpinyin
ibus-libpinyin

The last two are for Chinese language input using pinyin, both simplified and traditional.

The intention is that Chinese language support will be builtin to the next release of EasyOS, using ibus. The main reason for choosing ibus is that it is default supported by gnome and Qt5.

Note, already posted about display of Chinese text now builtin:

Here are the recent OE github commits:

https://github.com/bkauler/oe-qky-scarthgap/commits/bfc6bbd0d0ea66137044b0bf943aece835f6a619/

Wikipedia page:

https://en.wikipedia.org/wiki/Intelligent_Input_Bus

Arch Linux wiki page:

https://wiki.archlinux.org/title/IBus   

Tags: easy

Fcitx5 input method packages compiled

September 08, 2024 — BarryK

I compiled these packages in OpenEmbedded:

extra-cmake-modules
xcb-imdkit
fcitx5
fcitx5-gtk

And in a running EasyOS compiled these:

fcitx5-qt
libime
fcitx5-chinese-addons

Information about fcitx5 is here:

https://fcitx-im.org/wiki/Fcitx_5   

Tags: easy

PKGget icon-free-desktop aware

September 06, 2024 — BarryK

When uninstall a package, if an icon is in the tray in jwm-mode, remove it. Commit:

https://github.com/bkauler/woofq/commit/5edb43014a1faecf824accfaa5e7dc4d96577b76    

Tags: easy