Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

To Create a Custom Controls Option

If the options for the controls setting are not suitable for the needs of your users, you can create a custom controls option. To create a custom controls option, perform the following steps:

  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 gtkrc file that is closest to meeting the needs of your users. Copy the file to the gtk-2.0 directory of your new option.

  3. Open the gtkrc file in a text editor, and modify the attributes of the interface elements as required.

  4. If the new option includes images, install the images for the new option in the pixmaps directory of your new option. If the new option uses images from another option, you do not need to create copies of the images for the new option. Instead, 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.

For more information on gtkrc files, see https://developer.gnome.org/doc/API/2.0/gtk/index.html.


Previous
Installing Icons for Themes
GNOME 2.14 Desktop System Administration Guide Next
Configuring Fonts

 
 
  Published under the terms of the GNU General Public License Design by Interspire