/usr/share/GNUstep/Documentation/User/Gui/DefaultsSummary.html is in gnustep-gui-doc 0.24.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>User Defaults Summary for GNUstep Libraries</title>
</head>
<body>
<font face="serif">
<h1><a name="title$DefaultsSummary">User Defaults Summary for GNUstep Libraries</a></h1>
<h3>Authors</h3>
<dl>
<dt><a href="http://www.gnustep.org/developers/whoiswho.html">Adam Fedor</a> (<a href="mailto:fedor@gnu.org"><code>fedor@gnu.org</code></a>)</dt>
<dd>
</dd>
<dt><a href="http://www.gnustep.org/developers/whoiswho.html">Nicola Pero</a> (<a href="mailto:n.pero@mi.flashnet.it"><code>n.pero@mi.flashnet.it</code></a>)</dt>
<dd>
</dd>
</dl>
<p><b>Version:</b> $Revision: 37200 $</p>
<p><b>Date:</b> $Date: 2013-10-07 04:29:14 +0100 (Mon, 07 Oct 2013) $</p>
<p><b>Copyright:</b> (C) 2005 Free Software Foundation, Inc.</p>
<h1><a name="001000000000">Defaults Summary</a></h1>
<p>
This document contains a summary of available user default values that
one can set to control the operation of the GNUstep libraries. To set
a default, use the <code>defaults write (domain) (key) (value)</code>
command in a terminal, with the <code>NSGlobalDomain</code> as first
argument. E.g.,
</p>
<pre>
defaults write NSGlobalDomain GSBackend libgnustep-art
</pre>
<p>
To read out the value set for the default, use <code>defaults read
(domain) [(key)]</code>. If you do not specify the key, every
key-value pair in the domain will be printed.
</p>
<p>
Other domains besides the system level domain
"<code>NSGlobalDomain</code>" include the application domains, named
for each application that has registered defaults, and the temporary
runtime "<code>NSArgumentDomain</code>" for command line arguments.
At runtime there is also a "<code>NSRegistrationDomain</code>", a
second-chance domain in which "defaults for defaults" can be
registered, and possibly also domains for specific locales.
</p>
<h2><a name="001001000000">GUI Library Defaults</a></h2>
<p>
Below is a list of defaults used to control the gnustep-gui library.
You can set them either in <code>NSGlobalDomain</code>, to be used
everywhere, or in individual application domains, to be used for those
apps only.
</p>
<dl>
<dt>GSBackend</dt>
<dd>
<p>
A string containing the name of the backend bundle to use
for display specific GUI handling. The default is
"libgnustep-back". Custom backends can be created during compilation
of the libraries. Any other choice for a name is thus system
specific.
</p>
</dd>
<dt>GSBrowserCellFontify</dt>
<dd>
<p>
A boolean value, <code>NO</code> by default. When the feature is on,
NSBrowserCell draws non-leaf cells in bold system font.
For example, when the feature is on, in a SavePanel (or OpenPanel),
directory entries are drawn in bold, while simple files are drawn in
non bold.
</p>
</dd>
<dt>GSAbortKey</dt>
<dd>
<p>
The key used to abort the insertion of multi-stroke keybinding.
Default is <code>Control-g</code>.
</p>
</dd>
<dt>GSAppKitUserBundles</dt>
<dd>
<p>
An array listing the names of bundles that will be automatically
loaded into every application at startup. Typically these will
be 'theme' bundles that control the look of the application.
</p>
</dd>
<dt>GSQuoteKey</dt>
<dd>
<p>
The key used to quote the next keystroke (so that it is not
interpreted as a keybinding, but just inserted into the text as
it is). Default is <code>Control-q</code>.
</p>
</dd>
<dt>GSUseGhostResize</dt>
<dd>
<p>
A boolean, by default NO. If you set it to YES, NSSplitView
uses a 'ghost' bar to show resizing instead of doing a live
resizing of the views.
</p>
</dd>
<dt>GSHelpViewer</dt>
<dd>
<p>
A string which can be used to specify the name of the application
to be used to view application help.<br /> If this is not specified
(or is an empty string) the 'best' available viewer is used (an
application whose Info.plist says that it can view files of the
appropriate type ... usually rtp or rtfd files).<br />
If this is set to <code>NSHelpPanel</code> or if no application can
be used to view the help file, the help is displayed by the
shared help panel object built in to the application.
</p>
</dd>
<dt>GSInsertControlKeystrokes</dt>
<dd>
<p>
A boolean, by default NO. If you set it to YES, keystrokes
containing a Control are inserted into the text when they can't
be interpreted as keybindings. By default, they are ignored
and cause the computer to beep.
</p>
</dd>
<dt>GSKeyBindingsFiles</dt>
<dd>
<p>
An array of strings, <code>(DefaultKeyBindings)</code> by
default. The strings in this array (with <code>.dict</code>
appended) are the names of the files the library reads to
load the keybindings. For each of these files (in the order),
the library first tries to read the file with that name from
the
<code>$GNUSTEP_SYSTEM_ROOT/Libraries/Resources/KeyBindings/</code>
directory, loading all the keybindings it finds in the file,
then it loads the similar file from
<code>$GNUSTEP_LOCAL_ROOT</code> and then the similar one
from <code>$GNUSTEP_NETWORK_ROOT</code> and at last the one
from <code>$GNUSTEP_USER_ROOT</code>. If you have a single
set of customized keybindings which you want to be loaded in
addition to the default ones (or overriding some of the default
ones), just add a <code>DefaultKeybindings.dict</code> file
in your <code>~/GNUstep/Libraries/Resources/KeyBindings/</code>
directory, and keybindings from this file are automatically
loaded in addition to the default ones; you do not need to
change this user default. If instead you want more keybinding
files to be loaded, or you do not want the system default keybindings
file to be loaded, you might well need to change it.
</p>
</dd>
<dt>GSKeyBindings</dt>
<dd>
<p>
A dictionary, containing keybindings which are loaded by the
library after the ones found in the <code>GSKeyBindingsFiles</code>.
Might be useful if you have only a couple of keybindings, and
don't want to write a custom keybindings file. If you have many
keybindings, it is recommended that you keep them in a file.
The syntax of keybindings entries and files is documented elsewhere.
</p>
</dd>
<dt>GSLPRPrinters</dt>
<dd>
<p>
Specifies a dictionary containing printer information for the
GSLPR printer bundle. See the bundle source for details.
</p>
</dd>
<dt>GSSavePanelShowProgress</dt>
<dd>
<p>
A boolean value, <code>NO</code> by default. When the
feature is on, the save panel and its subclasses (such as
the open panel) displays "Reading Directory ***.."
(progressively adding dots) in the window titlebar while
reading very big directories (more than 100 entries). This
is meant to make things friendlier for slow computers.
</p>
</dd>
<dt>GSUnknownFileTool</dt>
<dd>
<p>
A string value that defines a program that should be launched
when no GNUstep application has been defined for a specific
file extension or if an URL could not be opened by a service.
This program gets the file name or URL as parameter.
</p>
</dd>
<dt>GSUseFreedesktopThumbnails</dt>
<dd>
<p>
A boolean value, <code>NO</code> by default. When the
feature is on, thumbnail files according to the Freedesktop
specification are used in [NSWorkspace iconForFile:] when available.
</p>
</dd>
<dt>GSLogWorkspaceTimeout</dt>
<dd>
<p>
A boolean value that defaults to <code>NO</code>. This is a
obscure and probably not useful default. NSWorkspace tries
to receive distributed notifications, but if a distributed
objects server cannot be found or some other error occurs,
it raises an exception which normally terminates the
program. Setting this default causes NSWorkspace to just log
the problem without raising an exception.
</p>
</dd>
<dt>GSWorkspaceApplication</dt>
<dd>
<p>
A string value that defaults to <code>"GWorkspace"</code>.
This defines the application NSWorkspace will try to
connect to process some operations that require an external
application. This is a new feature and has not been tested.
</p>
</dd>
<dt>GSSuppressAppIcon</dt>
<dd>
<p>
A boolean value, <code>NO</code> by default. Specifies wether the
application icon window should not be displayed. Set to <code>YES</code>
for background server applications.
</p>
</dd>
<dt>GSControlKeyString</dt>
<dd>
<p>
A string used in the menu to signify that the control key needs to
be pressed together with the key equivalent of the menu item.
Default "^".
</p>
</dd>
<dt>GSAlternateKeyString</dt>
<dd>
<p>
A string used in the menu to signify that the alternate key needs to
be pressed together with the key equivalent of the menu item.
Default "+".
</p>
</dd>
<dt>GSScrollerArrowsSameEnd</dt>
<dd>
<p>
YES if the scroller arrows are at the same end.
NO to get one scroller arrow at each end of the scroller.
If not set, the behaviour is delegated to NSScrollerInterfaceStyle.
Default YES.
</p>
</dd>
<dt>GSScrollerScrollsByPage</dt>
<dd>
<p>
YES if clicking in the scroller slot should scroll by one page,
NO if the scroller should jump to the location clicked.
If not set, the behaviour is delegated to NSScrollerInterfaceStyle.
Default NO.
</p>
</dd>
<dt>GSShiftKeyString</dt>
<dd>
<p>
A string used in the menu to signify that the shift key needs to
be pressed together with the key equivalent of the menu item.
Default "/".
</p>
</dd>
<dt>GSCommandKeyString</dt>
<dd>
<p>
A string used in the menu to signify that the command key needs to
be pressed together with the key equivalent of the menu item.
Default "#".
</p>
</dd>
<dt>NSInterfaceStyleDefault</dt>
<dd>
<p>
A string describing the interface style. Setting this may
change various aspects of how the library draws elements and
responds to user interaction. See the NSInterfaceStyle
documentation for more information.
</p>
</dd>
<dt>NSMenuInterfaceStyle</dt>
<dd>
<p>
An interface style specific to menu operation. If not set
the NSInterfaceStyleDefault value is used. <br />
Setting this to NSMacintoshInterfaceStyle produces a horizontal
menu at the top of the screen.<br />
Setting it to NSNextStepInterfaceStyle reverts to the defaults
vertical menu layout.
</p>
</dd>
<dt>NSCommandKeys</dt>
<dd>
<p>
A dictionary of command key equivalents for menu items. The
key contains the title of the menu item and the value is the
command key equivalent. For instance, one might set the
command key for the menu item "Copy" to "C".
</p>
</dd>
<dt>NSHost</dt>
<dd>
<p>
Used by NSPasteboard to find the host on which the
pasteboard server is running.
</p>
</dd>
<dt>NSMeasurementUnit</dt>
<dd>
<p>
A string describing the measurement unit for rulers (see the
NSRulerView class documentation). The default is
Centimeters. Other possible values are Inches, Points, and Picas.
</p>
</dd>
<dt>NSPreviewApp</dt>
<dd>
<p>
A string value that defaults to <code>"gv"</code>.
This defines the application NSPrintOperation will try to
connect to preview PostScript files, unless there is already
an application registed as a Viewer of ps files.
</p>
</dd>
<dt>NSShowNonLocalizedStrings</dt>
<dd>
<p>
This is mainly a developer option. If "YES", the application will
display localization keys instead of strings in its UI. This can be
useful during development to see where a given string in the UI is
"coming from". Default is "NO".
</p>
</dd>
<dt>NSUseRunningCopy</dt>
<dd>
<p>
This determines the behavior of an applicationms when a second copy
is started up.<br />
If set to YES the newly started copy makes the process which is
already running active, then terminates itsself.<br />
If set to NO, the newly started copy runs, but has a different
name (so it cannot be contacted to provide services for other
applications).
</p>
</dd>
<dt><em>System Colors</em></dt>
<dd>
<p>
System colors are standard colors for drawing various GUI elements,
such as buttons, text, scroller, etc. They can be set using
the normal user defaults system. An NSColorList called
"System" is stored in the users's private color list
directory. This color list can also be manipulated through the
NSColorList class (typically through a preferences module).
</p>
<p>
Individual system colors may be set by specifying the name of
the system color and giving it a value consisting of aan RGB
color specification (three floating point numbers in the range
0.0 to 1.0 and separated by spaces).<br />
eg.<br />
'defaults write NSGlobalDomain controlBackgroundColor "1.0 0.0 0.0"'
</p>
</dd>
<dt><em>System Fonts</em></dt>
<dd>
<p>
System Fonts may be set using the defaults system. System
fonts are standard fonts for drawing text in GUI
elements. They include NSBoldFont, for instance. The value
is the name of the font to use. There is also a
cooresponding size key (e.g. NSBoldFontSize) for specifying
the point size of the font. The keys that can be used for
setting the system fonts are described in the documentation
for NSFont.
</p>
</dd>
</dl>
<br />
</font>
</body>
</html>
|