Skip to content

Instantly share code, notes, and snippets.

@willangley
Last active May 2, 2020 15:18
Show Gist options
  • Save willangley/648da267859af8c54a88976248a65cad to your computer and use it in GitHub Desktop.
Save willangley/648da267859af8c54a88976248a65cad to your computer and use it in GitHub Desktop.
Disable Ctrl-/ Chrome shortcut on Linux
/* Copyright 2020 Google LLC.
* SPDX-License-Identifier: Apache-2.0
*
* Asana wants to use Ctrl-/ (control-slash) to activate most of its
* keyboard shortcuts. Unfortunately, this conflicts with a default that
* is part of GTK, an alias for select all (Ctrl-a). This is how to
* unset the Ctrl-/ keyboard shortcut for all GTK apps, which crucially
* includes Chrome on Linux.
*/
@binding-set MyUnbindings
{
unbind "<ctrl>slash";
}
* {
-gtk-key-bindings: MyUnbindings
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment