Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/p/phmenu.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/p/phmenu.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/p/phmenu.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/p/phmenu.html on line 8

phmenu

Photon window manager menu editor

Syntax:

phmenu [-s server][-x position[%][r]][-y position[%][r]]

Runs on:

Neutrino

Options:

-s server_name
The name of the Photon server:
If server_name is: This server is used:
node_path node_path/dev/photon
fullpath fullpath
relative_path /dev/relative_path
-w width[%]
The width of the window, in pixels, or as a percentage of the screen width if % is specified.
-x position[%][r]
The x coordinate of the upper-left corner of the window, in pixels, or as a percentage of screen width if % is specified. If r is specified, the coordinate is relative to the current console.
-y position[%][r]
The y coordinate of the upper-left corner of the window, in pixels, or as a percentage of screen height if % is specified. If r is specified, the coordinate is relative to the current console.

Description:

The phmenu utility starts a graphical Photon window manager menu editor that lets you use drag-and-drop capabilities to create a customized PWM menu. The PWM menu appears when you right-click the Photon desktop. You must be running Photon in order to run phmenu.


PhMenu example


Using phmenu to change the window manager's menu.

To add a menu item:

  1. Drag the Menu Item to the menu list, dropping it in the location where you'd like it to appear on the PWM menu.

    A blank plugin appears in the list.

  2. Fill in the plugin's Label, enter its Command line, and give it an Accelerator Key.
  3. Click Save.

Note: Do not enter the same accelerator key for more than one menu item, or that accelerator key will not work.

To add a submenu:

  1. Drag the Sub Menu icon to the menu list, dropping it in the location where you'd like it to appear on the PWM menu.
  2. Fill in the Submenu label and Accelerator Key.
  3. Open the new submenu on the list, and complete the new plugin's information.
  4. Add additional menu items to the submenu as required.
  5. Click Save.

You can also:

You can also perform all of these operations by right-clicking an existing item or new item icon, and selecting an operation from the menu.

When you delete an item, it appears in a list of all recently deleted items under the Delete Selection button. You can drag an item out of this list to a position in the menu to un-delete it.

Examples:

Run phmenu using the Photon server on node my_node:

phmenu -s/net/my_node/dev/photon

Run at initial position (10,10):

phmenu -x10 -y10

See also:

pwm

Using the Photon microGUI in the Neutrino User's Guide


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/p/phmenu.html on line 210

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/p/phmenu.html on line 210