Firefox shortcuts in Linux on non-us keyboard layout, and Greek

You tried to use the common keyboard shortcuts in the Linux version of Firefox, with a keyboard layout other than us, and you realised they do not work. For example, Ctrl-C does not work when the Greek keyboard layout is active because Firefox receives Ctrl-Ψ (which is undefined).
This is a well-known problem affecting keyboard shortcuts in many languages.
How can someone solve the problem; Should Firefox for Linux be configured so that internally it would consider Ctrl-C and Ctrl-Ψ correspond to the same keyboard shortcut (perhaps in the language pack)? Well, the problem is that one would prefer a solution that is independent of the keyboard layout. You might be running a Greek localisation of Firefox with an active layout for Hindi.
The optimal solution is to have Firefox associate the keyboard shortcuts to physical keys (whatever that means) instead of the characters they are producing. Bug #69230/Mozilla has been there for quite some time although an acceptable solution is available in both GTK+ (GNOME) and OpenOffice.org. For example, in a GNOME application, both Ctrl-C and Ctrl-Ψ are equivalent.
So, what can we do now with the Linux versions of Firefox? Well, it is possible to write a Firefox extension that would intercept keys being pressed in a local layout and convert to the standard keyboard shortcuts Firefox likes.
Such a workaround is available for the Greek language, written by Athanasios Lefteris, at Mozilla και συντομεύσεις πληκτρολογίου σε Linux.
Currently the extension exists in the sandbox of the Mozilla add-ons, meaning that you are required to register (free) and also configure your profile to allow the view of sandboxed extensions (=in early stage of development, about to get accepted). It is desired to to try out the extension and write a short review. This will help to get the extension accepted as official add-on to the masses.

Many thanks to Athanasios!

p.s.
There is an existing Russian version of the extension. It is expected that other languages will follow.

Permanent link to this article: https://blog.simos.info/firefox-shortcuts-in-linux-on-non-us-keyboard-layout-and-greek/

4 comments

Skip to comment form

    • John on September 27, 2007 at 10:52
    • Reply

    There is another extension in the sandbox called “Multi-Lang URLs” that does the same but also allows adding more languages

  1. Could you post the URL of that extension please?

  2. From the above mentioned bug (http://bugzilla.mozilla.org/show_bug.cgi?id=69230) a fix has been committed to mozilla trunk recently, which mean this bug will be fixed in the next firefox 3 beta.

  3. That’s correct.

    Among distributions, Arch Linux has added the patch in the current version (about a month ago) and it should work in Firefox 2.x as well.

Leave a Reply to KhaledCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.