Solstice AdminSuite 2.3 Administration Guide

Chapter 4 Using the Solstice Launcher

The Solstice Launcher provides access to the Solstice product family of administration tools. The tools that appear in the Launcher depend on what Solstice products you have installed on your system.

This is a list of the topics and step-by-step instructions in this chapter.

Starting the Solstice Launcher

Start the Solstice Launcher from a window as follows:


$ solstice &

The Solstice Launcher is displayed.

Graphic

The Solstice Launcher menus are described in Table 4-1.

Table 4-1 Solstice Launcher Menus

Use This Menu ... 

To Access This Command ... 

That Performs This Function ... 

Launcher 

Add Application 

Adds and registers applications with the Launcher. 

 

Properties 

Provides ability to customize the launcher by showing, hiding, or removing applications; reordering the icons; changing the Launcher window width; modifying application properties; adding applications. 

 

Exit 

Stops running the Solstice Launcher. Does not affect open or iconified applications. 

Registering Applications in the Solstice Launcher

Applications that display in the Solstice Launcher are registered. This means that you can add and remove applications, including custom applications, to and from the Launcher main window.

Applications are registered in three ways:

If the user has a local registry file, and both a local registry and global registry file are in place, then the applications from all files are displayed.

How to Privately Register an Application in the Solstice Launcher

The following procedure describes how to privately register an application in the user's $HOME/.solstice_registry file.

  1. Select Add Application from the Launcher menu.

  2. Enter the following application information in the Add Application window.

    1. Identify the application name in the Name text box.

      This name is displayed in the Launcher window.

    2. Identify the application path name in the Application Path text box.

      If you are not sure of the application path name, click on the ellipsis (...) button, which displays the Application Path Selection window. See "How to Use the File Selection Window" for information on using this window.

    3. Identify any command-line arguments for the application in the Arguments text box.

      These arguments are passed to the application when it is started.

    4. Identify the application icon path name in the Icon Path text box.

      If you are not sure of the icon path name, click on the ellipsis (...) button, which displays the Application Path Selection window. See "How to Use the File Selection Window" for information on using this window.

  3. Click on Register to add the application.

Example of Registering a Private Application in the Solstice Launcher

The following example registers an application called Mail Manager.

Graphic

How to Remove a Privately Registered Application

  1. Select Properties from the Launcher menu.

    The Properties window is displayed.

  2. Select an application from the Hide or Show lists.

  3. Click on the Remove button in the Properties window.

  4. Click on OK.

How to Locally Register an Application in the Solstice Launcher

  1. Become root.

  2. Register an application with the soladdapp command.


    # /usr/snadm/bin/soladdapp \
               -r /etc/.solstice_registry \
               -n "Tool Name" \
               -i /opt/pkgname/etc/tool.icon \
               -e /opt/pkgname/bin/command args
    

    In this command,

    /usr/snadm/bin/soladdapp

    Is the Solstice command for registering applications. 

    -r /etc/.solstice_registry

    Specifies the path name of the Solstice local registry file. 

    -n "Tool Name"

    Specifies the name of the tool to be registered. 

    -i /opt/pkgname/etc/tool.icon

    Specifies the path name of the tool icon. 

    -e /opt/pkgname/bin/command
    

    Specifies the path name of the tool executable. 

    args
    

    Specifies optional arguments to use with the executable. 

Example of Registering a Local Application in the Solstice Launcher

The following example uses the soldaddapp command to locally register an application called Mail Manager.


# /usr/snadm/bin/soladdapp \
      	-r /etc/.solstice_registry \
	      -n "Mail Manager" \
	      -i /opt/SUNWdsk/etc/diskmgr.xpm \
	      -e /opt/SUNWdsk/bin/diskmgr

How to Remove a Locally Registered Application

  1. Become root.

  2. Remove an application with the soldelapp command.


    # /usr/snadm/bin/soldelapp \
               -r /etc/.solstice_registry \
               -n "Tool Name"
    

    In this command,

    /usr/snadm/bin/soldelapp

    Is the Solstice command for removing applications from the local registry file. 

    -r /etc/.solstice_registry

    Specifies the path name of the Solstice local registry file. 

    -n "Tool Name"

    Specifies the name of the tool to be removed. 

Example of Removing a Locally Registered Application

The following example uses the soldelapp command to remove an application called Mail Manager.


# /usr/snadm/bin/soldelapp \
      	-r /etc/.solstice_registry \
	      -n "Mail Manager"

How to Globally Register an Application in the Solstice Launcher

  1. Become root.

  2. Register an application with the soladdapp command.


    # /usr/snadm/bin/soladdapp \
               -r /opt/SUNWadm/etc/.solstice_registry \
               -n "Tool Name" \
               -i /opt/pkgname/etc/tool.icon \
               -e /opt/pkgname/bin/command args
    

    In this command,

    /usr/snadm/bin/soladdapp

    Is the Solstice command for registering applications. 

    -r /opt/SUNWadm/etc /.solstice_registry

    Specifies the path name of the Solstice global registry file. 

    -n "Tool Name"

    Specifies the name of the tool to be registered. 

    -i /opt/pkgname/etc/tool.icon

    Specifies the path name of the tool icon. 

    -e /opt/pkgname/bin/command

    Specifies the path name of the tool executable. 

    args
    

    Specifies optional arguments to use with the executable. 

Example of Registering a Global Application in the Solstice Launcher

The following example uses the soldaddapp command to globally register an application called Mail Manager.


# /usr/snadm/bin/soladdapp \	
           -r /opt/SUNWadm/etc/.solstice_registry \	
           -n "Mail Manager" \	
           -i /opt/SUNWdsk/etc/diskmgr.xpm \	      
           -e /opt/SUNWdsk/bin/diskmgr

How to Remove a Globally Registered Application

  1. Become root.

  2. Remove an application with the soldelapp command.


    # /usr/snadm/bin/soldelapp \
               -r /opt/SUNWadm/etc/.solstice_registry \
               -n "Tool Name"
    

    In this command,

    /usr/snadm/bin/soldelapp

    Is the Solstice command for removing applications from the global registry file. 

    -r /opt/SUNWadm/etc/ .solstice_registry

    Specifies the path name of the Solstice global registry file. 

    -n "Tool Name"

    Specifies the name of the tool to be removed. 

Example of Removing a Globally Registered Application

The following example uses the soldelapp command to remove an application called Mail Manager.


# /usr/snadm/bin/soldelapp \
      	-r /opt/SUNWadm/etc/.solstice_registry \
	      -n "Mail Manager"

Customizing the Solstice Launcher

How to Customize Application Properties in the Solstice Launcher

  1. Select Properties from the Launcher menu.

    The Properties window is displayed.

  2. To disable or enable the display of applications in the Launcher window, use the Hide/Show buttons.

    1. To hide an application, select an application from the Show list and click on the Hide button.

      The application is moved to the Hide list.

    2. To show an application, select an application from the Hide list and click on the Show button.

      The application is moved to the Show list.

    3. Click on OK when you are finished moving applications to and from the Show and Hide lists.

  3. To remove an application from a local registry file, use the Remove button.

    See "How to Remove a Privately Registered Application" for information on removing a locally registered application.

  4. To add an application to the Launcher window, click on the Add Application button.

    The Add Application window is displayed. This window is equivalent to the Add Application command from the Launcher menu.

    See "How to Privately Register an Application in the Solstice Launcher" for information on adding applications to the Launcher.

  5. If you select an application from the Hide or Show lists and click on the Application Properties button, the Application Properties window is displayed.

    See "How to Modify Properties of a Locally Registered Application" for information on modifying the properties of a locally registered application.

  6. Change how the tool icons are displayed in the Launcher window.

    1. Select an application in the Show list and click on the Up or Down arrow under Icon Order to change the location of an icon.

    2. Use the up/down arrows under Launcher Width to indicate the number of columns that will display in the Launcher window.

  7. If you increase the number of icons to be wider than the width of the Launcher window, use the scrollbar at the bottom of the Launcher to view any icons that moved off the window.

  8. Click on OK.

Example of Customizing Application Properties in the Solstice Launcher

The following example shows that Database Manager has been moved to the Hide list. This means it will not be displayed in the Solstice Launcher.

Graphic

Customizing Locally Registered Applications in the Solstice Launcher

Locally registered applications can be customized in the following ways:

How to Modify Properties of a Locally Registered Application

  1. Select Properties from the Launcher menu.

    The Properties window is displayed.

  2. Select an application from the Hide or Show lists.

  3. Click on the Application Properties button.

    The Application Properties window is displayed.

  4. Modify the following application properties:

    1. The application name in the Name text box.


      Note -

      The application name must be changed in order for any application properties changes to be successful.


    2. The application path name in the Application Path text box.

      If you are not sure of the application path name, click on the ellipsis (...) button, which displays the Application Path Selection window. See "How to Use the File Selection Window" for information on using this window.

    3. Any command-line arguments to the application in the Arguments text box.

      These arguments are passed to the application when it is started.

    4. The icon path name in the Icon Path text box.

      If you are not sure of the icon path name, click on the ellipsis (...) button, which displays the Application Path Selection window. See "How to Use the File Selection Window" for information on using this window.

  5. Click on Register.

Example of Modifying Properties of a Locally Registered Application

The following example provides an alternative executable and icon for Host Manager.

Graphic

How to Use the File Selection Window

  1. Use the Filter text box in the Application Path Selection window to specify a path name using a regular expression, such as the wildcard character (*).

    When a new value is entered, the Directories and File lists are updated appropriately.

  2. Select a file name from the Files list to update the Open File text box.

  3. Click on OK to place the Open File text box value into the field from which the File Selection window was invoked.

    The application file name is displayed in the Application Path text box in the Application window.

Example of Using the File Selection Window

The following example of the Application Path Selection window uses a filter to search the /opt/SUNWadm/2.3/bin directory for application tool executables, which are displayed under the Files list.

Graphic