You are not logged in.

#1 2010-05-17 04:51:28

jamesob
Member
Registered: 2010-05-17
Posts: 3

Can't bind mod4 with GTK

Hi all,

I'm making an effort to replicate key bindings from OS X within Arch. I'm attempting to do so by modifying the gtk_key_theme ("Emacs") with some extra bindings for the command/win/super key, which is currently mapped to mod4. Here's a line I've added to /usr/share/themes/Emacs/gtk-2.0-rc/gtkrc:

binding "gtk-emacs-text-entry"
{
...
bind "<mod4>a" { "move-cursor" (paragraph-ends, -1, 1) }  
...
}

Unfortunately, the addition of this line has some bizarre consequences: either <mod4>a does nothing, or simply hitting the ``a'' key has the intended effect (highlighting all characters behind the cursor).

What's going on? Anyone familiar with this? Is there a better way I can do key bindings with mod4?

Offline

Board footer

Powered by FluxBB