Hi folks,
I have the following function ,which generates menu for installation type:
select_install_type()
{
echo
echo ========================================
echo Please select the type of installation:
echo ========================================
... (8 Replies)
is there a way I can make the menu list reappear when I use select ?
-----
menulist="Change_title Remove_tag Change_tag Add_line Quit"
select word in $menulist #change_title remove_tag change_tag add_line quit
do
case $word in
# first menu option Change Title
... (9 Replies)
Hi again
I have the follwing - cat ~/ABCFILE | grep "$SYSTEM" | grep "$USERNAME"
What I'm looking to do is have the variable for $SYSTEM determined by the user making a selection from a numbered list. So, input 1 would be system ABC etc.
I'm very puzzled as to how to go about this?
Any... (3 Replies)
Hello, im taking a class of Unix and i dont really know much about it, im trying to create a list of menu a user would select from and im very lost. Basically it will have 5 options, the user will chose from:
1. list files in the pwd
2. display date and time
3. is the file file or directory
4.... (5 Replies)
Hi, I am reading the contents of a file in variables as -
cat ${var_file_name} | while read COL1 COL2 COL3 COL4 COL5 COL6 COL7 COL8 COL9 COL10 COL11
The problem is ... my file can have any number of columns - 5, 10, 11 ....
So i want a dynamic variable list as -
cat ${var_file_name} |... (8 Replies)
hi all i am a newbie to this
is there any examples on creating a main menu with 3 sub menu
main menu -> option a , b and c
a menu -> option 1 ,2 and 3
b menu -> option 1 ,2
c menu -> option 1 ,2
i am getting headache as my code kept getting unexpected EOF
---------- Post... (0 Replies)
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)
I installed CentOS 8 with Gnome 3.28.2 and I noticed that the "switch user" menu item disappeared from under the system menu of Gnome classic (Both X11 & Wayland). I checked google and this problem seems to have a history going back several releases of Gnome.
Unfortunately, I never found a... (1 Reply)
Discussion started by: bodisha
1 Replies
LEARN ABOUT DEBIAN
install-menu
install-menu(1) Debian GNU/Linux manual install-menu(1)NAME
install-menu - Process a menu method and generate the menu files for a window manager or a menu-aware application.
DESCRIPTION update-menus(1) computes the list of menu entries and passes it in turn to the menu methods in /etc/menu-methods/. The task of a menu meth-
ods is to generate menus for a specific window manager. install-menu provides a generic and customizable way to do that. The documentation
of the install-menu definition language is available in the Debian Menu manual, a local copy being available in /usr/share/doc/menu/html.
SYNOPSIS
install-menu [-vh] [--remove] <menu-method>
Read menu entries from stdin in update-menus --stdout format and generate menu files using the specified menu-method.
Normally used in menu method scripts as #! /usr/bin/install-menu.
OPTIONS -h,--help
Show the help message and exit.
--remove
Remove the menu files instead of generating them.
-v,--verbose
Output messages about what the program is doing.
COPYING
install-menu is distributed under the term of the GNU General Public License version 2, or (at your option) any later version.
AUTHOR
Written by Joost Witteveen <joostje@debian.org>. Now maintained by Bill Allombert <ballombe@debian.org>.
SEE ALSO update-menus(1), menufile(5), /usr/share/doc/menu/html
Debian Project 28 November 2005 install-menu(1)