PKGget icon-free-desktop aware
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
Brave browser added to Flapi
Flapi is the flatpak installer, run via the desktop "pkg" icon, or via the menu "Setup -> Flatpak Installer".
The Brave web browser has been discussed on the forum and the flatpak tested by FeodorF to work in EasyOS:
https://forum.puppylinux.com/viewtopic.php?p=129314#p129314
https://forum.puppylinux.com/viewtopic.php?t=12612
Now in Flapi, see commits:
https://github.com/bkauler/woofq/commit/6ac3706acec650df24b31bb57f43eea6f35c3a23
https://github.com/bkauler/woofq/commit/f92d870d81d4230c265d8dfe60a00402e9b8fe40
Tags: easy
Fix hardware clock profiling
Forum member FeodorF reported the problem and Caramel found the solution:
https://forum.puppylinux.com/viewtopic.php?p=130352#p130352
The fix has been applied, see commit:
https://github.com/bkauler/woofq/commit/5952a717e7c947b7b843453d9684f0b2b6cd335f
Tags: easy
DroidSansFallback TrueType font
The guys have been discussing support for Chinese language in EasyOS (and Puppy):
https://forum.puppylinux.com/viewtopic.php?t=12555
Typing Chinese characters is one thing, displaying them in web pages is another. I'm just tackling the latter for now.
EasyOS has TrueType fonts in /usr/share/fonts/TTF folder. I hunted online for TrueType files that support traditional and simplified Chinese, but they are all very big, 12 to 40MB. The mainstream ones anyway. However, I found one that is very small, Droid Sans Fallback, that was used in early releases of Android. Android replaced it with Roboto.
Downloaded DroidSansFallback.ttf from here:
https://github.com/aosp-mirror/platform_frameworks_base/tree/master/data/fonts
...3.3MB. Of course, having this builtin to EasyOS, it will be very much compressed in 'easy.sfs' -- maybe about 1.2MB.
Language support is described here:
https://en.wikipedia.org/wiki/Droid_(typeface)
The first link also has DroidSansFallbackFull.ttf -- I don't know what extra languages and glyphs that supports. It is bigger, about 3.9MB. Hindi?
I have tested DroidSansFallback.ttf with Chromium, gone to
various sites that have traditional and simplified Chinese, and
they display OK.
Tags: easy
Appi and Flapi icon-free-desktop aware
In the last few days, have posted about scripts becoming aware if in icon-free-desktop mode (jwm-mode):
- Orange-ball menu entries restructured — September 04, 2024
- Retain icons when switch rox to jwm — September 03, 2024
- Revisiting icon-free desktop mode — August 31, 2024
Appi, the AppImage installer, and Flapi, the Flatpak installer, are now also jwm-mode aware, plus more enhancements. See github commits:
https://github.com/bkauler/woofq/commit/fad498d5fbe2a9f348dade637a213c217cf3cb6d
https://github.com/bkauler/woofq/commit/17d3c8f892c2450220577f188c01abd4a7759b70
Tags: easy
Orange-ball menu entries restructured
Orange-ball menu entries are "important" native apps available via PKGget and not yet installed. There have been posts about them, including here:
- Menu entries for not-yet-installed apps — July 09, 2023
The way this works is there is a menu entry, for, say, "Scribus",
and there is /usr/share/applications/scribus.desktop file. This
file causes the orange-ball icon to display in the menu entry, and
when chosen, /usr/bin/scribus.install will execute. This script
will offer to install Scribus.
Easy 6.2 has all of these orange-ball menu entries:
aqemu claws-mail dia gimagereader obs qtemu scribus shotcut vlc vym
The implementation has been inefficient, with *.install scripts written for each one, even though they mostly have the same code.
So, have create a single common script,
/usr/local/orange/orange.install, with a folder
/usr/local/orange/config with configuration for each app.
#!/bin/ash
exec /usr/local/orange/orange.install scribus
File /usr/local/orange/config/scribus has this:
#!/bin/ash
export TEXTDOMAIN=orange
export OUTPUT_CHARSET=UTF-8
#pkg-name
PN=scribus
#executable-name
EN=scribus
#real-name
RN="Scribus"
#alt-exe-names
AN=""
#short-descr
SD="Desktop publishing"
#homepage
HP="https://www.scribus.net/"
#mini-icon (found in /usr/local/lib/X11/mini-icons)
MI=mini-Document-layout
#run app as this user ***FUTURE*** currently only recognize root
UN=scribus
#post-install frame...
PF=""
Github commits:
https://github.com/bkauler/woofq/commits/765b448fffd177f87649302e74a1daa2c4436a17/
Script /usr/local/orange/orange.install does something important; it is aware when in jwm-mode and will create an icon in the tray. I posted about rox-mode and jwm-mode yesterday:
- Retain icons when switch rox to jwm — September 03, 2024
Need to work on Appi and Flapi also, to make them aware of
jwm-mode.
Tags: easy
appi and flapi script path changes
This is a "under the bonnet" thing that I have wanted to do for some time. It's of interest to developers, not users.
The folders /usr/local/appimage and /usr/local/flatpak have been changed to /usr/local/appi and /usr/local/flapi, and the scripts therein changed from appimage to appi and flatpak to flapi.
I wasn't going to do it, as thought had hardcoded the paths in too many places, but today made the changes. Github commits can be found here:
https://github.com/bkauler/woofq/commits/a14798aa8d4b1c155c67abc3dec51a89de53ba86/
Tags: easy
Retain icons when switch rox to jwm
I posted a couple of days ago about revisiting the icon-free-desktop mode, also known as jwm-mode:
- Revisiting icon-free desktop mode — August 31, 2024
We have been discussing this on the forum:
https://forum.puppylinux.com/viewtopic.php?t=12573
If the user creates icons on the desktop while in rox-mode, now
when switch to jwm-mode those icons appear in the tray. Before,
they got left out.
Switching between rox- and jwm-modes is very easy. You will find it in the menu at "Desktop --> MoveIcons tray or desktop", also via clicking on the "setup" desktop icon. The latter case, a photo:
Clicking on the "Move icons - Icons in tray or desktop" button:
Clicking on "All icons in the tray" radiobutton then "Continue" and we get a desktop without icons:
The icons I had previously created in rox-mode are leafpad,
droidcam, chromium, nanosaur, claws, okular and frogatto, and they
are all in the tray. They all have popup label when mouse-over.
The script that has been edited is /usr/local/ui/jwm/jwmrc-insert-icons:
https://github.com/bkauler/woofq/commit/4229312636435bb5aa0893f055e572b48d3b20ba
This is great, makes icon-free-desktop mode really nice to
use.
Tags: easy