LICENSE | GUIDE | INTRO | USAGE | CONFIG | HISTORY | CONTRIBUTING | ACKS

# Usage

## Introduction

You use file styles to control the way files of different types are displayed and generally dealt with. For more information about styles and their various properties, the tree structure applied to styles, and all other fun details, check out the styles chapter!

Configuring styles is important in order to get gentoo to look the way you want it to, and also to act the way you want it to.

## Note!

Using 'file' carries a pretty heavy performance penalty! Although some considerable attempts have been made in gentoo to lessen the impact, it is still there. For maximum performance, don't use types with 'file' RE rules. If you don't define any type using 'file' RE matching, gentoo will detect this and optimize the entire file typing process somewhat.

For the special case of just recognizing any executable file (i.e. not just binary ELF files), simply use the protection flag checks described above. It'll be a lot quicker.

Acknowledgements and general thanks to:

- Linus Torvalds and the entire GNU/Linux community for creating all this wonderful software, and then just giving it away.
- Johan Hanson for the original icons. They're great!
- Jonas Minnberg, Ulf Pettersson and Eskil Steenberg (i.e., most of Obsession Development) for ideas, suggestions, and testing.
- Erik Johansson for testing and help with finding and reporting early bugs.
- Henry Spencer at the University of Toronto, for his free reimplementation of System V8 regular expressions.
- The GTK+ Team for the great toolkit that GTK+ truly is. I wish it were better documented, though...
- Verkstan För Alla, Stockholm, for letting us in.