Re: moz X resources
Jeffrey Siegal <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.unix |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Mårten Svantesson wrote: >> >>I'm attempting to re-map some of the Sun keyboard for use in Mozilla. >> >>As an example, it would be nice to map the Sun "Cut" key to be the same as "Del" EVERYWHERE. The "Cut" key does a delete if I'm typing in a new message, but it DOESN'T delete the current message if the focus is on the message list . . . . >> >>Normally, I'd do this with something like: >> >>Netscape*translations: #override\ >> <Key>SunCut: string(0x7f)\n\ >> >>in .Xdefaults, but this doesn't work. >> >>Thanks for any light you can shed on this . . . . > > > Here you have information on customizing key bindings in Mozilla: > > http://www.mozilla.org/unix/customizing.html#keys Doing this through X can be preferable in some cases because you want to remap the keyboard when using the application on one device (with one keyboard), but not when others. It can be more of a device configuration (sort of like display resolution, color depth, etc.) than a user preference. Then again, you might be able to use xmodmap to do what you want.