|
NAMElarsmenu - create a menu to run commandsSYNOPSISlarsmenu [ -bg background-color ] [ -display displayname ] [ -file name ] [ -fg foreground-color ] [ -font fname ] [ -geometry geom ] [ -iconic ] [ -label name ] [ -path ] [ -popdown ] [ -popup ] [ -shell prog ] [ -teleport ] [ -version ] [ -warp ] menuitem[:command] ...DESCRIPTIONlarsmenu is a simple program that accepts a list of menu item and command pairs on the command line. It creates a window that consists of nothing but a menu. When a particular item is selected, the corresponding command is executed.Any mouse button may be used to select an item. Alternatively, the UP-ARROW and DOWN-ARROW cursor keys may be used to highlight different items, with ENTER used to select the highlighted item. ESCAPE exits the menu without selecting an entry. Menu items and commands are separated by a colon. The colon and command are optional. If they are missing, then the menu item is assumed to be a command that can be executed directly. A menu item consisting of the word exit causes larsmenu to exit when it is selected. Otherwise, to stop larsmenu, delete it using the window manager. If a command is supplied along with the exit item, that command is executed before larsmenu exits. If a command starts with the word exec, larsmenu ceases operating after launching it. larsmenu accepts the following command line options, listed alphabetically:
EXAMPLElarsmenu -popup "XTerm:xterm" "Calculator:xcalc" LICENSEThis is a modified version of 9menu, which has this license:--- 9menu is free software, and is Copyright (c) 1994 by David Hogan and Arnold Robbins. Permission is granted to all sentient beings to use this software, to make copies of it, and to distribute those copies, provided that: (1) the copyright and licence notices are left intact (2) the recipients are aware that it is free software (3) any unapproved changes in functionality are either (i) only distributed as patches or (ii) distributed as a new program which is not called 9menu and whose documentation gives credit where it is due (4) the authors are not held responsible for any defects or shortcomings in the software, or damages caused by it. There is no warranty for this software. Have a nice day. --- Please consider my code to be under the same type of license as 9menu, inserting my name where appropriate. SEE ALSOlarsclock(1x), larsremote(1x), larswm(1x)AUTHORSlarsmenu was created by Lars Bernhardsson <lab@fnurt.net> by building on 9menu by David Hogan and Arnold Robbins. Visit the GSP FreeBSD Man Page Interface. |