Code: Select all
<Key mask="" key="Menu">root:3</Key>
Code: Select all
<RootMenu onroot="3">
<Program icon=......
Install xdotool and you can simulate keystrokes inside a script such as
Code: Select all
#!/bin/sh
xdotool key Menu
As I'm using a rox panel as my main toolbar, its useful to have such a standard icon/script for the jwm menu as it them makes the rox panel more like a jwm panel. i.e. in the attached image that shows the top right corner of my screen that is the rox panel at the top of screen and where the first JWM icon when clicked shows the jwm menu ... similar to had it been a conventional jwm tray.
I have my actual jwm tray as a autohide at the bottom centre of the screen. Having the panel as a rox panel at the top of screen means that I can drag/drop icons onto those icons to open programs with the dragged/dropped file (that you can't do in jwm).