Oracle Solaris Trusted Extensions Administrator's Procedures

ProcedureHow to Lengthen the Timeout When Relabeling Information

In Trusted Extensions, the Selection Manager mediates transfers of information between labels. The Selection Manager appears for drag-and-drop operations, and for cut-and-paste operations. Some applications require that you set a suitable timeout so that the Selection Manager has time to intervene. A value of two minutes is sufficient.


Caution – Caution –

Do not change the default timeout value on an unlabeled system. The operations fail with the longer timeout value.


Before You Begin

You must be in the System Administrator role in the global zone. For details, see How to Enter the Global Zone in Trusted Extensions.

  1. For the StarOffice application, do the following:

    1. Navigate to the file office-install-directory/VCL.xcu.

      where office-install-directory is the StarOffice installation directory, for example:


      office-top-dir/share/registry/data/org/staroffice
      
    2. Change the SelectionTimeout property value to 120.

      Use the trusted editor. For details, see How to Edit Administrative Files in Trusted Extensions.

      The default value is three seconds. A value of 120 sets the timeout to two minutes.

  2. For users of applications that rely on the GNOME ToolKit (GTK) library, change the selection timeout property value to two minutes.


    Note –

    As an alternative, you could have each user change the selection timeout property value.


    Most Sun JavaTM Desktop System applications use the GTK library. Web browsers such as Mozilla, Firefox, and Thunderbird use the GTK library.

    By default, the selection timeout value is 300, or five seconds. A value of 7200 sets the timeout to two minutes.

    1. Create a GTK startup file.

      Name the file .gtkrc-mine. The .gtkrc-mine file belongs in the user's home directory at the minimum label.

    2. Add the selection timeout value to the file.


      ## $HOME/.gtkrc-mine file
      *gtk-selection-timeout: 7200

      As in the Solaris OS, the gnome-settings-daemon reads this file on startup.

  3. (Optional) Add the .gtkrc-mine file to the list in each user's .link_files file.

    For details, see How to Configure Startup Files for Users in Trusted Extensions.