Sponsored Content
Top Forums Shell Programming and Scripting How do I add the option to change the path in a menu? Post 302377172 by taekwondo on Thursday 3rd of December 2009 09:35:24 AM
Old 12-03-2009
No help, very disappointed. OK, I'll stop asking and figure it out myself.
 

10 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

How to add Win2000, Win Me option to Lilo menu?

Hi All, I have installed RH Linux 7.1, windows 2000 and windows ME in the same machine. There are two booting menu: Lilo: Linux Dos Dos : Windows2000 WindowsME If I want to use windowME, I need to boot lilo and choose dos and final choose windows ME. Have any... (3 Replies)
Discussion started by: wilsonchan1000
3 Replies

2. Shell Programming and Scripting

a main menu option?

I have created a main menu in the following way: while true; do echo " " echo "Main Menu: " echo "Please Select An Option Using The Options Provided." echo " " echo "1 - Search All Files" echo " " echo "2 - Search Individual Files" echo " " ... (1 Reply)
Discussion started by: amatuer_lee_3
1 Replies

3. Shell Programming and Scripting

Unix Shell Script: With Menu Option

I am attempting to create a shell script with the following capaciblities: 1. Listed options to choice from 2. Use to perform awk statements 3. Print a report with the awk results My questions are 1. How do I select more than one file for option #5 and #6 2. How to I create an... (11 Replies)
Discussion started by: jroberson
11 Replies

4. Shell Programming and Scripting

script to show menu option & need to be autorun

hi i need to perform following task have to write script to display menu like 1) login as user1 2) login as user2 3) login as user3 4) go to shell script will be run through root user user1, user2 will be logged to specific thr account. if 4th option selected it must pass... (3 Replies)
Discussion started by: anup13
3 Replies

5. UNIX for Dummies Questions & Answers

What is a menu or command line option driven script?

i'm confused what this means. i was asked to design a menu or command line option driven script that reads out of a DB and displays info such as read_data.pl -u <user> -e <event> which would print commands run by <user>with the <event> in the db. any suggestions? i've been using... (2 Replies)
Discussion started by: kpddong
2 Replies

6. Ubuntu

Add Option To Right Menu

hey all, I already installed nautilus-actions now , I want to add "print path" script(option) to the right context menu!.. I did : http://img853.imageshack.us/img853/6973/59818245.png http://img847.imageshack.us/img847/8758/37217230.png the script print located in... (2 Replies)
Discussion started by: eawedat
2 Replies

7. Shell Programming and Scripting

sh file: READ (menu) but now run with option

I have a script which uses READ to detect choice of menu option...now I want to change the script without doing whole rewrite such that when user runs ./script.sh 5 it would execute menu option 5 rather than user running ./script.sh waiting for it to load and then pressing "5 enter" Is it... (1 Reply)
Discussion started by: holyearth
1 Replies

8. Programming

Listing Option Menu Choices from Text File

Hello, I am starting up a tool and one of the initial steps is to select a site/location which is being read from a text file. Here is the text file contents: site1 site2 site3 Here is the code: #!/usr/bin/python from Tkinter import * (3 Replies)
Discussion started by: tattoostreet
3 Replies

9. Shell Programming and Scripting

Need Menu option each on a new line

Here is my script for the menu options. # Bash Menu Script Example PS3='Please enter your choice: ' options=("Option 1:" "Option 2:" "Other Reason:" "Quit") select opt in "${options}" do case $opt in "Option 1 :") echo "you chose choice 1" ;; ... (3 Replies)
Discussion started by: mohtashims
3 Replies

10. Shell Programming and Scripting

Passing positioning array as whiptail -- menu option

I may have asked this before, so forgive OF. Problem: I can pass positioning array as -- menu option to whiptail, but it does not show in the whiptail form as an array - only single (first member "lsusb" ) entry / line shows up. Code: DynamicEntry=$(whiptail \ --title "DEBUG... (1 Reply)
Discussion started by: annacreek
1 Replies
FVWM-THEMES-MENUAPP(1)						   FVWM Utility 					    FVWM-THEMES-MENUAPP(1)

NAME
fvwm-themes-menuapp - fvwm-themes menus utility SYNOPSIS
fvwm-themes-menuapp --build-menu or --com-mode or--help or --version [ --site] [ --menu-files [file1,file2,...] ] [ --remove-popup] [ --com-name name] DESCRIPTION
This script is not a user script. It is used by Fvwm-Themes to do differrent task concerning menu and other related things. This scripts can do the following: Parse and rebuild FVWM configuration files to build a clean menu from them: application not in the path are removed, certain unuseful sub menus and separator are removed (--build-menus option). It can work in a locked way and communicate (via fvwm-themes-com) with FvwmScript-Menus or any other programs (--com-mode option). See below for the list of query that you can ask to fvwm-themes-menuapp via fvwm-themes-com. Plan for the future: use an application data base and parse and build (Mini)Icon Styles. OPTIONS
You must use (only) one of the following four options: --help - show the help and exit --version - show the version and exit --build-menus - Cause fvwm-themes-menuapp to build clean menus. --com-mode Run fvwm-themes-menuapp under the "communication mode". --menu-files [file1,file2,...] - files which are read and written by fvwm-themes-menuapp. By default, fvwm-themes-menuapp will read $FT_DATADIR/themes/default/menus-programs with the --site option. Without the --site option fvwm-themes-menuapp will read menus-programs and menus-extra (if found) in the fvwm-themes personal dir: $FVWM_USERDIR/themes/personal. If menus-programs is not found in this direc- tory the site's menus-programs file is used (the one under $FT_DATADIR). Moreover, if menus-extra is not found, a virtual such file is cre- ated so that the "personal" menus can be created (MenuFvwmPersonal) in it. --site - Change the default for the --menu-files option. --remove-popup - Remove the sub menu popup that popup empty menu (only useful with --build-menus). In fact only certain sub menu popup are removed. --com-name name - use name as name for communication with fvwm-themes-com. By default, "appmenu" is used, but you should use "app- menu-pid" as name where pid is the pid of the program that want to talk to fvwm-themes-menuapp so that fvwm-themes-menuapp can exit if this program exit and so that fvwm-themes-menuapp can kill the program if an internal error happen in fvwm-themes-menuapp. On the other hand, if you want to talk with fvwm-themes-menuapp in, say, a terminal you must not give an name as "menuapp-an_integer" as name. COMMUNICATION COMMANDS
Start fvwm-themes-menuapp as: fvwm-themes-menuapp --com-mode [--com-name=menuapp-pid ...] Then use fvwm-themes-com as: fvwm-themes-com --name menuapp[-pid] [--lock-and-get] --message="Command" where Command is one of the following. All this commands are "lock and get" but the exit command. A return value of 0 indicate an error. menus-list - List of the menus. root-menus-list - List of the "root" menus. root-menus i - ith root menu. menu-items menu_name - List of the items of the menu menu_name. item menu_name:i - Information on the ith item of the menu menu_name. remove menu_name:i - Remove the ith item of the menu menu_name. move-up menu_name:i - Move up the ith item of the menu menu_name. move-down menu_name:i - Move down the ith item of the menu menu_name. add-or-edit-item X --it='menu_name:i' --t='type' --n='name' --mi='menu-icon' --wd='working dir or window title' where X is either A for add or E for edit, see the code for details :) selection-items - List of the items in the selection. add-item-to-selection menu_name:i - Add the ith item of the menu menu_name to the selection. remove-sel-item i - Remove the ith item of the selection. remove-all-sel-item - Remove all the selection items. copy-sel-item menu_name:i:j - Copy the jth item of the selection after the ith item of the menu menu_name. copy-all-sel menu_name:i - Copy all the selection after the ith item of the menu menu_name. try - Out put the contents of the files (as soon as possible will run the good fvwm-themes-config command). save - wrote back the files exit - Stop fvwm-themes-menuapp. USAGE
When fvwm-themes is installed, fvwm-themes-menuapp is run as: fvwm-themes-menuapp --site --build-menus --remove-popup FvwmScript-Menus used (and in fact is based on) fvwm-themes-menuapp. See this FvwmScript script for examples with the com-mode option. AUTHORS
Olivier Chapuis <olivier.chapuis@free.fr>, 5 May 2000. COPYING
The script is distributed by the same terms as fvwm itself. See GNU General Public License for details. BUGS
Report bugs to fvwm-themes-devel@lists.sourceforge.net. perl v5.8.0 2003-06-05 FVWM-THEMES-MENUAPP(1)
All times are GMT -4. The time now is 01:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy