Click to See Complete Forum and Search --> : Useability of .Xdefaults - Netscape


SynapticBurst
11-19-2001, 12:16 AM
I've been able to do alot with .Xdefaults - namely configuring the presentation of Xterms, as well as configuring fonts. Now, as far as Netscape goes, I've tinkered abit with xmlfonts/colors, but not much else. I've enabled Debian to recognise my 7 button mouse (intellimouse explorer), but as far as mapping of the side buttons go, I've got no idea. Several Tutorials have hinted at saving Xev actions, thereby mapping events for the side buttons, but none have really gone into much detail. My newbie question is as follows: Is it possible to just add entries that refer to buttons 6/7 to the bottom of the .Xdefault, or is there a syntax problem? I've tried this before, but Netscape wouldn't even recognize buttons 1-5, which sux. If anyone has their mouse fully operational, would you care to share an excerpt from your Xdefaults or any other related files?
Thanks in advance

thor420
11-19-2001, 11:02 AM
Don't jump down my throat on this one. I know I only have a 5 button mouse. It is made by Logitech. I like buying things from them. They are nice. But this should be able to be modified to work with your 7 button mouse, I would assume.

!## NETSCAPE
Netscape*drawingArea.translations: #replace \
<Btn1Down>: ArmLink() \n\
<Btn2Down>: ArmLink() \n\
~Shift<Btn1Up>: ActivateLink() \n\
~Shift<Btn2Up>: ActivateLink(new-window) \
DisarmLink() \n\
Shift<Btn1Up>: ActivateLink(save-only) \
DisarmLink() \n\
Shift<Btn2Up>: ActivateLink(save-only) \
DisarmLink() \n\
<Btn1Motion>: DisarmLinkIfMoved() \n\
<Btn2Motion>: DisarmLinkIfMoved() \n\
<Btn3Motion>: DisarmLinkIfMoved() \n\
<Motion>: DescribeLink() \n\
<Btn3Down>: xfeDoPopup() \n\
<Btn3Up>: ActivatePopup() \n\
Ctrl<Btn4Down>: PageUp()\n\
Ctrl<Btn5Down>: PageDown()\n\
Shift<Btn4Down>: LineUp()\n\
Shift<Btn5Down>: LineDown()\n\
None<Btn4Down>: LineUp()LineUp()LineUp()LineUp()LineUp()LineUp()\n \
None<Btn5Down>: LineDown()LineDown()LineDown()LineDown()LineDown() LineDown()\n\
Alt<Btn4Down>: xfeDoCommand(forward)\n\
Alt<Btn5Down>: xfeDoCommand(back)\n

Netscape*globalNonTextTranslations: #override\n\
Shift<Btn4Down>: LineUp()\n\
Shift<Btn5Down>: LineDown()\n\
None<Btn4Down>:LineUp()LineUp()LineUp()LineUp()Lin eUp()LineUp()\n\
None<Btn5Down>:LineDown()LineDown()LineDown()LineD own()LineDown()LineDown()\n\
Alt<Btn4Down>: xfeDoCommand(forward)\n\
Alt<Btn5Down>: xfeDoCommand(back)\n