Differences between revisions 1 and 7 (spanning 6 versions)
Revision 1 as of 2008-10-23 01:49:08
Size: 1023
Editor: DannyCheung
Comment:
Revision 7 as of 2024-05-29 01:24:45
Size: 1510
Editor: JennyTinsey
Comment:
Deletions are marked like this. Additions are marked like this.
Line 20: Line 20:
If the GUI environment is using FVWM, Control will be
== Defaultstart.sh ==
There is also a script call defaultstart.sh that will try to guess the correct program to run.

It does this by looking for ~/.controlrc. If the file contains the string "start", the script will run Control POS, if the file contains the string "ccexplore" the script will run Control CCexplore.Otherwise, it will run Control Menubar.

This allows you specify which users will run Control POS and which users will run Control Menubar.

eg. vi ~drb_paru/.controlrc

This will have "start/ccmenubar/ccexplore"

Starting Control

Control is not a program, but rather a group of programs. However, users need a starting point to display menus and choose the appropriate program to run.

There are a few "startup" programs

  • Control Menubar
    • $CCDIR/std/binx11/ccmenubar
    • Displays a bar on the top of the screen with the menu options on it
    • When user clicks on the menu option, either the sub-menu options will appear or the associated program will be run
  • Control POS
    • $CCDIR/std/binx11/start
    • Shows window with the menu options displayed as a list of buttons in the middle of the screen
  • Control Explorer (No longer supported)
    • $CCDIR/std/binx11/ccexplore
    • Shows window that displays menu structure as a "tree view"
  • Control Navigator (No longer supported)
    • $CCDIR/std/binx11/control
    • Displays a small button in bottom-left corner of the screen
    • Clicking on button displays the top-level menu, similar to Control Menubar

Defaultstart.sh

There is also a script call defaultstart.sh that will try to guess the correct program to run.

It does this by looking for ~/.controlrc. If the file contains the string "start", the script will run Control POS, if the file contains the string "ccexplore" the script will run Control CCexplore.Otherwise, it will run Control Menubar.

This allows you specify which users will run Control POS and which users will run Control Menubar.

eg. vi ~drb_paru/.controlrc

This will have "start/ccmenubar/ccexplore"

Starting_Control (last edited 2024-05-29 01:36:54 by JennyTinsey)