Reputation: 3937
I'm currently running ubuntu 14.04 (with compiz window manager) and have difficulty disabling a shortcut while gnome-terminal is in focus. It's regarding the (annoying and useless) "find" window which pops up after hitting Ctrl+Shift+F.
This keybinding is not mentioned in:
1) ccsm -> general options -> keybindings
2) ccsm -> commands -> keybindings
2) gconf-editor -> /apps/gnome-terminal/keybindings
4) dconf-editor -> /org/gnome/terminal <-- entry does not exist
5) gnome-terminal -> edit -> keyboard shortcuts
6) system settings -> keyboard -> shortcuts -> [all entries]
I have tried without success:
Editing /home/USER/.gtkrc, .gtkrc-2.0 and .gtkrc-3.0 to:
binding "CustomNoSearch"
{
unbind "<ctrl><shift>f"
}
class "*" binding "CustomNoSearch"
Editing /home/USER/.config/gtk-2.0/gtk-keys.css and ../git-3.0/gtk-keys.css:
@binding-set custom-no-search
{
unbind "<ctrl><shift>f";
}
GtkEntry {
gtk-key-bindings: custom-no-search;
}
Changing keyboard input method system from IBUS to None (system settings->language support->keyboard input method system) disables everything, including ctrl-shift-F, but this is too much.
At this point I have run out of ideas. Where is this behaviour defined? Any help is much appreciated!
Upvotes: 3
Views: 3502
Reputation: 1412
You can just disable it in the preferences of GNOME Terminal.
Click on the entry under the Shortcut Key column and, when you’re prompted for a new key binding (“New Accelerator...”), press Backspace to disable the shortcut.
Upvotes: 3
Reputation: 3168
I was able to disable this by emptying the contents of
/usr/share/gnome-terminal/find-dialog.ui
While this is kind of a kludge way to do it, it works without causing any other problems.
It is obviously a good idea to back the file up before emptying it, but it probably isn't anything sudo apt-get install gnome-terminal --reinstall
couldn't fix..
So, in short :
# cd /usr/share/gnome-terminal/
# cp find-dialog.ui ~
# >find-dialog.ui
And no more find dialog...
Upvotes: 2