You are not logged in.
I've been looking for a way to disable keyboard shortcuts - especially one particular keyboard shortcut - in firefox temporarily. (Basically until firefox 14 comes out which I think should fix the problem.)
Does anybody know of a straightforward way to do this? Either within firefox or otherwise? I'm using KDE but firefox doesn't respect the systemwide shortcuts.
I can't imagine it matters but just in case, I want to disable the ctrl+c shortcut which my fingers believe means "copy" but which firefox currently believes means "close current tab". (This is a bug in the localisation.)
Last edited by cfr (2012-06-11 22:51:59)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
Thank you so much!
The addon does not work as advertised for me - customised shortcuts don't work and not all of the default shortcuts work, either. But, setting a custom shortcut does *disable* the current one and that is enough to prevent me from accidentally closing tabs using "ctrl+c". Actually, I just discovered some custom shortcuts do work. My replacement for "close tab" (ctrl + w which I think is normally standard) now works but I cannot copy text with "ctrl + c" (ctrl+c, like ctrl+a, ctrl+o etc., is by default supposed to do many things!) or with "alt+c" (which I tried in case it needed to be customised to work).
But I cannot expect an addon to compensate for the mess which is currently keyboard shortcuts in this localisation - in all probability, the bizarreness of the defaults leads to problems. But it is brilliant not to be able to accidentally close tabs. (Plus, I do not wish to develop the habit of closing them with ctrl+c - I'm sure that would come back to bite me.)
For some reason, I didn't think of addons. I just kept going through the configuration stuff for firefox itself.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
For anybody else finding this, a comment in one of the reviews for the extension bohoomil suggested points to an extension which is much easier to use. This can be found at http://kb.mozillazine.org/Keyconfig_extension via a link. (You have to allow firefox to install from the forum site as this isn't in the addons, it seems.)
This is nicer. For one thing, it highlights all of the conflicting shortcuts installed by default which helps in eliminating them. (It also warns you if you try to use a shortcut already in use.) You can also sort by shortcut which I found very helpful.
Although initially it didn't let me do this, after restarting, I find that ctrl+c copies text! One informative aspect of this extension is that it shows some shortcuts greyed out. I think these are the ones disabled due to conflicts. Once you remove the conflicts and restart, ctrl+c for copying is reactivated. For some reason, these remain greyed out in the extensions list but they seem to work fine in reality. (I've so far tried ctrl+c,v,a.)
Last edited by cfr (2012-06-12 00:20:46)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline