From owner-freebsd-questions@FreeBSD.ORG Wed Jan 26 17:45:35 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 062B616A4CE for ; Wed, 26 Jan 2005 17:45:35 +0000 (GMT) Received: from fusion.vilot.net (vilot.com [64.246.32.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9AC343D4C for ; Wed, 26 Jan 2005 17:45:34 +0000 (GMT) (envelope-from tom@vilot.com) Received: from [192.168.1.105] (c-24-8-184-241.client.comcast.net [24.8.184.241]) (authenticated bits=0) by fusion.vilot.net (8.13.1/8.12.9) with ESMTP id j0QHg2rK082789 for ; Wed, 26 Jan 2005 11:42:02 -0600 (CST) (envelope-from tom@vilot.com) Message-ID: <41F7D73D.2060409@vilot.com> Date: Wed, 26 Jan 2005 10:45:33 -0700 From: Tom Vilot User-Agent: Mozilla Thunderbird 1.0 (X11/20050124) X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: X11 / keyboard emacs? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2005 17:45:35 -0000 Well, I'm stumped. I can't figure out why, in FreeBSD (or at least the one I have running here) the keyboard mapping for editing all the text widgets (in X) is not using emacs keybindings. The only way I can get control-a and control-e, control-d etc, to work is if I run xfce4 and choose Emacs in the Keyboard settings. a peek at that file: /usr/X11R6/share/themes/Emacs/gtk-2.0-key/gtkrc shows me things like: # # Bindings for GtkTextView and GtkEntry # binding "gtk-emacs-text-entry" { bind "b" { "move-cursor" (logical-positions, -1, 0) } bind "b" { "move-cursor" (logical-positions, -1, 1) } bind "f" { "move-cursor" (logical-positions, 1, 0) } bind "f" { "move-cursor" (logical-positions, 1, 1) } // snip // What I don't understand is how to make that global. That is, applied to all Window Managers. If I run AfterStep or WindowMaker, these keyboard bindings do not apply and I can't figure out how to make them apply irrespective of the window manager currently running. :c( Help?