File: appmenu

package info (click to toggle)
ude 0.2.8.final-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,096 kB
  • ctags: 1,613
  • sloc: ansic: 12,648; sh: 3,025; makefile: 476; yacc: 318
file content (109 lines) | stat: -rw-r--r-- 2,590 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
% -*-Mode: Shell-Script;-*-
% Anybody volunteering to write a dedicated Emacs mode?
%
% /etc/X11/ude/appmenu-post.hook
%
% Additional entries in the main menu. The entries are added at the
% end of the menu.
%
% Please read /usr/doc/ude/uwm_manual.ascii.gz and/or
% /usr/doc/ude/manual.dvi for more information.

% A menu definition file is a hierarchical file made up of the
% following commands:
%
% SUBMENU "<name>" {'commands to build submenu'}
%	Will create a submenu named <name> with the items created by
%	the commands inside the braces.
%
% ITEM "<name>":"<command>";
%	Will create an item on the corresponding position named <name>
%	which will lead to the execution of <command> if selected. The
%	item is not created in case there already exists an item with
%	the same <name> in the same submenu.
%
% LINE;
%	Will add a seperation line to the corresponding
%	position. Several "LINE"s with nothing else in between will be 
%	truncatd to a single seperator.
%
% FILE "<filename>";
%	Will process the named file as if its contents were in the
%	position of the "FILE" command. The file is searched for in
%	the way described above and passed through the preprocessor.
%
% PIPE "<command>";
%	Will call <command> and process its standard output as if it
%	was in the position of the "PIPE" command. The commands output
%	is not passed through the preprocessor. 


SUBMENU "xterm" {
  ITEM "login shell":"xterm -sb -sl 2000 -bg black -fg lightblue -fn 7x14 -ls";
  ITEM "bash":"xterm -sb -sl 2000 -bg black -fg lightblue -fn 7x14 -e bash";
  ITEM "root shell":"xterm -sb -sl 2000 -bg \\#ff8c6d -fn 7x14 -e su";
}

ITEM "TKDesk":"tkdesk";
LINE;

FILE "mountmenu";

LINE;

SUBMENU "Science" {
  ITEM "MuPAD":"xmupad";
  ITEM "Scilab":"scilab";
}

SUBMENU "Documentation" {
  ITEM "TkMan":"tkman";
  SUBMENU "Books" {
    PIPE "$UDEdir/extras/tools/dirtomenu /usr/doc/Books/ .dvi xdvi";
  }
}

SUBMENU "Editors" {
  ITEM "gvim":"gvim";
  ITEM "Nedit":"nedit";
  ITEM "Xcoral":"xcoral";
  ITEM "Xemacs":"xemacs";
}

LINE;
ITEM "Netscape":"netscape";
LINE;

SUBMENU "Office" {
  ITEM "LyX":"lyx";
  ITEM "Star Office":"soffice";
}

SUBMENU "Graphics" {
  SUBMENU "CAD" {
    ITEM "qCAD":"/usr/qcad/qcad.sh";
  }
  SUBMENU "Drawing" {
    ITEM "xfig":"xfig";
    ITEM "tgif":"tgif";
  }
  LINE;
  SUBMENU "Bitmaps" {
    ITEM "The GIMP":"gimp";
    ITEM "XV":"xv";
    ITEM "ImageMagick":"display";
  }
}

LINE;

SUBMENU "Fun" {
  ITEM "XawTv":"xawtv";
  SUBMENU "Games" {
    ITEM "XBill":"xbill";
    LINE;
    ITEM "XHextris":"xhextris";
    ITEM "Color XHextris":"cxhextris";
  }
}