Re: moz X resources

Daniel Rawson <[email protected]>
Newsgroups gmane.comp.mozilla.devel.unix
Message-ID <[email protected]>
Jeffrey Siegal wrote:
> 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.

It is possible to do this with xmodmap:

xmodmap -e "keysym F20 = Delete"

but it's sort of global . . . .

I was unable to get the advice from the above customizing page to work; I couldn't figure out the binding for the message list window in Mail/News.

Dan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.