Gnome Shift-F10 Remapping
- From: "Terry Davis" <terrydavis anderson-crane com>
- To: <gconf-list gnome org>
- Subject: Gnome Shift-F10 Remapping
- Date: Mon, 29 Nov 2004 11:24:31 -0600
I need to reconfigure the Gnome Shift-F10 key (popup context menu) in a terminal
window as its needed by an application our users need to run.
I have corresponded with several gnome devel and have the following
recommendations on re-mapping the key.
----
What you have to do is create a gtkrc file that remaps the key.
An easy example to look at is this file:
/usr/share/themes/Emacs/gtk-2.0-key/gtkrc
So something like this in a gtkrc:
binding "change-popup-menu-key" {
bind "<ctrl><shift>f10" { "popup-menu" () } }
class "VteTerminal" binding "change-popup-menu-key"
----
Try global "GtkWidget" instead of VteTerminal perhaps? That would kill the
keybinding for all widgets, but maybe that's fine for your situation.
----
> I was able to define an additional key that pops a context menu
> (ctrl-shift-f10) by using GtkWidget as the class, but the old value
> (shift-f10) was not removed, which makes sense I guess?
>
> What is the format for de-binding a key?
> Like...
>
> binding "get-rid-of-context-key" {
> bind "<shift>f10" { "" }
> }
> (etc)
>
I'm not sure to be honest... you might try: bind "<shift>f10" {} ?
I expected specifying a new key to overwrite the old one...
You might try "VteTerminal" rather than "VTETerminal" also.
----
Anyone able to contribute to this, I'd appreciate it
At this point I still have not re-mapped shift-F10 within a gnome-terminal
window.
Thanks
T Davis
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]