JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris 11.1 Desktop Administrator's Guide     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  Administering the Oracle Solaris Desktop

2.  Managing User Preferences With GConf

3.  Customizing Menus

4.  Installing Themes

Themes Overview

Theme Index File

Installing a Controls Option

Installing a Window Border Option

Installing an Icons Option

Installing Icons for Themes

How to Install an Icon for a Theme

Creating a Custom Controls Option

How to Create a Custom Controls Option

5.  Customizing Fonts

6.  Working With MIME Types

7.  Managing Screensavers

8.  Managing Sessions

9.  Overview of the Yelp Help Browser

10.  Improving the Performance of the Oracle Solaris Desktop System

11.  Disabling Features in the Oracle Solaris Desktop System

12.  Working With the X Window System

A.  Hidden Directories

Glossary

Index

Creating a Custom Controls Option

If the options for the controls setting are not suitable, you can create a custom controls option.

How to Create a Custom Controls Option

  1. Create a directory structure for the option in the /usr/share/themes directory.

    Use the same directory structure that other options use.

    For example, to create an option that is called SmallPrint, create the following directories:

    • /usr/share/themes/SmallPrint

    • /usr/share/themes/SmallPrint/gtk-2.0

  2. Locate the closest gtkrc file that suits your requirement.
  3. Copy the file to the gtk-2.0 directory of the new option.
  4. Modify the attributes of the interface elements in the gtkrc file as required.
  5. If the new option includes images, install the images for the new option in the pixmaps directory of the new option.

    Note - If the new option uses images only from another option, you do not need to create copies of the images for the new option. Ensure that the reference to the images in the pixmap_path entry in the gtkrc file is correct.


    Users can now choose the new option for the controls setting.