Hi all,

You know, all this time I have missed the ability to maneuvre the
root-menu via the keyboard.  Now I realize that the only time I ever use
the menu is to log out of blackbox.

So I added the following entry to my ~/.bbkeysrc:

KeyToGrab(F12), WithModifier(Control), WithAction(ExecCommand), \
DoThis(kill `ps h -C blackbox -o "%p"`)

Since blackbox calls the "shutdown" function on SIGTERM (just as it does
when the "Exit" item is selected from the root menu), it will act just
as a normal shutdown.

So now I don't even need that feature anymore -- just thought I'd share.
:)

-Jan

-- 
http://www.netmeister.org
http://guinness.cs.stevens-tech.edu/~jschauma/

Reply via email to