Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

In the Ubuntu version of Firefox, the keybinding to the the Search Engine text-box (next to the addressbar) is different to what I am used to (in the Windows version).

Can I change this key form Control - K to Control - E?

I've tried Editable Menu Accelerators, but that didn't work.

share|improve this question
1  
It's not an answer, so I put it as a comment, but Ctrl+K works on Windows too. So you could try that one on both platform. –  Huygens Oct 12 '10 at 18:53
    
A good "just go with it" solution, and I'm usually happy enough to use new shortcut-keys, but my touch-typing becomes a bit ham-fisted with that Ctrl+K and Ctrl+L... I definitely feel happier with Alt-D and Ctrl+E (strange, but true) –  Peter.O Oct 13 '10 at 3:23
    
Just press Alt+D (with your thumb and index finger) and Tab(with your pinky). –  theTuxRacer Nov 30 '10 at 5:22
add comment

1 Answer 1

up vote 4 down vote accepted

Since Firefox isn't a GTK application, it won't work with the Editable Menu Accelerators option. Also, the Firefox help page on keyboard shortcuts says, "Firefox does not provide any method of customizing keyboard shortcuts." (It also shows you can use either Ctrl+K or Ctrl+J on Linux versions, but not Ctrl+E.)

However, there is a way to do it! There is an extension for Firefox (and other XULRunner applications) called Keyconfig (install). According to the MozillaZine post on the subject:

keyconfig adds the ability to create new or modify existing shortcuts defined by a element, but only changing those which itself call a function (those with a command or oncommand attribute) has an effect (all others fulfill only cosmetic purposes it seems and are grayed out).

The configuration screen can be accessed via Tools > Keyconfig (in most Applications) or Ctrl+Shift+F12 (Command+Shift+F12 on MacOS) from the main window.

[...]

Don't think that changing a will always remove the original shortcuts. For Example: You can change the shortcut for Copy in the Bookmarks Manager but the original shortcut will still work (in addition to the new shortcut).

share|improve this answer
    
I'm somewhat late in commenting on this, but I wanted to try it out in a VM first. I had quite a few teething probelms setting up the VM (I'm an Ubuntu newbie).. Finally got it sorted out.. Your suggested Firefox Add-on works as advertised. Great! Thanks... The only thing I am concerned about is that this Add-on is not listed in Firefox's own Add-on "repository"... I'm a bit wary of that. Not that Firefox's own list of Add-ons are necessarily safe, but at least I can read their public feedback... I just wonder why it isn't in Firefox's repository?... –  Peter.O Oct 13 '10 at 9:18
    
PS. re my previous comment: Actually there is heaps of public feedback on the "MozillaZine post on the subject" link you posted... 116 pages to be precise... but I still wonder why such a great add-on is not listed in Firefox's repository.. I'd love to hear some comments on this. –  Peter.O Oct 13 '10 at 9:46
    
Welcome to Ubuntu, then! That's a great question. Seems to me that MozillaZine is kind of a community of its own, drawing people who like to dig into the inner workings of Firefox. It does seem like there is plenty of stuff on MozillaZine that doesn't get posted to addons.mozilla.org or the main, official Firefox pages. I'd guess that people there generally feel that stuff is already "out there" and doesn't need the additional effort to put it in a more official place. Your careful attitude about where you get your software is commendable! –  Firefeather Oct 13 '10 at 14:20
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.