Getting 'Emacs' keyboard shortcuts - how (in Firefox in particular)?

Chris G cl at isbd.net
Fri Nov 14 23:56:31 CET 2008


On Fri, Nov 14, 2008 at 01:43:36PM -0500, eriefisher wrote:
> On Fri, 14 Nov 2008 17:28:44 +0000
> Chris G <cl at isbd.net> wrote:
> 
> > On Fri, Nov 14, 2008 at 05:53:02PM +0100, Christian Dywan wrote:
> > > Am Fri, 14 Nov 2008 10:03:53 +0000
> > > schrieb Chris G <cl at isbd.net>:
> > > 
> > > > This thread is from the ubuntu users list but now I need xfce
> > > > expertise:-
> > > > 
> > > > On Fri, Nov 14, 2008 at 01:09:46AM +0200, Marius Gedminas wrote:
> > > > > On Thu, Nov 13, 2008 at 09:54:10PM +0000, Chris G wrote:
> > > > > > In previous Linux installations I have created a file
> > > > > > ~/.gtkrc-2.0 with the following contents:-
> > > > > >
> > > > > >     gtk-key-theme-name = "Emacs"
> > > > > >
> > > > > > ... and this gives me the expected keyboard shortcuts I want
> > > > > > in firefox among other places.  In particular it means that
> > > > > > CTRL/U is delete line.
> > > > > >
> > > > > > However in xubuntu 8.10 with firefox 3.0.3 this doesn't work,
> > > > > > can anyone tell me the magic incantation to get CTL/U to work
> > > > > > as I expect it to with this installation?
> > > > >
> > > > > In Ubuntu you can set that with gconf-editor (or gconftool if
> > > > > you prefer the command line),
> > > > > under /desktop/gnome/interface/gtk_key_theme. Perhaps that would
> > > > > work for you.
> > > > >
> > > > So - is there an xfce equivalent of gconf-editor or would
> > > > gconf-editor do what I want under xfce?
> > > 
> > > Xfce does save setting in ~/.config/xfce4 - I don't think there a
> > > graphical way to change that, though.
> > > 
> > > If I wanted that feature, I would just define the
> > > "gtk-key-theme-name" in my ~/gtkrc-2.0 file.
> > > 
> > ... but it doesn't work, that's the problem.
> > 
> > I have a ~/.gtkrc-2.0 which contains:-
> > 
> >     gtk-key-theme-name = "Emacs"
> > 
> > and it doesn't work, in particular CTRL/U doesn't clear line in
> > Firefox.
> > 
> In menu>>settings>>keyboard settings I have default and Emacs. I select
> emacs and it works as you describe. Tested in Iceweasel 3.0.3.
> 
How did I miss that!  :-)

Brilliant, all that I needed, thank you.

-- 
Chris Green



More information about the Xfce mailing list