So I don't think my additions to .jwmrc are being overidden elsewhere.

The logical choice is mask="P", since xev identifies my windows key as Super_L:

<Key mask="P" key="d">showdesktop</Key>

I've tried other actions, so it's not a showdesktop issue. For example,
<Key mask="P" key="r">exec:jwm -restart</Key> doesn't work either.

Both "showdesktop" and "exec:jwm -restart" work with other masks (S,A,C) and their corresponding keys. I expected P to work for the windows Super_L key.

The only mask values for .jwmrc I know of are S,A,C,P,H,M. None of these masks works for the "windows" key.

Any ideas?

EDIT:

The values S,A,C,P,H,M were suggested by the jwmconfig gui. I've looked at the source and can't see P,H, or M defined or used anywhere. So mask="P" can't work. The reference to P, H, M in the jwmconfig window might be misleading.Edited_time_total

Open with text editor and add the following line near the bottom:
<Key keycode="115">root:3</Key>

That brings up the puppy applications menu by pressing the Windows key.

If you want to use the Windows key as a modifier then I read that the mask value is "4" but I can't get it to work. It says something about: "Note that physical key which determines the mask can be configured using the "xmodmap" program."

So to run HTOP by pressing Win and h:
<Key mask="4" key="h">exec:rxvt -e htop</Key>

If you want to use the Windows key as a modifier then I read that the mask value is "4" but I can't get it to work.

I'd like to know where you found that vital info. It is correct, but I couldn't find any reference to a mask value of 4 in the docs.

Quote:

So to run HTOP by pressing Win and h:
<Key mask="4" key="h">exec:rxvt -e htop</Key>

mask="4" does indeed work for the Super_L key ("Windows" key).

Thank you!

I've since looked at the code, and it appears that the values P, H, M are not defined or used. So my effort with mask="P" was futile. The values P, H, M were listed in the jwmconfig gui, but I don't think they work.

Open with text editor and add the following line near the bottom:
<Key keycode="115">root:3</Key>

That brings up the puppy applications menu by pressing the Windows key.

Hi xan,

This is one awesome tip!
To be able to get the menu without having to touch the dreaded touchpad - it makes a big difference to me.
... and I wonder, why this key doesn't come enabled in modern puppies - it was functional in Jemimah's pupeee.

I've since looked at the code, and it appears that the values P, H, M are not defined or used. So my effort with mask="P" was futile. The values P, H, M were listed in the jwmconfig gui, but I don't think they work.

The "Quick Info" text that lists the possible mask values in the JWM Configuration Manager, was written in 2005, the same year that forum member thoughtjourney wrote that utility. Sometime in late March or early April of 2010, JWM switched from the old values that it had used for modifier keys to values based on the modifier names used by X. (JWM version svn-470 had the old values, version svn-474 had the new.)

xophist wrote:

The reference to P, H, M in the jwmconfig window might be misleading.

Yes. The "Quick Info" text needs to be updated. Thanks for reporting this. I will file a bug report in the bugs forum.

I'd like to know where you found that vital info. It is correct, but I couldn't find any reference to a mask value of 4 in the docs.

I'm not sure about other Puppies, but in the JWM Configuration manager that comes with Slacko 5.3.3, there is a Help button in the Keyboard Shortcuts dialog below the "Quick Info" text. If you are on-line, that button will take you to the Key Bindings section of the JWM Configuration page, which lists the new values used for masks:

But it doesn't give any hints about what keys are associated with "mod2" through "mod5". That is because those keys may be different for different key maps. To see what keys are mapped to "mod1" through "mod5" on your PC, use the xmodmap -pm command. Here is what it reports when using the default "us" keymap in Slacko 5.3.3:

Code:

# xmodmap -pm
xmodmap: up to 3 keys per modifier, (keycodes in parentheses):

(To avoid confusion, it is best to simply look at the keysyms, not the keycodes. For instance, you may note that the keycode value for "mod4" doesn't match the keycode of your "<LWIN>" key. That is because "mod4" is actually associated with a "fake" key known as "<SUPR>", which is also mapped to "Super_L". You needn't be concerned with that, but if curious, it all happens -- at least for the "us" keymap -- in /etc/X11/xkb/symbols/pc/pc.)

The xmodmap utility can also be used to change the modifier map. For instance:

To be able to get the menu without having to touch the dreaded touchpad - it makes a big difference to me.
... and I wonder, why this key doesn't come enabled in modern puppies - it was functional in Jemimah's pupeee.

Try your F12 key. Traditionally that has been the key used for the menu in most (if not all) Puppies, perhaps because Puppy is sometimes used with keyboards that have no Windows key (or perhaps because just the thought of touching anything with a Windows logo on it gives shivers to some folks ).