[lug] 3 button scroll mouse
John Karns
jkarns at csd.net
Fri Apr 5 00:12:19 MST 2002
On Thu, 4 Apr 2002, Riggs, Rob said:
> Adding the following to ~/.nedit file is supposed to do the trick, but
> doesn't for me:
>
> !# NEdit
> NEdit*text.Translations: #override\n\
> Shift<Btn4Down>,<Btn4Up>: scroll_up(5)\n\
> Shift<Btn5Down>,<Btn5Up>: scroll_down(5)\n\
> Ctrl<Btn4Down>,<Btn4Up>: previous_page()\n\
> Ctrl<Btn5Down>,<Btn5Up>: next_page(1)\n\
> <Btn4Down>,<Btn4Up>: scroll_up(1)\n\
> <Btn5Down>,<Btn5Up>: scroll_down(1)\n
>
> Interesting... I added the above to ~/.Xdefaults and loaded those resources
> and it works as advertised.
>
> I wonder what I'm doing wrong in ~/.nedit.
According to the nedit (5.1.1) FAQ which my SuSE 7.1 distro included, the
.nedit file holds the NEdit Preferences menu options and is automatically
overwritten whenever you select "Save Defaults", so shouldn't be used for
that. It goes on to say that .Xdefaults is probably the best choice (or
wherever your distro loads resources).
----------------------------------------------------------------
John Karns jkarns at csd.net
More information about the LUG
mailing list