torios-dev team mailing list archive
-
torios-dev team
-
Mailing list archive
-
Message #01302
JWM menu update
Hi everyone,
It's been a while since I've updated everyone, so I'll do a quick update
before going into the menu stuff.
I have recently made changes to the startup program 'nice-start'
I added a `sleep 0.1` command after executing on of the autostart
commands in the xdg autostart directories
This has solved some issues I had with pcmanfm and plank (which I use on
my ToriOS desktop). It *may* fix Jack's long standing issue with
desktop icons. I hope it does :D
The other changes I have made in recent times have been minor, mainly
fixing little issues I encounter or adding in minor things here and there.
Now, onto the menu.
I know I have reworked the menu quite a few times. However I wanted one
day to use a different menu layout (the Ubuntu Studio Layout
specifically) and found that there was no way to do this with the
current menu system. I also noticed that rebuilding the menu is quite
slow, so I decided to use a different way of building it.
I have had great success with pugi xml for JWM Settings Manager, it
provided everything I needed, and did not return null and crash
everything all the time... so I began work on the places menu first
trying to use pugi xml to build it, since it is less complicated of a
menu, and may rework it more at some point, but I can support a larger
menu depth using it, though it is slower to load the further you go into
the menu.
Now I have begun testing using it to build the Apps menu. So far, it
has been going really well. I am able to support much more of the
Desktop Menu Specification from freedesktop:
https://specifications.freedesktop.org/menu-spec/latest/ar01s04.html
This includes true Layout support, and rudimentary support for some of
the advanced features, but still lacking some of the deeper
functionality (Like menu editing awareness, though that should be
possible in the future with more work).
It is not ready for wide testing yet, as I have some issues with the
'Merge' thing... but for now it is shaping up to be much faster, and
much more complete in total functionality. It is a bit larger including
pugi
Old: 288K
New: 312K
Still very small and a very small increase, though I could reduce the
size of it more fully once I rework the current existing code (which I
have kept in place). And it may turn out to be much smaller than the
current form.
Just wanted to update everyone
--
Regards
Follow ups