Go to main content

Oracle® Solaris 11.3 Desktop Administrator's Guide

Exit Print View

Updated: March 2018
 
 

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.