# @(#)59 1.28 src/cde/cde1/types/ibm.dt.src, desktop, cde610 4/14/97 11:01:02 # # COMPONENT_NAME: desktop # # FUNCTIONS: none # # ORIGINS: 27,118,119,120,121 # # (C) COPYRIGHT International Business Machines Corp. 1995, 1996 # All Rights Reserved # Licensed Materials - Property of IBM # US Government Users Restricted Rights - Use, duplication or # disclosure restricted by GSA ADP Schedule Contract with IBM Corp. # ############################################################################### # # ibm.dt # # Action and DataType definitions for the International Business # Machine's Common Desktop Environment (CDE) DT components. # # (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company # (c) Copyright 1993, 1994, 1995 International Business Machines Corp. # (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc. # (c) Copyright 1993, 1994, 1995 Novell, Inc. # # $Revision: 1.7 $ # ############################################################################### set DtDbVersion=1.0 ############################################################################### # # WARNING: This file may be overwritten in subsequent installations of # the Common Desktop Environment (CDE). Consequently, any system wide # changes should be made to an equivalent database file in # /etc/dt/types and not in this file. # ############################################################################### ################################################################### # # Actions # ################################################################### ACTION Smit { LABEL Smit TYPE COMMAND WINDOW_TYPE NO_STDIO EXEC_STRING /usr/dt/bin/dtaction SmitI DESCRIPTION The Smit action runs the IBM 'smit' system \ administration tool. } ###### ACTION SmitI { TYPE COMMAND WINDOW_TYPE NO_STDIO EXEC_STRING /bin/smit DESCRIPTION The Smit action runs the IBM 'smit' system \ administration tool. } ###### ACTION RootSmit { LABEL RootSmit ICON smit TYPE COMMAND WINDOW_TYPE NO_STDIO EXEC_STRING /usr/dt/bin/dtaction -user root SmitSU DESCRIPTION The Smit action prompts for root password and \ then runs the IBM 'smit' system administration \ tool. } ACTION SmitSU { TYPE COMMAND WINDOW_TYPE NO_STDIO EXEC_STRING /usr/bin/ksh -c '\ DSPLY=\$DISPLAY ;\ su - root -c "export DISPLAY=\$DSPLY && /usr/bin/X11/xhost > /dev/null 2>&1" ;\ rc=\$? ;\ if [ \$rc -eq 0 ] ; then \ /usr/dt/bin/dtaction SmitSU_MSMIT ;\ else \ /usr/dt/bin/dtaction SmitSU_SMITTY ;\ fi; \ ' DESCRIPTION The Smit action prompts for root password and \ then runs the IBM 'smit' system administration \ tool. } ###### ACTION SmitSU_MSMIT { TYPE COMMAND WINDOW_TYPE NO_STDIO EXEC_STRING ksh -c '\ DSPLY=\$DISPLAY ;\ su - root -c "export DISPLAY=\$DSPLY; /usr/bin/X11/msmit" \ ' DESCRIPTION The Smit action prompts for root password and \ then runs the IBM 'smit' system administration \ tool. } ###### ACTION SmitSU_SMITTY { TYPE COMMAND WINDOW_TYPE TERMINAL EXEC_STRING su - root -c /usr/bin/smitty DESCRIPTION The Smit action prompts for root password and \ then runs the IBM 'smit' system administration \ tool. } ###### ACTION Aixterm { LABEL Aixterm TYPE COMMAND WINDOW_TYPE NO_STDIO EXEC_STRING /usr/lpp/X11/bin/aixterm DESCRIPTION The Aixterm action starts an aixterm terminal emulator. } ###### ACTION OpenDtWelcome { LABEL OpenDtWelcome ARG_COUNT 0 TYPE COMMAND WINDOW_TYPE NO_STDIO EXEC_STRING /usr/dt/bin/dthelpview -helpVolume Welcome DESCRIPTION The OpenDtWelcome action opens the Welcome to CDE 1.0 help volume. } ###### ACTION OpenBasicDtCustom { LABEL OpenBasicDtCustom ARG_COUNT 0 TYPE COMMAND WINDOW_TYPE NO_STDIO EXEC_STRING /usr/dt/bin/dthelpview -helpVolume BaseDtcust DESCRIPTION The OpenBasicDtCustom action opens the Basic Desktop Customization help volume. } ###### ACTION VsmUsersGroups { LABEL Users & Groups ARG_COUNT 0 ICON group_app TYPE COMMAND WINDOW_TYPE NO_STDIO EXEC_STRING /usr/bin/X11/xuserm DESCRIPTION The VsmUsersGroups action starts the \ Visual System Management Users & Groups Manager. } ACTION VsmPrintManager { LABEL Print Manager ARG_COUNT 0 ICON printer_app TYPE COMMAND WINDOW_TYPE NO_STDIO EXEC_STRING /usr/bin/X11/xprintm DESCRIPTION The VsmPrintManager action starts the \ Visual System Management Print Manager. } ACTION VsmStorageManager { LABEL Storage Manager ARG_COUNT 0 ICON lvm_app TYPE COMMAND WINDOW_TYPE NO_STDIO EXEC_STRING /usr/bin/X11/xlvm DESCRIPTION The VsmStorageManager action starts the \ Visual System Management Storage Manager. } ACTION VsmDevicesManager { LABEL Device Manager ARG_COUNT 0 ICON devices_app TYPE COMMAND WINDOW_TYPE NO_STDIO EXEC_STRING /usr/bin/X11/xdevicem DESCRIPTION The VsmDevicesManager action starts the \ Visual System Management Devices Manager. } ACTION VsmInstallManager { LABEL Install Manager ARG_COUNT 0 ICON i_s_app TYPE COMMAND WINDOW_TYPE NO_STDIO EXEC_STRING /usr/bin/X11/xinstallm DESCRIPTION The VsmInstallManager action starts the \ Visual System Management Install & Update \ Software Manager. } ACTION VsmEasyInstall { LABEL Easy Install ARG_COUNT 0 ICON e_i_app TYPE COMMAND WINDOW_TYPE NO_STDIO EXEC_STRING /usr/bin/X11/xinstallm -ez DESCRIPTION The VsmEasyInstall action starts the \ Visual System Management Easy Install \ application. } ACTION VsmMaintainSoftware { LABEL Maintain Software ARG_COUNT 0 ICON m_i_app TYPE COMMAND WINDOW_TYPE NO_STDIO EXEC_STRING /usr/bin/X11/xmaintm DESCRIPTION The VsmMaintainSoftware action starts the \ Visual System Management Maintain Installed \ Software Manager. } ACTION VsmSetDateTime { LABEL Set Date And Time ARG_COUNT 0 ICON date_time TYPE COMMAND WINDOW_TYPE NO_STDIO EXEC_STRING /usr/bin/X11/xdat DESCRIPTION The VsmSetDateTime action starts the \ Visual System Management Set Date And Time \ application. } ACTION VsmShowSchedule { LABEL Show Schedule ARG_COUNT 0 ICON show_sch TYPE COMMAND WINDOW_TYPE NO_STDIO EXEC_STRING /usr/bin/X11/xdat -m DESCRIPTION The VsmShowSchedule action starts the Visual \ System Management Show Schedule application. } ACTION VsmIARun { LABEL Install Assistant ARG_COUNT 0 ICON i_a_app TYPE COMMAND WINDOW_TYPE NO_STDIO EXEC_STRING /usr/lib/assist/assist_main -appman DESCRIPTION The VsmInstallAssist action starts the Visual \ System Management Install Assistant. } ACTION VsmInstallAssist { LABEL Install Assistant ARG_COUNT 0 ICON i_a_app TYPE COMMAND WINDOW_TYPE NO_STDIO EXEC_STRING /usr/dt/bin/dtaction -user root VsmIARun DESCRIPTION The VsmInstallAssist action starts the Visual \ System Management Install Assistant. } ######################################################## ACTION PostVGWM { LABEL Show Graphical Workspace Manager ARG_COUNT 0 TYPE TT_MSG TT_CLASS TT_REQUEST TT_SCOPE TT_SESSION TT_OPERATION DtShow_VGWM DESCRIPTION The Show Graphical Workspace Manager action \ displays the Graphical Workspace Manager. } ACTION ExitSessionWithNoConfirmation { LABEL ExitSessionWithNoConfirmation ARG_COUNT 0 TYPE TT_MSG TT_CLASS TT_REQUEST TT_SCOPE TT_SESSION TT_OPERATION XSession_Exit_With_No_Confirmation DESCRIPTION The ExitSessionWithNoConfirmation action ends \ the user's desktop session (without displaying \ a confirmation dialog) and displays the \ Login screen. To begin another session, \ the user must log in. } ACTION Dtappmgr_delay { LABEL Dtappmgr_delay ICON Fpapps TYPE COMMAND WINDOW_TYPE NO_STDIO EXEC_STRING /bin/sh -c 'sleep 5; /usr/dt/bin/dtaction Dtappmgr' DESCRIPTION The Application Manager (Dtappmgr_delay) action opens \ a File Manager view of the Application Manager. \ This action is only executed when a user logs \ into the Common Desktop Environment for the first time. } ########################### EOF ##############################################