I have reworked the way the JWM theme-switcher works.
Always thought the screenshots bundled to the themes were just bloat. Instead of viewing the png files, it now renders a svg based on the colors defined in $HOME/.jwm/jwm_colors.
Also the themes are moved from $HOME/jwm to /usr/share/jwm. I can't see any logic to store themes in $HOME.
Do you mind if I shift switch2 out of it and into woof? It's a small binary and will be even smaller when I strip the redundant (and mostly deprecated) calls to gtk functions out of it. I guess you already know the binary was built with headers from linux-2.2!!! I am amazed it runs.
The reason, I don't want folk running it from commandline, then realising it has a gui then messing things up, then complaining!
This is not meant for Puppy 6 (maybe 6.1 ).
I am reorganizing the jwm-structure, so this needs much more testing. I am trying to make a more multiuser-friendly structure. AND, it needs much more work from me. Next is JWM-tray handling... I will release the pack(s) when things are more 'in place'. Don't expect something too soon. I will post here to show progress.
Regarding binaries, please do whatever is best. As you already know, I am a retarded when it comes to binaries.
In addition to switch2, we should consider a virtual keyboard. I used xvkbd in Puppy Stardust, and it worked just fine.
I did look at the 'machish' button-theme because I thought it deserved better. Well, one thing is the theme-buttons, but also the jwm's svg handling isn't the best.
The attached pic shows the old theme at top. In the middle jwm shows the the svg theme. Below has the window_button_switcher converted the svg to png (with rsvg-convert).
The corner activation structure has been improved compared to what I used in Puppy Stardust. Now there is only 1 jwmrc-corners which contains only settings for active trays. That means only one extra tray for the example below. Setting up several trays are resource-consuming, and we better do it best possible. If no corners are active, no extra resources are used.
pNote has also got a touch of coding-fingers. It now wraps the text nicely.
Using a virtual keyboard in Puppy is sensitive. If you for example runs the virtual keyboard vxkbd it steals the focus from the editor you would like to write in. So the goal is to run it without give it the focus. One way is letting a unique jwm-tray swallow vxkbd. If this tray is set to autohide, it works smoothly.
Things are getting useful.
Tray manager is done (at least this round), with the integration of spacers and bookmark menu. Well, the really fun feature would be to add tray-template theming. One click in pTheme could simulate XP/OSX/Ubuntu. Not only the colors, but also how the trays look.
More important is a new script that is used when restarting jwm (from other apps in the jwm config pack). That means every time jwm restarts, it checks the status of the settings, and roll back to last backup if 'jwm -p' reports any issues.
The keyboard shortcut script is modified to unify with the other modules.
What is left?
- a menu manager for jwm-stuff. Major feature is editing of the Bookmark menu. Atm, bookmarks are grabbed from gtk/rox bookmarks. In addition the user can add any directory in rox via a new roxapp. This new app can not be built around Mick's menu manager we know from the recent Slacko, since it is not specific to any WM.
- The jwm theme apps are poor, and could benefit of some new thinking, but I probably leave it for now.
The Bookmark looks like below, and note that the 'Edit Bookmark' points to this gui.
As shown before, the roxapp to bookmark any directory via the right-click menu is still the easiest way.
There should probably be an roxapp for all kind of files, but I don't know if that is possible without one roxapp for each filetype ?????