Keymgr Configuration

keymgr uses a subdirectory named .keymgr in your home directory for its own files. Inside there, it looks for an rc file called, funnily enough, rc.

The syntax of this file is reasonably limited. It only supports a single directive, being load. Demonstration by example is probably the easiest way to describe it, so here's one I prepared earlier.

load null
load ssh
load gtk
load ow

This file loads all of the modules that keymgr supports. In order, here's what they do.

The function and utility of most of these is probably quite obvious, with the possible exception of the null console. The only real use for it is in the situation where you run your X session as a child of keymgr, using a command like:

      keymgr startx
      

In this situation, the GTK module will not initialize, due to libgtk's over-reaction to events when it doesn't have a $DISPLAY. Instead, it registers a trigger named 'gtk-init', which you can invoke through the null console to tell it what display to attach to. You do that like so:

      echo "gtk-init $DISPLAY" >> $KEYMGR_CONSOLE
      

Mikolaj J. Habryn
Last modified: Thu Apr 27 21:35:30 EST 2000