netscroll
Vladimir Mencl, MK, susSED
mencl at nenya.ms.mff.cuni.cz
Tue Oct 2 23:42:32 CEST 2001
On Tue, 18 Sep 2001, Ladislav Kostal wrote:
>
> Dobry den,
>
> V archivoch konfery freebsd-cz som nasiel Vas prispevok ohladom
> rozchodenia kolieska na mysi Genius Netscroll v Netscape. Mohol by som Vas
> poprosit o zaslanie konfiguracneho suboru s kratkym navodom, co a ako?
Zasilam soubor .Xresources-netscape-scroller
Obsah tohoto souboru je potreba pridat do sveho .Xresources souboru ve
svem home. Pokud neexistuje, tak ho zalozte, snad se vam tim nic
nerozhodi...
Nemusite ho ani predhazovat systemu pod jmenem, pod kterym by ho cekal -
staci ho nacist do resource databaze Xserveru - prikazem
xrdb -merge $resourcefilename
Soubor predpoklada, ze otaceni kolecka nahoru (resp. dolu) generuje
udalost stisk tlacitka 4 (rep. 5).
Pro tohle potrebuje v XF86Config
Section "Pointer"
...
Buttons 5
ZAxisMapping 4 5
EndSection
Jelikoz pouzivam moused, mam nastaveni typu mysi v jeho konfiguraci - v
mem pripade v rc.conf:
moused_port="/dev/cuaa0"
moused_type="intellimouse"
V konfiguracnim souboru na udalosti <Btn4Down> reaguje 3 volanimi funkce
LineUp(), to si samozrejme muzete upravit dle sveho gusta; dtto pro
Bttn5Down
S pozdravem
Vlada Mencl
-------------- next part --------------
Netscape*globalTranslations: #override \n\
\
<Btn4Down>: LineUp() LineUp() LineUp()\n\
<Btn5Down>: LineDown() LineDown() LineDown()\n\
Meta ~Ctrl ~Shift<Key>a: xfeDoCommand(selectAll) \n\
Alt ~Ctrl ~Shift<Key>a: xfeDoCommand(selectAll) \n\
Meta ~Ctrl<Key>B: xfeDoCommand(openBookmarks) \n\
Alt ~Ctrl<Key>B: xfeDoCommand(openBookmarks) \n\
Meta ~Ctrl<Key>C: xfeDoCommand(copy) \n\
Alt ~Ctrl<Key>C: xfeDoCommand(copy) \n\
Meta ~Ctrl<Key>D: undefined-key() \n\
Alt ~Ctrl<Key>D: undefined-key() \n\
Meta ~Ctrl<Key>E: undefined-key() \n\
Alt ~Ctrl<Key>E: undefined-key() \n\
Meta ~Ctrl ~Shift<Key>f: undefined-key() \n\
Alt ~Ctrl ~Shift<Key>f: undefined-key() \n\
Meta ~Ctrl<Key>G: undefined-key() \n\
Alt ~Ctrl<Key>G: undefined-key() \n\
Meta ~Ctrl<Key>H: xfeDoCommand(openHistory) \n\
Alt ~Ctrl<Key>H: xfeDoCommand(openHistory) \n\
Meta ~Ctrl<Key>I: undefined-key() \n\
Alt ~Ctrl<Key>I: undefined-key() \n\
Meta ~Ctrl<Key>J: undefined-key() \n\
Alt ~Ctrl<Key>J: undefined-key() \n\
Meta ~Ctrl<Key>K: xfeDoCommand(addBookmark) \n\
Alt ~Ctrl<Key>K: xfeDoCommand(addBookmark) \n\
Meta ~Ctrl<Key>L: undefined-key() \n\
Alt ~Ctrl<Key>L: undefined-key() \n\
Meta ~Ctrl<Key>m: xfeDoCommand(composeMessage) \n\
Alt ~Ctrl<Key>m: xfeDoCommand(composeMessage) \n\
Meta ~Ctrl ~Shift<Key>n: xfeDoCommand(openBrowser) \n\
Alt ~Ctrl ~Shift<Key>n: xfeDoCommand(openBrowser) \n\
Meta ~Ctrl Shift<Key>n: xfeDoCommand(newBlank) \n\
Alt ~Ctrl Shift<Key>n: xfeDoCommand(newBlank) \n\
Meta ~Ctrl<Key>O: undefined-key() \n\
Alt ~Ctrl<Key>O: undefined-key() \n\
Meta ~Ctrl<Key>P: undefined-key() \n\
Alt ~Ctrl<Key>P: undefined-key() \n\
Meta ~Ctrl<Key>Q: xfeDoCommand(exit) \n\
Alt ~Ctrl<Key>Q: xfeDoCommand(exit) \n\
Meta ~Ctrl<Key>R: undefined-key() \n\
Alt ~Ctrl<Key>R: undefined-key() \n\
Meta ~Ctrl<Key>S: xfeDoCommand(saveAs) \n\
Alt ~Ctrl<Key>S: xfeDoCommand(saveAs) \n\
Meta ~Ctrl<Key>T: undefined-key() \n\
Alt ~Ctrl<Key>T: undefined-key() \n\
Meta ~Ctrl<Key>U: xfeDoCommand(viewPageSource)\n\
Alt ~Ctrl<Key>U: xfeDoCommand(viewPageSource)\n\
Meta ~Ctrl<Key>V: xfeDoCommand(paste) \n\
Alt ~Ctrl<Key>V: xfeDoCommand(paste) \n\
Meta ~Ctrl<Key>W: xfeDoCommand(close) \n\
Alt ~Ctrl<Key>W: xfeDoCommand(close) \n\
Meta ~Ctrl<Key>X: xfeDoCommand(cut) \n\
Alt ~Ctrl<Key>X: xfeDoCommand(cut) \n\
Meta ~Ctrl<Key>Y: xfeDoCommand(paste) \n\
Alt ~Ctrl<Key>Y: xfeDoCommand(paste) \n\
Meta ~Ctrl<Key>Z: undefined-key() \n\
Alt ~Ctrl<Key>Z: undefined-key() \n\
\
Meta ~Ctrl ~Shift<Key>1: xfeDoCommand(openOrBringUpBrowser) \n\
Alt ~Ctrl ~Shift<Key>1: xfeDoCommand(openOrBringUpBrowser) \n\
Meta ~Ctrl Shift<Key>1: xfeDoCommand(openFolders) \n\
Alt ~Ctrl Shift<Key>1: xfeDoCommand(openFolders) \n\
Meta ~Ctrl ~Shift<Key>2: xfeDoCommand(openInbox) \n\
Alt ~Ctrl ~Shift<Key>2: xfeDoCommand(openInbox) \n\
Meta ~Ctrl Shift<Key>2: xfeDoCommand(openAddrBook) \n\
Alt ~Ctrl Shift<Key>2: xfeDoCommand(openAddrBook) \n\
Meta ~Ctrl<Key>3: xfeDoCommand(openEditor) \n\
Alt ~Ctrl<Key>3: xfeDoCommand(openEditor) \n\
Meta ~Ctrl<Key>4: xfeDoCommand(openCalendar) \n\
Alt ~Ctrl<Key>4: xfeDoCommand(openCalendar) \n\
Meta ~Ctrl<Key>5: xfeDoCommand(openConference) \n\
Alt ~Ctrl<Key>5: xfeDoCommand(openConference) \n\
Meta ~Ctrl<Key>7: xfeDoCommand(openRadio) \n\
Alt ~Ctrl<Key>7: xfeDoCommand(openRadio) \n\
\
~Meta ~Alt ~Ctrl<Key>Prior: PageUp() \n\
~Meta ~Alt ~Ctrl<Key>Next: PageDown() \n\
~Meta ~Alt ~Ctrl<Key>osfPageUp: PageUp() \n\
~Meta ~Alt ~Ctrl<Key>osfPageDown: PageDown() \n\
\
~Meta ~Alt ~Ctrl<Key>SunCopy: xfeDoCommand(copy) \n\
~Meta ~Alt ~Ctrl<Key>SunPaste: xfeDoCommand(paste) \n\
~Meta ~Alt ~Ctrl<Key>SunCut: xfeDoCommand(cut) \n\
\
~Meta ~Alt ~Ctrl ~Shift<Key>osfHelp: xfeDoCommand(manual) \n
*browserGlobalTranslations: #override \
<Btn4Down>: LineUp() LineUp() LineUp()\n\
<Btn5Down>: LineDown() LineDown() LineDown()\n\
Meta ~Ctrl ~Shift<Key>f: xfeDoCommand(findInObject) \n\
Alt ~Ctrl ~Shift<Key>f: xfeDoCommand(findInObject) \n\
Meta ~Ctrl ~Shift<Key>g: xfeDoCommand(findAgain) \n\
Alt ~Ctrl ~Shift<Key>g: xfeDoCommand(findAgain) \n\
Meta ~Ctrl ~Shift<Key>i: xfeDoCommand(showImages) \n\
Alt ~Ctrl ~Shift<Key>i: xfeDoCommand(showImages) \n\
Meta ~Ctrl Shift<Key>i: xfeDoCommand(viewSecurity) \n\
Alt ~Ctrl Shift<Key>i: xfeDoCommand(viewSecurity) \n\
Meta ~Ctrl<Key>L: xfeDoCommand(openPage) \n\
Alt ~Ctrl<Key>L: xfeDoCommand(openPage) \n\
Meta ~Ctrl ~Shift<Key>o: xfeDoCommand(openPage) \n\
Alt ~Ctrl ~Shift<Key>o: xfeDoCommand(openPage) \n\
Meta ~Ctrl Shift<Key>o: xfeDoCommand(openPageChooseFile) \n\
Alt ~Ctrl Shift<Key>o: xfeDoCommand(openPageChooseFile) \n\
Meta ~Ctrl<Key>P: xfeDoCommand(print) \n\
Alt ~Ctrl<Key>P: xfeDoCommand(print) \n\
Meta ~Ctrl<Key>R: xfeDoCommand(reload) \n\
Alt ~Ctrl<Key>R: xfeDoCommand(reload) \n\
Meta ~Ctrl<Key>braceleft: xfeDoCommand(decreaseFont) \n\
Alt ~Ctrl<Key>braceleft: xfeDoCommand(decreaseFont) \n\
Meta ~Ctrl<Key>braceright: xfeDoCommand(increaseFont) \n\
Alt ~Ctrl<Key>braceright: xfeDoCommand(increaseFont) \n\
\
Meta ~Ctrl<Key>osfLeft: xfeDoCommand(back) \n\
Alt ~Ctrl<Key>osfLeft: xfeDoCommand(back) \n\
Meta ~Ctrl<Key>osfRight: xfeDoCommand(forward) \n\
Alt ~Ctrl<Key>osfRight: xfeDoCommand(forward) \n\
<Key>Escape: xfeDoCommand(stopLoading) \n\
<Key>osfCancel: xfeDoCommand(stopLoading) \n
*bmGlobalTranslations: #override \
<Btn4Down>: LineUp() LineUp() LineUp()\n\
<Btn5Down>: LineDown() LineDown() LineDown()\n\
<Btn3Down>: xfeDoPopup() \n\
~Meta ~Alt ~Ctrl<Key>space: PageDown() \n\
Meta ~Ctrl<Key>D: xfeDoCommand(delete) \n\
Alt ~Ctrl<Key>D: xfeDoCommand(delete) \n\
Meta ~Ctrl<Key>F: xfeDoCommand(findInObject) \n\
Alt ~Ctrl<Key>F: xfeDoCommand(findInObject) \n\
Meta ~Ctrl<Key>G: xfeDoCommand(findAgain) \n\
Alt ~Ctrl<Key>G: xfeDoCommand(findAgain) \n\
Meta ~Ctrl<Key>O: xfeDoCommand(openSelected) \n\
Alt ~Ctrl<Key>O: xfeDoCommand(openSelected) \n\
~Meta ~Alt ~Ctrl Shift <Key>Up: xfeDoCommand(moveBookmarkUp)\n\
~Meta ~Alt ~Ctrl Shift <Key>Down: xfeDoCommand(moveBookmarkDown)\n\
~Meta ~Alt ~Ctrl Shift <Key>osfUp: xfeDoCommand(moveBookmarkUp)\n\
~Meta ~Alt ~Ctrl Shift <Key>osfDown: xfeDoCommand(moveBookmarkDown)\n\
~Meta ~Alt ~Ctrl ~Shift <Key>Up: LineUp() \n\
~Meta ~Alt ~Ctrl ~Shift <Key>Down: LineDown() \n\
~Meta ~Alt ~Ctrl ~Shift <Key>osfUp: LineUp() \n\
~Meta ~Alt ~Ctrl ~Shift <Key>osfDown: LineDown() \n\
~Meta ~Alt ~Ctrl<Key>Prior: PageUp() \n\
~Meta ~Alt ~Ctrl<Key>Next: PageDown() \n\
~Meta ~Alt ~Ctrl<Key>osfPageUp: PageUp() \n\
~Meta ~Alt ~Ctrl<Key>osfPageDown: PageDown() \n
*ghGlobalTranslations: #override \
<Btn4Down>: LineUp() LineUp() LineUp()\n\
<Btn5Down>: LineDown() LineDown() LineDown()\n\
Meta ~Ctrl<Key>D: xfeDoCommand(delete) \n\
Alt ~Ctrl<Key>D: xfeDoCommand(delete) \n\
Meta ~Ctrl<Key>O: xfeDoCommand(openSelected) \n\
Alt ~Ctrl<Key>O: xfeDoCommand(openSelected) \n\
~Meta ~Alt ~Ctrl<Key>space: PageDown() \n\
~Meta ~Alt ~Ctrl ~Shift <Key>Up: LineUp() \n\
~Meta ~Alt ~Ctrl ~Shift <Key>Down: LineDown() \n\
~Meta ~Alt ~Ctrl ~Shift <Key>osfUp: LineUp() \n\
~Meta ~Alt ~Ctrl ~Shift <Key>osfDown: LineDown() \n\
~Meta ~Alt ~Ctrl<Key>Prior: PageUp() \n\
~Meta ~Alt ~Ctrl<Key>Next: PageDown() \n\
~Meta ~Alt ~Ctrl<Key>osfPageUp: PageUp() \n\
~Meta ~Alt ~Ctrl<Key>osfPageDown: PageDown() \n
!
! Translations for document source window
*dialogGlobalTranslations: #override \n\
<Btn4Down>: LineUp() LineUp() LineUp()\n\
<Btn5Down>: LineDown() LineDown() LineDown()\n\
\
Meta ~Ctrl<Key>W: xfeDoCommand(close) \n\
Alt ~Ctrl<Key>W: xfeDoCommand(close) \n
! Mouse bindings in the HTML display area.
!
*drawingArea.translations: #replace \
<Btn4Down>: LineUp() LineUp() LineUp()\n\
<Btn5Down>: LineDown() LineDown() LineDown()\n\
<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
More information about the Users-l
mailing list