To Disable CTRL+SHIFT+C in Google Chrome of Ubuntu? [duplicate]

This keybinding is very irritating because it is very close to the copy-command Ctrl+C. Partially, the problem can be explained by my keyboard layout Dvorak such that the browser may consider the keybinds as CTRL+I.

How can you disable the CTRL+SHIFT+C binding in Google Chrome?

4

1 Answer

I was able to successfully override the Ctrl+Shift+C shortcut by using the Shortcut Manager plugin 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.

EDIT

I since found that there is, in fact, a simple way to copy to the clipboard in javascript, so instead of setting Ctrl+Shift+C to an empty script, set it to:

document.execCommand('copy');

or simply use Shortcut Manager's "Import Settings" feature and paste the following:

// ==UserScript==
// @ShortcutManager
// @name Override Ctrl+Shift+c
// @namespace FSBQ9ZTetyiG
// @key Ctrl+Shift+c
// @include *
// ==/UserScript==
document.execCommand('copy');
3

You Might Also Like