chrome disable or change keyboard shortcut ctrl+shift+c developer tools console?

How can I disable the Keyboard Shortcut ctrl+shift+c in Google Chrome to bring up the Developer Tools console?

I find myself trying to copy+paste content from the browser and mistakenly typing ctrl+shift+c when I really want to do ctrl+c instead.

How can I disable the current keyboard binding or change ctrl+shift+c to do the same as ctrl+c in Google Chrome?


I've managed to make it work with shortkeys:

  • Keyboard shortcut: ctrl+shift+c
  • Behavior: Run JavaScript
  • Javascript code to run: document.execCommand('copy')

Then just hit Save and reload tabs for the new setting to take effect.


Edit:

The originally suggested solution is no longer available.

The one provided by Paweł Prażak currently work and actually copies the text to the clipboard.


I was able to successfully override the Ctrl+Shift+C shortcut by using the Shortcut Manager extension and creating a new shortcut for the key combination.

You can then reassign it to trigger a host of pre-configured actions, or any javascript / bookmarklet code of your choosing. I don't really have any experience with javascript, so I can't really figure out how to make it act like Ctrl+C, but as far simply preventing it from bringing up the Developer Tools console, simply setting it to execute:

<script></script>

seems to work.


You can do that with Shortcut Manager and document.execCommand('copy') command, which were added to Google Chrome 43+ (~April 2015)

enter image description here


After attempting the shortkeys (Chrome Extension) approach and finding it unreliable, I was able to solve this problem using AutoKey.

First, sudo apt install autokey-gtk. Then, launch AutoKey, create a new script, set the Hotkey to be Ctrl+Shift+C, the window filter to be chromium-browser.Chromium-browser, and the script contents to be keyboard.send_keys('<ctrl>+c').

Once the script is saved, pressing Ctrl+Shift+C in Chromium will copy to the system clipboard instead of displaying the dev tools.


After attempting the shortkeys (Chrome Extension) approach and finding it unreliable, I was able to solve this problem using AutoKey.

First, sudo apt install autokey-gtk. Then, launch AutoKey, create a new script, set the Hotkey to be Ctrl+Shift+C, the window filter to be chromium-browser.Chromium-browser, and the script contents to be keyboard.send_keys('<ctrl>+c').

Once the script is saved, pressing Ctrl+Shift+C in Chromium will copy to the system clipboard instead of displaying the dev tools.

The above suggestion from @Ollin worked for me but I had to change the Window Filter to: google-chrome.Google-chromeon Ubuntu 18.04.03 LTS

(Sorry don't have comment power)