[7787] in testers
Re: firefox lost emacs keybindings
daemon@ATHENA.MIT.EDU (Robert Basch)
Wed Jan 14 00:44:56 2009
In-Reply-To: <200901132224.n0DMOxBR012444@speaker-for-the-dead.mit.edu>
Mime-Version: 1.0 (Apple Message framework v753.1)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <E282B991-21E6-4458-BB3E-46A8B1D905CB@mit.edu>
Cc: testers@mit.edu
Content-Transfer-Encoding: 7bit
From: Robert Basch <rbasch@MIT.EDU>
Date: Wed, 14 Jan 2009 00:44:08 -0500
To: Jonathon Weiss <jweiss@mit.edu>
On Jan 13, 2009, at 5:24 PM, Jonathon Weiss wrote:
> At least on Solaris with 9.4.52 I no longer have emacs keybindings in
> firefox. I belive I had previously set this up with:
>
> speaker-for-the-dead:~$ cat .gtkrc-2.0
> gtk-key-theme-name = "Emacs"
The Solaris build of Firefox 3 comes with its own set of GNOME
libraries, including gtk2, installed under /opt/sfw. Unfortunately
this does not include any data files, including the Emacs bindings
file, which one would expect would be installed under /opt/sfw/share,
and which is where Firefox seems to be looking for it.
A workaround is to set the GTK_DATA_PREFIX environment variable to
run firefox, e.g.:
% env GTK_DATA_PREFIX=/usr/athena firefox
I want to do some more investigation before adding this to our
wrapper, though.
(It should also work to add:
include "/usr/athena/share/themes/Emacs/gtk-2.0-key/gtkrc"
to your .gtkrc-2.0).
Bob