Here's a ready-made pet for it!
~~~~~~~~~~~~~
Edit, May 22, 2014 -- The sharing site I was using at the time I wrote this message
has shut down. However, there are ready-made debian or ubuntu packages available
at http://pkgs.org/search/pekwm.

The following link is therefore useless. I am currently retracing the pekwm pets that I
packaged then. I should be able to re-upload them on a reliable sharing site shortly.

PS. Menu generation utilities for pekwm, by stu91, aragon and myself, are available in the posts below and on page 2 of this thread. Please read on.

PS2. I've also compiled another pet of pekwm 1.15 specifically for old_yeller's precise pup 5.3.0, which is at
http://murga-linux.com/puppy/viewtopic.php?search_id=588557284&t=80431. You'll find this new compilation of pekwm on p. 3 of the present thread. This compile may -- or may not -- be more compatible with other puppy precise builds! Let us know?_________________"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)Edited_times_total

Strange that you had to change the location of the /etc/pekwm directory to /usr/local/etc/ for pekwm to work correctly. On my lupu 5.25, on first run, pekwm created a /root/pekwm directory and ran just fine the first time. But I'm sure Exprimo users will be grateful to know that.

Here's possibly another neat feature in pekwm : aemenu is still accessible in pekwm. (The Puppy derivative was created by member "aragon" and entitled "pmenu". Look for the thread in this forum.) I say "possibly" because I actually just chanced upon it because I have aemenu installed.

This is where pekwm shows its roots! pekwm is a distant "grand-child" of aewm. For some reason, it still has the ability to call aemenu (aka pmenu) by left-clicking on an empty part of the desktop.

If you wish, you can therefore do away with the applications part in the pekwm menu to make it concentrated on the pekwm functions proper and have a regular applications menu separately. (See attached pic.)

Of course, this is not intended to diminish stu's great work on a dynamic menu for pekwm (see above). This is just to announce another feature of pekwm I just discovered.

As well, this would need confirmation... But it is real on this computer!

It should also be noted that the pekwm menu is persistent, which can come in handy at times. You have to re-click it or hit "escape" to close it.

I know I'll get flac for saying this, but... with all its features (documented and undocumented), IMHO, pekwm leaves jwm in the dust...

BFN.

aemenu+pekwm_menu.jpg

Description

aemenu (aka "pmenu"; called with left-click of mouse) and regular pekwm menu (called with with right-click) co-existing on screen in pekwm.

The following is meant as a constructive critcicism -- to improve things.
It's already great that we have your menu generator. As well, I am not a programmer, mostly a "configuration guy", so I probably missed or misunderstood a few things in your script or your explanations -- for which I ask your forgiveness. That said...

I finally got your menu-creator to work, but not as a "dynamic" menu.
(Please see attached.)

It took me a little while to discover that this was a perl script.
And it didn't work as indicated, dynamically.

To create the menu, I had to issue, in console, the command

Code:

perl pekwm-menu

and then it clobbered the existing menu.

So the ending of the original menu file was lost. Now this last part is important because that's where the "goto" and "pekwm" parts of the menu proper are located, and also below that, you have the long part that controls the behaviour of the program windows (when you right-click on the program border).

Since I am not a perl programmer, I had to reconstruct the menu manually by
1) adding an additional "Submenu" command below the "run" command
2) inserting the programs part of your generated menu, and then
3) adding the bottom of the original menu.

Furthermore, here are a few comments about lines 13 - 14. There are other *.desktop files at

/usr/local/share/applications

and at

/root/.local/share/applications
(these being the applications controled by wine)

So the created pekwm menu may not be complete.

Also, I could not get the script to generate the menu a second time.

Again, I am posting this with a view to improve things, and in a spirit of collaboration. Hopefully, you will know how to proccess these remarks in order to make your generator script even better.

Because we definitely need one for the wonderful window manager that is pekwm!

Best regards.

my-generated-pekwm-menu.jpg

Description

Filesize

31.79 KB

Viewed

1775 Time(s)

menu.tar.gz

Description

My menu after using stu91's pekwm menu generator and processing it. Provided as an example only; do not use.

The following is meant as a constructive critcicism -- to improve things.
It's already great that we have your menu generator. As well, I am not a programmer, mostly a "configuration guy", so I probably missed or misunderstood a few things in your script or your explanations -- for which I ask your forgiveness. That said...

I finally got your menu-creator to work, but not as a "dynamic" menu.
(Please see attached.)

It took me a little while to discover that this was a perl script.
And it didn't work as indicated, dynamically.

To create the menu, I had to issue, in console, the command

Code:

perl pekwm-menu

and then it clobbered the existing menu.

So the ending of the original menu file was lost. Now this last part is important because that's where the "goto" and "pekwm" parts of the menu proper are located, and also below that, you have the long part that controls the behaviour of the program windows (when you right-click on the program border).

Since I am not a perl programmer, I had to reconstruct the menu manually by
1) adding an additional "Submenu" command below the "run" command
2) inserting the programs part of your generated menu, and then
3) adding the bottom of the original menu.

Furthermore, here are a few comments about lines 13 - 14. There are other *.desktop files at

/usr/local/share/applications

and at

/root/.local/share/applications
(these being the applications controled by wine)

So the created pekwm menu may not be complete.

Also, I could not get the script to generate the menu a second time.

Again, I am posting this with a view to improve things, and in a spirit of collaboration. Hopefully, you will know how to proccess these remarks in order to make your generator script even better.

Because we definitely need one for the wonderful window manager that is pekwm!

Best regards.

Hi musher0,
Thanks for your reply and testing.

I am not very good at explaining my self, nor do i know / use pekwm much - so probably best to start again at the beginning and go on from there.

First thing we need to establish if the perl pekwm-menu script works on your puppy version.

if you open a terminal and paste/type the path to the pekwm-menu perl script.

If it helps, i can upload a bash-script for dynamic menu the next day.

Aragon

Hi aragon,
Sure thing a bash version would be great - this perl script does work, i use a similar one with openbox as well but then most/all of my puppy installs are dpup / Exprimo based so i can't say if they work with other pups or not?

For testing purposes:
I attach below pekwm-test download this to your /root directory - then extract there - so you should end with /root/pekwm-test directory.

Now open a terminal and run command:
/root/pekwm-test/test --backup
This will back up your /root/.pekwm/menu and copy a pre-configured menu file - set up with a dynamic "AppS" pekwm-menu.
Then go to pekwm right click menu and reload.

To revert back to your previous /root/.pekwm/menu file - run command in Terminal:
/root/pekwm-test/test --restore
Then go to pekwm right click menu and reload.