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
Revisiting icon-free desktop mode
EasyOS can switch between having icons on the desktop or all in the tray. This is chosen via the menu "Desktop -> MoveIcons tray or desktop", or via the "setup" desktop icon. Here is an early blog post introducing the icon-free desktop:
- Experimental icon-free desktop — February 09, 2022
It hasn't been a popular option; just about everyone, myself
included, have preferred to stay with the traditional desktop
icons. As far as I'm aware anyway.
Here is an example of icon-free, from Easy 3.4:
Due to limited space, there are no labels shown in the tray, only icons. The tray width is also less than screen width, as determined by file /usr/local/ui/jwm/tray_dims. I think it would be more usable if running apps showed in the tray with labels, as is done with icons-on-desktop mode. So, I have changed the tray to full-width, and running apps now have labels:
...much more "normal" looking! Here is the github commit:
https://github.com/bkauler/woofq/commit/bd65b39cf8f1423aae46391540856a4e620f88aa
Tags: easy
French keyboard layout fix
There have been issues for users with a French-layout keyboard. There was a fix for JWM, for any non-US keyboard, posted about here:
- Fix JWM not recognize custom keyboard layout — July 26, 2024
That fix is in Easy 6.2; however, not quite there yet, as discussed in this forum thread about the 'xvkbd' virtual keyboard:
https://forum.puppylinux.com/viewtopic.php?t=12167
Easy 6.2 did not get it right, fixed now, see this post in the thread:
https://forum.puppylinux.com/viewtopic.php?p=129955#p129955
Tags: easy
JWM version 2.4.3.99 compiled in OE
EasyOS has Joe's Window Manager version 2.4.2. The latest release is 2.4.3; however, there has been activity on github since then, so I downloaded the latest source and gave it version number 2.4.3.99. Github source is here:
https://github.com/joewing/jwm/
Here is the new OpenEmbedded recipe:
https://github.com/bkauler/oe-qky-scarthgap/commit/d8ea59cc43163a9f8571d7a3b480abf3effa0dc8
I don't see any "must have" changes since 2.4.2, but probably
good to be up-to-date.
Tags: easy
Kernel 6.6.47 compiled fix bt5 mouse
The problem with bluetooth v5 mouse is discussed in the forum:
https://forum.puppylinux.com/viewtopic.php?t=9055
We need the 'uhid' kernel module, so I have compiled the 6.6.47 kernel, with uhid builtin not as a module. The Gentoo wiki was used as a guide:
https://wiki.gentoo.org/wiki/Bluetooth
Comparing configuration of the 6.6.39 kernel (in EasyOS 6.1.1 and 6.2) with 6.6.47:
6.6.39 6.6.47
CONFIG_BT_HIDP=m CONFIG_BT_HIDP=y
CONFIG_INPUT_UINPUT=m CONFIG_INPUT_UINPUT=y
# CONFIG_UHID is not set CONFIG_UHID=y
But we do need to remember that "#UserspaceHID=true" has to be
uncommented in file /etc/bluetooth/input.conf, as documented by
the Fatdog guys. OK, done, have made that a permanent
change.
Tags: easy