How can one disable shortcuts of chrome?
Have you observed that google-chrome has approximately 29 shortcuts. ( Ctrl+A...Z ) I really hate these things. Anyway, my questions:
- How can I disable some of the shortcuts ?
- Are there any files where all settings are stored? If there are, where are those files in Ubuntu 12.04?
- Go to chrome://extensions
- In the very bottom right, click keyboard shortcuts
- Rebind Ctrl + Shift + Q to something less annoying. In my case I bound it to open lastpass extension.
Apparently in chrome , google has not addressed the Disabling Keyboard Shortcuts Feature yet .
Such applications specific shortcuts are stored by the application, i guess such Shortcut config File doesn't exist in Ubuntu.
There are extensions like Hotkey and shortcut manager which provides User Defined shortcuts though.
Even HUD seems to have limited features in Chrome.
Through shortcut manager , you can disable all the Ctrl shortcuts individually as here.
For further reference visit
Change/Disable Chrome Keyboard shortcuts
Disable shortcuts in Google Chrome
Manhandle shortcuts in Chrome browser, a guide for the perplexed:
TLDR: your solution is in phase 3 of 4 below, install that Chrome plugin.
It's infuriating to have to deal with Chrome's constantly changing keystroke ideologies that continue to randomize every 3 to 9 months. So understanding the four different areas you can put middle-men in the keyboard-to-browser command chain helps you find a solution that works for you, and never changes, for all time, even as you change operating systems, keyboards, and programs.
If you're here, you're having trouble making Chrome behave the way you want. Take a minute and understand the four remapping areas between your computer keyboard's emitted keys, and the client side webpage rendered by the Chrome browser, with 3rd party corporations fighting to change your keys to what they want them to be.
Mac, Windows and Linux are different in their own ways, but they share a common ancestor, and are all the same in way I describe. If you mess around with this process, you have to be careful and take ownership of this assembly line, or else it's easy to leave keys orphaned, cause duplicated actions, even causing multiple actions from one keystroke, key-feedback loops are a pain.
Key remapping area 1 of 4, ( Keyboard KeyCode --> Operating System )
Only Mac and Linux can experiment here. There are programs such as .inputrc and other config files that intercept keys from the keyboard even before the operating system has a chance to hear them. I generally leave this alone since for the most part my keyboard is a faithful transmitter of keys and my operating system is a faithful hearer of keys. You can remap keys here, and change what your operating system hears, thus leaving the Chrome browser powerless to countermand you.
Key remapping area 2 of 4, (Operating System --> Chromium Application )
The Chrome Browser is just a computer program running on your operating system.
The OS quarantines the browser window and Chrome only receives those KeyCodes transmitted to it by the operating system. Mac, Windows and Linux all have their own Key-remapping programs, For example Mac's Spectacle and Karabener, or Windows StickyKeys, or Linux's low level internals like .inputrc
and config files.
Messing around here involves installing the program for your OS and intercepts the OS keycodes and changes what keys are heard by which application. This remapping area also leaves the meddlesome Chrome developers powerless to countermand you, because they are quarantined to the application space. Install your program and tell it to Remap Ctrl-K
to Ctrl-Shift-carpal-tunnel-p
and you're off to the races. If you do this, you also need to take heed that remapping area 3-of-4 and 4-of-4 also propagate the key correctly.
Key remapping area 3 of 4, ( Chrome application --> All Rendered Webpages)
This is where your problem is. Those plucky Google-Chrome developers sitting in their crystal fortress constantly change up these keys every 3 to 9 months, because of users yelling at them. This is where everyone can use the Chrome Plugin, regardless of OS: Mac, Windows, Linux. Install the Chrome plugin: Shortkeys (Custom Keyboard Shortcuts) by: Mike Crittenden
. This plugin has two areas that let you remap keys in areas 3-of-4 and areas 4-of-4. Read the manual and you can unmap and remap all commands here.
Key remapping area 4 of 4, ( Chrome's V8 Interpreter engine < -- > javascript/jquery/Flash/etc)
This area is where even more problems happen. Those plucky individual and corporate developers all over the world program serverside and client side javascript to instruct Chrome to re-remap your key to what they want it to be. So assuming you correctly transmit your key from areas 1 through 3, Area 4 here countermands you at the last mile.
The ShortKeys plugin has an area for this space as well but you have to make sure area 3 is right. For me just the one chrome plugin does everything I need to counter-mand both the Chrome developers and webpage developers, but it's not perfect. You'll load up a flash app, and suddenly Flash is painting Unicode piles-of-poo and unicorns on the screen rather than scrolling down, as you instructed.
Extra notes:
If you set a remap a key in one area, but not the others, you're left with either a non-remapped key, because one area overrides another, or left with just the existing one, or a mysterious no-operation, or worse, a duplicated operation and feedback loop resulting in a stuck or spamming key.
Asserting your instructions through this entire stack is a challenge. But taking ownership has long term rewards because as you can see, all computer manufacturers, especially Mac, are taking away your keys one by one, and replacing them with "Apple-buy it now!" buttons, and fart buttons on laugh tracks when you press escape, which self-remaps to "Apple-buy-it-now".